Solve the equations x + y = 0, y + z = 1 and x + z = 3 for y by Cramer's rule.
Answers
Answer:
Final answers will be as follows:
x =2
y = -2
z = -1
Given:
To find:
Value of by Cramer's rule.
Solution:
If we have a system of linear equations in 3 variables,
By Cramer's rule to solve for , we have
where is a 3×3 determinant of matrix of all coefficients of
.
The first row and first column is eliminated and the remaining is maintained as such to calculate determinant of first element, first row and middle column is eliminated and the remaining is maintained as such to calculate determinant of second element and last row and last column is eliminated and the remaining is maintained as such to calculate determinant of third element.
Here, we are given three equations,
The coefficients of will be written in first column, coefficients of
in second column and coefficients of
in last column of the matrix.
Calculate the determinant by following as shown below:
To solve for ,
Find its determinant as shown below:
Substituting the values in the above formula to solve for ,
Now,
∴ Value of by Cramer's rule is
.
The value of by Cramer's rule is -1.