Exercise 3.2 · Q15: Find for a matrix
Find , if
Multiplying row by column, the entries of are
Want the reason behind every step, the basics and the checks?
A "polynomial in a matrix" is evaluated just like a polynomial in a number, with three translations: means the matrix product ; means multiply every entry by 5; and the constant term 6 becomes , where is the identity matrix of the same order as , so that all three terms can be added. Then combine the three matrices position by position.
- Given
- The matrix above; is the identity matrix.
- To find
- The single matrix .
- Plan
- (1) Check orders and fix the order of . (2) Compute , every entry. (3) Compute and . (4) Combine entry by entry. (5) Check.
Basics you need
For matrices, entry of is : row of the first times column of the second. Basics: pair up, multiply, add
. It is defined only for a square matrix, because the columns of the first factor must match the rows of the second. It is not the matrix of squared entries.
is the matrix with 1 on the main diagonal and 0 everywhere else. therefore has 6 on the diagonal and 0 elsewhere. Basics: identity and undo
multiplies every entry by ; subtracts entries in the same position, for matrices of the same order. Basics: adding only like with like
Solution
Check the orders and fix the order of
is , a square matrix. So is defined (3 columns of the first factor, 3 rows of the second) and is . is also . For to be defined, must be too, so here means .
Sums and differences need matrices of the same order. The question writes just ; the only order that makes the expression meaningful is .Compute , row 1
Rows of : , , . Columns of , top to bottom: , , . Write . Row 1 of with each column:
In the same matrix supplies both the rows (first factor) and the columns (second factor). For example ., rows 2 and 3
Row 2 of is :
Row 3 of is :
Assembling the nine entries:
For instance and . Every one of the nine row-times-column sums is needed; there is no shortcut.Compute and
Multiply every entry of by 5:
Multiply every entry of by 6:
is how the number 6 enters a matrix expression: it is a scalar matrix that adds 6 to each diagonal entry and leaves the rest unchanged.Combine position by position
Entry of is , where is 1 on the diagonal and 0 off it:
All three matrices are , so subtraction and addition are done entry by entry. Take care with : subtracting is adding 5, so .for matrices of the same order. Basics: adding like with like
(Textbook answer: the same matrix.)
Use the factorisation . It carries over to matrices because commutes with : . Here
Row 1 of is , so row 1 of the product is row 3 of : ✓. Row 2 gives , , ✓. Row 3 gives , , ✓. The same matrix, by a different route.
- Squaring each entry. is ; squaring entries would give in position instead of the correct .
- Writing instead of . A number cannot be added to a matrix; 6 must become , and it only changes the diagonal.
- Adding 6 to every entry. has zeros off the diagonal, so the off-diagonal entries get .
- Sign slip in . .
- To evaluate a polynomial in a square matrix: powers are products, coefficients are scalar multiples, the constant becomes a multiple of of the same order.
- Show each entry of a product as a row-times-column sum; most errors are sign errors in these sums.
- A polynomial in factorises as for numbers, because powers of and commute with each other; that gives an independent check.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Identity matrix : 1 on the diagonal, 0 elsewhere | Steps 1, 4 | Section 3.3 (vi) (Lesson: types) |
| defined when columns of = rows of ; entry = row times column | Steps 1 to 3 | Section 3.4.5 (Lesson: multiplication) |
| for a square matrix | Steps 2, 3 | Example 18 () |
| Step 4 | Section 3.4.2 | |
| Sum and difference of matrices of the same order, entry by entry | Step 5 | Section 3.4.1 |
| ; distributive law | Check | Section 3.4.6 |
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 →