Example 18: Three numbers from three conditions
The sum of three numbers is 6. If we multiply third number by 3 and add second number to it, we get 11. By adding first and third numbers, we get double of the second number. Represent it algebraically and find the numbers using matrix method.
Let the numbers be , , . Then , and , that is,
This is , where
Expanding along :
. So is non-singular and the system has a unique solution, .
Cofactors:
. The numbers are 1, 2 and 3.
Want the reason behind every step, the basics and the checks?
Each sentence is one linear equation in the three unknown numbers. Once the words are turned into equations, the problem is a system , solved by when . The only new skill is the translation, especially the third sentence, which has to be rearranged so that all unknowns are on the left.
- Given
- Three facts about three numbers: their sum; "3 × third + second"; and "first + third = 2 × second".
- To find
- The three numbers, by the matrix method.
- Plan
- Name the numbers; write one equation per sentence; form ; compute , the cofactors, and ; check ; compute ; check the numbers against the original sentences.
Basics you need
"Sum" means add; "multiply by 3" means ; "double of" means ; "we get" means "equals". Move every unknown to the left side before writing the matrix. Basics: algebra the chapter leans on
In there is no , so its coefficient is 0. Every row of must have one entry for each unknown. Basics: rows, columns and positions
; is the transpose of ; if . Basics: why the inverse divides by |A|
Solution
Translate the words into equations
Let the first, second and third numbers be , and . Sentence by sentence:
Words Equation The sum of the three numbers is 6 Third times 3, plus the second, is 11 First plus third is double the second Move to the left in the third equation: . The system is
The matrix method needs every equation in the form "(coefficients times unknowns) = number". "" has an unknown on the right, so subtracting from both sides is necessary before reading off coefficients. This is the "represent it algebraically" part of the question.Subtracting the same quantity from both sides keeps an equation true. Basics: algebra the chapter leans onWrite the system as
is , and are . Row by row, has entries , and , which matches the system.
Row 2 starts with 0 because the second equation has no . Row 3 has in the middle because of the rearrangement in Step 1. These two entries are where set-up errors usually happen.Section 4.6.1. Lesson: solving systems AX = BCompute , expanding along column 1
Column 1 contains a zero (), so expanding along it needs only two minors. The signs down column 1 are :
The textbook expands along row 1 instead and gets the same value:
Since , exists and the numbers are uniquely determined.
A determinant can be expanded along any row or column with the same result (Section 4.2.3); choosing the line with a zero saves one determinant. Getting 9 both ways is a check on this key number.Expansion along a column, Section 4.2.3. Lesson: expanding a 3 × 3 determinantCofactors of row 1
Signs :
Each minor deletes row 1 and one column, leaving rows 2 and 3. In , .Definitions 1 and 2, Section 4.4. Lesson: minors and cofactorsCofactors of row 2
Signs :
is 0 because rows 1 and 3 of agree in columns 1 and 3 (both have there), so the minor has two equal rows.Cofactors of row 3
Signs :
These agree with the textbook's nine values: ; ; . As a check, row 1 with its own cofactors gives .and
Transpose (rows become columns):
Since ,
The adjoint is the transpose: the cofactors of row 1 () form its column 1. Then with .Definition 3, Section 4.5.1; Theorem 4, Section 4.5. Lesson: the adjointCheck: , so
Row of times column of :
So and .
Diagonal entries are rows with their own cofactors (); off-diagonal entries are rows with other rows' cofactors (0). The pattern confirms every cofactor before we use .Theorem 1, Section 4.5. Basics: matrix facts the chapter usesCompute
Row times column:
So , , : the first number is 1, the second 2 and the third 3.
is the matrix method (Case I, Section 4.6.1). The 0 at the bottom of makes every third product vanish, which is why each row sum ends in "".Case I, Section 4.6.1. Lesson: solving systems AX = BCheck against the original sentences
Condition With 1, 2, 3 Holds? Sum is 6 yes 3 × third + second = 11 yes First + third = double the second yes Checking against the words, not just the equations, also tests the translation in Step 1, which no amount of matrix arithmetic can check.
Algebraically: , , . Here and
The numbers are 1, 2 and 3 (first, second, third). (This agrees with the textbook's own solution.)
Solve by substitution, independently. From the third equation, ; put this into the first: , so . Then the second gives , so , and the first gives . Same numbers.
- Reading "add second number to it" as . The sentence multiplies the third number first, then adds the second: .
- Leaving on the right. Writing row 3 of as with right-hand side is not a valid matrix equation.
- Forgetting the 0 coefficient. Row 2 of is , not .
- Using for the adjoint. The transpose is needed; Step 8 would expose the error.
- Word problem: name the unknowns, write one equation per condition, move all unknowns to the left, then use .
- Expand along a row or column containing zeros; any line gives the same value.
- Check the answer against the original words.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| Writing a system as | Step 2 | Section 4.6.1 (Lesson: solving systems AX = B) |
| Expansion along any row or column | Step 3 | Section 4.2.3 (Lesson: expanding a 3 × 3 determinant) |
| Minors and cofactors | Steps 4 to 6 | Definitions 1 and 2, Section 4.4 (Lesson: minors and cofactors) |
| ; | Step 7 | Definition 3, Section 4.5.1; Theorem 4, Section 4.5 |
| Step 8 | Theorem 1, Section 4.5 | |
| : unique solution | Steps 3, 9 | Case I, Section 4.6.1 |
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 →