Solve system of linear equations, using matrix method.

x – y + 2z = 7


3x + 4y – 5z = –5


2x – y + 3z = 12

The given system of equations is:

x - y + 2z = 7


3x + 4y - 5z = -5


2x – y + 3z = 12


The given system of equations can be written in the form of AX = B, where



Now |A| = 1(12-5) + 1(9+10) + 2(-3-8) = 4 ≠ 0


A is a non-singular matrix and hence A-1 exists.


Now A11 = 7, A12 = -19, A13 = -11, A21 = 1, A22 = -1, A23 = -1, A31 = -3, A32 = 11, A33 = 7


So AdjA =



So


Hence


17