MTH168 · 2075 · 5 marks
Find LU factorization of the matrix beginbmatrix 2 & 5 6 & -7 endbmatrix
Find LU factorization of the matrix $\begin{bmatrix} 2 & 5 \ 6 & -7 \end{bmatrix}$ [5]
LU Factorization
Given
$$A = \begin{bmatrix} 2 & 5 \ 6 & -7 \end{bmatrix}$$
Goal: find $L$ (lower triangular, unit diagonal) and $U$ (upper triangular) such that $A = LU$.
Step 2 - Row Reduction to Get U
Pivot (1,1) = 2. Eliminate entry $a_{21} = 6$.
Multiplier: $$\ell_{21} = \frac{6}{2} = 3$$
Row operation: $R_2 \rightarrow R_2 - 3R_1$
$$\begin{bmatrix} 2 & 5 \ 6 - 3(2) & -7 - 3(5) \end{bmatrix} = \begin{bmatrix} 2 & 5 \ 0 & -22 \end{bmatrix}$$
So: $$U = \begin{bmatrix} 2 & 5 \ 0 & -22 \end{bmatrix}$$
Step 3 - Construct L
Unit diagonal, with the multiplier $\ell_{21} = 3$ below:
$$L = \begin{bmatrix} 1 & 0 \ 3 & 1 \end{bmatrix}$$
Step 4 - Verify $LU = A$
$$ LU = \begin{bmatrix} 1 & 0 \ 3 & 1 \end{bmatrix}\begin{bmatrix} 2 & 5 \ 0 & -22 \end{bmatrix} = \begin{bmatrix} 2 & 5 \ 6 & 15-22 \end{bmatrix} = \begin{bmatrix} 2 & 5 \ 6 & -7 \end{bmatrix} = A \checkmark $$
Result
$$\boxed{A = \begin{bmatrix} 1 & 0 \ 3 & 1 \end{bmatrix}\begin{bmatrix} 2 & 5 \ 0 & -22 \end{bmatrix}}$$
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.