The linear least-squares problem is to choose minimizing the Euclidean norm of the residual:
For a QR decomposition , orthogonality of gives . If has full column rank and is in standard form with invertible upper-triangular , the minimizer solves .
Applying the Gram-Schmidt process to the columns of the given matrix yields
Indeed, is an orthogonal matrix and . Moreover,
Back substitution in the leading triangular system gives
so the unique least-squares solution is
The unused final transformed residual component is , so the minimum residual norm is .

Articles by others on the same topic (0)

There are currently no matching articles.