- #1
- 148
- 1
Homework Statement
Let A be a m x n matrix of rank n and let [tex]\textbf{b} \in R^{m}[/tex]. If Q and R are the matrices derived from applying the Gram-Schmidt process to the column vectors of A and
p = c1q1 + c2q2 + ... + cnqn
is the projection of b onto R(A), then show that:
a) c = QTb
b) p = QQTb
c) QQT = A(ATA)-1AT
Homework Equations
I'm not quite sure about the (a).
But in (b) I have, from my book:
Let S be a nonzero subspace of Rm and let [tex]\textbf{b} \in R^{m}[/tex]. If {u1, u2,..., uk} is an orthonormal basis for S and U = (u1, u2,..., uk), then the projection p of b onto S is given by
p = UUTb
In (c) I have (Some place in my book) that:
[tex]\textbf{p} = A\hat{x} = A\left(A^{T}A\right)^{-1}A^{T}\textbf{}[/tex] which is called the projection matrix.
The Attempt at a Solution
As I said, I don't know about (a), but in (b) my thought was that the projection p of b is given by:
p=c1u1 + ... + ckuk = Uc, which is pretty much the same as given in the problem, and
c = (c1, c2,...,ck) = (u1Tb, u2Tb,..., ukTb) = UTb
and then I get: p = UUTb, which is what I needed to find (except for some other letters used in this problem).
In (c) we have the p from (b) which were p = UUTb. So by applying p on p's place in the equation given in "Rel. eq" I get
UUTb = [tex]A\hat{x} = A\left(A^{T}A\right)^{-1}A^{T}\textbf{}[/tex] which is pretty much the thing I needed to show, except for the two b's on each side.
But I don't know if I just can remove them, just if they were numbers? Because that would give me the correct equation.
Hope I haven't made it to confusing. At least I hope for some hints for (a), and maybe a hint about (b) and (c)'s correctness ? :)
Regards