Exercise 4.5 · Q8: Solve , by the matrix method
Solve the system of linear equations, using matrix method.
The system is , where
. So exists and the system has a unique solution, .
.
Want the reason behind every step, the basics and the checks?
Write the system as . Since , has an inverse and the unique solution is . The answers are fractions with denominator 11, , , and that is no surprise: we divide by at the end.
- Given
- Two linear equations in and ; note the and the negative right-hand side .
- To find
- and , by the matrix method.
- Plan
- (1) Write . (2) Compute . (3) Cofactors and . (4) , with a check. (5) . (6) Check in both equations, keeping the fractions exact.
Basics you need
If , pre-multiplying by gives , the only solution (Section 4.6.1, Case I). Basics: why the inverse divides by |A|
The transpose of the matrix of cofactors; in practice, swap the diagonal entries and change the signs of the other two. Basics: transpose and identity
: with equal denominators, add or subtract the numerators. Basics: algebra the chapter leans on
Solution
Write the system as
is and is , so is :
So is the given system.
The is the coefficient , and the right-hand side goes into with its sign. Both minus signs will matter later.Compute
: is non-singular, so the system has a unique solution and the matrix method applies.
The other diagonal product is ; subtracting adds 3. A non-zero determinant is exactly the condition for to exist (Theorem 4).Cofactors and
For , delete row 2 and column 1: the entry left is , and the sign makes the cofactor . Shortcut check: swap 2 and 4, change to and to .Definitions 1, 2 (Section 4.4) and Definition 3 (Section 4.5.1). Lesson: the adjoint, checked by
Row of times column of :
So , and dividing by 11 gives . ✓
Keeping outside lets the check run in whole numbers. Theorem 1 says the product must be , which it is.Theorem 1, Section 4.5.1; Theorem 4. Lesson: inverse of a matrixThe solution
So , .
The times product is . In the second entry, : two negatives give a positive. The fractions cannot be simplified because 5 and 12 have no common factor with 11.Section 4.6.1, Case I. Lesson: solving systems AX = BCheck in both equations
The line (slope 2) and the line (slope ) cross once, at , about . Fractional answers are easy to get slightly wrong, so the exact check matters. Both equations hold, so the solution is right.
, . (Textbook answer: , .)
In decimals, and . Then
By elimination: 4 times the first equation plus the second gives , so , and the "11" is again.
- Losing the sign of the right-hand side. has first entry , not .
- Computing . The other diagonal product is , and subtracting it gives 11.
- Forgetting the and reporting , . A quick substitution shows these fail: , not .
- The denominators of the solution come from : here 11.
- Compute in whole numbers and divide by last.
- Check fractional answers exactly, using a common denominator.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| , and when | Steps 1, 2, 5 | Section 4.6.1, Case I (Lesson: solving systems AX = B) |
| determinant | Step 2 | Section 4.2.2 |
| Step 3 | Definitions 1, 2, Section 4.4 | |
| Adjoint = transpose of the cofactor matrix | Step 3 | Definition 3, Section 4.5.1 |
| Step 4 | Theorem 1, Section 4.5.1 | |
| for | Steps 2, 4 | Theorem 4, Section 4.5 |
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 →