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⁡(A⁢B)=(det⁡A)⁢(det⁡B), 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 A∈Mn⁡(R), let λ∈R be non-zero, and let 1≤i,j≤n with i≠j. The three types of elementary row operations change the determinant as follows.

  1. DET4

    tells us that det⁡(Ei⁢(λ)⋅A)=λ⁢det⁡A,

  2. DET6

    tells us that det⁡(Ei⁢j⁢(λ)⋅A)=det⁡A,

  3. DET2

    tells us that det⁡(Ei⁢j⋅A)=-det⁡A.

In view of this theorem, the “easiest” row operation to use for evaluating determinants is Ei⁢j⁢(λ), 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,j∈N be distinct. Then,

det⁡Ei⁢(λ)=λ,det⁡Ei⁢j⁢(λ)=1 𝑎𝑛𝑑 det⁡Ei⁢j=-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,L∈Mn⁡(R) and assume that L is an elementary matrix. Then,

det⁡(L⁢A)=(det⁡L)⁢(det⁡A).
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 det⁡A≠0.
Proof.

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

Ar=Lk⁢…⁢L1⁢A.

By using Lemma 4.4.3 over and over, we have that

det⁡Ar=det⁡Lk⁢…⁢det⁡L1⁢det⁡A,

with det⁡Li all non-zero. So det⁡A≠0 if and only if det⁡Ar≠0. Since Ar is in reduced echelon form (and hence upper-triangular), by DET7, det⁡Ar≠0 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 det⁡A≠0 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,B∈Mn⁡(R). Then,

det⁡(A⁢B)=(det⁡A)⁢(det⁡B).
Proof.

If A is not invertible then A⁢B 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 det⁡A and find the values of x for which det⁡A≠0. Note that det⁡A 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 det⁡A is non-zero. We calculate det⁡A by simplifying first the computations using elementary row operations which do not change the value of det⁡A.

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

    Expanding about the first column gives

    det⁡A=(-1)1+1⁢1⁢|1-2⁢x3+x-3x+3|+0+0.
    So, det⁡A=(1-2⁢x)⁢(x+3)-(-3)⁢(x+3)=(x+3)⁢(4-2⁢x).

    Hence, by Theorem 4.4.4, the matrix A is invertible if and only if det⁡A≠0, 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) and B=(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.

    det⁡A=|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:

    det⁡A=|1123212-131-2-110000|=(-1)4+1⁢10⁢|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

    det⁡A=-10⁢|00412-10-40|=-10⁢(0+0+(-1)1+3⁢4⁢|120-4|)=-10⋅4⁢(-4)=160.

    Since det⁡A 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:

    det⁡B=|abcdbcdacdabdabc|→R4=r4+r1R4=r4+r2R4=r4+r3|abcdbcdacdab0000|=0.

    Thus, B is not invertible by Theorem 4.4.4.