Exercise 4.5 · Q10: Solve , by the matrix method
Solve system of linear equations, using matrix method, in Exercises 7 to 14.
10.
The system is , where
. So exists and the system has a unique solution, .
.
Want the reason behind every step, the basics and the checks?
The system is the single matrix equation . Because , the matrix can be undone: multiplying on the left by leaves , and that column is the one and only solution.
- Given
- The equations and .
- To find
- and , using the matrix method.
- Plan
- (1) Write . (2) Compute . (3) Cofactors and . (4) , with the check . (5) . (6) Check in both equations.
Basics you need
Row of times the column is the left side of equation , so holds exactly when every equation holds. Basics: matrix facts the chapter uses
; the adjoint is the transpose of the matrix of cofactors. For : swap the diagonal entries and change the signs of the other two. Basics: the + − + sign pattern
If , then , because . Basics: why the inverse divides by |A|
means the two lines are not parallel, so they cross at exactly one point. Basics: two lines, cross, parallel or the same
Solution
Write the system as
is and is , so is defined and is , like :
Setting and comparing entries gives back the two equations, so , and are right.
Row 1 of holds the coefficients of the first equation, row 2 those of the second, and the columns follow the order , then . Any other arrangement would multiply out to different equations.Section 4.6.1 (matrix form of a system); Section 3.4.5 (row times column). Lesson: solving systems AX = BCompute
, so is nonsingular, exists, and the system has exactly one solution, .
If , multiplying on the left by gives , so there is no other solution; and , so this one does work. In the picture, the slopes are and , which differ, so the lines cross once.Section 4.6.1, Case I; Definition 5, Section 4.5 (nonsingular). Basics: two linesFind the cofactors and
With , , , , each minor is the single entry left after deleting a row and a column:
Matrix of cofactors, then its transpose:
Shortcut check: swap 5 and 2 on the diagonal, change the signs of 2 and 3: the same matrix.
is found by deleting row 1 and column 2, which leaves ; its cofactor carries the sign . Then the transpose sends to row 2, column 1 of the adjoint.Definitions 1 and 2, Section 4.4; Definition 3 and the Remark after Example 12, Section 4.5.1. Basics: the sign patternForm and check
Check , entry by entry:
so .
Theorem 1 predicts on the diagonal and 0 elsewhere. Getting exactly that confirms the cofactors before we use them.Theorem 1 and Theorem 4, Section 4.5. Basics: why the inverse divides by |A|Compute
() times () is . First :
Comparing entries, , .
comes from multiplying on the left by , so stays on the left. The is applied last, and here it divides both entries exactly.Equality of matrices, Section 3.3.1. Basics: rows, columns and positionsCheck in both original equations
Both hold, so is the solution.
The point must lie on both lines; checking only one equation would not show that.
, so is invertible with
and the unique solution is , .
(Textbook answer: , .)
The two equations have the same -term , so subtracting the second from the first removes at once: , that is , so . Then , so . The elimination method gives the same answer as the matrix method.
- Forgetting to transpose. Using the cofactor matrix (rows and ) in place of the adjoint gives and , which fail the first equation: , not 3.
- Swapping the wrong pair in the shortcut. The diagonal entries 5 and 2 swap; the off-diagonal entries 2 and 3 keep their places and only change sign.
- Multiplying in the wrong order. ; the product is not even defined.
- Matrix method: , check , , , check.
- Confirm the adjoint with before using it. Four products for a matrix is a small price for certainty.
- When a quicker route exists (here, subtracting the equations), use it as an independent check.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| A system written as | Step 1 | Section 4.6.1 (Lesson: solving systems) |
| Matrix product, row times column | Steps 1, 4, 5 | Section 3.4.5 (Chapter 3) |
| determinant | Step 2 | Section 4.2.2 (Lesson: determinant) |
| Nonsingular: ; then is the unique solution | Steps 2, 5 | Definition 5, Section 4.5; Section 4.6.1, Case I |
| Minor, cofactor | Step 3 | Definitions 1 and 2, Section 4.4 (Lesson: minors and cofactors) |
| and the shortcut | Step 3 | Definition 3 and the Remark after Example 12, Section 4.5.1 (Lesson: the adjoint) |
| ; | Step 4 | Theorems 1 and 4, Section 4.5 (Lesson: inverse of a matrix) |
| Equality of matrices | Steps 1, 5 | Section 3.3.1 (Chapter 3) |
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 →