girgit.org

Matrices

When are two matrices equal?

The big ideaTwo matrices are equal only if they have the same order and every entry matches the entry in the same place, so one matrix equation gives you one ordinary equation per entry.

In simple words

Two stock books say the same thing only if they have the same lines and columns, and every box in one holds the same number as the matching box in the other. If even one box is different, the books disagree. And if one book has a column the other does not, they cannot be the same book at all.

The rule for equality

Matrices \( A = [a_{ij}] \) and \( B = [b_{ij}] \) are equal, written A = B, when both of these hold:

  1. they have the same order, and
  2. each element of A equals the corresponding element of B (the one in the same place): \( a_{ij} = b_{ij} \) for every i and j.

So \( \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix} \neq \begin{bmatrix} 1 & 3 \\ 2 & 4 \end{bmatrix} \): same numbers, same order, but 2 and 3 have swapped places.

Guess first: is [0 0] equal to its column version?

The row matrix [0 0] and the column matrix \( \begin{bmatrix} 0 \\ 0 \end{bmatrix} \) are both full of zeros. Guess: are they equal?

See what happens
No. One is 1 × 2 and the other is 2 × 1. Equality needs the same order before you even look at the entries. Both are zero matrices, but they are different zero matrices. That is why O always means "the zero matrix of whatever order fits here".

Using equality to find unknowns

Because every pair of matching entries must be equal, a single matrix equation hides several ordinary equations. Match the places, write the equations, solve.

Worked example 1

Find x and y if \( \begin{bmatrix} x + y & 4 \\ 3 & x - y \end{bmatrix} = \begin{bmatrix} 9 & 4 \\ 3 & 1 \end{bmatrix} \).

  1. Both are 2 × 2, so equality is possible.
  2. Match the (1, 1) entries: x + y = 9. Match the (2, 2) entries: x − y = 1. The other entries (4 = 4, 3 = 3) already agree.
  3. Add the two equations: 2x = 10, so x = 5, and then y = 4.

Worked example 2

Find a, b, c, d if \( \begin{bmatrix} 2a + b & a - 2b \\ 5c - d & 4c + 3d \end{bmatrix} = \begin{bmatrix} 7 & 1 \\ 6 & 1 \end{bmatrix} \).

  1. Top row: 2a + b = 7 and a − 2b = 1. From the second, a = 1 + 2b. Then 2(1 + 2b) + b = 7, so 5b = 5, b = 1 and a = 3.
  2. Bottom row: 5c − d = 6 and 4c + 3d = 1. From the first, d = 5c − 6. Then 4c + 15c − 18 = 1, so 19c = 19, c = 1 and d = −1.

Check one entry: 4c + 3d = 4 − 3 = 1. It matches.

Every equation must hold at once

Suppose \( \begin{bmatrix} x^2 & y \\ 1 & 2x \end{bmatrix} = \begin{bmatrix} 4 & 3 \\ 1 & -4 \end{bmatrix} \). The (1, 1) entries give \( x^2 = 4 \), so x = 2 or x = −2. It is tempting to stop there with two answers. But the (2, 2) entries give 2x = −4, so x = −2 only. All four equations must be true together, so the answer is x = −2, y = 3. In JEE problems, always test a candidate answer against every entry.

Try it: change x and y and watch which entries match. The sweep below shows every x at once.

Don't mix these up

  • Same entries is not enough: they must sit in the same places.
  • Same order is checked first. Matrices of different orders are never equal.
  • An m × n matrix equation gives mn ordinary equations.

Try it. Find p and q if \( \begin{bmatrix} p + 2 & 6 \\ 0 & 3q \end{bmatrix} = \begin{bmatrix} 5 & 2p \\ 0 & q + 8 \end{bmatrix} \).

Answer
From (1, 1): p + 2 = 5, so p = 3. Check (1, 2): 2p = 6, which agrees. From (2, 2): 3q = q + 8, so 2q = 8 and q = 4.

Words to know

Equal matrices
Same order, and every entry equal to the one in the same place.
Corresponding elements
Entries in the same row and column of two matrices of the same order.
O
The zero matrix; its order is whatever the context needs.
Order
Rows × columns; must match before two matrices can be equal.

If \( \begin{bmatrix} x & 2 \\ 2 & y \end{bmatrix} = \begin{bmatrix} 3 & 2 \\ 2 & 3 \end{bmatrix} \) and \( \begin{bmatrix} 1 & 2 & 3 \end{bmatrix} \) is compared with \( \begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix} \), which is right?

  1. x = y = 3, and the row and column matrices are equal
  2. x = y = 3, and the row and column matrices are not equal
  3. x and y cannot be found

\( \begin{bmatrix} a^2 & 1 \\ 0 & a + 1 \end{bmatrix} = \begin{bmatrix} 9 & 1 \\ 0 & -2 \end{bmatrix} \). What is a?

  1. 3
  2. −3
  3. 3 or −3