Solve the following system of the linear equations by Cramer’s rule:
2x – 3z + w = 1
x – y + 2w = 1
– 3y + z + w = 1
x + y + z = 1
Given: - Equations are: –
2x – 3z + w = 1
x – y + 2w = 1
– 3y + z + w = 1
x + y + z = 1
Tip: - Theorem – Cramer’s Rule
Let there be a system of n simultaneous linear equations and with n unknown given by
and let Dj be the determinant obtained from D after replacing the jth column by
Then,
provided that D ≠ 0
Now, here we have
2x – 3z + w = 1
x – y + 2w = 1
– 3y + z + w = 1
x + y + z = 1
So by comparing with theorem, lets find D, D1, D2,D3 and D4
applying,
⇒
Solving determinant, expanding along 4th Row
⇒
applying,
⇒
expanding along 3rd row
⇒ D = – 1[ – 3 – ( – 6)4]
⇒ D = – 21
Again, Solve D1 formed by replacing 1st column by B matrices
Here
applying,
⇒
Solving determinant, expanding along 1st Row
⇒
⇒ D1 = ( – 1)[(4)( – 1) – 0(4)] – (3)[( – 3)( – 1) – 0] + 1[ – 12 – 4]
⇒ D1 = – 1[ – 4 – 0] – 3[3 – 0] – 16
⇒ D1 = 4 – 9 – 16
⇒ D1 = – 21
Again, Solve D2 formed by replacing 2nd column by B matrices
Here
applying,
⇒
Solving determinant, expanding along 4th Row
⇒
⇒ D2 = – 1{( – 1)[1( – 1) – 1(2)] – ( – 5)[0 – 1(2)] + 1[0 – ( – 1)]}
⇒ D2 = – 1{ – 1[ – 1 – 2] + 5( – 2) + 1}
⇒ D2 = 6
Again, Solve D3 formed by replacing 3rd column by B matrices
Here
⇒
applying,
⇒
Solving determinant, expanding along 4th Row
⇒
⇒ D3 = – 1{( – 2)[0 – (1)2] – ( – 1)[ – 2 – ( – 3)(2)] + 1[ – 2 – 0]}
⇒ D3 = – 1{ – 2[ – 2] + 1( – 2 + 6) + 1( – 2)}
⇒ D3 = – 1{4 + 4 – 2}
⇒ D3 = – 6
And, Solve D4 formed by replacing 4th column by B matrices
Here
⇒
applying,
⇒
Solving determinant, expanding along 4th Row
⇒
⇒ D4 = ( – 1){( – 2)[( – 1)1 – 0] – ( – 5)[ – 2 – 0] + ( – 1)[ – 2 – 3]}
⇒ D4 = ( – 1){2 – 10 + 5}
⇒ D4 = 3
⇒ D4 = 3
Thus by Cramer’s Rule, we have
⇒
⇒
⇒ x = 1
again,
⇒
⇒
⇒
again,
⇒
⇒
⇒
And,
⇒
⇒
⇒