- Practice
- About 18 min
- 5 practice questions
Adjoint of a square matrix and the inverse of a non-singular matrix
Find minors, cofactors and the adjoint of a square matrix, use A(adj A) = |A|I, and find the inverse of a non-singular matrix as A⁻¹ = (1/|A|) adj A.
If something looks wrong, please tell us.
By the end of this lesson you can
- Find the minor Mᵢⱼ and the cofactor Aᵢⱼ of any element of a square matrix.
- Form the adjoint, adj A, as the transpose of the matrix of cofactors.
- Use the result A(adj A) = (adj A)A = |A|Iₙ.
- Explain why an inverse, when it exists, is unique, and why it exists exactly when |A| ≠ 0.
- Find A⁻¹ = (1/|A|) adj A for matrices of order 2 and 3, and check the answer.
For a real number x ≠ 0 there is a reciprocal 1/x with x·(1/x) = 1. Matrices cannot be divided, because a matrix is an arrangement of numbers and not a single number, but we can still ask for a matrix that undoes multiplication by A. That matrix, the inverse, is the key to every method of solving linear equations in this chapter. To build it we need the adjoint.
Notation used in these lessons. We write a matrix row by row, separating rows by semicolons, so A = [2 1; 5 3] means the matrix whose first row is 2, 1 and whose second row is 5, 3. Recall that a square matrix is non-singular if |A| ≠ 0 and singular if |A| = 0. Here |A| (also written det A) is read determinant of A; it is a real number and may be negative.
Minors and cofactors
Let A be a square matrix of order n and aᵢⱼ the element in row i and column j. Delete row i and column j; the determinant of the remaining matrix of order n − 1 is the minor Mᵢⱼ. The cofactor is Aᵢⱼ = (−1)ⁱ⁺ʲ Mᵢⱼ. The sign (−1)ⁱ⁺ʲ follows a chessboard pattern starting with + at the top left: for order 3 the signs are [+ − +; − + −; + − +].
Two facts about cofactors drive everything that follows. (1) The sum of the products of the elements of a row with their own cofactors equals |A|: a₁₁A₁₁ + a₁₂A₁₂ + a₁₃A₁₃ = |A|. (2) The sum of the products of the elements of a row with the cofactors of a different row is 0: for example a₁₁A₂₁ + a₁₂A₂₂ + a₁₃A₂₃ = 0. The same holds for columns.
The adjoint matrix
Replace every element aᵢⱼ of A by its cofactor Aᵢⱼ to get the matrix of cofactors. The adjoint of A, written adj A, is the transpose of the matrix of cofactors. So the cofactors of the first row of A become the first column of adj A. For order 2 this gives a quick rule: if A = [a b; c d] then adj A = [d −b; −c a]: swap the diagonal elements and change the signs of the other two.
Finding adj A for a 3 × 3 matrix
- Write the sign pattern [+ − +; − + −; + − +] tells you the sign (−1)ⁱ⁺ʲ.
- Find all nine minors Delete the row and column of each element and evaluate the 2 × 2 determinant.
- Attach the signs Each minor times its sign is the cofactor Aᵢⱼ.
- Transpose Rows of the cofactor matrix become columns of adj A.
- Check A(adj A) should be |A| times the identity matrix.
The key result: A(adj A) = |A| I
Multiply A by adj A. The (1, 1) entry is row 1 of A times column 1 of adj A, which is a₁₁A₁₁ + a₁₂A₁₂ + a₁₃A₁₃ = |A| by fact (1). The (1, 2) entry is row 1 of A times the cofactors of row 2, which is 0 by fact (2). Every diagonal entry is |A| and every off-diagonal entry is 0, so A(adj A) = (adj A)A = |A| Iₙ for every square matrix A of order n. If A is singular this says A(adj A) = O, the zero matrix.
The inverse of a square matrix
Let A be a square matrix of order n. If there is a square matrix B of the same order with AB = BA = Iₙ, then B is called an inverse of A and we write B = A⁻¹. Three results settle when it exists and how to find it.
- The inverse is unique. If B and C were both inverses, then C = CIₙ = C(AB) = (CA)B = IₙB = B.
- A⁻¹ exists if and only if A is non-singular. If AB = Iₙ, the product rule for determinants gives |A||B| = |Iₙ| = 1, so |A| ≠ 0. Conversely, if |A| ≠ 0, dividing A(adj A) = |A|Iₙ by |A| shows that B = (1/|A|) adj A satisfies AB = BA = Iₙ.
- A singular matrix has no inverse, because its determinant is 0.
If |A| ≠ 0, then A⁻¹ = (1/|A|) adj A. For A = [a b; c d] with ad − bc ≠ 0, A⁻¹ = (1/(ad − bc)) [d −b; −c a].
Worked example 1: a 2 × 2 inverse
Find the inverse of A = [4 3; 2 5]. Working: |A| = 4 × 5 − 3 × 2 = 20 − 6 = 14 ≠ 0, so A⁻¹ exists. Swapping the diagonal and changing the other signs, adj A = [5 −3; −2 4]. Hence A⁻¹ = (1/14)[5 −3; −2 4]. Check: A(adj A) = [4·5 + 3·(−2), 4·(−3) + 3·4; 2·5 + 5·(−2), 2·(−3) + 5·4] = [14 0; 0 14] = 14I₂, as the theory says.
Worked example 2: a 3 × 3 inverse
Find the inverse of A = [1 1 1; 1 2 3; 1 4 9]. Working, step 1, the determinant by the first row: |A| = 1(2·9 − 3·4) − 1(1·9 − 3·1) + 1(1·4 − 2·1) = 6 − 6 + 2 = 2 ≠ 0.
Step 2, the cofactors. Row 1: A₁₁ = +(18 − 12) = 6, A₁₂ = −(9 − 3) = −6, A₁₃ = +(4 − 2) = 2. Row 2: A₂₁ = −(9 − 4) = −5, A₂₂ = +(9 − 1) = 8, A₂₃ = −(4 − 1) = −3. Row 3: A₃₁ = +(3 − 2) = 1, A₃₂ = −(3 − 1) = −2, A₃₃ = +(2 − 1) = 1.
Step 3, transpose the cofactor matrix [6 −6 2; −5 8 −3; 1 −2 1] to get adj A = [6 −5 1; −6 8 −2; 2 −3 1]. Step 4: A⁻¹ = (1/2)[6 −5 1; −6 8 −2; 2 −3 1]. Check one row and column of A(adj A): row 1 of A with column 1 of adj A gives 6 − 6 + 2 = 2 = |A|; row 2 of A with column 1 gives 6 − 12 + 6 = 0; row 3 of A with column 3 gives 1 − 8 + 9 = 2. All nine products give 2I₃, so the answer is right.
Worked example 3: when there is no inverse
Does A = [2 0 1; 1 3 2; 1 1 1] have an inverse? Working: |A| = 2(3·1 − 2·1) − 0 + 1(1·1 − 3·1) = 2(1) + 1(−2) = 0. The matrix is singular, so A⁻¹ does not exist. Here A(adj A) is the zero matrix, not a multiple of I₃ that we could divide.
| Situation | What it means | Inverse |
|---|---|---|
| |A| ≠ 0 | A is non-singular | A⁻¹ = (1/|A|) adj A, unique |
| |A| = 0 | A is singular | Does not exist |
| A not square | AB = BA = I cannot both hold | Not defined |
Key takeaways: the cofactor is the minor with the sign (−1)ⁱ⁺ʲ; adj A is the transpose of the cofactor matrix; A(adj A) = (adj A)A = |A|I always; a square matrix has an inverse exactly when |A| ≠ 0, the inverse is unique and equals (1/|A|) adj A. Always check by multiplying back.
Check your understanding
-
1. For A = [3 1 4; 2 5 0; 1 2 6], what is the cofactor A₂₁?
- −2
- 2
- 6
- −6
Show answer
Answer: B. Delete row 2 and column 1: the minor is M₂₁ = |1 4; 2 6| = 1·6 − 4·2 = −2. The sign is (−1)²⁺¹ = −1, so A₂₁ = −(−2) = 2.
-
2. What is the inverse of A = [5 2; 3 1]?
- [1 −2; −3 5]
- [−1 2; 3 −5]
- [1 −3; −2 5]
- [−5 2; 3 −1]
Show answer
Answer: B. |A| = 5·1 − 2·3 = −1. adj A = [1 −2; −3 5]. So A⁻¹ = (1/−1)[1 −2; −3 5] = [−1 2; 3 −5]. Check: [5 2; 3 1][−1 2; 3 −5] = [−5 + 6, 10 − 10; −3 + 3, 6 − 5] = I₂.
-
3. A is a square matrix of order 3 with |A| = 5. What is A(adj A)?
- I₃
- 25I₃
- 5I₃
- 125I₃
Show answer
Answer: C. For every square matrix, A(adj A) = |A|Iₙ. Here |A| = 5, so A(adj A) = 5I₃. The values 25 and 125 belong to |adj A| and |5A|-type results, not to this product.
-
4. For which value of k is the matrix [k 2; 6 3] singular?
- 2
- 3
- 9
- 4
Show answer
Answer: D. Singular means the determinant is 0: 3k − 2·6 = 0, so 3k = 12 and k = 4. For any other k the matrix has an inverse.
-
5. Which statement about inverses is true?
- A square matrix has an inverse exactly when its determinant is non-zero.
- Every square matrix has an inverse.
- A non-singular matrix can have two different inverses.
- A matrix and its inverse may have different orders.
Show answer
Answer: A. A⁻¹ exists if and only if |A| ≠ 0, so singular matrices have none. When it exists it is unique (if B and C are inverses, C = C(AB) = (CA)B = B), and it has the same order n as A because AB = BA = Iₙ.
Sign in to keep track of the lessons you finish.