The characteristic polynomial is
Thus the eigenvalues are 1 and 11. Corresponding eigenvectors are and . Their dot product is zero and each has Euclidean norm . Normalizing gives
The columns are orthonormal, so . The eigenvector equations give and hence , proving the claimed orthogonal diagonalization of a real symmetric matrix.
Set . Because is an orthogonal matrix, and exactly when . The preceding diagonalization gives
Consequently , with equality only when . The matrix is a symmetric positive-definite matrix, not merely positive semidefinite. In the original coordinates the same identity is
which also makes positivity transparent.
Real symmetry and positive definiteness are sufficient, and the preceding parts establish both properties for this matrix. If a residual becomes zero, stop: the solution has been reached and the displayed step quotient should not be evaluated as .
For a convergence justification, let solve , let , and let . The quadratic energy error is . Moving by , with , is exact line search for a positive-definite quadratic and gives
Writing for the extreme eigenvalues, one has and . Therefore
The factor lies below one, so the energy tends to zero and positive definiteness forces . Here the bound is , since the eigenvalues are 1 and 11. This proves convergence for every initial vector, rather than merely checking one numerical iteration.
From the zero initial vector, the linear-system residual is . Then , , and . The step is , giving
As a check, the new residual is , orthogonal to the preceding residual as expected after this exact line search. It is nonzero, so one iteration has not already solved the system.
The normal equations for linear least squares are
The supplied QR decomposition gives full column rank because is invertible and . Hence, for every nonzero , . Thus is a symmetric positive-definite matrix and the displayed square system is nonsingular.
Substitution gives . Since is invertible, cancel it on the left to obtain the nonsingular triangular system
This is the reduced QR least-squares solution. Its geometric justification is the orthogonal decomposition
The second term is independent of , while invertibility of lets the first term be zero at exactly one point. Although , one must not replace by : is tall and its product is the orthogonal projection onto its column space.
The supplied factors give . Back substitution in yields and , so
Multiplying by the original matrix gives , so this least-squares minimizer has residual zero: this particular overdetermined system is exactly consistent. Full column rank still guarantees uniqueness of the minimizer.

Articles by others on the same topic (0)

There are currently no matching articles.