Linear Algebra and Its Applications · Problem 3.3.2
Orthogonality — Gilbert Strang
Mathematics · least-squares-line-through-origin
Problem
Suppose the values b1=1 and b2=7 at times t1=1 and t2=2 are fitted by a line b=Dt through the origin. Solve D=1 and 2D=7 by least squares, and sketch the best line.