Exercise 4.5 · Q7: 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?
The matrix method turns two equations into one: . If , multiplying on the left by isolates the unknowns, , exactly as dividing both sides of by 5 isolates . Here , so is simply , with whole-number entries, and the solution is , .
- Given
- Two linear equations in and .
- To find
- and , using the matrix method (the inverse of the coefficient matrix).
- Plan
- (1) Write . (2) Compute and confirm it is not 0. (3) Find the cofactors and . (4) Form and check . (5) Compute . (6) Check in both equations.
Basics you need
From : , then by associativity, then . Pre-multiplying is essential: matrix products depend on order. Basics: why the inverse divides by |A|
Swap the two diagonal entries and change the signs of the other two (Remark after Example 12). This is the transpose of the matrix of cofactors. Basics: transpose and identity
A matrix times a column gives a column; each entry is a row times the column. Basics: matrix facts the chapter uses
Solution
Write the system as
is and is , so is a column:
So is the given system.
Equal matrices have equal entries, so the one matrix equation holds exactly when both equations hold. Multiplying out confirms the coefficients are in the right places.Compute
, so is non-singular, exists, and the system has exactly one solution (Section 4.6.1, Case I).
The matrix method only works when exists, and Theorem 4 says that happens exactly when . So this check comes before anything else.Cofactors and
For order 2, each minor is the single entry left after deleting a row and a column; then :
The transpose puts in row 1, column 2, and in row 2, column 1. The shortcut agrees: swap 5 and 3, change the signs of 2 and 7.Definition 3 and the Remark after Example 12, Section 4.5.1. Lesson: the adjoint, and the check
Row of times column of :
So . ✓
Because , dividing by changes nothing, and the inverse has whole-number entries. The product check shows the inverse is right before we use it., Theorem 4. Lesson: inverse of a matrixThe solution
So , .
is and is , so is : its first entry is , its second . The order matters; is not even defined.Section 4.6.1, Case I. Lesson: solving systems AX = BCheck in both equations
The slopes are and : different, so the lines meet exactly once, at . They are close, so the lines cross at a very small angle (about ). Substituting into the original equations, not into the matrices, catches any mistake made in setting up and as well as in the arithmetic.
, . (Textbook answer: , .)
Eliminate by hand: 7 times the first equation is , and 5 times the second is . Subtracting, , so ; then , so . Same answer.
- Writing . A times a is not defined; must be on the left.
- Swapping the wrong entries for the adjoint. The diagonal entries 5 and 3 swap; the off-diagonal 2 and 7 stay in place but change sign.
- Skipping the check. Without it, there is no guarantee exists.
- Matrix method: , check , then .
- For order 2 the adjoint is quick: swap the diagonal, negate the rest.
- Always substitute the answer back into the original equations.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| A system as ; 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; order 2 shortcut | Step 3 | Definition 3 and Remark, Section 4.5.1 |
| invertible ; | 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 →