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

Example 15: A2−4A+I=OA^2-4A+I=O⁠; use it to find A−1A^{-1}

ExamplesInverse of a matrix · Section 4.5
The question

Show that the matrix

A=[2312]A = \begin{bmatrix} 2 & 3 \\ 1 & 2 \end{bmatrix}

satisfies the equation A2−4A+I=OA^2 - 4A + I = O⁠, where II is the 2×22\times2 identity matrix and OO is the 2×22\times2 zero matrix. Using this equation, find A−1A^{-1}⁠.

Exam answer A2=[2312][2312]=[4+36+62+23+4]=[71247]\begin{aligned} A^2 &= \begin{bmatrix} 2 & 3 \\ 1 & 2 \end{bmatrix}\begin{bmatrix} 2 & 3 \\ 1 & 2 \end{bmatrix} \\ &= \begin{bmatrix} 4+3 & 6+6 \\ 2+2 & 3+4 \end{bmatrix} \\ &= \begin{bmatrix} 7 & 12 \\ 4 & 7 \end{bmatrix} \end{aligned} A2−4A+I=[71247]−[81248]+[1001]=[0000]=O\begin{aligned} &A^2 - 4A + I \\ &= \begin{bmatrix} 7 & 12 \\ 4 & 7 \end{bmatrix} - \begin{bmatrix} 8 & 12 \\ 4 & 8 \end{bmatrix} + \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} \\ &= \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix} = O \end{aligned}

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

Now ∣A∣=4−3=1≠0|A| = 4 - 3 = 1 \ne 0⁠, so A−1A^{-1} exists. Post-multiplying by A−1A^{-1} and using AA−1=IAA^{-1} = I⁠,

(A2−4A+I)A−1=OA−1⇒ A−4I+A−1=O⇒ A−1=4I−A=[4004]−[2312]\begin{aligned} &(A^2 - 4A + I)A^{-1} = OA^{-1} \\ &\Rightarrow\ A - 4I + A^{-1} = O \\ &\Rightarrow\ A^{-1} = 4I - A \\ &\qquad = \begin{bmatrix} 4 & 0 \\ 0 & 4 \end{bmatrix} - \begin{bmatrix} 2 & 3 \\ 1 & 2 \end{bmatrix} \end{aligned}

∴ A−1=[2−3−12]\therefore\ A^{-1} = \begin{bmatrix} 2 & -3 \\ -1 & 2 \end{bmatrix}

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

The one idea this problem is built on

A matrix equation can be multiplied through by A−1A^{-1}⁠, just as a number equation can be divided by a non-zero number. Multiplying A2−4A+I=OA^2 - 4A + I = O by A−1A^{-1} lowers every power of AA by one: A2A^2 becomes AA⁠, AA becomes II⁠, and II becomes A−1A^{-1}⁠. What is left is a simple formula for A−1A^{-1} with no cofactors at all.

Given, to show and find, and the plan
Given
The 2×22\times2 matrix AA⁠; II and OO are the 2×22\times2 identity and zero matrices.
To show
A2−4A+I=OA^2 - 4A + I = O⁠.
To find
A−1A^{-1}⁠, using that equation.
Plan
Compute A2A^2 entry by entry, then A2−4A+IA^2 - 4A + I entry by entry. Check ∣A∣≠0|A| \ne 0 so that A−1A^{-1} exists. Post-multiply the equation by A−1A^{-1} and simplify to A−1=4I−AA^{-1} = 4I - A⁠. Check the answer.

Basics you need

1Squaring a matrix

A2A^2 means AAAA⁠, a matrix product (row times column), not the matrix of squared entries. Basics: matrix facts the chapter uses

2Scaling, adding, identity and zero

4A4A multiplies every entry by 4. II has 1s on the diagonal and 0s elsewhere; OO has all entries 0. Sums are taken entry by entry. Basics: scaling and adding matrices

3Rules for products

(PQ)R=P(QR)(PQ)R = P(QR) (associative), (P+Q)R=PR+QR(P + Q)R = PR + QR (distributive), PI=IP=PPI = IP = P⁠, and AA−1=A−1A=IAA^{-1} = A^{-1}A = I⁠. The order of factors must be kept. Basics: transpose and identity

