PYQ Vault

HSC Maths · Matrices

Inverse of a Matrix by Elementary Transformations

What the inverse of a square matrix is, when it exists, and how to find it by a chain of row transformations on AA⁻¹ = I or of column transformations on A⁻¹A = I.

Why this matters

15 questions, four of them from board papers, all written answers: the inverse of a 3 by 3 matrix by row transformations (2018), of a diagonal matrix x, y, z followed by a numerical one (2023), of a 2 by 2 matrix (2024) and of the rotation matrix with cos θ and sin θ (2025). The textbook adds the column method, which the board has not yet asked in this bank.

Concept 1 of 3: Inverse by elementary row transformations

The inverse of A is the matrix that multiplies A to give I. Start from the true statement AA⁻¹ = I. A row transformation on a product acts only on the first factor, so you may apply it to A and to the I on the right, and A⁻¹ in the middle is untouched. Keep going until A has become I. The equation then reads I A⁻¹ = B, so the matrix B on the right is the inverse.

Definition

  • Definition: if AA is a square matrix and there is a square matrix BB of the same order with AB=BA=IAB = BA = I, then BB is the inverse of AA, written A−1A^{-1}.
  • A−1A^{-1} exists only when ∣A∣≠0|A| \neq 0, so first find ∣A∣|A| and write that A−1A^{-1} exists.
  • Write AA−1=IAA^{-1} = I with the matrices in full.
  • Apply each row transformation to AA (the prefactor) and to II on the right side; never to A−1A^{-1}.
  • When the left side has become IA−1IA^{-1}, the right side is A−1A^{-1}.
  • Order of work for a 3 by 3 matrix: make a11=1a_{11} = 1, clear the rest of column 1, make a22=1a_{22} = 1, clear column 2, make a33=1a_{33} = 1, clear column 3.

Row method

AA−1=I →row transformations IA−1=B,∴A−1=BAA^{-1} = I \ \xrightarrow{\text{row transformations}}\ IA^{-1} = B, \quad \therefore A^{-1} = B

Worked example

Find the inverse of A=[3152]A = \begin{bmatrix} 3 & 1 \\ 5 & 2 \end{bmatrix} by elementary row transformations.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2018 · Q. 3. (B) i.Moderate

Example 1 · Matrices · Inverse by Elementary Transformation Method

Find the inverse of the matrix A=[12−2−1300−21]A = \begin{bmatrix} 1 & 2 & - 2 \\ - 1 & 3 & 0 \\ 0 & - 2 & 1 \end{bmatrix} using elementary row transformations.

Transforming the wrong factor

In AA−1=IAA^{-1} = I a row transformation acts on AA, the prefactor, and on II. Changing the rows of A−1A^{-1} as well makes the working wrong from that line on.

Slipping in a column move

Once you have started with AA−1=IAA^{-1} = I, every move must be a row move. One column move in the middle breaks the method, even if the answer happens to come out right.

Not checking that the inverse exists

Find ∣A∣|A| first and write ∣A∣≠0|A| \neq 0, so A−1A^{-1} exists. Board answers give this line a mark, and it saves you from working on a matrix that has no inverse.

Concept 2 of 3: Inverse by elementary column transformations

The column method is the mirror of the row method. Start from A⁻¹A = I instead. A column transformation on a product acts only on the second factor, so here it acts on A, which is now the post-factor, and on I. When A has become I, the right side is A⁻¹.

Definition

  • Check ∣A∣≠0|A| \neq 0.
  • Write A−1A=IA^{-1}A = I with the matrices in full.
  • Apply each column transformation to AA (the post-factor) and to II; A−1A^{-1} is untouched.
  • When the left side has become A−1IA^{-1}I, the right side is A−1A^{-1}.

Column method

A−1A=I →column transformations A−1I=B,∴A−1=BA^{-1}A = I \ \xrightarrow{\text{column transformations}}\ A^{-1}I = B, \quad \therefore A^{-1} = B

Worked example

Find the inverse of A=[1213]A = \begin{bmatrix} 1 & 2 \\ 1 & 3 \end{bmatrix} by elementary column transformations.
Practise this conceptself-check · 2 quick reps

The same idea in a textbook question:

Balbharati textbook · 2.2 Solved Ex.4Hard

Example 2 · Matrices · Inverse by Elementary Transformation Method

Find the inverse of A=[133143134]A = \begin{bmatrix} 1 & 3 & 3 \\ 1 & 4 & 3 \\ 1 & 3 & 4 \end{bmatrix} by elementary column transformation.

Starting the column method from AA⁻¹ = I

In AA−1=IAA^{-1} = I a column move would act on the post-factor A−1A^{-1}, which is unknown. Columns go with A−1A=IA^{-1}A = I; rows go with AA−1=IAA^{-1} = I.

Concept 3 of 3: Inverses of a diagonal matrix and of the rotation matrix

