Express the Following Equations in Matrix Form and Solve Them by the Method of Inversion.
Advertisements
Question
Express the following equations in matrix form and solve them by the method of inversion.
x + 2y + 3z = 8,
2x - y + z = 1,
3x + y - 4z = 1
Advertisements
Solution
Given equations are
x + 2y + 3z = 8,
2x - y + z = 1,
3x + y - 4z = 1
The required matrix equation is
`[(1,2,3), (2,-1,1), (3,1,-4)] [(x), (y), (z)] = [(8), (1), (1)]`
i.e AX = B
Now |A| = `|(1,2,3), (2,-1,1), (3,1,-4)|`
= 1 (4 -1) -2 (-8-3) + 3( 2+ 3)
= 3 + 22 + 15
= 40
|A| = 40 ≠ 0 A-1 exists
Hence, by premultiplying the equation by A-1 we get
`(A^-1A)X = A^-1 B`
`IX = A^-1 B`
`X = A^-1B`
As A = `[(1,2,3), (2,-1,1), (3,1,-4)]`
A11 = 3, A12 = 11, A13= 5
A21 = 11, A22 = -13 A23 = 5
A31 = 5, A32 = 5, A33 = -5
adj A = `[(3,11,5), (11,-13,5), (5,5,-5)]`
`A^-1 = I/|A|` (adj. A)
`A^-1 = 1/40[(3,11,5), (11,-13,5), (5,5,-5)]`
X = `1/40 [(3,11,5), (11,-13,5), (5,5,-5)] [(8), (1), (1)]`
`1/40 [(24 + 11 + 5), (88 - 13 + 5), (40 + 5 - 5)] = 1/40 [(40), (80), (40)]`
`[(x), (y), (z)] = [(1), (2), (1)]`
x = 1, y = 2, z = 1
