PYQ Vault

HSC Maths · Matrices

Elementary Transformations of a Matrix

The six row and column operations, how to write them, and how to use them to turn a matrix into a triangular matrix or into the identity matrix.

Why this matters

15 questions, one of them from a board paper: a 2015 MCQ on the power of a scalar matrix. The rest are Exercise 2.1, its solved examples and the first questions of Miscellaneous Exercise 2(A). In this bank the board has not set a question on the transformations alone, but every inverse by row or column transformations and every solution by the method of reduction is a chain of these moves, so they must be quick and exact.

Concept 1 of 3: The six elementary transformations and how to write them

An elementary transformation is one simple move on the rows, or on the columns, of a matrix. There are only three kinds of move, and each can be done to rows or to columns, so there are six in all. After a move the new matrix is not equal to the old one, so we say it is equivalent to it and write the sign ~ between them.

Definition

  • Interchange two rows or two columns: Ri↔RjR_i \leftrightarrow R_j or Ci↔CjC_i \leftrightarrow C_j.
  • Multiply every element of one row or column by a non-zero scalar kk: Ri→kRiR_i \to kR_i or Ci→kCiC_i \to kC_i.
  • Add kk times one row (column) to another row (column): Rj→Rj+kRiR_j \to R_j + kR_i or Cj→Cj+kCiC_j \to C_j + kC_i. The row RiR_i itself does not change.
  • The matrix obtained is equivalent to the original one: write A∼BA \sim B, never A=BA = B.
  • When two moves are asked for in order, do the first, write the matrix, then do the second on that new matrix.

Notation for the moves

Ri↔Rj,Ri→kRi (k≠0),Rj→Rj+kRi(the same with C for columns)R_i \leftrightarrow R_j, \quad R_i \to kR_i\ (k \neq 0), \quad R_j \to R_j + kR_i \qquad (\text{the same with } C \text{ for columns})
  • RiR_ithe i-th row of the matrix
  • CjC_jthe j-th column of the matrix
  • kka non-zero real number

Worked example

If A=[213−1]A = \begin{bmatrix} 2 & 1 \\ 3 & -1 \end{bmatrix}, apply R2→R2−R1R_2 \to R_2 - R_1 and then C1↔C2C_1 \leftrightarrow C_2 on AA.
Practise this conceptself-check · 3 quick reps

The same idea in a textbook question:

Balbharati textbook · 2.1 Solved Ex.3Moderate

Example 1 · Matrices · Elementary Transformations of a Matrix

If A=[12−13−25]A = \begin{bmatrix} 1 & 2 & -1 \\ 3 & -2 & 5 \end{bmatrix}, apply R1↔R2R_1 \leftrightarrow R_2 and then C1→C1+2C3C_1 \to C_1 + 2C_3 on A.

Writing = instead of ~

After a transformation the matrix has changed, so A=[12−21]A = \begin{bmatrix} 1 & 2 \\ -2 & 1 \end{bmatrix} is false. Write A∼A \sim, which is how the textbook writes every step.

Changing both rows in an add move

In Rj→Rj+kRiR_j \to R_j + kR_i only RjR_j changes. The row RiR_i that you add is copied down unchanged.

Multiplying by zero

Ri→0⋅RiR_i \to 0 \cdot R_i is not an elementary transformation. The scalar must be non-zero, or the move cannot be undone.

Concept 2 of 3: Reducing a matrix to a triangular matrix or to the identity

The same moves can be used with a goal in mind: make zeros in chosen places. If all entries below the leading diagonal become zero you have an upper triangular matrix. If you go on until the diagonal is all 1s and everything else is 0, you have the identity matrix. Work one column at a time, top to bottom, so that a zero you have made is never spoiled by a later move.

Definition

  • Upper triangular: every element below the leading diagonal is zero.
  • The textbook's order for reducing a 3 by 3 matrix to I3I_3 by row transformations:
  • (1) make a11=1a_{11} = 1; (2) make a21a_{21} and a31a_{31} zero;
  • (3) make a22=1a_{22} = 1; (4) make a12a_{12} and a32a_{32} zero;
  • (5) make a33=1a_{33} = 1; (6) make a13a_{13} and a23a_{23} zero.
  • If the question says row transformations, use rows only; if it says column transformations, use columns only.
  • Write the move used above or beside every new matrix.

Goal of the reduction

A∼[100010001]=I3A \sim \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} = I_3

Worked example

Reduce A=[2413]A = \begin{bmatrix} 2 & 4 \\ 1 & 3 \end{bmatrix} to the identity matrix by row transformations.
Practise this conceptself-check · 3 quick reps

The same idea in a textbook question:

Balbharati textbook · Misc 2A Q.2Easy

Example 2 · Matrices · Elementary Transformations of a Matrix

If A=[213101111]A = \begin{bmatrix} 2 & 1 & 3 \\ 1 & 0 & 1 \\ 1 & 1 & 1 \end{bmatrix} then reduce it to I3I_3 by using row transformations.

Using a column move in a row question

A question that says 'by row transformations' gives no marks for a step such as C2→C2−C1C_2 \to C_2 - C_1, even if the final matrix is right.

Zeros above instead of below

An upper triangular matrix has its zeros below the leading diagonal. A matrix with zeros above the diagonal is lower triangular.

Concept 3 of 3: Powers of a scalar matrix (asked by the board in 2015)

A scalar matrix has the same number k at every place on the leading diagonal and zeros elsewhere, so it is just k times the identity matrix. Multiplying it by itself multiplies the k's and leaves the identity as it is. This is algebra of matrices from Class 11: the present Class 12 chapter does not teach it, and the board asked it once in this bank (2015), so give it little time.

Definition

  • A scalar matrix is A=kIA = kI, with kk on the leading diagonal and 0 elsewhere.
  • Since In=II^n = I, An=(kI)n=knIA^n = (kI)^n = k^n I.
  • To write the answer in terms of AA, use I=1kAI = \dfrac{1}{k}A: An=kn−1AA^n = k^{n-1}A.

Power of a scalar matrix

(kI)n=knI=kn−1Awhere A=kI(kI)^n = k^n I = k^{n-1}A \quad \text{where } A = kI

Worked example

If A=[2002]A = \begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix}, show that A2−4A+4I=OA^2 - 4A + 4I = O.
Practise this conceptself-check · 2 quick reps

The same idea in a real exam question:

Maharashtra HSC Class 12 · 2015 · Q. 1. (A) i.Easy

Example 3 · Matrices · Elementary Transformations of a Matrix

If A=[200020002]A = \begin{bmatrix} 2 & 0 & 0 \\ 0 & 2 & 0 \\ 0 & 0 & 2 \end{bmatrix}, then A^6 = __________.

Changing I to A without dividing by k

An=knIA^n = k^n I is not knAk^n A. Since A=kIA = kI, replacing II by AA means dividing by kk, so An=kn−1AA^n = k^{n-1}A.

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)

Watch out for (6)

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