Home page for accesible maths 5 Systems of linear equations

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

5.2. Row operations

As we have observed, these manipulations of equations are similar to the row operations studied in Section 2. To make this more precise, we will translate systems of linear equations into augmented matrix form. These matrices are split arrays

(A|B)i.e.(LHS|RHS)

which we already have used for inverting matrices in Section 3. They allow us to do elementary operations on two matrices simultaneously.

The purpose of this section is to convince you of the following fundamental correspondence:

Solving a system of equations by successive elimination of variables is the same as Row reduction of the associated augmented matrix.

So we will be able to use the row reduction algorithm from Section 2 to solve systems of linear equations. We will make this correspondence explicit by looking again at Examples 5.1 and 5.1.

In Example 5.1 we had the system of linear equations

-2x+y=200-32x+y=300

The above system is the same as saying the following two matrices are equal:

(-21-321)(xy)=(200300).

To translate this into augmented matrix form, we omit the variables x and y, and the equal sign, and write

(-21200-321300).

Each column in the left-hand side contains the coefficients of a single variable, where the variables are listed in some fixed order (for example, x,y,z or x1,x2,x3), and each row corresponds to an equation.

Now let’s perform the same row operations from Example 5.1:

(-21200-321300)R1=r1-r2R1=-2r1(10200-321300)R2=r2+32r1(1020001600)

This is the reduced echelon form of the augmented matrix (see Definition 2.2.3). If we now translate back into the linear equations, this final augmented matrix corresponds to

x+0y=2000x+y=600

Therefore we can conclude x=200, and y=600, is the solution to the original system of equations (See Theorem 5.2.4 below).

Let us now put Example 5.1 into augmented matrix form, and row reduce it. The augmented matrix form of these equations, with variables x,y,z, is

(523603213641450)

Proceed with the row reduction as follows:

(523603213641450)R2=-5r2R2=r2+3r1R3=-5r3R3=r3+4r1(523600-44003-8-10)(1001001020012).

Using the techniques developed in Section 2, the reader can fill in the intermediate steps. Now we translate this final augmented matrix back into equation form, and find that x=10 and y=z=2, which is the same answer obtained in Example 5.1.

Definition 5.2.1.

An elementary operation on a system of linear equations is one of the following (See also Definition 2.1.3):

  1. (i)

    Multiplying one equation by a non-zero scalar. [Same as Ei(λ)]

  2. (ii)

    Adding a multiple of one equation to another. [Same as Eij(λ)]

  3. (iii)

    Swapping two equations. [Same as Eij]

Definition 5.2.2.

Two systems of linear equations in the variables x1,x2,,xn are equivalent if they have the same set of solutions.

Example 5.2.3.

  • Consider the system of the two linear equations (2) and (3) from Example 5.1. If we multiply either of these equations by a non-zero scalar, then clearly this doesn’t change the set of solutions. But if we multiply one of them by zero, then it would become the equation 0=0, which is always true, and therefore does not give a constraint. In other words, the set of solutions changes if we multiply one of these equations by zero.

Theorem 5.2.4.

Performing an elementary operation (see Definition 5.2.1) on a system of linear equations takes it into an equivalent system of linear equations.

Proof.

If a we have a solution to a system of linear equations, and an elementary operation is performed, then it is clear that the same solution will work for the new system of equations. So the operations do not lose solutions. The theorem now follows because all of these operations can be “undone”, so they can’t gain solutions either. In particular, multiplying an equation by a non-zero multiple can be undone, and similarly, adding a multiple of one equation to another can be undone simply by subtracting.

For the matrix analog of this theorem, see Theorem 2.2.5 or Lemma 3.3.1. ∎