Solve system of linear equations, using matrix method: 2x + y + z = 1 x - 2y - z = 3/2 3y - 5z = 9
x = 1, y = 1/2, z = -3/2
Explanation
This question is from Exercise 4.5, Question 11. The solution follows the matrix method demonstrated in Example 17 of the textbook, where the system AX = B is solved by finding A^(-1) and computing X = A^(-1)B. The key steps involve writing equations in matrix form, calculating determinant to verify inverse exists, finding cofactors and adjoint, then multiplying by the constant matrix.
Solution Steps
Step 1: Write the system in matrix form AX = B
A = [[2, 1, 1], [1, -2, -1], [0, 3, -5]], X = [[x], [y], [z]], B = [[1], [3/2], [9]]
Step 2: Calculate |A|
|A| = 2[(-2)(-5) - (-1)(3)] - 1[(1)(-5) - (-1)(0)] + 1[(1)(3) - (-2)(0)] = 2(13) + 5 + 3 = 34 0
Since |A| 0, A is nonsingular and inverse exists.
Step 3: Find cofactors of A
C₁₁ = 13, C₁₂ = 5, C₁₃ = 3
C₂₁ = 8, C₂₂ = -10, C₂₃ = -6
C₃₁ = 1, C₃₂ = 3, C₃₃ = -5
Step 4: Find adj(A) and A^(-1)
adj(A) = [[13, 8, 1], [5, -10, 3], [3, -6, -5]]
A^(-1) = (1/34)[[13, 8, 1], [5, -10, 3], [3, -6, -5]]
Step 5: Calculate X = A^(-1)B
x = (1/34)[13(1) + 8(3/2) + 1(9)] = (1/34)(34) = 1
y = (1/34)[5(1) + (-10)(3/2) + 3(9)] = (1/34)(17) = 1/2
z = (1/34)[3(1) + (-6)(3/2) + (-5)(9)] = (1/34)(-51) = -3/2
Hence, x = 1, y = 1/2, z = -3/2