1 Solving three equations in three unknowns
The easiest set of three simultaneous linear equations to solve is of the following type:
,
,
which obviously has solution or .
In matrix form the equations are
where the matrix of coefficients, , is clearly diagonal.
Task!
Solve the equations
The next easiest system of equations to solve is of the following kind:
The last equation can be solved immediately to give .
Substituting this value of into the second equation gives from which so that
Substituting these values of and into the first equation gives from which so that
Hence the solution is
This process of solution is called back-substitution .
In matrix form the system of equations is
The matrix of coefficients is said to be upper triangular because all elements below the leading diagonal are zero. Any system of equations in which the coefficient matrix is triangular (whether upper or lower) will be particularly easy to solve.
Task!
Solve the following system of equations by back-substitution.
Write the equations in expanded form:
Now find the solution for :
The last equation can be solved immediately to give
Using this value for , obtain and :
, . Therefore the solution is and
Although we have worked so far with integers this will not always be the case and fractions will enter the solution process. We must then take care and it is always wise to check that the equations balance using the calculated solution.