Skip to content

A.7 · LU factorisation and nullity of composed maps

GRE MathematicsTopic 28

Video lesson for this topic Open the video page
5:15

A.7 · LU factorisation and nullity of composed maps

In 1948 Alan Turing, working on the first electronic computers in Britain, wrote a paper on how rounding errors grow when large linear systems are solved by…

English narration · English and 中文 subtitles you can switch

28.1

LU factorisation and nullity of composed maps

In 1948 Alan Turing, working on the first electronic computers in Britain, wrote a paper on how rounding errors grow when large linear systems are solved by machine. In it he described Gaussian elimination as splitting a matrix into a lower triangular factor and an upper triangular one, and named it the LU decomposition. Factor once, and every new right-hand side can be solved quickly by two easy substitutions. The method, with row swaps for stability, is still how computers solve linear systems.

GRE Mathematics questions on factorisations and composed maps ask you to:

  • Find and use an LU factorisation, with forward substitution 前代 and back substitution.
  • Place the permutation correctly when $PA = LU$.
  • Read the determinant from the factors.
  • Bound the rank and nullity 零度 of a composition.
Vocabulary Train
English
forward substitution/ˈfɔːwəd ˌsʌbstɪˈtjuːʃn/
nullity/ˈnʌlɪti/
28.2

LU factorisation

Gaussian elimination without row swaps writes $A = LU$:

  • $U$ is the upper triangular matrix that elimination produces.
  • $L$ is lower triangular with 1s on the diagonal; below the diagonal it holds the multipliers used.
  • If a zero pivot appears, swap rows: $PA = LU$, where $P$ is a permutation matrix.
28.3

Solving with the factors

To solve $Ax = b$ with $PA = LU$:

  • Permute the right side: compute $Pb$.
  • Forward substitution: solve $Ly = Pb$ from the top down.
  • Back substitution: solve $Ux = y$ from the bottom up.
  • $\det A = \pm\prod u_{ii}$, the sign set by the number of row swaps.
Solving with PA = LU: permute the right side to Pb, solve Ly = Pb top to bottom, then Ux = y bottom to top
Permute, forward, back.
28.4

Rank and nullity of compositions

For linear maps $A: U \to V$ and $B: V \to W$:

  • $\ker A \subseteq \ker(BA)$, so $\operatorname{nullity}(BA) \ge \operatorname{nullity}(A)$.
  • $\operatorname{nullity}(BA) = \operatorname{nullity}(A) + \dim(\operatorname{im}A \cap \ker B) \le \operatorname{nullity}(A) + \operatorname{nullity}(B)$.
  • $\operatorname{rank}(BA) \le \min(\operatorname{rank}A, \operatorname{rank}B)$.
28.5

Worked example: a 2 × 2 solve

$L = \begin{pmatrix} 1&0\\2&1 \end{pmatrix}$, $U = \begin{pmatrix} 3&1\\0&2 \end{pmatrix}$, $b = (5, 12)$.

  • $Ly = b$: $y_1 = 5$; $2y_1 + y_2 = 12$, so $y_2 = 2$.
  • $Ux = y$: $2x_2 = 2$, so $x_2 = 1$; $3x_1 + 1 = 5$, so $x_1 = \tfrac43$.
  • Check: $A = LU = \begin{pmatrix} 3&1\\6&4 \end{pmatrix}$ sends $(\tfrac43, 1)$ to $(5, 12)$, and $\det A = 3 \times 2 = 6$.
Table: Ly = b gives y = (−1, 1, 8), then Ux = y gives x = (1, −1, 2)
Solve with LU by forward substitution through L, then back substitution through U
28.6

Worked example: nullity bounds

$A: \mathbb R^5 \to \mathbb R^4$ has rank 3, and $B: \mathbb R^4 \to \mathbb R^3$ has rank 3.

  • $\operatorname{nullity}A = 5 - 3 = 2$ and $\operatorname{nullity}B = 4 - 3 = 1$.
  • $\operatorname{nullity}(BA) = 2 + \dim(\operatorname{im}A \cap \ker B)$, which is 2 or 3.
  • So $\operatorname{rank}(BA) = 5 - \operatorname{nullity}(BA)$ is 3 or 2. Without more information, both are possible.
28.7

Common errors

  • Solving $Ly = b$ instead of $Ly = Pb$ when rows were swapped.
  • Substituting in the wrong direction through $L$ or $U$.
  • Forgetting the sign from row swaps in the determinant.
  • Adding nullities as if equality always held.
  • Thinking $\operatorname{rank}(BA)$ can exceed the rank of either factor.
28.8

Key terms

forward substitution: Solving a lower triangular system from the first equation downward.

nullity: The dimension of the kernel of a linear map.

28.9

Check yourself

  • $A = LU$ with $U$ having diagonal 2, 3, 5 and no row swaps. What is $\det A$?
  • $A: \mathbb R^4 \to \mathbb R^4$ has nullity 1, and so does $B$. What is the largest possible nullity of $BA$?
  • In $PA = LU$, what do you apply $P$ to when solving $Ax = b$?

Answers: 30. 2. To $b$.

Was this helpful?

Interactive lessons on this topic

Work through it step by step, with instant-check exercises.

More topics in GRE Mathematics

Log in or create account

IGCSE, A-Level & AP