Conditions
Solve the following system of linear equations by inversion method:
x1+6x2+4x3=22x1+4x2−x3=3−x1+3x2+5x3=3Solution
Let's write the system in a matrix form:
AX=B:⎝⎛12−16434−35⎠⎞⎝⎛x1x2x3⎠⎞=⎝⎛233⎠⎞
Let's find the inversion matrix A−1 by using cofactors method:
A−1=detA1⎝⎛A11A21A31A12A22A32A13A23A33⎠⎞,Aij=(−1)i+jMijA11=(−1)2∣∣43−35∣∣=20+9=29
...
A33=(−1)6∣∣1264∣∣=4−12=−8⎝⎛A11A21A31A12A22A32A13A23A33⎠⎞=⎝⎛29−710−189−9−3411−8⎠⎞det(A)=∣∣12−16434−35∣∣=20+9−60+16+18+24=27A−1=271⎝⎛29−710−189−9−3411−8⎠⎞
Now let's multiply our matrix equation from the left side by inversion matrix:
A−1AX=A−1BX=A−1BX=271⎝⎛29−710−189−9−3411−8⎠⎞⎝⎛233⎠⎞=271⎝⎛29⋅2−18⋅3−34⋅3−7⋅2+9⋅3+11⋅310⋅2−9⋅3−8⋅3⎠⎞X=⎝⎛−9827274627−31⎠⎞