Construct Matrix P & Find Trace/Eigenvalues - Can Anyone Help?

abiadams
Messages
1
Reaction score
0
Am really lost on this one:

Suppose X is a full rank nxp matrix. Construct the matrix:

P = I - X((X'X)^-1)X'

Where X' is the transpose of X.

I then have to find the trace and eigenvalues of P.

Can anyone help?!
 
Physics news on Phys.org
do you know that for invertible matricies A,B that

(AB)^{-1} = B^{-1} A^{-1}
 
easy to see this, say C is the inverse of (AB), then

(AB)C = ABC = I

A^{-1}ABC = BC = A^{-1}

B^{-1}BC = C = B^{-1}A^{-1}
 
lanedance's comment is true, but since your matrix need not be square it doesn't help. You can't simplify

<br /> P = I - X(X&#039;X)^{-1} X&#039;<br />

any more than it already is.

This is the type of problem seen during a matrix introduction to multiple regression (although it may be in a different setting for your problem).

Hint: You can show that P^2 = P (P is actually a projection matrix).
1) What is its dimension?
2) If you know the rank of X you can find the rank of P

Those hints will (should, may) give you an idea of an attack to find the quantities you need.
 
ok, yeah - misread that sorry
 
along with statdads comments, the property of the trace being the sum of the eigenvalues
tr(A) = \sum_i a_ii = \sum_i \lambda_i

and
tr(A^k) = \sum_i \lambda_i^k
could help
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top