Exercise 3.2 · Q1: Find , , , ,
Let
Find each of the following:
(i) (ii) (iii) (iv) (v)
(i) Adding corresponding entries,
(ii) Subtracting corresponding entries,
(iii)
(iv) Multiplying row by column,
(v)
Want the reason behind every step, the basics and the checks?
Adding, subtracting and multiplying by a number all work entry by entry: the entry in a given position of the answer uses only the entries in that same position. Multiplying two matrices is different: the entry in row , column of comes from row of paired with column of : multiply the pairs and add. Because rows and columns play different roles, and usually come out different, and here they do.
- Given
- Three matrices , , , each with 2 rows and 2 columns (order ).
- To find
- The five matrices , , , and .
- Plan
- (1) Record the orders and check each operation is defined. (2) Add and subtract entry by entry. (3) Multiply by 3, then subtract . (4) Work out each of the four entries of as row times column. (5) Do the same for and compare.
Basics you need
is the entry of in row , column . Rows run across, columns run down. In this question and . Basics: rows, columns and
Defined only for matrices of the same order. Add (or subtract) the entries in matching positions: the entry of is . Basics: adding like with like
multiplies every entry of by . The negative is , and means .
is defined when the number of columns of equals the number of rows of . An matrix times an matrix gives an matrix, and its entry is row of times column of : multiply the first entries, multiply the second entries, and add. Basics: pair up, multiply, add
Solution
Orders: check every operation is defined
, and each have 2 rows and 2 columns, so each has order .
- , : same order, so defined, and the result is .
- is , the same as , so is defined and .
- : has 2 columns and has 2 rows, so is defined, of order . The same count works for .
Each operation has a size rule, and checking it first is not a formality: with different orders there are entries with no partner, and the operation simply does not exist. Square matrices of the same order pass every rule, which is why all five parts make sense here.(i) : add matching entries
Each entry of the answer is the sum of the two entries in the same position:
The definition of the sum (Section 3.4.1) says . The only place to slip is the entry, where : .Addition is position by position. Basics: adding like with like(ii) : subtract matching entries
The difference is defined by (Section 3.4.2). Subtracting a negative entry adds: . Write the bracket around so this sign is not lost.(iii) : first , then subtract
Multiply every entry of by 3:
Now subtract entry by entry:
In the 3 multiplies only , just as in ordinary algebra, so the scalar multiple is done first. Again the negative entry needs care: , and .: the number multiplies every entry. Lesson: addition and scalar multiplication(iv) : row of times column of , four times
Write the rows of and the columns of :
- rows of : row 1 is , row 2 is ;
- columns of : column 1 is , column 2 is .
Entry of is row of times column of :
Assemble the four entries in their places:
How one entry of is made: the first row of (blue) is paired with the second column of (gold), and the result lands in row 1, column 2 (green). The definition (Section 3.4.5) is . The row number of the entry tells you which row of the first matrix to use, and the column number tells you which column of the second. Writing the rows and columns out first stops you from reading a row of by mistake, which is the commonest error.Pair up, multiply, add: first with first, second with second. Basics: pair up, multiply, add(v) : now the rows come from
For the first matrix is , so the rows come from and the columns from :
- rows of : row 1 is , row 2 is ;
- columns of : column 1 is , column 2 is .
Compare with part (iv): not a single entry agrees, so .
Swapping the order swaps which matrix supplies the rows. uses rows of ; uses rows of . These are genuinely different calculations, so there is no reason for the answers to match. This is the textbook's point in Section 3.4.5 (Examples 13 and 14): matrix multiplication is not commutative, even when both products exist and have the same order.For numbers always; for matrices, keep the order exactly as written. Lesson: matrix multiplication
(Textbook answer: the same five matrices.)
Sums. Adding parts (i) and (ii) should give : , that is , which is entry by entry. ✓ Subtracting them should give : , that is , which is . ✓
Products. A quick test: the column totals of equal (row of column totals of ) times . Column totals of are , and
The column totals of are and . ✓ The same test for : column totals of are ; and ; the column totals of are and . ✓
- Multiplying matching entries for . The top-left entry of is not . Each entry is a row-times-column sum: .
- Losing a minus sign. , , and . Bracket every negative entry when you substitute it.
- Assuming . The order matters; must be worked out separately, and here it is completely different.
- Multiplying by 3 as well. In only is tripled.
- Sums, differences and scalar multiples act position by position.
- Products act row by column: entry of uses row of and column of .
- and are different calculations and are usually different matrices.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Sum of matrices of the same order: | Steps 1, 2 | Section 3.4.1 (Lesson: addition) |
| Scalar multiple ; negative; difference | Steps 3, 4 | Section 3.4.2 |
| Product defined when columns of the first = rows of the second; is ; row-times-column rule | Steps 1, 5, 6 | Section 3.4.5 (Lesson: multiplication) |
| Matrix multiplication is not commutative | Step 6 | Section 3.4.5, Examples 13 and 14 |
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 →