Example 9: Find and from and
Find and , if
and
Adding the two equations,
Subtracting the second equation from the first,
Want the reason behind every step, the basics and the checks?
This is a pair of simultaneous equations, with matrices in place of numbers. For numbers, and are solved by adding (the 's cancel, giving ) and subtracting (the 's cancel, giving ). The same moves work for matrices, because matrix addition obeys the same commutative, associative, inverse and identity laws.
- Given
- and , where and are the two matrices shown.
- To find
- The matrices and .
- Plan
- Fix the orders. Add the equations to get , so . Subtract them to get , so . Compute entry by entry and check.
Basics you need
Same order required; entries are added or subtracted position by position. Basics: adding only like with like
Commutative ; associative ; ; . These allow us to regroup and cancel exactly as with numbers. Lesson: properties of the operations
Add or subtract equations so that one unknown cancels. Basics: solving equations
Solution
Fix the orders
Call the two given matrices (the value of ) and (the value of ). Both are . Since is defined only when and have the same order, and the sum then has that order, and are both .
Knowing the shape of the unknowns first tells us we are looking for 4 entries in and 4 in , and confirms that every sum and difference below is defined.Sums and differences need the same order, and keep it (Sections 3.4.1, 3.4.2).Add the two equations to eliminate
Adding equal matrices to equal matrices gives equal matrices, so
On the left, regroup using the commutative and associative laws, then cancel:
On the right, entry by entry:
So
and are additive inverses, so they cancel to the zero matrix , and . The regrouping is allowed because matrix addition is commutative and associative; this is exactly why the textbook writes .Find
Multiply both sides by :
Entry by entry: , , , .
, because each entry becomes . This is the matrix version of dividing both sides by 2.Scalar multiplication acts on every entry (Section 3.4.2). Basics: identity and undoSubtract the equations to eliminate
Now subtract the second equation from the first:
On the left, , so
On the right, entry by entry:
Subtracting means adding ; the minus sign reaches both terms. Then and cancel and . Watch .with gives (Section 3.4.4).Find
Entry by entry: , , , .
Same reason as Step 3: multiplying by undoes the factor 2.
This agrees with the textbook's solution.
: , , , , which is . : , , , , which is . Both given equations hold.
- Sign error when subtracting a bracket. , not : the minus sign turns into .
- Forgetting the . Adding the equations gives , not .
- Subtracting the matrices in the wrong order. , not , which would give .
- Given and : and , for matrices just as for numbers.
- The laws of matrix addition (commutative, associative, identity, inverse) are what license each regrouping and cancellation.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Sum and difference: same order, entry by entry | Steps 1, 2, 4 | Sections 3.4.1, 3.4.2 (Lesson: addition and scalar multiplication) |
| Commutative and associative laws; ; | Steps 2, 4 | Section 3.4.3 (Lesson: properties of the operations) |
| ; | Steps 2, 4 | Section 3.4.4 |
| Steps 3, 5 | Section 3.4.2 |
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 →