What is the minimum-length least-squares solution x+=A+b to the following?
Ax=111001001CDE=022.
You can compute A+, or find the general solution to ATAx=ATb and choose the solution that is in the row space of A. This problem fits the best plane C+Dt+Ez to b=0 and also b=2 at t=z=0 (and b=2 at t=z=1).
(a) If A has independent columns, its left-inverse (ATA)−1AT is A+.
(b) If A has independent rows, its right-inverse AT(AAT)−1 is A+.
In both cases, verify that x+=A+b is in the row space and ATAx+=ATb.