Course contentsShow
← Mathematics
Lesson 1299 of 3,12130. Matrices (Precalculus)Free lesson

Cramer's Rule for Solving Systems

Solve systems of linear equations using determinants via Cramer's rule for small systems.

Cramer's Rule for Solving Systems

What You'll Learn

You'll learn how to solve small systems of linear equations using determinants and Cramer's Rule—a formula-based shortcut that skips row operations.

The Core Idea

Imagine you have a system of equations like:

2x + 3y = 8
x - y = -1

Instead of using substitution or elimination, Cramer's Rule gives you a direct formula using determinants. It works like this:

For a system in the form:

ax + by = e
cx + dy = f

The solutions are:

  • x = Dₓ / D
  • y = Dᵧ / D

where:

  • D = determinant of the coefficient matrix (the numbers multiplying x and y)
  • Dₓ = determinant when you replace the x-column with the constants (e, f)
  • Dᵧ = determinant when you replace the y-column with the constants

Example Walkthrough

For our system above:

Coefficient matrix determinant D:

|2   3|
|1  -1| = (2)(-1) - (3)(1) = -2 - 3 = -5

Dₓ (replace first column with 8, -1):

|8   3|
|-1 -1| = (8)(-1) - (3)(-1) = -8 + 3 = -5

Dᵧ (replace second column with 8, -1):

|2   8|
|1  -1| = (2)(-1) - (8)(1) = -2 - 8 = -10

Therefore:

  • x = Dₓ/D = -5/-5 = 1
  • y = Dᵧ/D = -10/-5 = 2

Important: Cramer's Rule only works when D ≠ 0 (the system has a unique solution).

Key Takeaway: Cramer's Rule uses determinants to solve systems directly: divide modified determinants by the coefficient determinant to find each variable—efficient for small systems!