Change the matrix of coefficients
upper triangular.
Now we have a triangular system and the solution is readily obtained;
- obviously
from the third equation,
- and back-substitution into the second equation gives
.
- We continue with back-substitution by substituting both
, and
into the first equation to get
.