Class 12 Maths, Worked in Full Past papersGet updates
Chapter 4 · Determinants

Exercise 4.4 · Q13: Show A2−5A+7I=OA^2-5A+7I=O⁠; hence find A−1A^{-1}

Exercise 4.4Adjoint and inverse of a matrix · Section 4.5
The question

If

A=[31−12],A = \begin{bmatrix} 3 & 1 \\ -1 & 2 \end{bmatrix},

show that A2−5A+7I=OA^2 - 5A + 7I = O⁠. Hence find A−1A^{-1}⁠.

Exam answer A2=[31−12][31−12]=[9−13+2−3−2−1+4]=[85−53]\begin{aligned} A^2 &= \begin{bmatrix} 3 & 1 \\ -1 & 2 \end{bmatrix}\begin{bmatrix} 3 & 1 \\ -1 & 2 \end{bmatrix} \\ &= \begin{bmatrix} 9-1 & 3+2 \\ -3-2 & -1+4 \end{bmatrix} \\ &= \begin{bmatrix} 8 & 5 \\ -5 & 3 \end{bmatrix} \end{aligned} A2−5A+7I=[85−53]−[155−510]+[7007]=[0000]=O\begin{aligned} &A^2 - 5A + 7I \\ &= \begin{bmatrix} 8 & 5 \\ -5 & 3 \end{bmatrix} - \begin{bmatrix} 15 & 5 \\ -5 & 10 \end{bmatrix} \\ &\quad + \begin{bmatrix} 7 & 0 \\ 0 & 7 \end{bmatrix} \\ &= \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix} = O \end{aligned}

Hence A2−5A+7I=OA^2 - 5A + 7I = O⁠.

Now ∣A∣=6+1=7≠0|A| = 6 + 1 = 7 \ne 0⁠, so A−1A^{-1} exists. Post-multiplying by A−1A^{-1}⁠,

(A2−5A+7I)A−1=OA−1⇒ A−5I+7A−1=O⇒ A−1=17(5I−A)=17([5005]−[31−12])\begin{aligned} &(A^2 - 5A + 7I)A^{-1} = OA^{-1} \\ &\Rightarrow\ A - 5I + 7A^{-1} = O \\ &\Rightarrow\ A^{-1} = \frac{1}{7}(5I - A) \\ &\qquad = \frac{1}{7}\bigg(\begin{bmatrix} 5 & 0 \\ 0 & 5 \end{bmatrix} - \begin{bmatrix} 3 & 1 \\ -1 & 2 \end{bmatrix}\bigg) \end{aligned}

∴ A−1=17[2−113]\therefore\ A^{-1} = \dfrac{1}{7}\begin{bmatrix} 2 & -1 \\ 1 & 3 \end{bmatrix}

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

A matrix equation such as A2−5A+7I=OA^2 - 5A + 7I = O can be rearranged like ordinary algebra, as long as the order of multiplication is respected. Multiplying it by A−1A^{-1} lowers every power of AA by one and turns II into A−1A^{-1}⁠, so A−1A^{-1} can be read off as 17(5I−A)\frac{1}{7}(5I - A) without computing any cofactors.

Given, to find, and the plan
Given
The 2×22\times2 matrix AA above; II is the 2×22\times2 identity and OO the 2×22\times2 zero matrix.
To show / find
A2−5A+7I=OA^2 - 5A + 7I = O⁠; then A−1A^{-1}⁠.
Plan
(1) Compute A2A^2⁠. (2) Compute 5A5A and 7I7I and combine, entry by entry. (3) Check ∣A∣≠0|A| \neq 0 so A−1A^{-1} exists. (4) Multiply the equation by A−1A^{-1} and solve for A−1A^{-1}⁠. (5) Check by AA−1=IAA^{-1} = I and against the adjoint.

Basics you need

1Squaring a matrix

A2A^2 means A⋅AA\cdot A⁠, a matrix product (row times column), not the squares of the entries. Basics: matrix facts the chapter uses

2Scalar multiples and sums

5A5A multiplies every entry by 5; matrices of the same order are added entry by entry. Basics: scaling and adding matrices

3Identity and inverse

AI=IA=AAI = IA = A⁠, and AA−1=A−1A=IAA^{-1} = A^{-1}A = I⁠. A−1A^{-1} exists exactly when ∣A∣≠0|A| \neq 0 (Theorem 4). Basics: why the inverse divides by |A|

4The method of Example 15

The book shows, for another matrix, how an equation of this kind gives A−1A^{-1}⁠. Example 15

