Question 7 of 7: Cholesky Decomposition and Linear System Solution
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
National Examinations, December 2018 — 04-BS-5 Advanced Mathematics, 3 hours, closed book (approved Casio/Sharp calculator and one double-sided aid sheet permitted). Any five of the seven questions constitute a complete paper and all questions are of equal value; all seven are answered below as a full study resource.
Given. Symmetric matrix $A=\begin{pmatrix}9&-6&12\\-6&5&-3\\12&-3&45\end{pmatrix}$ (the problem's own label "$L$ upper triangular" is the printed exam's naming; the matrix constructed is the standard lower-triangular Cholesky factor satisfying $A=LL^T$); right-hand side $\mathbf b=(8,-8,-4)^T$.
Find. (a) The Cholesky factor $L$ (and $L^T$). (b) The solution $(x,y,z)$ via forward substitution ($L\mathbf w=\mathbf b$) then back substitution ($L^T\mathbf x=\mathbf w$).
Approach. $A$ is symmetric; confirm it is positive definite by the Cholesky process succeeding (all diagonal entries under the square root staying positive), building $L$ column by column with $l_{ii}=\sqrt{a_{ii}-\sum_{k\lt i}l_{ik}^2}$ and $l_{ji}=\big(a_{ji}-\sum_{k\lt i}l_{jk}l_{ik}\big)/l_{ii}$ for $j\gt i$.
Back substitution, $L^T\mathbf x=\mathbf w$.
$$2z=-\tfrac23\Rightarrow z=-\tfrac13;\quad y+5z=-\tfrac83\Rightarrow y=-\tfrac83-5(-\tfrac13)=-1;\quad 3x-2y+4z=\tfrac83\Rightarrow x=\dfrac{\frac83+2(-1)-4(-\frac13)}{3}=\tfrac23$$
$$\boxed{x=\tfrac23,\quad y=-1,\quad z=-\tfrac13}$$
Check: substituting back into all three original equations reproduces $(8,-8,-4)$ exactly.