girgit.org

Determinants

When can a matrix be undone? Singular matrices and the inverse

The big ideaA square matrix has an inverse exactly when its determinant is not zero, and then \( A^{-1} = \frac{1}{|A|}\operatorname{adj} A \).

In simple words

A matrix that stretches or turns the rubber sheet can always be undone: just stretch it back. A matrix that squashes the sheet flat cannot be undone, because many points landed on the same spot and you can't tell them apart any more. The box's number tells you which kind you have. If it is not zero, divide the adjoint by it and you have the undo button.

Singular and non-singular

A square matrix A is singular if |A| = 0, and non-singular if |A| ≠ 0.

  • \( \begin{bmatrix} 2 & 6 \\ 1 & 3 \end{bmatrix} \) is singular: \( 6 - 6 = 0 \). (Its second column is 3 times the first.)
  • \( \begin{bmatrix} 2 & 1 \\ 1 & 3 \end{bmatrix} \) is non-singular: \( 6 - 1 = 5 \neq 0 \).

The textbook states three theorems here (the first two without proof):

  1. Theorem 2. When A and B are non-singular and of the same order, the products AB and BA are non-singular too.
  2. Theorem 3. \( |AB| = |A||B| \): the determinant of a product is the product of the determinants. (Rubber sheet: stretch by 2, then by 3, is a stretch by 6.) This explains Theorem 2 at once.
  3. Theorem 4. A square matrix is invertible if and only if it is non-singular.

Why Theorem 4 is true

Invertible gives non-singular. If A has an inverse B, then AB = I. Take determinants: \( |A||B| = |I| = 1 \). A product of two numbers can't be 1 if one of them is 0, so |A| ≠ 0.

Non-singular gives invertible. If |A| ≠ 0, divide both sides of \( A(\operatorname{adj} A) = (\operatorname{adj} A)A = |A|I \) by the number |A|:

\[ A\left(\frac{1}{|A|}\operatorname{adj} A\right) = \left(\frac{1}{|A|}\operatorname{adj} A\right)A = I. \]

So the matrix in brackets is the inverse:

\[ A^{-1} = \frac{1}{|A|}\operatorname{adj} A. \]

The same step \( |A||A^{-1}| = 1 \) also gives a handy fact: \( |A^{-1}| = \frac{1}{|A|} \).

Try it: change the matrix and watch its inverse and the check A·A⁻¹ = I. Sweep one entry to find the value that makes A singular.

Worked examples

  1. 2 × 2. \( A = \begin{bmatrix} 5 & 2 \\ 7 & 3 \end{bmatrix} \): |A| = 15 − 14 = 1, \( \operatorname{adj} A = \begin{bmatrix} 3 & -2 \\ -7 & 5 \end{bmatrix} \), so \( A^{-1} = \begin{bmatrix} 3 & -2 \\ -7 & 5 \end{bmatrix} \).
  2. 3 × 3. For \( A = \begin{bmatrix} 2 & -1 & 3 \\ 1 & 0 & 4 \\ -2 & 1 & 5 \end{bmatrix} \) we found |A| = 8 and the adjoint on the last page, so \[ A^{-1} = \frac{1}{8}\begin{bmatrix} -4 & 8 & -4 \\ -13 & 16 & -5 \\ 1 & 0 & 1 \end{bmatrix}. \] Check one entry of \( A^{-1}A \): row 1 of \( A^{-1} \) times column 1 of A is \( \frac{1}{8}[(-4)(2) + 8(1) + (-4)(-2)] = \frac{8}{8} = 1 \).
  3. Inverse of a product. With A as in example 1 and \( B = \begin{bmatrix} 1 & 1 \\ 1 & 2 \end{bmatrix} \): \( AB = \begin{bmatrix} 7 & 9 \\ 10 & 13 \end{bmatrix} \), |AB| = 91 − 90 = 1, \( (AB)^{-1} = \begin{bmatrix} 13 & -9 \\ -10 & 7 \end{bmatrix} \). Multiplying \( B^{-1} = \begin{bmatrix} 2 & -1 \\ -1 & 1 \end{bmatrix} \) by \( A^{-1} \) gives the same matrix: \( (AB)^{-1} = B^{-1}A^{-1} \), with the order reversed.

The inverse from a matrix equation

Sometimes a matrix satisfies an equation, and that gives its inverse without any cofactors. Take \( A = \begin{bmatrix} 2 & 1 \\ 1 & 1 \end{bmatrix} \). Then \( A^2 = \begin{bmatrix} 5 & 3 \\ 3 & 2 \end{bmatrix} \), and you can check that \( A^2 - 3A + I = O \). Since |A| = 1 ≠ 0, \( A^{-1} \) exists; multiply the equation by \( A^{-1} \):

\[ A - 3I + A^{-1} = O \;\Rightarrow\; A^{-1} = 3I - A = \begin{bmatrix} 1 & -1 \\ -1 & 2 \end{bmatrix}. \]

Don't mix these up

  • \( A^{-1} = \frac{1}{|A|}\operatorname{adj} A \), not \( \frac{1}{|A|}[A_{ij}] \): use the transposed cofactors.
  • \( (AB)^{-1} = B^{-1}A^{-1} \), order reversed, like taking off socks and shoes.
  • Always check |A| ≠ 0 before computing an inverse.

Words to know

Singular matrix
A square matrix with determinant 0; it has no inverse.
Non-singular matrix
A square matrix with non-zero determinant; it has an inverse.
Invertible
Has an inverse: some B with AB = BA = I.
\( A^{-1} \)
The inverse of A, equal to \( \frac{1}{|A|}\operatorname{adj} A \).
\( |AB| = |A||B| \)
The determinant of a product is the product of the determinants.

For which value of k is \( \begin{bmatrix} k & 4 \\ 3 & 6 \end{bmatrix} \) not invertible?

  1. k = 2
  2. k = 4
  3. k = 0

A is a 3 × 3 matrix with |A| = 4. What is \( |A^{-1}| \)?

  1. −4
  2. \( \frac{1}{4} \)
  3. \( \frac{1}{64} \)

A matrix satisfies \( A^2 - 5A + 6I = O \) and is invertible. What is \( A^{-1} \)?

  1. \( 5I - A \)
  2. \( \frac{1}{6}(5I - A) \)
  3. \( \frac{1}{6}(A - 5I) \)