Solution

  1. Compute A2=A⋅AA^2 = A\cdot A

    AA is 2×22\times2⁠, so A⋅AA\cdot A is defined and is 2×22\times2⁠.

    c11=3⋅3+1⋅(−1)=9−1=8c12=3⋅1+1⋅2=3+2=5c21=(−1)⋅3+2⋅(−1)=−3−2=−5c22=(−1)⋅1+2⋅2=−1+4=3\begin{aligned} c_{11} &= 3\cdot3 + 1\cdot(-1) = 9 - 1 = 8\\ c_{12} &= 3\cdot1 + 1\cdot2 = 3 + 2 = 5\\ c_{21} &= (-1)\cdot3 + 2\cdot(-1) = -3 - 2 = -5\\ c_{22} &= (-1)\cdot1 + 2\cdot2 = -1 + 4 = 3 \end{aligned} A2=[85−53]A^2 = \begin{bmatrix} 8 & 5 \\ -5 & 3 \end{bmatrix}
    Each entry is a row of the first AA times a column of the second AA⁠. For c21c_{21}⁠: row 2 is −1,2-1, 2 and column 1 is 3,−13, -1⁠, giving (−1)3+2(−1)(-1)3 + 2(-1)⁠. Squaring the entries instead (9,1,1,49, 1, 1, 4⁠) would be wrong.
  2. Combine A2−5A+7IA^2 - 5A + 7I

    5A=[155−510],7I=[7007]5A = \begin{bmatrix} 15 & 5 \\ -5 & 10 \end{bmatrix}, \quad 7I = \begin{bmatrix} 7 & 0 \\ 0 & 7 \end{bmatrix}

    All three matrices are 2×22\times2⁠, so the combination is defined. Entry by entry:

    (1,1): 8−15+7=0(1,2): 5−5+0=0(2,1): −5−(−5)+0=0(2,2): 3−10+7=0\begin{aligned} (1,1)&:\ 8 - 15 + 7 = 0\\ (1,2)&:\ 5 - 5 + 0 = 0\\ (2,1)&:\ -5 - (-5) + 0 = 0\\ (2,2)&:\ 3 - 10 + 7 = 0 \end{aligned}

    So A2−5A+7I=OA^2 - 5A + 7I = O⁠, as required.

    The identity matrix 7I7I has 77 only on the diagonal, so it changes only the diagonal entries. The off-diagonal entries of A2A^2 and 5A5A already agree, which is why they cancel to 00⁠.
    Add and subtract matrices of the same order entry by entry. Basics: scaling and adding matrices
  3. Make sure A−1A^{-1} exists

    ∣A∣=∣31−12∣=3⋅2−1⋅(−1)=7|A| = \begin{vmatrix} 3 & 1 \\ -1 & 2 \end{vmatrix} = 3\cdot2 - 1\cdot(-1) = 7

    ∣A∣=7≠0|A| = 7 \neq 0⁠, so AA is non-singular and A−1A^{-1} exists (Theorem 4).

    The next step multiplies by A−1A^{-1}⁠. That is only allowed if A−1A^{-1} exists, so we confirm it first, exactly as the book does in Example 15 ("because ∣A∣≠0|A| \neq 0").
  4. Multiply the equation by A−1A^{-1}

    Start from A2−5A+7I=OA^2 - 5A + 7I = O⁠, that is AA−5A+7I=OAA - 5A + 7I = O⁠. Multiply every term on the right by A−1A^{-1}⁠:

    AAA−1−5AA−1+7IA−1=OA−1A(AA−1)−5I+7A−1=OAI−5I+7A−1=OA−5I+7A−1=O\begin{aligned} AA A^{-1} - 5AA^{-1} + 7IA^{-1} &= OA^{-1}\\ A(AA^{-1}) - 5I + 7A^{-1} &= O\\ AI - 5I + 7A^{-1} &= O\\ A - 5I + 7A^{-1} &= O \end{aligned}

    Solve for A−1A^{-1}⁠:

    7A−1=5I−AA−1=17(5I−A)\begin{aligned} 7A^{-1} &= 5I - A\\ A^{-1} &= \frac{1}{7}(5I - A) \end{aligned}
    Matrix multiplication distributes over addition, (X+Y)Z=XZ+YZ(X + Y)Z = XZ + YZ⁠, so post-multiplying the whole left side means post-multiplying each term. Associativity lets us regroup (AA)A−1(AA)A^{-1} as A(AA−1)A(AA^{-1})⁠. Then AA−1=IAA^{-1} = I⁠, IA−1=A−1IA^{-1} = A^{-1}⁠, AI=AAI = A and OA−1=OOA^{-1} = O⁠. Every term was multiplied on the same side (the right), which matters because matrix products are not commutative in general.
    XI=XXI = X⁠, XX−1=IXX^{-1} = I⁠. Basics: transpose and identity
  5. Compute 17(5I−A)\frac{1}{7}(5I - A)

    5I−A=[5−30−10−(−1)5−2]=[2−113]\begin{aligned} 5I - A &= \begin{bmatrix} 5 - 3 & 0 - 1 \\ 0 - (-1) & 5 - 2 \end{bmatrix}\\[1mm] &= \begin{bmatrix} 2 & -1 \\ 1 & 3 \end{bmatrix} \end{aligned} A−1=17[2−113]A^{-1} = \frac{1}{7}\begin{bmatrix} 2 & -1 \\ 1 & 3 \end{bmatrix}
    5I5I has 55 on the diagonal and 00 elsewhere, so only the diagonal entries of −A-A gain a 55⁠. As a cross-check, the adjoint method gives the same thing: adj⁡A\operatorname{adj}A swaps 33 and 22 and negates 11 and −1-1⁠, giving the matrix with rows 2,−12, -1 and 1,31, 3⁠, and 1∣A∣=17\frac{1}{|A|} = \frac17⁠.
  6. Check: AA−1=IAA^{-1} = I

    Multiply AA by the integer matrix, then divide by 7:

    (1,1): 3⋅2+1⋅1=7(1,2): 3(−1)+1⋅3=0(2,1): (−1)2+2⋅1=0(2,2): (−1)(−1)+2⋅3=7\begin{aligned} (1,1)&:\ 3\cdot2 + 1\cdot1 = 7\\ (1,2)&:\ 3(-1) + 1\cdot3 = 0\\ (2,1)&:\ (-1)2 + 2\cdot1 = 0\\ (2,2)&:\ (-1)(-1) + 2\cdot3 = 7 \end{aligned} AA−1=17[7007]=[1001]=IAA^{-1} = \frac{1}{7}\begin{bmatrix} 7 & 0 \\ 0 & 7 \end{bmatrix} = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} = I
    The product is 7I7I before dividing, which is ∣A∣ I|A|\,I⁠, exactly what A(adj⁡A)=∣A∣ IA(\operatorname{adj}A) = |A|\,I (Theorem 1) predicts.
