Home page for accesible maths 4 Determinants

Style control - access keys in brackets

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

4.4. More on elementary matrices

There are two main results of this subsection: The first is that a matrix is invertible if and only if its determinant is non-zero (Theorem 4.4.4). If you were to choose a matrix at random, its determinant would almost certainly be non-zero; therefore “most” matrices are invertible! The second result is that the determinant is multiplicative, in other words, det(AB)=(detA)(detB), see Theorem 4.4.5. These will be proved by studying the determinants of elementary matrices, and building from there. We will begin by translating the above properties into statements about the elementary matrices (see Section 2 for an introduction to elementary matrices).

Theorem 4.4.1 (Elementary operations).

Let AMn(R), let λR be non-zero, and let 1i,jn with ij. The three types of elementary row operations change the determinant as follows.

  1. DET4

    tells us that det(Ei(λ)A)=λdetA,

  2. DET6

    tells us that det(Eij(λ)A)=detA,

  3. DET2

    tells us that det(EijA)=-detA.

In view of this theorem, the “easiest” row operation to use for evaluating determinants is Eij(λ), which adds a multiple of one row to another. This is the only row operation that doesn’t change the determinant. Let us give a few more results on elementary matrices which are immediate consequences of the above Theorem.

Lemma 4.4.2.

Let λR be non-zero, and let i,jN be distinct. Then,

detEi(λ)=λ,detEij(λ)=1𝑎𝑛𝑑detEij=-1.
Proof.

This follows from Theorem 4.4.1 since each elementary matrix is obtained by applying the corresponding elementary row operation to the identity matrix In, whatever its size n. ∎

Lemma 4.4.3.

Let A,LMn(R) and assume that L is an elementary matrix. Then,

det(LA)=(detL)(detA).
Proof.

The equality follows from Theorem 4.4.1 and Lemma 4.4.2. ∎

Next, an invertibility criterion for square matrices.

Theorem 4.4.4.

Let A be an n×n matrix. Then,

A is invertible if and only if detA0.
Proof.

Let Ar be the reduced echelon form of A, and let L1,,Lk be elementary matrices such that

Ar=LkL1A.

By using Lemma 4.4.3 over and over, we have that

detAr=detLkdetL1detA,

with detLi all non-zero. So detA0 if and only if detAr0. Since Ar is in reduced echelon form (and hence upper-triangular), by DET7, detAr0 if and only if Ar=In. By Lemma 3.3.3, Ar=In if and only if A is invertible. Putting these facts together, we see detA0 if and only if A is invertible, as required. ∎

Now we can prove that the determinant is multiplicative, as follows.

Theorem 4.4.5.

Let A,BMn(R). Then,

det(AB)=(detA)(detB).
Proof.

If A is not invertible then AB cannot be invertible, by Theorem 3.1.5. So, by Theorem 4.4.4, both sides are zero, and therefore equal. If A is invertible then A is a product of elementary matrices, by Theorem 3.3.4, and so the result follows from repeated applications of Lemma 4.4.3. ∎

Here are a few explicit examples which use the above results.

Example 4.4.6.

  • Let x be a parameter, and let A be the matrix

    A=(12-1x1333x).

    We want to find the values of x for which is A invertible, without using the algorithm for calculating the inverse.

    By Theorem 4.4.4, we can calculate detA and find the values of x for which detA0. Note that detA is a real-valued function of x (in fact, it is a polynomial). Hence, we look for the values of x for which the function detA is non-zero. We calculate detA by simplifying first the computations using elementary row operations which do not change the value of detA.

    |12-1x1333x|R2=r2-xr1R3=r3-3r1|12-101-2x3+x0-3x+3|.

    Expanding about the first column gives

    detA=(-1)1+11|1-2x3+x-3x+3|+0+0.
    So,detA=(1-2x)(x+3)-(-3)(x+3)=(x+3)(4-2x).

    Hence, by Theorem 4.4.4, the matrix A is invertible if and only if detA0, which is the same as x-3,2.

Example 4.4.7.

  • We want to determine whether the following matrices are invertible or not, without using the algorithm for calculating the inverse.

    A=(1234234134124123)andB=(abcdbcdacdabdabc),

    where a,b,c,d are subject to a+b+c+d=0.

    Again, using Theorem 4.4.4, this exercise consists of evaluating the determinants of A and B. We simplify first the computations using elementary row operations which do not change the value of the determinant. Let us start with A.

    detA=|1234234134124123|R4=r4+r1R4=r4+r2R4=r4+r3|12342341341210101010|.

    Now, we do the column operations: C2=c2-c1,C3=c3-c1 and C4=c4-c1, and expand the determinant by using the cofactors of the bottom row:

    detA=|1123212-131-2-110000|=(-1)4+110|12312-11-2-1|+0+0+0.

    Finally, we do R1=r1-r2 and R3=r3-r2 and expand the determinant using the cofactors from the first row, we get

    detA=-10|00412-10-40|=-10(0+0+(-1)1+34|120-4|)=-104(-4)=160.

    Since detA is non-zero, we conclude that A is invertible, by Theorem 4.4.4.

    For B, since a+b+c+d=0, we see that if we add all the rows, then we get a zero row:

    detB=|abcdbcdacdabdabc|R4=r4+r1R4=r4+r2R4=r4+r3|abcdbcdacdab0000|=0.

    Thus, B is not invertible by Theorem 4.4.4.