You are on page 1of 2

Solve the linear system by Cramer's rule

x 1 + x 2+ x3 =1
x 1+ x2− x3 =0
x 1−x 2−x 3=1

Sub-Subject- Algebra

Topic- Matrix and Determinants

Step 1 of 3-

Using Useby the Cramer's rule, to solve the linear system of three variables.

[ ]
1 1 1
Let Coefficient matrix (A) = 1 1 −1
1 −1 −1

Now, find the determinant of A.


D=Det ( A )=1 (−1−1 )−1 (−1+1 )+ 1 (−1−1 ) Det ( A )=−2−0−2Det(A) ¿−4

Explanation-

A system of linear equations with as many equations as unknowns may be solved explicitly using
Cramer's method in linear algebra whenever the system has a single solution.

Step 2 of 3-
First, find the determinant of X1.

| |
11 1
Determinant of X1 ¿ 1 −1 0
−1 −1 1
|X 1|=−4

Now, find the determinant of X2.

| |
1 1 1
Determinant of X 2 = 1 −1 0
1 −1 1

|X 2|=2

Find the determinant of X3.


| |
1 1 1
Determinant of X 3 = 1 1 0
1 −1 1

|X 3|=−2

Step 3 of 3-

Now, by Cramer Rule, find the value of x1, x2. and x3.

|x 1| −4
x 1= = =1 ⇒ x 1=1
D −4

|x 2| 2 −1 −1
x 2= = = ⇒ x 2=
D −4 2 2

|x 3| −2 1 1
x 3= = = ⇒ x3 =
D −4 2 2

Final Answer-

The solution of the linear system

−1 1
by using the Crammer’s rule is x 1=1 ; x 2= ; x 3= .
2 2

You might also like