Learn on PengiOpenstax Intermediate Algebra 2EChapter 4: Systems of Linear Equations

Lesson 4.6: Solve Systems of Equations Using Determinants

In this lesson from OpenStax Intermediate Algebra 2E, students learn how to evaluate the determinant of 2×2 and 3×3 matrices and apply Cramer's Rule to solve systems of linear equations. The lesson introduces key concepts including square matrices, minors, and expansion by minors, building the algebraic foundation needed to use determinants as a solution method. This content is appropriate for intermediate algebra students at the high school or early college level.

Section 1

📘 Solve Systems of Equations Using Determinants

New Concept

We'll explore determinants, unique real numbers associated with square matrices. You'll learn to calculate these for 2×22 \times 2 and 3×33 \times 3 matrices and apply this skill using Cramer's Rule to efficiently solve systems of linear equations.

What’s next

First, we'll master calculating determinants for 2×22 \times 2 matrices. You’ll then practice with interactive examples and short videos before tackling larger systems.

Section 2

Determinant of a 2x2 Matrix

Property

The determinant of any square matrix [abcd]\begin{bmatrix} a & b \\ c & d \end{bmatrix}, where a,b,c,da, b, c, d are real numbers, is

abcd=adbc\left| \begin{matrix} a & b \\ c & d \end{matrix} \right| = ad - bc

Examples

  • To evaluate the determinant of [5243]\begin{bmatrix} 5 & 2 \\ 4 & 3 \end{bmatrix}, we calculate 5243=(5)(3)(2)(4)=158=7\left| \begin{matrix} 5 & 2 \\ 4 & 3 \end{matrix} \right| = (5)(3) - (2)(4) = 15 - 8 = 7.
  • To evaluate the determinant of [1325]\begin{bmatrix} -1 & -3 \\ 2 & 5 \end{bmatrix}, we calculate 1325=(1)(5)(3)(2)=5(6)=1\left| \begin{matrix} -1 & -3 \\ 2 & 5 \end{matrix} \right| = (-1)(5) - (-3)(2) = -5 - (-6) = 1.

Section 3

Minor of an Entry

Property

The minor of an entry in a 3×33 \times 3 determinant is the 2×22 \times 2 determinant found by eliminating the row and column in the 3×33 \times 3 determinant that contains the entry.

Examples

For the determinant 123456789\left| \begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{matrix} \right|:

  • The minor of entry a1a_1 (the 1) is found by removing the first row and first column, leaving 5689=4548=3\left| \begin{matrix} 5 & 6 \\ 8 & 9 \end{matrix} \right| = 45 - 48 = -3.

Section 4

Evaluate a 3x3 Determinant

Property

To evaluate a 3×33 \times 3 determinant by expanding by minors along the first row, use the pattern:

a1b1c1a2b2c2a3b3c3=a1b2c2b3c3b1a2c2a3c3+c1a2b2a3b3\left| \begin{matrix} a_1 & b_1 & c_1 \\ a_2 & b_2 & c_2 \\ a_3 & b_3 & c_3 \end{matrix} \right| = a_1 \left| \begin{matrix} b_2 & c_2 \\ b_3 & c_3 \end{matrix} \right| - b_1 \left| \begin{matrix} a_2 & c_2 \\ a_3 & c_3 \end{matrix} \right| + c_1 \left| \begin{matrix} a_2 & b_2 \\ a_3 & b_3 \end{matrix} \right|

When expanding by any row or column, use the sign pattern chart:

+++++\begin{matrix} + & - & + \\ - & + & - \\ + & - & + \end{matrix}

Examples

  • Evaluate 102345121\left| \begin{matrix} 1 & 0 & 2 \\ 3 & 4 & 5 \\ 1 & 2 & 1 \end{matrix} \right| by expanding along the first row: 1(410)0(...)+2(64)=6+4=21(4 - 10) - 0(...) + 2(6 - 4) = -6 + 4 = -2.
  • Evaluate 213121042\left| \begin{matrix} 2 & 1 & 3 \\ -1 & 2 & 1 \\ 0 & 4 & -2 \end{matrix} \right| by expanding along the third row: 0(...)4(2(3))+(2)(4(1))=4(1)2(5)=140(...) - 4(-2 - (-3)) + (-2)(4 - (-1)) = -4(1) - 2(5) = -14.

Section 5

Cramer’s Rule for 2x2 Systems

Property

For the system of equations {a1x+b1y=k1a2x+b2y=k2\begin{cases} a_1 x + b_1 y = k_1 \\ a_2 x + b_2 y = k_2 \end{cases}, the solution (x,y)(x, y) can be determined by x=DxDx = \frac{D_x}{D} and y=DyDy = \frac{D_y}{D}. The determinants are:
D=a1b1a2b2D = \left| \begin{matrix} a_1 & b_1 \\ a_2 & b_2 \end{matrix} \right| (coefficients of variables)
Dx=k1b1k2b2D_x = \left| \begin{matrix} k_1 & b_1 \\ k_2 & b_2 \end{matrix} \right| (replace x-coefficients with constants)
Dy=a1k1a2k2D_y = \left| \begin{matrix} a_1 & k_1 \\ a_2 & k_2 \end{matrix} \right| (replace y-coefficients with constants)

Examples

  • Solve {x+2y=53xy=1\begin{cases} x + 2y = 5 \\ 3x - y = 1 \end{cases}. We find D=7D = -7, Dx=7D_x = -7, and Dy=14D_y = -14. So, x=77=1x = \frac{-7}{-7} = 1 and y=147=2y = \frac{-14}{-7} = 2. The solution is (1,2)(1, 2).
  • Solve {2x+3y=7x+y=3\begin{cases} 2x + 3y = 7 \\ x + y = 3 \end{cases}. We find D=1D = -1, Dx=2D_x = -2, and Dy=1D_y = -1. So, x=21=2x = \frac{-2}{-1} = 2 and y=11=1y = \frac{-1}{-1} = 1. The solution is (2,1)(2, 1).

Section 6

Cramer’s Rule for 3x3 Systems

Property

For a system of three equations, the solution (x,y,z)(x, y, z) can be determined by x=DxDx = \frac{D_x}{D}, y=DyDy = \frac{D_y}{D}, and z=DzDz = \frac{D_z}{D}. The determinant DD is formed from the variable coefficients. The determinants Dx,Dy,D_x, D_y, and DzD_z are formed by replacing the corresponding variable's column with the constants.

Examples

  • For the system {x+y+z=62xy+z=3x+2yz=2\begin{cases} x+y+z=6 \\ 2x-y+z=3 \\ x+2y-z=2 \end{cases}, we find D=9,Dx=9,Dy=18,Dz=27D = -9, D_x = -9, D_y = -18, D_z = -27. The solution is (1,2,3)(1, 2, 3).
  • For the system {x+y=1y+z=1x+z=2\begin{cases} x+y=1 \\ y+z=1 \\ x+z=2 \end{cases}, we find D=2,Dx=2,Dy=0,Dz=2D = 2, D_x = 2, D_y = 0, D_z = 2. The solution is (1,0,1)(1, 0, 1).

Section 7

Dependent and Inconsistent Systems

Property

For a system of equations, if the determinant D=0D = 0:

  • If Dx,Dy,D_x, D_y, and DzD_z are all zero, the system is consistent and dependent and there are infinitely many solutions.
  • If D=0D = 0 and at least one of Dx,Dy,D_x, D_y, or DzD_z is not zero, the system is inconsistent and there is no solution.

Examples

  • For {x2y=32x+4y=1\begin{cases} x - 2y = 3 \\ -2x + 4y = 1 \end{cases}, D=0D=0 and Dx=14D_x = 14. Since Dx0D_x \neq 0, the system is inconsistent and has no solution.
  • For {3x+y=26x+2y=4\begin{cases} 3x + y = 2 \\ 6x + 2y = 4 \end{cases}, D=0D=0, Dx=0D_x=0, and Dy=0D_y=0. Since all determinants are zero, the system is dependent and has infinite solutions.

Section 8

Test for Collinear Points

Property

Three points (x1,y1)(x_1, y_1), (x2,y2)(x_2, y_2), and (x3,y3)(x_3, y_3) are collinear if and only if

x1y11x2y21x3y31=0\left| \begin{matrix} x_1 & y_1 & 1 \\ x_2 & y_2 & 1 \\ x_3 & y_3 & 1 \end{matrix} \right| = 0

Examples

  • Are the points (1,2)(1, 2), (3,6)(3, 6), and (5,10)(5, 10) collinear? The determinant 1213615101=0\left| \begin{matrix} 1 & 2 & 1 \\ 3 & 6 & 1 \\ 5 & 10 & 1 \end{matrix} \right| = 0. Yes, they are collinear.
  • Are the points (0,0)(0, 0), (1,3)(1, 3), and (2,5)(2, 5) collinear? The determinant 001131251=1\left| \begin{matrix} 0 & 0 & 1 \\ 1 & 3 & 1 \\ 2 & 5 & 1 \end{matrix} \right| = -1. No, they are not collinear.

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 4: Systems of Linear Equations

  1. Lesson 1

    Lesson 4.1: Solve Systems of Linear Equations with Two Variables

  2. Lesson 2

    Lesson 4.2: Solve Applications with Systems of Equations

  3. Lesson 3

    Lesson 4.3: Solve Mixture Applications with Systems of Equations

  4. Lesson 4

    Lesson 4.4: Solve Systems of Equations with Three Variables

  5. Lesson 5

    Lesson 4.5: Solve Systems of Equations Using Matrices

  6. Lesson 6Current

    Lesson 4.6: Solve Systems of Equations Using Determinants

  7. Lesson 7

    Lesson 4.7: Graphing Systems of Linear Inequalities

Lesson overview

Expand to review the lesson summary and core properties.

Expand

Section 1

📘 Solve Systems of Equations Using Determinants

New Concept

We'll explore determinants, unique real numbers associated with square matrices. You'll learn to calculate these for 2×22 \times 2 and 3×33 \times 3 matrices and apply this skill using Cramer's Rule to efficiently solve systems of linear equations.

What’s next

First, we'll master calculating determinants for 2×22 \times 2 matrices. You’ll then practice with interactive examples and short videos before tackling larger systems.

Section 2

Determinant of a 2x2 Matrix

Property

The determinant of any square matrix [abcd]\begin{bmatrix} a & b \\ c & d \end{bmatrix}, where a,b,c,da, b, c, d are real numbers, is

abcd=adbc\left| \begin{matrix} a & b \\ c & d \end{matrix} \right| = ad - bc

Examples

  • To evaluate the determinant of [5243]\begin{bmatrix} 5 & 2 \\ 4 & 3 \end{bmatrix}, we calculate 5243=(5)(3)(2)(4)=158=7\left| \begin{matrix} 5 & 2 \\ 4 & 3 \end{matrix} \right| = (5)(3) - (2)(4) = 15 - 8 = 7.
  • To evaluate the determinant of [1325]\begin{bmatrix} -1 & -3 \\ 2 & 5 \end{bmatrix}, we calculate 1325=(1)(5)(3)(2)=5(6)=1\left| \begin{matrix} -1 & -3 \\ 2 & 5 \end{matrix} \right| = (-1)(5) - (-3)(2) = -5 - (-6) = 1.

Section 3

Minor of an Entry

Property

The minor of an entry in a 3×33 \times 3 determinant is the 2×22 \times 2 determinant found by eliminating the row and column in the 3×33 \times 3 determinant that contains the entry.

Examples

For the determinant 123456789\left| \begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{matrix} \right|:

  • The minor of entry a1a_1 (the 1) is found by removing the first row and first column, leaving 5689=4548=3\left| \begin{matrix} 5 & 6 \\ 8 & 9 \end{matrix} \right| = 45 - 48 = -3.

Section 4

Evaluate a 3x3 Determinant

Property

To evaluate a 3×33 \times 3 determinant by expanding by minors along the first row, use the pattern:

a1b1c1a2b2c2a3b3c3=a1b2c2b3c3b1a2c2a3c3+c1a2b2a3b3\left| \begin{matrix} a_1 & b_1 & c_1 \\ a_2 & b_2 & c_2 \\ a_3 & b_3 & c_3 \end{matrix} \right| = a_1 \left| \begin{matrix} b_2 & c_2 \\ b_3 & c_3 \end{matrix} \right| - b_1 \left| \begin{matrix} a_2 & c_2 \\ a_3 & c_3 \end{matrix} \right| + c_1 \left| \begin{matrix} a_2 & b_2 \\ a_3 & b_3 \end{matrix} \right|

When expanding by any row or column, use the sign pattern chart:

+++++\begin{matrix} + & - & + \\ - & + & - \\ + & - & + \end{matrix}

Examples

  • Evaluate 102345121\left| \begin{matrix} 1 & 0 & 2 \\ 3 & 4 & 5 \\ 1 & 2 & 1 \end{matrix} \right| by expanding along the first row: 1(410)0(...)+2(64)=6+4=21(4 - 10) - 0(...) + 2(6 - 4) = -6 + 4 = -2.
  • Evaluate 213121042\left| \begin{matrix} 2 & 1 & 3 \\ -1 & 2 & 1 \\ 0 & 4 & -2 \end{matrix} \right| by expanding along the third row: 0(...)4(2(3))+(2)(4(1))=4(1)2(5)=140(...) - 4(-2 - (-3)) + (-2)(4 - (-1)) = -4(1) - 2(5) = -14.

Section 5

Cramer’s Rule for 2x2 Systems

Property

For the system of equations {a1x+b1y=k1a2x+b2y=k2\begin{cases} a_1 x + b_1 y = k_1 \\ a_2 x + b_2 y = k_2 \end{cases}, the solution (x,y)(x, y) can be determined by x=DxDx = \frac{D_x}{D} and y=DyDy = \frac{D_y}{D}. The determinants are:
D=a1b1a2b2D = \left| \begin{matrix} a_1 & b_1 \\ a_2 & b_2 \end{matrix} \right| (coefficients of variables)
Dx=k1b1k2b2D_x = \left| \begin{matrix} k_1 & b_1 \\ k_2 & b_2 \end{matrix} \right| (replace x-coefficients with constants)
Dy=a1k1a2k2D_y = \left| \begin{matrix} a_1 & k_1 \\ a_2 & k_2 \end{matrix} \right| (replace y-coefficients with constants)

Examples

  • Solve {x+2y=53xy=1\begin{cases} x + 2y = 5 \\ 3x - y = 1 \end{cases}. We find D=7D = -7, Dx=7D_x = -7, and Dy=14D_y = -14. So, x=77=1x = \frac{-7}{-7} = 1 and y=147=2y = \frac{-14}{-7} = 2. The solution is (1,2)(1, 2).
  • Solve {2x+3y=7x+y=3\begin{cases} 2x + 3y = 7 \\ x + y = 3 \end{cases}. We find D=1D = -1, Dx=2D_x = -2, and Dy=1D_y = -1. So, x=21=2x = \frac{-2}{-1} = 2 and y=11=1y = \frac{-1}{-1} = 1. The solution is (2,1)(2, 1).

Section 6

Cramer’s Rule for 3x3 Systems

Property

For a system of three equations, the solution (x,y,z)(x, y, z) can be determined by x=DxDx = \frac{D_x}{D}, y=DyDy = \frac{D_y}{D}, and z=DzDz = \frac{D_z}{D}. The determinant DD is formed from the variable coefficients. The determinants Dx,Dy,D_x, D_y, and DzD_z are formed by replacing the corresponding variable's column with the constants.

Examples

  • For the system {x+y+z=62xy+z=3x+2yz=2\begin{cases} x+y+z=6 \\ 2x-y+z=3 \\ x+2y-z=2 \end{cases}, we find D=9,Dx=9,Dy=18,Dz=27D = -9, D_x = -9, D_y = -18, D_z = -27. The solution is (1,2,3)(1, 2, 3).
  • For the system {x+y=1y+z=1x+z=2\begin{cases} x+y=1 \\ y+z=1 \\ x+z=2 \end{cases}, we find D=2,Dx=2,Dy=0,Dz=2D = 2, D_x = 2, D_y = 0, D_z = 2. The solution is (1,0,1)(1, 0, 1).

Section 7

Dependent and Inconsistent Systems

Property

For a system of equations, if the determinant D=0D = 0:

  • If Dx,Dy,D_x, D_y, and DzD_z are all zero, the system is consistent and dependent and there are infinitely many solutions.
  • If D=0D = 0 and at least one of Dx,Dy,D_x, D_y, or DzD_z is not zero, the system is inconsistent and there is no solution.

Examples

  • For {x2y=32x+4y=1\begin{cases} x - 2y = 3 \\ -2x + 4y = 1 \end{cases}, D=0D=0 and Dx=14D_x = 14. Since Dx0D_x \neq 0, the system is inconsistent and has no solution.
  • For {3x+y=26x+2y=4\begin{cases} 3x + y = 2 \\ 6x + 2y = 4 \end{cases}, D=0D=0, Dx=0D_x=0, and Dy=0D_y=0. Since all determinants are zero, the system is dependent and has infinite solutions.

Section 8

Test for Collinear Points

Property

Three points (x1,y1)(x_1, y_1), (x2,y2)(x_2, y_2), and (x3,y3)(x_3, y_3) are collinear if and only if

x1y11x2y21x3y31=0\left| \begin{matrix} x_1 & y_1 & 1 \\ x_2 & y_2 & 1 \\ x_3 & y_3 & 1 \end{matrix} \right| = 0

Examples

  • Are the points (1,2)(1, 2), (3,6)(3, 6), and (5,10)(5, 10) collinear? The determinant 1213615101=0\left| \begin{matrix} 1 & 2 & 1 \\ 3 & 6 & 1 \\ 5 & 10 & 1 \end{matrix} \right| = 0. Yes, they are collinear.
  • Are the points (0,0)(0, 0), (1,3)(1, 3), and (2,5)(2, 5) collinear? The determinant 001131251=1\left| \begin{matrix} 0 & 0 & 1 \\ 1 & 3 & 1 \\ 2 & 5 & 1 \end{matrix} \right| = -1. No, they are not collinear.

Book overview

Jump across lessons in the current chapter without opening the full course modal.

Continue this chapter

Chapter 4: Systems of Linear Equations

  1. Lesson 1

    Lesson 4.1: Solve Systems of Linear Equations with Two Variables

  2. Lesson 2

    Lesson 4.2: Solve Applications with Systems of Equations

  3. Lesson 3

    Lesson 4.3: Solve Mixture Applications with Systems of Equations

  4. Lesson 4

    Lesson 4.4: Solve Systems of Equations with Three Variables

  5. Lesson 5

    Lesson 4.5: Solve Systems of Equations Using Matrices

  6. Lesson 6Current

    Lesson 4.6: Solve Systems of Equations Using Determinants

  7. Lesson 7

    Lesson 4.7: Graphing Systems of Linear Inequalities