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.3. Number of solutions

Given a system of linear equations, how many solutions are there?

We shall see that a system of linear equations has either zero, one, or an infinite number of solutions.

Definition 5.3.1.

Let

(a11a1ms1an1anmsn)

be the augmented matrix of a given system of linear equations, for some integers n,m1.

  1. (i)

    The system is called homogeneous if s1==sn=0.

  2. (ii)

    We call a solution to a system of equations non-trivial, if at least one of the variables has non-zero value.

Example 5.3.2.

    1. (a)

      The system of equations

      x+y=32x-y=6

      has a non-trivial solution, namely (x,y)=(3,0).

    2. (b)

      The homogeneous system of equations

      x+y=02x-y=0

      has no non-trivial solution. Indeed, (x,y)=(0,0) is the unique solution.

An advantage of systems with two equations is that we can work out a graphical solution, as we did in our first example. Indeed, an equation ax+by=c (in the variables x and y) is a line in the (x,y)-plane, and so the solutions to a system of equations with two variables are the intersection point(s) of all the lines. In other words, the possible outcomes of a system of two linear equations in two variables are as follows:

  1. (i)

    The lines are distinct and parallel. (Zero solutions)

  2. (ii)

    There is a unique intersection point. (One solution)

  3. (iii)

    The lines are the same line. (Infinitely many solutions)

Example 5.3.3.

  • We consider four systems of linear equations in two variables x and y, all in fact very similar to each other, but leading to four different configurations of solutions.

    • (a)

      Unique trivial solution.

      2x+5y=0-x+2y=0

      The system of linear equations has the following augmented matrix form, which we row reduce:

      (250-120)R1R2R2=r2+2r1(-120090)R2=19R2R1=-r1R1=r1+2r2(I2| 0).

      The conclusion is that there is a unique solution, namely (x,y)=(0,0), which is called the trivial solution.

    • (b)

      Unique non-trivial solution.

      2x+5y=16-x+2y=1

      The system of linear equations has the following augmented matrix form, which we row reduce, using the same operations as in (a):

      (2516-121)R1R2R2=r2+2r1(-1210918)R2=19R2R1=-r1R1=r1+2r2(103012).

      Converting the final augmented matrix back into equations, we see x=3 and y=2. So there is a unique non-trivial solution.

    • (c)

      Infinity of solutions.

      2x-4y=-10-x+2y=5

      The given system of linear equations in the variables x and y has the following augmented matrix form, which we row reduce:

      (2-4-10-125)R1=12r1R2=r2+r1(1-2-5000).

      This final matrix is in reduced row echelon form, and by Theorem 5.2.4, the original system is equivalent to the single equation x-2y=-5, which has infinitely many solutions. Therefore the original system of equations has infinitely many solutions.

    • (d)

      No solutions: inconsistent system of equations.

      2x-4y=4-x+2y=5

      We row reduce the associated augmented matrix:

      (2-44-125)R1=12r1R2=r2+r1(1-22007).

      Translating this final matrix back into equations, we find that the original system is equivalent to one involving the equation 0x+0y=7. Since the left-hand side is 0, and can never equal 7, there are no solutions.

      Geometrically, the lines corresponding to each equation do not intersect, because they are parallel and distinct.

We end this section on systems of linear equations with a useful result concerning homogeneous systems of equations. This concept is relevant in linear algebra, in the study of eigenvalues and eigenvectors which is the topic of Section 7.

Lemma 5.3.4.

If ArMn(R) is a matrix in reduced row echelon form, then the equation Arv=0, (where v is a column vector in Mn×1(R)) has a non-trivial solution if and only if Ar is not the identity matrix.

Proof.

If Ar is the identity matrix, then clearly the only solution is v=0, the trivial one. If Ar is not the identity matrix, then it has at most n-1 non-zero rows, and hence at most n-1 leading coefficients. Choose a variable xi corresponding to a column not containing a leading coefficient. Whatever value we choose for xi, it is easy to construct a solution for the other variables which satisfy the equations. So we have constructed a non-trivial solution. ∎

Theorem 5.3.5.

Let A=(aij)Mn(R), for some integer n1, and let

v=(x1xn)Mn×1().

Then the homogeneous system

Av=0Mn×1()

has a non-trivial solution if and only if detA=0.

Proof.

By Theorem 5.2.4, the solutions of Av=0 are the same as the solutions of Arv=0. By Theorem 4.4.4 together with Lemma 3.3.3, we know that detA=0 if and only if Ar is not the identity. So by Lemma 5.3.4, the result follows. ∎

Example 5.3.6.

  • Consider this Theorem applied to Example 5.3(a): Since det(25-12)=9, is not zero, the only solution is the trivial one.

Corollary 5.3.7.

Let A=(aij)Mn×m(R) and let

v=(x1xm)Mm×1().

Assume that n<m. Then the homogeneous system

Av=0in Mm×1() has a non-trivial solution.
Proof.

Note that the above system of equations is equivalent to the one given by the augmented matrix

(𝐀n×m0n×10(m-n)×m0(m-n)×1),

where, for sake of clarity, the indices indicate the sizes of the given matrices. In other words, we complete the matrix A into a square m×m matrix by adding rows of zeros at the bottom, which we can do at least once, because n<m by assumption. It follows that the determinant of the left-hand side m×m matrix

(𝐀n×m0(m-n)×m)Mm()

is zero and so, the result follows from Theorem 5.3.5. ∎