4When A−1A^{-1} exists

A square matrix has an inverse exactly when its determinant is not 0 (Theorem 4, Section 4.5). Basics: why the inverse divides by |A|

Solution

  1. Compute A2=AAA^2 = AA

    AA is 2×22\times2⁠, so AAAA is defined and is 2×22\times2⁠. Row ii of AA times column jj of AA⁠:

    (A2)11=2⋅2+3⋅1=7,(A2)12=2⋅3+3⋅2=12,(A2)21=1⋅2+2⋅1=4,(A2)22=1⋅3+2⋅2=7.\begin{aligned} (A^2)_{11} &= 2\cdot2 + 3\cdot1 = 7,\\ (A^2)_{12} &= 2\cdot3 + 3\cdot2 = 12,\\ (A^2)_{21} &= 1\cdot2 + 2\cdot1 = 4,\\ (A^2)_{22} &= 1\cdot3 + 2\cdot2 = 7. \end{aligned} A2=[2312][2312]=[71247].A^2 = \begin{bmatrix} 2 & 3 \\ 1 & 2 \end{bmatrix}\begin{bmatrix} 2 & 3 \\ 1 & 2 \end{bmatrix} = \begin{bmatrix} 7 & 12 \\ 4 & 7 \end{bmatrix}.
    The equation involves A2A^2⁠, so it must be computed first, and correctly as a product. Squaring each entry would give 4,9,1,44, 9, 1, 4⁠, which is wrong.
    Multiplication of matrices, Chapter 3, Section 3.4.5. Basics: matrix facts the chapter uses
  2. Compute A2−4A+IA^2 - 4A + I

    Here

    4A=[81248],I=[1001].4A = \begin{bmatrix} 8 & 12 \\ 4 & 8 \end{bmatrix}, \qquad I = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}.

    Entry by entry, (A2)−(4A)+(I)(A^2) - (4A) + (I)⁠:

    (1,1): 7−8+1=0,(1,2): 12−12+0=0,(2,1): 4−4+0=0,(2,2): 7−8+1=0.\begin{aligned} (1,1)&: \ 7 - 8 + 1 = 0,\\ (1,2)&: \ 12 - 12 + 0 = 0,\\ (2,1)&: \ 4 - 4 + 0 = 0,\\ (2,2)&: \ 7 - 8 + 1 = 0. \end{aligned} A2−4A+I=[0000]=O.A^2 - 4A + I = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix} = O.

    So AA satisfies A2−4A+I=OA^2 - 4A + I = O.

    All three matrices are 2×22\times2⁠, so the sum is defined. The number 1 in "+ I+\,I" only reaches the diagonal entries, because II has 0 off the diagonal. Every entry came out 0, which is what "=O= O" means.
    Scalar multiples and sums are entry by entry (Chapter 3, Sections 3.4.1 and 3.4.2). Basics: scaling and adding matrices
  3. Make sure A−1A^{-1} exists

    ∣A∣=2⋅2−3⋅1=4−3=1≠0|A| = 2\cdot2 - 3\cdot1 = 4 - 3 = 1 \ne 0⁠. So AA is non-singular and A−1A^{-1} exists (Theorem 4).

    The next step multiplies by A−1A^{-1}⁠. Doing that with a matrix that has no inverse would be like dividing by zero. The textbook writes this reason in brackets: "Post multiplying by A−1A^{-1} because ∣A∣≠0|A| \ne 0".
    Theorem 4, Section 4.5. Lesson: inverse of a matrix
  4. Post-multiply the equation by A−1A^{-1}

    Move II to the other side: A2−4A=−IA^2 - 4A = -I⁠, that is AA−4A=−IAA - 4A = -I⁠. Multiply both sides on the right by A−1A^{-1}⁠:

    AA(A−1)−4AA−1=−IA−1.AA(A^{-1}) - 4AA^{-1} = -IA^{-1}.

    Now simplify each term:

    AA(A−1)=A(AA−1)=AI=A,4AA−1=4I,−IA−1=−A−1.\begin{aligned} AA(A^{-1}) &= A(AA^{-1}) = AI = A,\\ 4AA^{-1} &= 4I,\\ -IA^{-1} &= -A^{-1}. \end{aligned}

    So A−4I=−A−1A - 4I = -A^{-1}⁠, and multiplying by −1-1⁠:

    A−1=4I−A.A^{-1} = 4I - A.
    Multiplying (AA−4A)(AA - 4A) by A−1A^{-1} on the right uses the distributive law, giving AAA−1−4AA−1AAA^{-1} - 4AA^{-1}⁠. Associativity lets us group A(AA−1)A(AA^{-1})⁠, and AA−1=IAA^{-1} = I⁠. We must multiply both sides on the same side (here the right), because matrix products do not commute in general.
    Associative and distributive laws, AI=AAI = A⁠, Chapter 3, Section 3.4.6. Basics: transpose and identity
  5. Compute 4I−A4I - A

    4I−A=[4004]−[2312].4I - A = \begin{bmatrix} 4 & 0 \\ 0 & 4 \end{bmatrix} - \begin{bmatrix} 2 & 3 \\ 1 & 2 \end{bmatrix}.

    Entry by entry: 4−2=24 - 2 = 2⁠, 0−3=−30 - 3 = -3⁠, 0−1=−10 - 1 = -1⁠, 4−2=24 - 2 = 2⁠. Hence

    A−1=[2−3−12].A^{-1} = \begin{bmatrix} 2 & -3 \\ -1 & 2 \end{bmatrix}.
    4I4I has 4 on the diagonal and 0 elsewhere, so subtracting AA changes the sign of the off-diagonal entries and replaces each diagonal entry aa by 4−a4 - a⁠.
  6. Check the inverse

    Row times column, AA−1AA^{-1}⁠:

    (1,1): 2⋅2+3(−1)=1,(1,2): 2(−3)+3⋅2=0,(2,1): 1⋅2+2(−1)=0,(2,2): 1(−3)+2⋅2=1.\begin{aligned} (1,1)&: \ 2\cdot2 + 3(-1) = 1,\\ (1,2)&: \ 2(-3) + 3\cdot2 = 0,\\ (2,1)&: \ 1\cdot2 + 2(-1) = 0,\\ (2,2)&: \ 1(-3) + 2\cdot2 = 1. \end{aligned}

    And A−1AA^{-1}A⁠:

    (1,1): 2⋅2+(−3)⋅1=1,(1,2): 2⋅3+(−3)⋅2=0,(2,1): (−1)⋅2+2⋅1=0,(2,2): (−1)⋅3+2⋅2=1.\begin{aligned} (1,1)&: \ 2\cdot2 + (-3)\cdot1 = 1,\\ (1,2)&: \ 2\cdot3 + (-3)\cdot2 = 0,\\ (2,1)&: \ (-1)\cdot2 + 2\cdot1 = 0,\\ (2,2)&: \ (-1)\cdot3 + 2\cdot2 = 1. \end{aligned}

    Both products equal II⁠. The adjoint formula agrees: adj⁡A\operatorname{adj}A (swap the two diagonal 2s, change the signs of 3 and 1) is the same matrix, and ∣A∣=1|A| = 1⁠, so 1∣A∣adj⁡A=A−1\frac{1}{|A|}\operatorname{adj}A = A^{-1} as found.

    An inverse must give II on both sides. Comparing with the method of Section 4.5 is a second, independent check.
  7. A shortcut, and where the equation comes from

    The equation itself already shows that 4I−A4I - A is the inverse. Rearranged, A2−4A+I=OA^2 - 4A + I = O says 4A−A2=I4A - A^2 = I⁠, and

    A(4I−A)=4A−A2=I,(4I−A)A=4A−A2=I.\begin{aligned} A(4I - A) &= 4A - A^2 = I,\\ (4I - A)A &= 4A - A^2 = I. \end{aligned}

    So 4I−A4I - A multiplies AA to II on both sides; that is the definition of A−1A^{-1}⁠.

    Why does such an equation exist? For any 2×22\times2 matrix MM with top row a,ba, b and bottom row c,dc, d⁠:

    M2=[a2+bcab+bdca+dccb+d2],M^2 = \begin{bmatrix} a^2 + bc & ab + bd \\ ca + dc & cb + d^2 \end{bmatrix}, (a+d)M=[a2+adab+bdac+cdad+d2].(a + d)M = \begin{bmatrix} a^2 + ad & ab + bd \\ ac + cd & ad + d^2 \end{bmatrix}.

    Subtracting, the off-diagonal entries cancel and each diagonal entry is bc−adbc - ad⁠. So

    M2−(a+d)M+(ad−bc)I=O.M^2 - (a + d)M + (ad - bc)I = O.

    For our AA⁠: a+d=2+2=4a + d = 2 + 2 = 4 and ad−bc=4−3=1ad - bc = 4 - 3 = 1⁠, which is exactly A2−4A+I=OA^2 - 4A + I = O⁠.

    The shortcut avoids post-multiplying, and even proves that AA is invertible without computing ∣A∣|A|⁠. The general identity explains the numbers 4 and 1 in the question: they are the sum of the diagonal entries and the determinant. (This general fact goes beyond the textbook; it is included so the equation does not look like magic.)
    Definition of the inverse, Chapter 3, Section 3.7: AB=BA=IAB = BA = I⁠. Basics: algebra the chapter leans on
