Solution

>

Again, we set up the equations just as above, but now we get 4 eqautions in 3 variables. So, we go thru the least squares formulation. The problem, then is just like the problem 12 and we get

[Maple Math] , [Maple Math] and are wanting to solve AX=B

which means we want to calculate the projection of the vector B on the subspace spanned by the columns of A.

The matrix [Maple Math] = [Maple Math] and its inverse is

[Maple Math]

The solution is [Maple Math] [Maple Math] [Maple Math] [Maple Math]

which we can calculate is [Maple Math] without explicitly calculating the projection matrix