- 1. What is a matrix?
- 2. How big is it? The order of a matrix
- 3. Types of matrices: row, column, square, diagonal, scalar, identity, zero
- 4. When are two matrices equal?
- 5. Adding matrices and multiplying by a number
- 6. Multiplying matrices: row into column
- 7. Why AB is not BA, and other surprises of matrix multiplication
- 8. Turning rows into columns: the transpose
- 9. Symmetric and skew symmetric matrices
- 10. Undoing a matrix: invertible matrices
- 11. Finding an inverse with row operations (JEE extra)
- Review
11 of 11·NCERT §3.7·5 min
Finding an inverse with row operations (JEE extra)
The big ideaThree simple moves on rows (swap two rows, scale a row, add a multiple of one row to another) can turn an invertible matrix into I, and the same moves done to I build \( A^{-1} \).
In simple words
Write the grid you want to undo next to a plain "do nothing" grid. Now tidy the left grid, line by line, until it becomes the "do nothing" grid itself. Each time you change a line on the left, change the same line on the right in the same way. When the left side is tidy, the right side has quietly turned into the undo grid.
Not in the current textbook, but JEE asks it: older NCERT editions taught elementary operations and finding inverses with them; the 2023-24 rationalised book dropped both. The JEE Advanced syllabus still lists elementary row and column transformations, so this page covers the essentials.
The three elementary row operations
An elementary operation (or elementary transformation) is one of these moves. For rows:
| Operation | Notation | Example on \( \begin{bmatrix} 2 & 1 \\ 5 & 3 \end{bmatrix} \) |
|---|---|---|
| Swap two rows | \( R_i \leftrightarrow R_j \) | \( R_1 \leftrightarrow R_2 \): \( \begin{bmatrix} 5 & 3 \\ 2 & 1 \end{bmatrix} \) |
| Multiply a row by a non-zero number k | \( R_i \to kR_i \) | \( R_1 \to 3R_1 \): \( \begin{bmatrix} 6 & 3 \\ 5 & 3 \end{bmatrix} \) |
| Add k times another row | \( R_i \to R_i + kR_j \) | \( R_2 \to R_2 - 2R_1 \): \( \begin{bmatrix} 2 & 1 \\ 1 & 1 \end{bmatrix} \) |
The same three moves on columns are written with C instead of R. Every one of these moves can be undone by another move of the same kind, which is why they never destroy information.
The method: [A | I] to [I | A⁻¹]
- Write A and I side by side: \( [\,A \mid I\,] \).
- Use only row operations, applied to the whole long row, to turn the left half into I.
- The right half is now \( A^{-1} \). If a full row of zeros appears on the left, stop: A has no inverse.
Older NCERT books wrote the same idea as A = IA, applying each row operation to the A on the left and to the I on the right.
Worked example
Find the inverse of \( A = \begin{bmatrix} 2 & 1 \\ 5 & 3 \end{bmatrix} \).
\[ \left[\begin{array}{cc|cc} 2 & 1 & 1 & 0 \\ 5 & 3 & 0 & 1 \end{array}\right] \]
- \( R_2 \to R_2 - 2R_1 \): \( \left[\begin{array}{cc|cc} 2 & 1 & 1 & 0 \\ 1 & 1 & -2 & 1 \end{array}\right] \)
- \( R_1 \leftrightarrow R_2 \): \( \left[\begin{array}{cc|cc} 1 & 1 & -2 & 1 \\ 2 & 1 & 1 & 0 \end{array}\right] \)
- \( R_2 \to R_2 - 2R_1 \): \( \left[\begin{array}{cc|cc} 1 & 1 & -2 & 1 \\ 0 & -1 & 5 & -2 \end{array}\right] \)
- \( R_2 \to -R_2 \): \( \left[\begin{array}{cc|cc} 1 & 1 & -2 & 1 \\ 0 & 1 & -5 & 2 \end{array}\right] \)
- \( R_1 \to R_1 - R_2 \): \( \left[\begin{array}{cc|cc} 1 & 0 & 3 & -1 \\ 0 & 1 & -5 & 2 \end{array}\right] \)
So \( A^{-1} = \begin{bmatrix} 3 & -1 \\ -5 & 2 \end{bmatrix} \), the same answer we got by solving equations on the previous page.
Try it: do the same yourself, one move at a time, or let the widget suggest the next move. Then try the matrix with no inverse.
Why does it work?
Each row operation is the same as pre-multiplying by a special matrix, called an elementary matrix (the result of doing that operation to I). Doing several operations means pre-multiplying by their product, call it E. If E turns A into I, then EA = I, so E is \( A^{-1} \). Doing the same operations to I gives EI = E, which is exactly \( A^{-1} \).
Guess first: can you mix rows and columns?
Guess: to speed things up, can you use a row operation in one step and a column operation in the next?
See what happens
When it fails
For \( \begin{bmatrix} 1 & 2 \\ 2 & 4 \end{bmatrix} \), the move \( R_2 \to R_2 - 2R_1 \) gives a bottom row of [0 0] on the left. No row operation can ever bring back a 1 there without wrecking the top row, so the matrix has no inverse, as we found on the previous page.
Try it. Use row operations to find the inverse of \( \begin{bmatrix} 1 & 2 \\ 3 & 7 \end{bmatrix} \).
Answer
- Elementary row operation
- Swap two rows, multiply a row by a non-zero number, or add a multiple of one row to another.
- \( R_i \leftrightarrow R_j \)
- Swap rows i and j.
- \( R_i \to R_i + kR_j \)
- Replace row i by row i plus k times row j.
- Elementary matrix
- What you get by doing one elementary operation to I.
Words to know
Which of these is not an elementary row operation?
- \( R_1 \leftrightarrow R_3 \)
- \( R_2 \to 0 \cdot R_2 \)
- \( R_3 \to R_3 + 4R_1 \)
While reducing [A | I] with row operations, the left half gets a full row of zeros. What does it mean?
- You should switch to column operations
- A has no inverse
- The right half is \( A^{-1} \)
Picture and video credits