Learn on PengiOpenStax Algebra and TrigonometryChapter 11: Systems of Equations and Inequalities
Lesson 11.8: Solving Systems with Cramer's Rule
In this Grade 7 math lesson from OpenStax Algebra and Trigonometry, students learn how to evaluate 2×2 and 3×3 determinants and apply Cramer's Rule to solve systems of two and three linear equations. The lesson covers the formula det(A) = ad - bc for a 2×2 matrix and demonstrates how determinants are used to find unique solutions, identify inconsistent systems, and understand matrix invertibility. Part of Chapter 11: Systems of Equations and Inequalities, this lesson builds on prior methods such as substitution and Gaussian elimination by introducing a determinant-based approach.
Section 1
📘 Solving Systems with Cramer's Rule
New Concept
Cramer's Rule offers a formula to solve systems of equations using determinants. You'll find each variable by computing a ratio of determinants, like x=DDx, providing a direct path to the system's unique solution.
What’s next
Next, you’ll master calculating determinants through guided practice. Then, you'll apply this skill in interactive examples to solve systems with Cramer's Rule.
Section 2
Determinant of a 2x2 matrix
Property
The determinant of a 2×2 matrix, given
A=[acbd]
is defined as
det(A)=acbd=ad−cb
There are several ways to indicate the determinant, including det(A) and replacing the brackets in a matrix with straight lines, ∣A∣.
Examples
For the matrix A=[4−215], the determinant is det(A)=(4)(5)−(1)(−2)=20+2=22.
For the matrix B=[037−1], the determinant is det(B)=(0)(−1)−(7)(3)=0−21=−21.
For the matrix C=[−5−1−3−2], the determinant is det(C)=(−5)(−2)−(−3)(−1)=10−3=7.
Explanation
A determinant is a single number calculated from a square matrix. For a 2×2 matrix, it's found by multiplying the main diagonal entries and subtracting the product of the other diagonal entries. This value is key to solving systems.
Section 3
Cramer's Rule for 2x2 Systems
Property
Cramer's Rule is a method that uses determinants to solve systems of equations that have the same number of equations as variables. Consider a system of two linear equations in two variables.
If we are solving for x, the x column is replaced with the constant column. If we are solving for y, the y column is replaced with the constant column.
Examples
Solve the system x+y=3 and 2x−y=0. The determinants are D=−3, Dx=−3, and Dy=−6. The solution is x=−3−3=1 and y=−3−6=2, or (1,2).
Solve the system 3x+2y=7 and x+y=3. The determinants are D=1, Dx=1, and Dy=2. The solution is x=11=1 and y=12=2, or (1,2).
For the system 2x−y=5 and 4x−2y=10, the determinant of the coefficient matrix is D=(2)(−2)−(−1)(4)=0. Since D=0, Cramer's Rule cannot be used to find a unique solution.
Explanation
Cramer's Rule offers a quick way to solve for variables using ratios of determinants. To find x, divide the determinant of the matrix with its x-column replaced by the constants, by the determinant of the original coefficient matrix.
Section 4
Determinant of a 3x3 matrix
Property
To find the determinant of a 3×3 matrix, augment the matrix with the first two columns. Then calculate the sum of the products of entries down each of the three diagonals (upper left to lower right), and subtract the products of entries up each of the three diagonals (lower left to upper right). For A=a1a2a3b1b2b3c1c2c3, the determinant is:
For A=105216340, det(A)=(1(1)(0)+2(4)(5)+3(0)(6))−(5(1)(3)+6(4)(1)+0(0)(2))=40−39=1.
For B=130045206, det(B)=(1(4)(6)+0(0)(0)+2(3)(5))−(0(4)(2)+5(0)(1)+6(3)(0))=54−0=54.
For C=213−1200−1−2, det(C)=(2(2)(−2)+(−1)(−1)(3)+0(1)(0))−(3(2)(0)+0(−1)(2)+(−2)(1)(−1))=−5−2=−7.
Explanation
To find a 3×3 determinant, use the diagonal method. Copy the first two columns to the right side. Add the products of the three downward diagonals and subtract the products of the three upward diagonals for your answer.
For the system x+y+z=6, 2y+5z=−4, 2x+5y−z=27, the coefficient determinant is D=−21. The determinant for x is Dx=−105, so x=−21−105=5.
For the system x+y+z=2, 2x−y−z=1, x+2y−z=4, the coefficient determinant is D=9. The determinant for y is Dy=−9, so y=9−9=−1.
For the system x−y=1, y+z=4, x+z=3, the coefficient determinant is D=−2. The determinant for z is Dz=−6, so z=−2−6=3.
Explanation
This rule extends to 3×3 systems. To find any variable, calculate the determinant of the coefficient matrix where that variable's column is replaced by the constant column. Then, divide this by the determinant of the original coefficient matrix.
Section 6
Properties of Determinants
Property
If the matrix is in upper triangular form, the determinant equals the product of entries down the main diagonal.
When two rows are interchanged, the determinant changes sign.
If either two rows or two columns are identical, the determinant equals zero.
If a matrix contains either a row of zeros or a column of zeros, the determinant equals zero.
The determinant of an inverse matrix A−1 is the reciprocal of the determinant of the matrix A.
If any row or column is multiplied by a constant, the determinant is multiplied by the same factor.
Examples
The matrix A=500920173 is in upper triangular form. By Property 1, its determinant is the product of the diagonal entries: det(A)=5⋅2⋅3=30.
The matrix B=119448557 has two identical rows. By Property 3, its determinant is det(B)=0.
The matrix C=201305809 has a row of zeros. By Property 4, its determinant is det(C)=0.
Explanation
Determinants have special properties that act like calculation shortcuts. For example, if two rows are identical or an entire row is zeros, the determinant is automatically zero. Knowing these rules can save you a lot of time and effort.
Book overview
Jump across lessons in the current chapter without opening the full course modal.
Expand to review the lesson summary and core properties.
Expand
Section 1
📘 Solving Systems with Cramer's Rule
New Concept
Cramer's Rule offers a formula to solve systems of equations using determinants. You'll find each variable by computing a ratio of determinants, like x=DDx, providing a direct path to the system's unique solution.
What’s next
Next, you’ll master calculating determinants through guided practice. Then, you'll apply this skill in interactive examples to solve systems with Cramer's Rule.
Section 2
Determinant of a 2x2 matrix
Property
The determinant of a 2×2 matrix, given
A=[acbd]
is defined as
det(A)=acbd=ad−cb
There are several ways to indicate the determinant, including det(A) and replacing the brackets in a matrix with straight lines, ∣A∣.
Examples
For the matrix A=[4−215], the determinant is det(A)=(4)(5)−(1)(−2)=20+2=22.
For the matrix B=[037−1], the determinant is det(B)=(0)(−1)−(7)(3)=0−21=−21.
For the matrix C=[−5−1−3−2], the determinant is det(C)=(−5)(−2)−(−3)(−1)=10−3=7.
Explanation
A determinant is a single number calculated from a square matrix. For a 2×2 matrix, it's found by multiplying the main diagonal entries and subtracting the product of the other diagonal entries. This value is key to solving systems.
Section 3
Cramer's Rule for 2x2 Systems
Property
Cramer's Rule is a method that uses determinants to solve systems of equations that have the same number of equations as variables. Consider a system of two linear equations in two variables.
If we are solving for x, the x column is replaced with the constant column. If we are solving for y, the y column is replaced with the constant column.
Examples
Solve the system x+y=3 and 2x−y=0. The determinants are D=−3, Dx=−3, and Dy=−6. The solution is x=−3−3=1 and y=−3−6=2, or (1,2).
Solve the system 3x+2y=7 and x+y=3. The determinants are D=1, Dx=1, and Dy=2. The solution is x=11=1 and y=12=2, or (1,2).
For the system 2x−y=5 and 4x−2y=10, the determinant of the coefficient matrix is D=(2)(−2)−(−1)(4)=0. Since D=0, Cramer's Rule cannot be used to find a unique solution.
Explanation
Cramer's Rule offers a quick way to solve for variables using ratios of determinants. To find x, divide the determinant of the matrix with its x-column replaced by the constants, by the determinant of the original coefficient matrix.
Section 4
Determinant of a 3x3 matrix
Property
To find the determinant of a 3×3 matrix, augment the matrix with the first two columns. Then calculate the sum of the products of entries down each of the three diagonals (upper left to lower right), and subtract the products of entries up each of the three diagonals (lower left to upper right). For A=a1a2a3b1b2b3c1c2c3, the determinant is:
For A=105216340, det(A)=(1(1)(0)+2(4)(5)+3(0)(6))−(5(1)(3)+6(4)(1)+0(0)(2))=40−39=1.
For B=130045206, det(B)=(1(4)(6)+0(0)(0)+2(3)(5))−(0(4)(2)+5(0)(1)+6(3)(0))=54−0=54.
For C=213−1200−1−2, det(C)=(2(2)(−2)+(−1)(−1)(3)+0(1)(0))−(3(2)(0)+0(−1)(2)+(−2)(1)(−1))=−5−2=−7.
Explanation
To find a 3×3 determinant, use the diagonal method. Copy the first two columns to the right side. Add the products of the three downward diagonals and subtract the products of the three upward diagonals for your answer.
For the system x+y+z=6, 2y+5z=−4, 2x+5y−z=27, the coefficient determinant is D=−21. The determinant for x is Dx=−105, so x=−21−105=5.
For the system x+y+z=2, 2x−y−z=1, x+2y−z=4, the coefficient determinant is D=9. The determinant for y is Dy=−9, so y=9−9=−1.
For the system x−y=1, y+z=4, x+z=3, the coefficient determinant is D=−2. The determinant for z is Dz=−6, so z=−2−6=3.
Explanation
This rule extends to 3×3 systems. To find any variable, calculate the determinant of the coefficient matrix where that variable's column is replaced by the constant column. Then, divide this by the determinant of the original coefficient matrix.
Section 6
Properties of Determinants
Property
If the matrix is in upper triangular form, the determinant equals the product of entries down the main diagonal.
When two rows are interchanged, the determinant changes sign.
If either two rows or two columns are identical, the determinant equals zero.
If a matrix contains either a row of zeros or a column of zeros, the determinant equals zero.
The determinant of an inverse matrix A−1 is the reciprocal of the determinant of the matrix A.
If any row or column is multiplied by a constant, the determinant is multiplied by the same factor.
Examples
The matrix A=500920173 is in upper triangular form. By Property 1, its determinant is the product of the diagonal entries: det(A)=5⋅2⋅3=30.
The matrix B=119448557 has two identical rows. By Property 3, its determinant is det(B)=0.
The matrix C=201305809 has a row of zeros. By Property 4, its determinant is det(C)=0.
Explanation
Determinants have special properties that act like calculation shortcuts. For example, if two rows are identical or an entire row is zeros, the determinant is automatically zero. Knowing these rules can save you a lot of time and effort.
Book overview
Jump across lessons in the current chapter without opening the full course modal.