Question
Question: Solve the following system of linear equations by Cramer’s rule x + y = 0, y + z = 1 and z + x = 3...
Solve the following system of linear equations by Cramer’s rule
x + y = 0, y + z = 1 and z + x = 3.
Solution
To solve this question firstly we will write the system of linear equations in determinant form. Then, we will find the determinantsD1, D2 andD3. And then using formula x=D1D , y=D2D and z=D3D, we will evaluate the variables x, y and z.
Complete step by step answer:
Now , if we want to calculate the determinant of matrix A of order 3×3, then determinant of matrix A of 3×3 is evaluated as,
a11 a21 a31 a12a22a32a13a23a33=a11(a22a33−a32a23)−a21(a12a33−a32a13)+a31(a23a12−a22a13)
Also, we know that if we have linear equation as, px + qy + rz = u, lx + my + nz = v and ax + by + cz = w, then we can represent coefficients of system of linear equation in determinant as D=p l a qmbrnc
Then in Cramer’s rule, we find three more determinants as D1=u v w qmbrnc, D2=p l a uvwrnc and D3=p l a qmbuvw and we evaluate x=D1D , y=D2D and z=D3D.
Now, we can re – write the system of linear equations as,
x + y + 0.z = 0,
0.x + y + z = 1,
x + 0.y + z = 3 and in determinant form as
D=1 0 1 110011
Expanding determinant along R1, we get
D=1(1)−1(−1)+0
⇒ D = 2
Now, D1=0 1 3 110011
Expanding determinant along R1, we get
D1=0−1(1−3)+0
⇒D1=2
Now, D2=1 0 1 013011
Expanding determinant along R1, we get
D2=1(1−3)−0+0
⇒D2=−2
Now, D3=1 0 1 110013
Expanding determinant along R1, we get
D3=1(3−1)−1+0
⇒D3=1
So, we know that according to Cramer’s rule
x=D1D , y=D2D and z=D3D.
So, x=22,y=−22 and z=12
We get, x = 1, y = -1 and z = 2.
Note: To solve this question, one must know how we expand the determinants and also one must know the concept of Cramer’s rule. Also, this rule works for any number of variable linear equations. While solving determinant and evaluating the values of variable x, y and z try not to make any calculation mistakes as this may give you wrong values of variables.