04-BS-5 · May 2016
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
EGBC National Examination — 04-BS-5 Advanced Mathematics, May 2016. Closed-book, 3-hour exam; candidates were permitted one 8.5"x11" aid sheet (both sides) and an approved Casio/Sharp calculator. The exam instructs that any five (5) questions constitute a complete paper (only the first five answers as they appear in the answer book are marked); every question is solved below as a full study resource.
Reference texts: Kreyszig, Advanced Engineering Mathematics, 10th ed. — Ch.5 (Power Series Solutions of ODEs), Ch.11 (Fourier Series and Integrals), Ch.19–20 (Interpolation, Numerical Integration, Root-Finding, LU/Cholesky Factorization).
Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.
Given. $A=\begin{bmatrix}4&10&8\\10&29&26\\8&26&34\end{bmatrix}$ (symmetric positive definite) and right-hand side $b=(-4,-11,-5)^{T}$.
Find. (a) The lower-triangular Cholesky factor $L$ (and $L^{T}$). (b) The solution $x=(x_1,x_2,x_3)$.
Approach. Derive $L$ entry-by-entry column-by-column from $A=LL^{T}$; then solve $Ly=b$ by forward substitution and $L^{T}x=y$ by back substitution.
| Quantity | Result |
|---|---|
| $L$ | $\begin{bmatrix}2&0&0\\5&2&0\\4&3&3\end{bmatrix}$ |
| $y$ ($Ly=b$) | $(-2,\ -0.5,\ 1.5)$ |
| $x$ ($L^{T}x=y$) | $(0.5,\ -1,\ 0.5)$ |
The whole-number entries of $L$ are not a coincidence of rounding: $A$ was built so that every square root in the Cholesky recursion lands on a perfect square (4, 4, 9), which is why this system is a natural textbook example rather than one requiring decimal approximation. Because $A$ is diagonally dominant as well as SPD, the same factorization would also succeed (numerically stably) via plain Gaussian elimination without pivoting, but Cholesky remains the cheaper choice whenever symmetry is known in advance, exactly as it is here.