Result

A2A^2 has rows 7,127, 12 and 4,74, 7⁠, and A2−4A+I=OA^2 - 4A + I = O entry by entry. Post-multiplying by A−1A^{-1} (allowed since ∣A∣=1≠0|A| = 1 \ne 0⁠) gives A−1=4I−AA^{-1} = 4I - A⁠, so

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

(This agrees with the textbook's own solution.)

Check it with numbers

Use A−1A^{-1} to solve 2x+3y=52x + 3y = 5⁠, x+2y=3x + 2y = 3 (the coefficient matrix is AA⁠). Then x=2⋅5+(−3)⋅3=1x = 2\cdot5 + (-3)\cdot3 = 1 and y=(−1)⋅5+2⋅3=1y = (-1)\cdot5 + 2\cdot3 = 1⁠. Substituting: 2+3=52 + 3 = 5 and 1+2=31 + 2 = 3⁠. The inverse undoes AA correctly.

Common mistakes
  1. Squaring the entries. A2A^2 is AAAA⁠, with (1,1)(1,1) entry 2⋅2+3⋅1=72\cdot2 + 3\cdot1 = 7⁠, not 22=42^2 = 4⁠.
  2. Writing 44 instead of 4I4I⁠. A−4A - 4 has no meaning; a number must be turned into the matrix 4I4I before it is added to or subtracted from a matrix.
  3. Multiplying on different sides. Multiplying one side on the right and the other on the left is not allowed for matrices.
  4. Skipping ∣A∣≠0|A| \ne 0⁠. Multiplying by A−1A^{-1} is legitimate only after checking that A−1A^{-1} exists (or by using the shortcut of Step 7).
What to take away
  1. From a polynomial equation in AA with a non-zero constant term, multiply by A−1A^{-1} to get A−1A^{-1} as a combination of II⁠, AA⁠, A2,…A^2, \dots
  2. Here A2−4A+I=OA^2 - 4A + I = O gives A−1=4I−AA^{-1} = 4I - A⁠.
  3. Every 2×22\times2 matrix MM with diagonal entries aa and dd satisfies M2−(a+d)M+∣M∣ I=OM^2 - (a+d)M + |M|\,I = O (a fact beyond the textbook, proved in Step 7).

Every fact used, and where it comes from

FactUsed inSource
Matrix product, row times columnSteps 1, 6, 7Chapter 3, Section 3.4.5 (Basics: matrix facts the chapter uses)
Sums and scalar multiples entry by entrySteps 2, 5Chapter 3, Sections 3.4.1, 3.4.2 (Basics: scaling and adding matrices)
∣A∣≠0⇒A−1|A| \ne 0 \Rightarrow A^{-1} existsStep 3Theorem 4, Section 4.5 (Lesson: inverse of a matrix)
Associative, distributive laws; AI=AAI = ASteps 4, 7Chapter 3, Section 3.4.6
A−1=1∣A∣adj⁡AA^{-1} = \frac{1}{|A|}\operatorname{adj}A⁠; 2×22\times2 adjointStep 6Theorem 4, Section 4.5; Remark after Example 12 (Lesson: the adjoint)
Inverse: AB=BA=IAB = BA = ISteps 6, 7Chapter 3, Section 3.7
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 →