{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

HW5_solutions

# HW5_solutions - Math 167 homework 5 solutions November 4...

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

Math 167 homework 5 solutions November 4, 2010 3.3.4: Write out E 2 = || Ax - b || 2 and set to zero its derivatives with respect to u and v , if A = 1 0 0 1 1 1 , x = bracketleftbigg u v bracketrightbigg , b = 1 3 4 . Compare the resulting equations with A T A ˆ x = A T b , confirming that calculus as well as geometry gives the normal equations. Find the solutions ˆ x and the projection p = A ˆ x . Why is p = b ? Note that ∂u ( Ax - b ) = 1 0 1 and ∂v ( Ax - b ) = 0 1 1 . Then the conditions 0 = ∂u ( E 2 ) = 2 parenleftbigg ∂u ( Ax - b ) parenrightbigg T ( Ax - b ) and 0 = ∂v ( E 2 ) = 2 parenleftbigg ∂v ( Ax - b ) parenrightbigg T ( Ax - b ) imply that bracketleftbigg 2 1 1 2 bracketrightbigg x = bracketleftbigg 5 7 bracketrightbigg . Solving this linear system gives u = 1 and v = 3. We then check that we have a minimum by taking the Hessian of E 2 , or in this case just check that the 1

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

View Full Document
matrix of the linear system above is positive definite. Note that the linear system above is just the normal equations. Finally, p = A ˆ x = 1 3 4 . Thus p = b and so b must be in the column space of A . Equivalently, E 2 = 0 for the least-squares solution ˆ x .
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