1 Solving three equations in three unknowns

The easiest set of three simultaneous linear equations to solve is of the following type:

[maths rendering] ,

[maths rendering] ,

[maths rendering]

which obviously has solution [maths rendering] or [maths rendering] .

In matrix form [maths rendering] the equations are

[maths rendering]

where the matrix of coefficients, [maths rendering] , is clearly diagonal.

Task!

Solve the equations

[maths rendering]

[maths rendering]

The next easiest system of equations to solve is of the following kind:

[maths rendering]

The last equation can be solved immediately to give [maths rendering] .

Substituting this value of [maths rendering] into the second equation gives [maths rendering] from which [maths rendering] so that [maths rendering]

Substituting these values of [maths rendering] and [maths rendering] into the first equation gives [maths rendering] from which [maths rendering] so that [maths rendering]

Hence the solution is [maths rendering]

This process of solution is called back-substitution .

In matrix form the system of equations is

[maths rendering]

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.

[maths rendering]

Write the equations in expanded form:

[maths rendering]

Now find the solution for [maths rendering] :

The last equation can be solved immediately to give [maths rendering]

Using this value for [maths rendering] , obtain [maths rendering] and [maths rendering] :

[maths rendering] , [maths rendering] . Therefore the solution is [maths rendering] and [maths rendering]

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.