Example 8: Find with
If
and
then find the matrix , such that .
Want the reason behind every step, the basics and the checks?
A matrix equation like can be solved just like the number equation : subtract from both sides, then divide by 3. What makes this legal for matrices is a short list of properties of matrix addition and scalar multiplication (commutative law, additive inverse, additive identity), and we name each one as we use it. Only at the end do we compute with the actual entries.
- Given
- Two matrices , and the equation .
- To find
- The matrix .
- Plan
- Find the order of . Rearrange the equation to , justifying each step. Compute , , and finally . Check by substituting.
Basics you need
(every entry times ); , so . Basics: adding only like with like
For matrices of the same order: (commutative); (associative); (, the zero matrix, is the additive identity); ( is the additive inverse). Lesson: properties of the operations
, because each entry becomes . Basics: identity and undo
Subtract , divide by 3: . The matrix solution follows the same steps. Basics: solving equations
Solution
Find the order of
and are both , so and are . For to be defined, must also be , so is a matrix.
We are looking for an unknown matrix, so we should know its shape before hunting for its entries. A sum is defined only for equal orders, and a scalar multiple keeps the order, so has the same order as .Sums need equal orders (Section 3.4.1); has the order of (Section 3.4.2).Isolate
Add to both sides of :
The reasons, line by line: adding the same matrix to equal matrices gives equal matrices; then the commutative law , with the associative law to regroup, lets us bring and together; then because is the additive inverse of ; finally because is the additive identity.
These are the matrix versions of what we do without thinking for numbers. Matrix multiplication is not commutative (Section 3.4.5, after Example 14), so in matrix algebra we should never assume an order can be swapped unless a property says so. Here only addition is being reordered, and addition of matrices is commutative.Commutative law, additive inverse, additive identity: Section 3.4.3 (i), (iv), (iii). Lesson: properties of the operationsIsolate
Multiply both sides of by the scalar :
Every entry of is , and , so . Multiplying equal matrices by the same scalar keeps them equal. This is the matrix version of "divide both sides by 3".Compute and
Multiply every entry of by 5, and every entry of by 2:
The scalar multiplies every one of the six entries. Writing the products out once makes the sign of each entry clear (for example ).(Section 3.4.2). Lesson: addition and scalar multiplicationCompute
Subtract corresponding entries, :
Both are , so the difference is defined. The entry is the one to watch: subtracting a negative number adds it.Multiply by
Divide each entry by 3:
Some entries divide exactly by 3 and some do not. Fractions are perfectly good matrix entries, so we leave , , , as fractions rather than rounding.
This agrees with the textbook's solution.
Substitute back. is from Step 5. Adding from Step 4, entry by entry:
That is , so holds.
- Forgetting to scale. is , not .
- "Dividing by a matrix". Only the scalar 3 is divided out. There is no such thing as dividing by a matrix.
- Sign slip in . It is , not 6.
- Linear matrix equations with scalars are solved like number equations, using the properties of matrix addition and scalar multiplication.
- Rearrange in letters first (); compute with entries last. It keeps the arithmetic to one clean pass.
- Always check by substituting back.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Sum defined only for equal orders | Step 1 | Section 3.4.1 |
| ; | Steps 1, 4, 5, 6 | Section 3.4.2 (Lesson: addition and scalar multiplication) |
| Commutative law; additive identity ; additive inverse | Step 2 | Section 3.4.3 (i), (iii), (iv) (Lesson: properties of the operations) |
| , from | Step 3 | Entrywise from associativity of multiplication of numbers (not listed separately in the book) |
| Matrix multiplication is not commutative | Step 2 (remark) | Section 3.4.5, remark after Example 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 →