Mathwords logoMathwords

Crout's Method — Definition, Formula & Examples

Crout's Method is a technique for decomposing a square matrix AA into the product A=LUA = LU, where LL is a lower triangular matrix and UU is an upper triangular matrix with ones on its diagonal. Once you have LL and UU, solving a system Ax=bAx = b reduces to two simpler triangular solves.

Given an n×nn \times n matrix AA with all leading principal minors nonzero, Crout's Method computes matrices LL (lower triangular) and UU (unit upper triangular, i.e., uii=1u_{ii} = 1) such that A=LUA = LU. The entries are determined column by column for LL and row by row for UU using the formulas lij=aijk=1j1likukjl_{ij} = a_{ij} - \sum_{k=1}^{j-1} l_{ik}u_{kj} for iji \ge j and uij=1ljj(ajik=1j1ljkuki)u_{ij} = \frac{1}{l_{jj}}\left(a_{ji} - \sum_{k=1}^{j-1} l_{jk}u_{ki}\right) for i>ji > j, with ujj=1u_{jj} = 1.

Key Formula

lij=aijk=1j1likukj,uji=1ljj ⁣(ajik=1j1ljkuki)l_{ij} = a_{ij} - \sum_{k=1}^{j-1} l_{ik}\,u_{kj}, \quad u_{ji} = \frac{1}{l_{jj}}\!\left(a_{ji} - \sum_{k=1}^{j-1} l_{jk}\,u_{ki}\right)
Where:
  • lijl_{ij} = Entry in row i, column j of the lower triangular matrix L
  • ujiu_{ji} = Entry in row j, column i of the unit upper triangular matrix U (diagonal entries are 1)
  • aija_{ij} = Entry of the original matrix A

How It Works

You process each column j=1,2,,nj = 1, 2, \dots, n in order. First, compute all entries lijl_{ij} in column jj of LL (rows iji \ge j) by subtracting previously computed dot products from aija_{ij}. Then compute all entries ujiu_{ji} in row jj of UU (columns i>ji > j) by dividing by the diagonal element ljjl_{jj}. After obtaining LL and UU, solve Ly=bLy = b by forward substitution, then solve Ux=yUx = y by back substitution to get the solution xx.

Worked Example

Problem: Use Crout's Method to find the LU decomposition of A=(2145)A = \begin{pmatrix} 2 & 1 \\ 4 & 5 \end{pmatrix}.
Step 1: Compute column 1 of L. Since j=1, there are no sums to subtract.
l11=a11=2,l21=a21=4l_{11} = a_{11} = 2, \quad l_{21} = a_{21} = 4
Step 2: Compute row 1 of U. The diagonal entry is u11=1u_{11} = 1. For the off-diagonal entry, divide by l11l_{11}.
u11=1,u12=a12l11=12u_{11} = 1, \quad u_{12} = \frac{a_{12}}{l_{11}} = \frac{1}{2}
Step 3: Compute column 2 of L and set u22=1u_{22} = 1.
l22=a22l21u12=5412=3,u22=1l_{22} = a_{22} - l_{21}\,u_{12} = 5 - 4 \cdot \tfrac{1}{2} = 3, \quad u_{22} = 1
Answer: L=(2043)L = \begin{pmatrix} 2 & 0 \\ 4 & 3 \end{pmatrix}, U=(11201)U = \begin{pmatrix} 1 & \frac{1}{2} \\ 0 & 1 \end{pmatrix}. You can verify LU=ALU = A.

Why It Matters

Crout's Method is a standard algorithm taught in introductory linear algebra and numerical analysis courses. It is especially efficient when you need to solve multiple systems Ax=bAx = b with the same coefficient matrix but different right-hand sides, since the factorization is computed only once.

Common Mistakes

Mistake: Confusing Crout's Method with Doolittle's Method by placing the ones on the diagonal of L instead of U.
Correction: In Crout's Method, the unit diagonal belongs to U (the upper triangular factor). In Doolittle's Method, the unit diagonal belongs to L. Mixing these up produces incorrect factors.