In R^4, let U=span((1,1,0,0),(1,1,1,2)). Find u∈U such that ||u-(1,2,3,4)|| is as small as possible.
1
Expert's answer
2021-07-20T18:00:17-0400
We will use the normal equations for the formula of an orthogonal projection. LetA=⎝⎛11001112⎠⎞andb=⎝⎛1234⎠⎞Then u is the orthogonal projection of b onto the subspace spanned by the column of A and it is given by the formula:u=A(ATA)−1ATbWe get that ATb=(11110102)⎝⎛1234⎠⎞=(314)ATA=(11110102)⎝⎛11001112⎠⎞=(2227)(ATA)−1=101(7−2−22)(ATA)−1ATb=101(7−2−22)(314)=101(−722)u=A(ATA)−1ATb=101⎝⎛11001112⎠⎞(−722)=101⎝⎛15152244⎠⎞The answer is u=101⎝⎛15152244⎠⎞
Comments