Want the reason behind every step, the basics and the checks?
The one idea this problem is built on
Write the system as AX=B. Since ∣A∣=0, the coefficient matrix has an inverse, A−1=∣A∣1adjA, and X=A−1B is the one and only solution. Most of the work is computing nine cofactors correctly, and the product A(adjA)=∣A∣I tells us whether we did.
Given, to find, and the plan
Given
x−y+z=4,2x+y−3z=0,x+y+z=2.
To find
x,y,z by the matrix method.
Plan
(1) AX=B. (2) ∣A∣ by expansion along row 1. (3) All nine minors and cofactors. (4) adjA and A−1. (5) Check A(adjA)=∣A∣I. (6) X=A−1B. (7) Check in the three equations.
Basics you need
1A system is a matrix product
Row i of A times X gives the left side of equation i. A term like −y has coefficient −1; a term like z has coefficient 1.Basics: matrix facts the chapter uses
2Expanding a 3×3 determinant
Along row 1: ∣A∣=a11M11−a12M12+a13M13. The middle term has a minus sign from (−1)1+2.Basics: the + − + sign pattern
A is 3×3 and X is 3×1, so AX is defined and is 3×1, like B:
AX=x−y+z2x+y−3zx+y+z.
So AX=B is exactly the given system.
The unwritten coefficients are ±1:x means 1x and −y means (−1)y. The right-hand side of the second equation is 0, and it still takes its place in B.
(The three minors, 4,5 and 1, are worked out in Step 3.) So ∣A∣=10=0:A is nonsingular and the solution is unique.
Two minus signs meet in the middle term: the sign (−1)1+2=−1 of the position and the entry a12=−1 itself. Their product is +1, so the term adds 5. Writing −(−1)(5) in full is the safest way not to lose one of them.
Each minor keeps the four entries that are in neither the row nor the column of aij, in their original arrangement. M22=0 because rows 1 and 3 of A, with column 2 deleted, are both (1,1): a 2×2 determinant with two equal rows is 0. A zero cofactor is perfectly allowed.
Each diagonal entry is a row of A times its own cofactors, which is ∣A∣=10; each off-diagonal entry is a row times the cofactors of a different row, which is 0. All nine cofactors are confirmed.
X=A−1B follows from AX=B by multiplying on the left by A−1 and using A−1A=I. The 0 in B wipes out the middle column of adjA in every row, which is why each sum has a "+0".
Substituting into the original equations, not into AX=B, also confirms that A and B were copied correctly in Step 1.
Result
∣A∣=10=0, and
A−1=1014−5120−2253.
The unique solution is x=2,y=−1,z=1.
(Textbook answer: x=2,y=−1,z=1.)
Check it with numbers
By elimination. Subtract the first equation from the third: (x+y+z)−(x−y+z)=2−4, so 2y=−2 and y=−1. Then the first equation gives x+z=4+y=3, and the second gives 2x−3z=−y=1. Substituting x=3−z:6−2z−3z=1, so z=1 and x=2. The same solution.
A second expansion of ∣A∣. Along column 2, with cofactors A12=−5,A22=0,A32=5:(−1)(−5)+1(0)+1(5)=10.
Common mistakes
Losing a minus sign in the expansion. The middle term is −a12M12=−(−1)(5)=+5. Writing −5 gives ∣A∣=0 and the false conclusion that there is no unique solution.
Skipping the transpose. The cofactor matrix and adjA differ here (for example position (1, 2) holds −5 in one and 2 in the other).
Writing 1 for the coefficient of −y. It is −1; the sign belongs to the coefficient.
What to take away
With no zeros to exploit, expand along the row with the smallest entries, and write every sign in full.
The product A(adjA)=∣A∣I checks all nine cofactors at once; a single wrong cofactor shows up as a non-zero off-diagonal entry or a wrong diagonal one.
A zero on the right-hand side or a zero cofactor is not a problem; only ∣A∣=0 would stop the method.
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 →