Two matrices come up again and again. A diagonal matrix needs only one scaling move per row, so its inverse simply turns each diagonal entry upside down. The matrix with cos θ and sin θ has determinant cos²θ + sin²θ = 1, so it always has an inverse, and the working shows that the inverse is the same matrix with the signs of the sin θ entries changed, which is its transpose.

Definition

  • A=[x000y000z]A = \begin{bmatrix} x & 0 & 0 \\ 0 & y & 0 \\ 0 & 0 & z \end{bmatrix} has ∣A∣=xyz|A| = xyz, so it is non-singular only when x,y,zx, y, z are all non-zero.
  • Row moves R1→1xR1R_1 \to \dfrac{1}{x}R_1, R2→1yR2R_2 \to \dfrac{1}{y}R_2, R3→1zR3R_3 \to \dfrac{1}{z}R_3 give A−1=[1/x0001/y0001/z]A^{-1} = \begin{bmatrix} 1/x & 0 & 0 \\ 0 & 1/y & 0 \\ 0 & 0 & 1/z \end{bmatrix}.
  • For [cos⁡θ−sin⁡θsin⁡θcos⁡θ]\begin{bmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{bmatrix} the inverse is [cos⁡θsin⁡θ−sin⁡θcos⁡θ]\begin{bmatrix} \cos\theta & \sin\theta \\ -\sin\theta & \cos\theta \end{bmatrix}; the 3 by 3 form with a 1 in the last place works the same way.
  • Finish with a check by multiplication: cos⁡2θ+sin⁡2θ=1\cos^2\theta + \sin^2\theta = 1 on the diagonal.

Inverse of a diagonal matrix

[x000y000z]−1=[1x0001y0001z],xyz≠0\begin{bmatrix} x & 0 & 0 \\ 0 & y & 0 \\ 0 & 0 & z \end{bmatrix}^{-1} = \begin{bmatrix} \frac{1}{x} & 0 & 0 \\ 0 & \frac{1}{y} & 0 \\ 0 & 0 & \frac{1}{z} \end{bmatrix}, \quad xyz \neq 0

Worked example

Find the inverse of A=[cos⁡θ−sin⁡θsin⁡θcos⁡θ]A = \begin{bmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{bmatrix} by elementary row transformations.
Practise this conceptself-check · 2 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2023 · Q. 4Easy

Example 3 · Matrices · Inverse by Elementary Transformation Method

If A=[x000y000z]A = \begin{bmatrix} x & 0 & 0 \\ 0 & y & 0 \\ 0 & 0 & z \end{bmatrix} is a non singular matrix, then find A−1A^{- 1} by elementary row transformations. Hence write the inverse of [20001000−1]\begin{bmatrix} 2 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & - 1 \end{bmatrix}.

Dividing without saying the divisor is non-zero

A move such as R1→1xR1R_1 \to \dfrac{1}{x}R_1 or R1→1cos⁡θR1R_1 \to \dfrac{1}{\cos\theta}R_1 needs the divisor to be non-zero. Write that condition beside the move.

Losing a minus sign on the diagonal

The inverse of a diagonal entry −a-a is −1a-\dfrac{1}{a}, not 1a\dfrac{1}{a}. Turn each entry upside down and keep its sign.

Combining two row moves into one line

Write each elementary transformation as its own step, such as R2→R2−sin⁡θ R1R_2 \to R_2 - \sin\theta\,R_1. A line like 'R1→cos⁡θ R1+sin⁡θ R2R_1 \to \cos\theta\,R_1 + \sin\theta\,R_2' is two moves at once and is not one elementary transformation.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (3)

  • Inverse by elementary row transformations

    Row method

    AA−1=I →row transformations IA−1=B,∴A−1=BAA^{-1} = I \ \xrightarrow{\text{row transformations}}\ IA^{-1} = B, \quad \therefore A^{-1} = B
  • Inverse by elementary column transformations

    Column method

    A−1A=I →column transformations A−1I=B,∴A−1=BA^{-1}A = I \ \xrightarrow{\text{column transformations}}\ A^{-1}I = B, \quad \therefore A^{-1} = B
  • Inverses of a diagonal matrix and of the rotation matrix

    Inverse of a diagonal matrix

    [x000y000z]−1=[1x0001y0001z],xyz≠0\begin{bmatrix} x & 0 & 0 \\ 0 & y & 0 \\ 0 & 0 & z \end{bmatrix}^{-1} = \begin{bmatrix} \frac{1}{x} & 0 & 0 \\ 0 & \frac{1}{y} & 0 \\ 0 & 0 & \frac{1}{z} \end{bmatrix}, \quad xyz \neq 0

Watch out for (7)

Test yourself on Matrices

10 past MH HSC 12 questions from this chapter, timed at 15 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.

Take the Matrices chapter test