Example 4: Equal matrices: find
If
Find the values of , , , , and .
The matrices are equal, so their corresponding entries are equal:
, .
Want the reason behind every step, the basics and the checks?
Two matrices are equal only when they have the same order and every entry of one equals the entry in the same place in the other. So one matrix equation between two matrices is really nine ordinary equations, one per position. Each unknown here appears in just one position, so each equation can be solved on its own.
- Given
- The equality of two matrices whose entries contain the unknowns.
- To find
- .
- Plan
- Check the orders agree. Write the nine equations "entry on the left = entry on the right". Solve each one that contains an unknown; check that the others are true. Finally substitute back.
Basics you need
and are equal when (i) they have the same order and (ii) for every and . Lesson: equality of matrices
Do the same thing to both sides: add or subtract to collect the unknown on one side and numbers on the other, then divide by the coefficient. Basics: solving equations, one unknown at a time
Entry is in row , column . We compare entries with the same address. Basics: rows, columns and the address a_ij
Solution
Check the orders and list the nine entry equations
Both matrices have 3 rows and 3 columns, so both are : condition (i) of equality holds. Condition (ii) says the entries in each of the 9 positions agree:
Position Equation Contains (1, 1) (1, 2) (1, 3) (2, 1) no unknown (2, 2) (2, 3) (3, 1) (3, 2) no unknown (3, 3) no unknown The three equations with no unknown are true, so they put no condition on the unknowns (and they do not make the equality impossible).
A matrix equation cannot be "solved" as a whole; it has to be broken into its entries. We must compare entries in the same position, because that is what the definition of equality says. The entries without unknowns still need a glance: if, say, position (2, 1) had read , no values of the unknowns could make the matrices equal.Solve for and (row 1)
Each equation has the unknown plus a number. Subtracting that number from both sides leaves the unknown alone, and doing the same thing to both sides keeps the equation true.Subtract the same number from both sides. Basics: solving equationsSolve for (position (1, 3))
Subtract from both sides, then add 2 to both sides:
Here is on both sides, so we first gather the terms on one side. Subtracting (the smaller multiple) leaves a plain on the right, with no fraction to handle later.Collect the unknown on one side, numbers on the other. Basics: solving equationsSolve for and (row 2)
For we add 1 to both sides. For we subtract 2 from both sides, giving , and then divide both sides by 2 (allowed because ).Solve for (position (3, 1))
Subtract from both sides, then subtract 4:
As with , the unknown appears on both sides, so we move all the terms to one side first. Subtracting leaves a single on the right.Substitute back and check
Put , , , , , into each matrix. Left side, entry by entry:
Right side: , , . Both matrices become
Substituting back is the honest test: if any of the nine positions disagreed, we would know a sign slipped. Each unknown appeared in only one equation, and each of those equations is linear with a nonzero coefficient of its unknown, so it has exactly one solution. These values are therefore the only ones that work.
and . This agrees with the textbook's solution.
The hardest two equations, rechecked: and , equal. and , equal.
- Comparing entries in different positions. Only entries with the same address are equal; is matched with 0, not with anything else.
- Sign slips when the unknown is on both sides. In , moving terms carelessly can give . Substitute back to catch it.
- Ignoring the constant entries. Positions like must also agree; here they do, but you should say so.
- An equation between two matrices is ordinary equations, one per position.
- Check the orders first, then match entry with entry .
- Always substitute the answers back into both matrices.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Equal matrices: same order and for all | Step 1 | Definition 2, Section 3.3.1 (Lesson: equality of matrices) |
| Adding or subtracting the same number on both sides; dividing by a nonzero number | Steps 2–5 | Rules for equations (Basics: solving equations) |
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 →