Gaussian elimination uses elementary row operations to remove entries below successive pivot elements, reducing a linear system to one with an upper triangular matrix. Back substitution then solves that system. It also computes a reusable matrix factorization, so additional right-hand sides can be handled by forward substitution and back substitution without repeating the elimination.
For elimination without row exchanges, let . At step , provided the pivot element is nonzero, form the elimination multipliers
and perform , applying the same operation to the right-hand side. More explicitly the resulting entries satisfy for , .
Let , where are the standard basis vectors. Then
The matrix is a unit lower triangular matrix storing the elimination multipliers, while is an upper triangular matrix:
Solving becomes followed by . If a required pivot element vanishes, an unpermuted LU decomposition can fail even for an invertible matrix. Row exchanges, typically selected by partial pivoting, instead produce with a permutation matrix ; then solve , .
Since every , the diagonal matrix is invertible. Set
The division is by the diagonal entry of row . Thus is an upper triangular matrix with diagonal entries one and .
To use symmetry without assuming the conclusion, multiply by the matrix inverse of and its transpose:
The matrix is symmetric because is a symmetric matrix. It is also an upper triangular matrix, since every factor on the right is an upper triangular matrix. A symmetric upper triangular matrix is diagonal. Its diagonal is exactly , because and have diagonal entries one. Hence , giving
This is the LDL decomposition.
Take the positive square roots of the diagonal entries:
The matrix is a lower triangular matrix with positive diagonal, and
This is a Cholesky decomposition. For a nonzero vector , the vector is nonzero because is invertible. Therefore
Here is the Euclidean norm. Thus is a positive-definite matrix.
For a real square matrix, a QR factorization writes with an orthogonal matrix, , and an upper triangular matrix. If is invertible, so is , and
Compute and use back substitution; no matrix inverse needs to be formed.
Apply the Gram-Schmidt process to the columns . The first column has Euclidean norm two, giving and . For the second column,
For the third column,
This residual already has Euclidean norm one. Set and . Thus
The columns of are orthonormal, and matrix multiplication verifies .
Using precisely this QR factorization, transform the right-hand side:
Back substitution in gives
Therefore

Articles by others on the same topic (0)

There are currently no matching articles.