|
This Lesson (Solving systems of linear equations in three unknowns using determinant (Cramer's rule)) was created by by ikleyn(52748)  : View Source, ShowAbout ikleyn:
Solving systems of linear equations in three unknowns using determinant (Cramer's rule)
In this lesson you will find typical examples on solution the systems of three linear equations in three unknowns using determinant (Cramer's rule).
The lesson is a continuation of the lesson HOW TO solve system of linear equations in three unknowns using determinant (Cramer's rule) under the current topic in this site.
Cramer's ruleLet
. (1)
be a system of three linear equations in three unknowns, where , , , , , , , , are coefficients; , and are right side constants; , and are unknowns. To solve the system of linear equations (1) using the Cramer's rule you need
1. to form the coefficient matrix and calculate its determinant D = det .
If the determinant is not zero, then the solution does exist and is unique, and the following steps are applicable.
2. to calculate the first unknown you need to modify the coefficient matrix replacing its first column by the right side column. You get the matrix .
Then calculate the determinant of this modified matrix Dx = det and divide it by the determinant of the coefficient matrix: = .
3. to calculate the second unknown you need to modify the coefficient matrix replacing its second column by the right side column. You get the matrix .
Then calculate the determinant of this modified matrix Dy = det and divide it by the determinant of the coefficient matrix: = .
4. to calculate the third unknown you need to modify the coefficient matrix replacing its third column by the right side column. You get the matrix .
Then calculate the determinant of this modified matrix Dy = det and divide it by the determinant of the coefficient matrix: = .
At this stage the solution is completed.
Thus , , . (2)
Example 1Solve the system using the Cramer's rule
.
Solution
The coefficient matrix is = .
Let us calculate its determinant using co-factoring (expanding) along the first row (see the lesson Co-factoring the determinant of a 3x3 matrix under the current topic):
= 2*det - 2*det + (-1)*det = 2*(-1-(-1)) - 2*(-1-1) + (-1)*(-1-1) = 0 - 2*(-2) + (-1)*(-2) = 0 + 4 + 2 = 6.
The determinant is non-zero, hence, the Cramer's rule is applicable.
Now, let us calculate the determinant of the first modified matrix, which is the numerator of the fraction for . Again, use the determinant expanding along the first row:
= det = 2*det - 2*det + (-1)*det = 2*(-1-(-1)) - 2*(-4-2) + (-1)*(-4 -2) = 0 - 2*(-6) - 1*(-6) = 0 + 12 + 6 = 18.
Next, calculate the determinant of the second modified matrix, which is the numerator of the fraction for . Use the determinant expanding along the first row:
= det = 2*det - 2*det + (-1)*det = 2*(-4-2) - 2*(-1-1) + (-1)*(2-4) = 2*(-6) - 2*(-2) + (-1)*(-2) = -12 +4 + 2 = -6.
At last, calculate the determinant of the third modified matrix, which is the numerator of the fraction for . Use the determinant expanding along the first row:
= det = 2*det - 2*det + 2*det = 2*(2+4) - 2*(2-4) + 2*(-1-1) = 2*6 - 2*(-2) + 2*(-2) = 12.
Hence, = = = , = = = and = = = .
You can easily check this solution by substituting the found values into the original system of equations. The solution is unique.
Answer. = , = and = .
Example 2Solve the system using the Cramer's rule
.
Solution
Let us rewrite the system using zero coefficients for variables that are not shown
.
The coefficient matrix is = .
Let us calculate its determinant using co-factoring (expanding) along the first row (see the lesson Co-factoring the determinant of a 3x3 matrix under the current topic):
= 0*det - 1*det + (-2)*det = 0 - 1*(1-0) + (-2)*(0+3) = 0 - 1 - 6 = -7.
The determinant is non-zero, hence, the Cramer's rule is applicable.
Now, let us calculate the determinant of the first modified matrix, which is the numerator of the fraction for . Again, use the determinant expanding along the first row:
= det = (-3)*det - 1*det + (-2)*det = (-3)*(-1) - 1*2 + (-2)*11 = 3 - 2 - 22 = -21.
Next, calculate the determinant of the second modified matrix, which is the numerator of the fraction for . Use the determinant expanding along the first row:
= det = 0*det - (-3)*det + (-2)*det = 0 - (-3)*1 + (-2)*(11-6) = 0 + 3 + (-2)*5 = 3 - 10 = -7.
At last, calculate the determinant of the third modified matrix, which is the numerator of the fraction for . Use the determinant expanding along the first row:
= det = 0*det - 1*det + (-3)*det = 0 - 1*(11-6) + (-3)*3 = 0 - 5 - 9 = -14.
Hence, = = = , = = = and = = = .
You can easily check this solution by substituting the found values into the original system of equations. The solution is unique.
Answer. = , = and = .
Example 3Solve the system using the Cramer's rule
.
Solution
Notice that all right side terms are zeroes in the given system of equations. Such systems with the zero right side terms are called homogeneous systems.
The coefficient matrix is = .
Let us calculate its determinant using co-factoring (expanding) along the first row (see the lesson Co-factoring the determinant of a 3x3 matrix under the current topic):
= 1*det - 1*det + 1*det = 1*((-1)*(-2)-(-3)*1) - 1*(1*(-2)-1*(-3)) + 1*(1-(-1)) = 5 - 1 + 2 = 6.
The determinant is non-zero, hence, the Cramer's rule is applicable.
Now, the first modified matrix has the first column consisting of zeroes. If you calculate its determinant using co-factoring along the first column, you will get all the expanding terms equal to zero. Hence, the first modified matrix has the zero determinant.
Similarly, the second and the third modified matrices also have the zero determinants.
It implies that the given system of equations has the zero solution, and this solution is unique.
Answer. = , = and = .
Based on this example, you cam make a general conclusion that a homogeneous system of linear equations with non-zero determinant has only zero solution.
To complete this lesson, I will show you that sometimes the Cramer's rule can help you to solve even non-linear (!) systems of equations!
. . . Of course, if the given non-linear system of equations can be reduced to the linear one after replacing the unknowns :)
Below is an example.
Example 4Solve the system of three non-linear equations in three unknowns
+ - = ,
- + + = ,
+ + = .
Solution
Let us introduce new variables = , = and = .
Then the given system of non-linear equations is reduced to the linear one:
The coefficient matrix is . Its determinant is 1*1*1 + 1*1*1 + 1*(-1)*(-1) - 1*1*(-1) - 1*1*1 - (-1)*1*1 = 1 + 1 + 1 + 1 - 1 + 1 = 4.
The determinant is non-zero. Hence, the Cramer's rule is applicable.
Let us calculate the determinant of the first modified matrix, which is the numerator of the fraction for . Use the determinant expanding along the first row:
= det = 4*det - 1*det + (-1)*det = 4*(1-1) - 1*(6-8) - 1*(6-8) = 0 + 2 + 2 = 4.
Now, let us calculate the determinant of the second modified matrix, which is the numerator of the fraction for . Use the determinant expanding along the first row:
= det = 1*det - 4*det + (-1)*det = 1*(6-8) - 4*(-1-1) + (-1)*(-8-6) = -2 + 8 + 14 = 20.
At last, let us calculate the determinant of the third modified matrix, which is the numerator of the fraction for . Again, use the determinant expanding along the first row:
= det = 1*det - 1*det + 4*det = 1*(8-6) - 1*(-8-6) + 4*(-1-1) = 2 + 14 - 8 = 8.
Hence, = = = , = = = and = = = .
Therefore, = = , = = and = = .
You can easily check this solution by substituting the found values into the original system of equations. The solution is unique.
Answer. = , = and = .
My lessons in this site on determinants of 3x3-matrices and the Cramer's rule for solving systems of linear equations in three unknowns are
- Determinant of a 3x3 matrix
- Co-factoring the determinant of a 3x3 matrix
- HOW TO solve system of linear equations in three unknowns using determinant (Cramer's rule)
- Solving word problems by reducing to systems of linear equations in three unknowns
- The tricks to solve some word problems with three and more unknowns using mental math
- Solving systems of non-linear equations in three unknowns using Cramer's rule
- Sometime two equations are enough to find three unknowns by an UNIQUE way
- Two very different approaches to one word problem
- Solving word problems in three unknowns by the backward method
- Solving system of linear equation in 17 unknowns
- Solving system of linear equation in 19 unknowns
- OVERVIEW of LESSONS on determinants of 3x3-matrices and Cramer's rule for systems in 3 unknowns
under the current topic Matrices, determinant, Cramer rule of the section Algebra-II.
My other lessons in this site on solving systems of linear equations in three unknowns are
- Solving systems of linear equations in 3 unknowns by the Substitution method,
- BRIEFLY on solving systems of linear equations in 3 unknowns by the Substitution method,
- Solving systems of linear equations in 3 unknowns by the Elimination method and
- BRIEFLY on solving systems of linear equations in 3 unknowns by the Elimination method
under the current topic Matrices, determinant, Cramer rule of the section Algebra-II.
Use this file/link ALGEBRA-II - YOUR ONLINE TEXTBOOK to navigate over all topics and lessons of the online textbook ALGEBRA-II.
This lesson has been accessed 2700 times.
|
| |