Question 7 of 7: LU (Crout) Decomposition and Solution of a Linear System
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
National Exams — December 2014 — 04-BS-5 Advanced Mathematics. Three-hour, closed-book exam (one double-sided 8.5"×11" aid sheet permitted; approved Casio/Sharp calculator allowed). Format: seven questions of equal value (20 marks each, with internal splits as marked); any five constitute a complete paper and only the first five appearing in the answer book are marked. All seven are solved below for completeness.
Reference texts: Kreyszig, Advanced Engineering Mathematics (10th ed., Wiley) — power-series solutions of ODEs about an ordinary point (Ch. 5), Fourier series and the Fourier transform (Ch. 11), Newton divided-difference interpolation, numerical differentiation, Romberg integration, Newton’s method and fixed-point iteration (Ch. 19), Doolittle/Crout LU factorization and forward/back substitution (Ch. 7).
Question 7: LU (Crout) Decomposition and Solution of a Linear System (20 marks)
Given. $A=\begin{pmatrix}2&-4&6\\4&-11&0\\-1&4&10\end{pmatrix}$, with $U$ constrained to unit upper-triangular (Crout factorization), and right-hand side $b=(7,23,-12)^T$.
Find. (a) $L$ and $U$ such that $A=LU$. (b) $x,y,z$ solving $Ax=b$.
Approach. Multiply out $LU$ symbolically and match each entry of $A$ row-by-row/column-by-column (Crout’s algorithm) to solve for the six unknown entries of $L$ and the three of $U$ in sequence. Then solve $Ly=b$ by forward substitution and $Ux=y$ by back substitution.
Column 1 of $L$ (since $U$'s first column is $(1,0,0)^T$). Matching $A$'s first column directly gives $l_{11}=2,\ l_{21}=4,\ l_{31}=-1$.
Row 1 of $U$. $a_{12}=l_{11}u_{12}\Rightarrow u_{12}=-4/2=-2$. $a_{13}=l_{11}u_{13}\Rightarrow u_{13}=6/2=3$.
Back substitution, $Ux=y$. Since $U$ has unit diagonal: $z=y_3=-0.5$; $y=y_2-4z=-3-4(-0.5)=-1$; $x=y_1-(-2)y-3z=3.5+2(-1)-3(-0.5)=3.5-2+1.5=3$.
$$\boxed{x=3,\quad y=-1,\quad z=-0.5}$$
Check: $2(3)-4(-1)+6(-0.5)=6+4-3=7$; $4(3)-11(-1)=12+11=23$; $-(3)+4(-1)+10(-0.5)=-3-4-5=-12$ — all three equations verified.