Homepage › Solution manuals › Gilbert Strang › Linear Algebra and Learning from Data › Exercise 2.2.8
Let the multiple be α, then we should have aTA2 = aT(b − αa) = aTb − αaTa = 0, solve for α = 2.