Cramer's Rule Calculator (2x2)

Solve system using Cramer's Rule.

Result:

--

Cramer's Rule Calculator: Solving Systems with Determinants

Linear algebra provides powerful tools for solving systems of equations. One of the most elegant methods is Cramer's Rule, named after Gabriel Cramer (1750). It uses determinants to find the unique solution for a system where the number of equations equals the number of unknowns. Our 2x2 Cramer's Rule Calculator simplifies this process for you.

The Standard 2x2 System

Consider a system of two linear equations:

a₁x + b₁y = c₁
aâ‚‚x + bâ‚‚y = câ‚‚

How to Use Cramer's Rule

The solution involves calculating three determinants:

1. The Main Determinant (D)

This is formed from the coefficients of the variables x and y.

D = (a₁ * b₂) - (a₂ * b₁)

Important: If D = 0, the system has either no solution (parallel lines) or infinite solutions (same line), and Cramer's Rule cannot be used.

2. The X-Determinant (Dx)

Replace the x-column (a coefficients) with the answer column (c values).

Dx = (c₁ * b₂) - (c₂ * b₁)

3. The Y-Determinant (Dy)

Replace the y-column (b coefficients) with the answer column (c values).

Dy = (a₁ * c₂) - (a₂ * c₁)

The Solution

Once you have the three values, finding x and y is simple division:

  • x = Dx / D
  • y = Dy / D

Example

Let's solve:

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

  • D = (2*-1) - (1*3) = -2 - 3 = -5
  • Dx = (8*-1) - (-1*3) = -8 - (-3) = -5
  • Dy = (2*-1) - (1*8) = -2 - 8 = -10

x = -5 / -5 = 1
y = -10 / -5 = 2

Conclusion

Cramer's Rule is a fantastic method for finding exact solutions without substitution or elimination. Use the Cramer's Rule Calculator to verify your math homework or solve linear problems quickly.