pset5sol

# pset5sol - 18.06 Problem Set 5 Solutions Problem 1 Do...

This preview shows pages 1–2. Sign up to view the full content.

18.06 Problem Set 5 Solutions Problem 1: Do problems 5 and 6 from section 4.2. Solution (5) For a 1 = ( - 1 , 2 , 2), the projection matrix is P 1 = 1 9 1 - 2 - 2 - 2 4 4 - 2 4 4 . For a 2 = (2 , 2 , - 1), the projection matrix is P 2 = 1 9 4 4 - 2 4 4 - 2 - 2 - 2 1 . We compute to see P 1 P 2 = 0. This is because a 1 and a 2 are perpendicular. Precisely, if you project a vector b to a 1 , then it results a vector p on the same line as a 1 , whose projection to a 2 is zero. (6) In this case, A = - 1 2 2 2 2 - 1 . We compute A T A = 10 0 0 10 , and p = A ( A T A ) - 1 A T b = 1 2 1 5 0 . The projection of b onto a 3 is p 3 = P 3 b = 4 9 - 2 9 4 9 . The projection p 1 = P 1 b = 1 9 - 2 9 - 2 9 . The projection p 2 = P 2 b = 4 9 4 9 - 2 9 . So p 1 + p 1 + p 3 = 1 0 0 , which is b ! The reason is that a 3 is perpendicular to a 1 and a 2 , hence when you compute the three projections of a vector and add them up you get back to the vector you start with.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern