Exercise 3.3

Answers

(a)
H is symmetric.

HT = (X(XTX)1XT) T = X(XTX)TXT = X(XTX)1XT = H
(b)
We show that H2 = H first.

H2 = (X(XTX)1XT) (X(XTX)1XT) = X(XTX)1(XTX)(XTX)1XT = X(XTX)1XT = H

Apply the above relationship repeatedly for HK we see that HK = H.

(c)
First show (I H)2 = I H.

(I H)2 = (I H)(I H) = II IH HI + H2 = I 2H + H2 = I 2H + H = I H

Apply the above relationship repeatedly for (I H)K, we have (I H)K = I H.

(d)
Let A = X(XTX)1, B = XT, apply the property trace(AB) = trace(BA), we have

trace(H) = trace (X(XTX)1XT) = trace (AB) = trace (BA) = trace (XTX(XTX)1) = trace (I ) = d + 1 where the identity matrix I is of size d + 1.
User profile picture
2021-12-07 22:12
Comments