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 yieldsIndeed, is an orthogonal matrix and . Moreover,Back substitution in the leading triangular system givesso the unique least-squares solution isThe unused final transformed residual component is , so the minimum residual norm is .
Articles by others on the same topic
There are currently no matching articles.