GUIDING QUESTION:
How can I compute a solution to a linear system?
Consider the following linear system. \begin{align*} 2u + v + w & = 5,\\ -8v -2w & = -12,\\ 1w & = 2. \end{align*}
\begin{equation} \begin{array}{rl} 2u + v + w =& 5\\ -8v -2w =& -12\\ 1w =& 2 \end{array} \color{var(--emphColor)}{\leftrightarrow} \begin{bmatrix} 2 & 1 & 1 \\ & -8 & -2 \\ & & 1 \end{bmatrix} \begin{bmatrix} u \\ v \\ w \end{bmatrix} = \begin{bmatrix} 5 \\ -12 \\ 2 \end{bmatrix} \end{equation}
An upper and lower triangular $U$ and $L$ look like:
Our motivating example suggests we may solve systems with a triangular coefficient matrix row by row.
If $U$ is upper triangular and $Ux = b$, we may: