Linear Algebra and Its Applications · Problem 18

Positive Definite Matrices — Gilbert Strang

Mathematics · pseudoinverse-least-squares

Problem

What is the minimum-length least-squares solution x+=A+bx^+ = A^+b to the following? Ax=[100100111][CDE]=[022].Ax = \begin{bmatrix} 1 & 0 & 0 \\ 1 & 0 & 0 \\ 1 & 1 & 1 \end{bmatrix} \begin{bmatrix} C \\ D \\ E \end{bmatrix} = \begin{bmatrix} 0 \\ 2 \\ 2 \end{bmatrix}. You can compute A+A^+, or find the general solution to ATAx^=ATbA^TA\widehat{x} = A^Tb and choose the solution that is in the row space of AA. This problem fits the best plane C+Dt+EzC + Dt + Ez to b=0b = 0 and also b=2b = 2 at t=z=0t = z = 0 (and b=2b = 2 at t=z=1t = z = 1). (a) If AA has independent columns, its left-inverse (ATA)−1AT(A^TA)^{-1}A^T is A+A^+. (b) If AA has independent rows, its right-inverse AT(AAT)−1A^T(AA^T)^{-1} is A+A^+. In both cases, verify that x+=A+bx^+ = A^+b is in the row space and ATAx+=ATbA^TAx^+ = A^Tb.

Related theory

Browse the problem library