Professional Documents
Culture Documents
Ax B A M × N M N X : Problem 9: Least Squares Solutions
Ax B A M × N M N X : Problem 9: Least Squares Solutions
Consider a system of linear equations Ax = b, where A is an m × n matrix with m > n. Show that the
^ minimizes the residual ∥Ax − b∥2 .
least squares solution x
Solution 9:
Solution 10:
The trace of A is the sum of its diagonal elements, which are the eigenvalues of A (including
multiplicity).
The determinant of A is equal to the product of its eigenvalues (including multiplicity) because the
characteristic polynomial of A is given by det(A − λI) = (λ1 − λ)(λ2 − λ) … (λn − λ), and det(A) =
λ1 λ2 … λn
https://chat.openai.com/c/832b3b7a-97c1-4f8a-ba84-ae4f9a6a5036 1/1