Question 7 of 7: LU Decomposition and Solving a Linear System
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
National Exams — December 2013 — 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 (Q1 20, Q2 20, Q3 20, Q4 20, Q5 20, Q6 20, Q7 20 marks, per the printed marking scheme); 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), numerics in general: interpolation, root-finding, Romberg integration (Ch. 19), numeric linear algebra: LU factorization (Ch. 20); Burden & Faires, Numerical Analysis (9th ed., Cengage) — Newton divided-difference interpolation, finite-difference derivative stencils, Newton–Raphson/bisection/fixed-point convergence theory, Romberg extrapolation, Doolittle LU factorization.
Question 7: LU Decomposition and Solving a Linear System (a) 10, (b) 10 marks
Given (a). $A=\begin{bmatrix}2&4&-3\\-4&-10&11\\6&2&10\end{bmatrix}$, with $L=\begin{bmatrix}1&0&0\\l_{21}&1&0\\l_{31}&l_{32}&1\end{bmatrix}$, $U=\begin{bmatrix}u_{11}&u_{12}&u_{13}\\0&u_{22}&u_{23}\\0&0&u_{33}\end{bmatrix}$.
Find (a). The entries of $L$ and $U$ such that $A=LU$.
Approach (a). Doolittle elimination: eliminate column 1 using multipliers $l_{21},l_{31}$, record them, then eliminate column 2 of the reduced $2\times2$ block using $l_{32}$; no row interchange is needed since every pivot is nonzero.
Read off $L$ and $U$.
$$L=\boxed{\begin{bmatrix}1&0&0\\-2&1&0\\3&5&1\end{bmatrix}},\qquad U=\boxed{\begin{bmatrix}2&4&-3\\0&-2&5\\0&0&-6\end{bmatrix}}$$
Direct multiplication confirms $LU=A$ exactly.
Check: the printed system in part (b) reads “$-6x_1+2x_2+10x_3=34$” for the third equation (confirmed on the source page), but part (b) explicitly instructs solving via the $L,U$ of part (a), whose third row is $[6,2,10]$ — a $+6x_1$ coefficient, not $-6x_1$. Forward/back substitution with $L,U$ is only valid for the system $Ax=b$, so the $-6x_1$ is treated here as a sign typo in the source. The solution below uses $A$'s printed row-3 coefficients, $6x_1+2x_2+10x_3=34$.
Given (b). $Ax=b$ with $b=\begin{bmatrix}-16\\52\\34\end{bmatrix}$ (row 3 read as $6x_1+2x_2+10x_3=34$, matching $A$; see check note above).
Find (b). $x_1,x_2,x_3$.
Approach (b). Forward-substitute $Ly=b$, then back-substitute $Ux=y$.
Back substitution, $Ux=y$. $-6x_3=-18\Rightarrow x_3=3$. $-2x_2+5(3)=20\Rightarrow x_2=-\dfrac52$. $2x_1+4\left(-\dfrac52\right)-3(3)=-16\Rightarrow2x_1=-16+10+9=3\Rightarrow x_1=\dfrac32$.
$$\boxed{x_1=\dfrac32,\quad x_2=-\dfrac52,\quad x_3=3}$$
Substituting back into all three original equations confirms the solution exactly.