Result

A2−5A+7I=OA^2 - 5A + 7I = O holds, and

A−1=17(5I−A)=17[2−113]A^{-1} = \frac{1}{7}(5I - A) = \frac{1}{7}\begin{bmatrix} 2 & -1 \\ 1 & 3 \end{bmatrix}

(Textbook answer: 17\frac{1}{7} times the matrix with rows 2,−12, -1 and 1,31, 3⁠.)

Check it with numbers

The other order: A−1AA^{-1}A has (1,1)(1,1) entry 17(2⋅3+(−1)(−1))=1\frac17(2\cdot3 + (-1)(-1)) = 1 and (1,2)(1,2) entry 17(2⋅1+(−1)⋅2)=0\frac17(2\cdot1 + (-1)\cdot2) = 0 ✓. Also ∣A−1∣|A^{-1}| should be 1∣A∣=17\frac{1}{|A|} = \frac17⁠. The entries of A−1A^{-1} are 27,−17\frac27, -\frac17 (row 1) and 17,37\frac17, \frac37 (row 2), so ∣A−1∣|A^{-1}| is 27⋅37−(−17)⋅17\frac27\cdot\frac37 - (-\frac17)\cdot\frac17⁠, that is 649+149=749=17\frac{6}{49} + \frac{1}{49} = \frac{7}{49} = \frac17 ✓.

Common mistakes
  1. Squaring entries. A2A^2 is A⋅AA\cdot A⁠; its (1,1)(1,1) entry is 88⁠, not 99⁠.
  2. Writing 77 instead of 7I7I⁠. A number cannot be added to a matrix; the equation has 7I7I⁠, and multiplying it by A−1A^{-1} gives 7A−17A^{-1}⁠.
  3. Multiplying different terms on different sides. Multiply every term by A−1A^{-1} on the same side.
  4. Getting A−5IA - 5I instead of 5I−A5I - A⁠. From A−5I+7A−1=OA - 5I + 7A^{-1} = O⁠, moving terms gives 7A−1=5I−A7A^{-1} = 5I - A⁠.
What to take away
  1. If A2+pA+qI=OA^2 + pA + qI = O with q≠0q \neq 0⁠, then A−1=−1q(A+pI)A^{-1} = -\frac{1}{q}(A + pI)⁠. Here p=−5p = -5⁠, q=7q = 7⁠.
  2. Always confirm A−1A^{-1} exists before multiplying by it.
  3. Check the answer two ways: AA−1=IAA^{-1} = I⁠, and against 1∣A∣adj⁡A\frac{1}{|A|}\operatorname{adj}A⁠.

Every fact used, and where it comes from

FactUsed inSource
Row-times-column product; A2=AAA^2 = AASteps 1, 6Chapter 3, Section 3.4.5
Scalar multiples, sums, distributive law (X+Y)Z=XZ+YZ(X+Y)Z = XZ + YZSteps 2, 4Chapter 3, Sections 3.4.2–3.4.6
AA invertible   ⟺  ∣A∣≠0\iff |A| \neq 0⁠; A−1=1∣A∣adj⁡AA^{-1} = \frac{1}{|A|}\operatorname{adj}ASteps 3, 5Theorem 4, Section 4.5 (Lesson: inverse)
2×22\times2 adjoint ruleStep 5Remark after Example 12, Section 4.5.1
A(adj⁡A)=∣A∣ IA(\operatorname{adj}A) = |A|\,IStep 6Theorem 1, Section 4.5
Post-multiplying by A−1A^{-1} to find the inverseStep 4Example 15
All entries and the checkSteps 1–6, CheckRecomputed in the site's verification script
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →