Fiveable

๐Ÿ“˜Intermediate Algebra Unit 4 Review

QR code for Intermediate Algebra practice questions

4.6 Solve Systems of Equations Using Determinants

4.6 Solve Systems of Equations Using Determinants

Written by the Fiveable Content Team โ€ข Last updated August 2025
Written by the Fiveable Content Team โ€ข Last updated August 2025
๐Ÿ“˜Intermediate Algebra
Unit & Topic Study Guides

Solving Systems of Equations Using Determinants

Determinants give you a formula-based way to solve systems of linear equations without graphing or substitution. The technique, called Cramer's Rule, uses ratios of determinants to find each variable directly. This section covers how to calculate determinants for 2ร—2 and 3ร—3 matrices, how to apply Cramer's Rule, and how to interpret what the determinant tells you about a system's solutions.

Calculation of Matrix Determinants

A determinant is a single number calculated from a square matrix. You'll need to know how to compute determinants for both 2ร—2 and 3ร—3 matrices.

2ร—2 Determinant:

โˆฃabcdโˆฃ=adโˆ’bc\begin{vmatrix}a & b \\ c & d\end{vmatrix} = ad - bc

Multiply the top-left and bottom-right entries, then subtract the product of the top-right and bottom-left entries. Think of it as "main diagonal minus off diagonal."

For example, given โˆฃ3524โˆฃ\begin{vmatrix}3 & 5 \\ 2 & 4\end{vmatrix}:

D=(3)(4)โˆ’(5)(2)=12โˆ’10=2D = (3)(4) - (5)(2) = 12 - 10 = 2

3ร—3 Determinant:

โˆฃabcdefghiโˆฃ=a(eiโˆ’fh)โˆ’b(diโˆ’fg)+c(dhโˆ’eg)\begin{vmatrix}a & b & c \\ d & e & f \\ g & h & i\end{vmatrix} = a(ei - fh) - b(di - fg) + c(dh - eg)

This is called expansion along the first row (also known as cofactor expansion). Here's how it works step by step:

  1. Take each element in the first row (aa, bb, cc) one at a time.
  2. For each element, cross out its row and column. The remaining 2ร—2 matrix is called its minor.
  3. Calculate the determinant of that 2ร—2 minor.
  4. Multiply the element by its minor's determinant, applying alternating signs: +a(minor)+a(\text{minor}), โˆ’b(minor)-b(\text{minor}), +c(minor)+c(\text{minor}).
  5. Add the three results together.

The alternating sign pattern comes from the cofactor formula (โˆ’1)i+j(-1)^{i+j}, where ii and jj are the row and column of the element. For the first row, this gives +,โˆ’,++, -, +.

Calculation of matrix determinants, Solve Systems of Equations Using Determinants โ€“ Intermediate Algebra

Application of Cramer's Rule

Cramer's Rule states that for a system of nn equations with nn unknowns, each variable can be found using:

xi=DiDx_i = \frac{D_i}{D}

where DD is the determinant of the coefficient matrix and DiD_i is the determinant of the matrix formed by replacing the ii-th column with the constants from the right-hand side.

Steps to solve a 2ร—2 system using Cramer's Rule:

Consider the system:

a1x+b1y=c1a_1x + b_1y = c_1

a2x+b2y=c2a_2x + b_2y = c_2

  1. Write the system in standard form (variables on the left, constants on the right).
  2. Form the coefficient matrix using only the coefficients of xx and yy: D=โˆฃa1b1a2b2โˆฃD = \begin{vmatrix}a_1 & b_1 \\ a_2 & b_2\end{vmatrix}
  3. Calculate DD. If D=0D = 0, stop here (Cramer's Rule doesn't apply; see the interpretation section below).
  4. Form DxD_x by replacing the xx-column (first column) with the constants: Dx=โˆฃc1b1c2b2โˆฃD_x = \begin{vmatrix}c_1 & b_1 \\ c_2 & b_2\end{vmatrix}
  5. Form DyD_y by replacing the yy-column (second column) with the constants: Dy=โˆฃa1c1a2c2โˆฃD_y = \begin{vmatrix}a_1 & c_1 \\ a_2 & c_2\end{vmatrix}
  6. Calculate the solutions: x=DxD,y=DyDx = \frac{D_x}{D}, \quad y = \frac{D_y}{D}

Worked example: Solve 3x+2y=163x + 2y = 16 and xโˆ’y=2x - y = 2.

D=โˆฃ321โˆ’1โˆฃ=(3)(โˆ’1)โˆ’(2)(1)=โˆ’3โˆ’2=โˆ’5D = \begin{vmatrix}3 & 2 \\ 1 & -1\end{vmatrix} = (3)(-1) - (2)(1) = -3 - 2 = -5

Dx=โˆฃ1622โˆ’1โˆฃ=(16)(โˆ’1)โˆ’(2)(2)=โˆ’16โˆ’4=โˆ’20D_x = \begin{vmatrix}16 & 2 \\ 2 & -1\end{vmatrix} = (16)(-1) - (2)(2) = -16 - 4 = -20

Dy=โˆฃ31612โˆฃ=(3)(2)โˆ’(16)(1)=6โˆ’16=โˆ’10D_y = \begin{vmatrix}3 & 16 \\ 1 & 2\end{vmatrix} = (3)(2) - (16)(1) = 6 - 16 = -10

x=โˆ’20โˆ’5=4,y=โˆ’10โˆ’5=2x = \frac{-20}{-5} = 4, \quad y = \frac{-10}{-5} = 2

The solution is (4,2)(4, 2). You can verify by plugging back in: 3(4)+2(2)=163(4) + 2(2) = 16 โœ“ and 4โˆ’2=24 - 2 = 2 โœ“.

The same process extends to 3ร—3 systems with three variables (x,y,zx, y, z). You'd compute four determinants: DD, DxD_x, DyD_y, and DzD_z, each time replacing the appropriate column with the constants.

Calculation of matrix determinants, Solve Systems of Equations Using Matrices ยท Intermediate Algebra

Interpretation of Determinant Values

The value of DD (the coefficient matrix determinant) tells you what kind of solution the system has:

  • If Dโ‰ 0D \neq 0: The system has exactly one unique solution. Cramer's Rule gives you that solution directly.
  • If D=0D = 0 and all Dx,Dy,โ€ฆD_x, D_y, \ldots are also zero: The system has infinitely many solutions. The equations describe the same line (2ร—2) or overlapping planes (3ร—3), so they're dependent.
  • If D=0D = 0 but at least one of Dx,Dy,โ€ฆD_x, D_y, \ldots is non-zero: The system has no solution. The equations are inconsistent (think parallel lines that never intersect).

The key takeaway: always check DD first. If it's zero, you can't use Cramer's Rule to find a single answer, but the zero itself is useful information about the system.

Real-World Determinant Problem Solving

Word problems follow the same process, with an extra setup step at the beginning:

  1. Identify the unknowns and assign variables (e.g., xx = price of item A, yy = price of item B).
  2. Translate the given relationships into equations in standard form.
  3. Apply Cramer's Rule to solve the system.
  4. Interpret your answer in context. Check that the values make sense (prices should be positive, quantities should be whole numbers if counting items, etc.).

For example, if 2 shirts and 3 hats cost $52, and 4 shirts and 1 hat cost $68, you'd set up 2x+3y=522x + 3y = 52 and 4x+y=684x + y = 68, then solve using determinants.

Alternative Methods for Solving Systems

Cramer's Rule isn't the only determinant-related method. Two common alternatives:

  • Gaussian elimination transforms the augmented matrix into row echelon form through systematic row operations. It's often more efficient for larger systems (4+ variables).
  • Inverse matrix method solves Ax=bAx = b by computing x=Aโˆ’1bx = A^{-1}b, where Aโˆ’1A^{-1} is the inverse of the coefficient matrix. This only works when Aโˆ’1A^{-1} exists, which happens exactly when Dโ‰ 0D \neq 0.

For the 2ร—2 and 3ร—3 systems you'll see in this course, Cramer's Rule is a reliable and direct approach. The alternatives become more practical as systems grow larger.