Cramer's Rule for y (2×2 System)

y=a1c2−c1a2a1b2−b1a2y = \frac{a_1 c_2 - c_1 a_2}{a_1 b_2 - b_1 a_2}

Units aren’t used in this calculation: every value is a plain number.

sig figs

Worked example: 2x + 3y = 12, x − y = 1 → y = 2. Press Try an example to run it live, then adjust anything.

Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value.

See also

Cramer's Rule for x (2×2 System): Both use linear system x coefficient and linear system y coefficient.
Learning zone

Cramer's Rule for y (2×2 System) explained

y =a1c1a2c2a1b1a2b2

The companion to Cramer's rule for x: keep the same denominator D = a₁b₂ − b₁a₂, but now replace the y-column of the coefficient matrix with the right-hand sides, giving a₁c₂ − c₁a₂ on top. Worked example: 2x + 3y = 12 and x − y = 1 have D = −5 and numerator 2(1) − 12(1) = −10, so y = −10/−5 = 2, matching the x = 3 the companion page returns.

The pattern generalises cleanly (for three unknowns you replace the third column and divide by a 3×3 determinant) which is what gives the rule its enduring textbook place even though it is computationally hopeless at scale: solving an n×n system this way costs on the order of n! operations against roughly n³ for Gaussian elimination, so a 20×20 system would take longer than the age of the universe. Cramer set it out in 1750 in a book about fitting algebraic curves through given points, which is exactly the kind of small dense system it suits. The traps are clerical: subscripts must stay with their own equation, the denominator is the same for x and y so compute it once, and D = 0 signals parallel lines rather than an arithmetic mistake. A quick check costs nothing: substitute both answers back into the equation you used least.

Cramer's Rule for y (2×2 System) formula

y=a1c2−c1a2a1b2−b1a2y = \frac{a_1 c_2 - c_1 a_2}{a_1 b_2 - b_1 a_2}
Where
  • yy= Value of y
  • a1a_1= x-coefficient, equation 1
  • b1b_1= y-coefficient, equation 1
  • c1c_1= Right-hand side, equation 1
  • a2a_2= x-coefficient, equation 2
  • b2b_2= y-coefficient, equation 2
  • c2c_2= Right-hand side, equation 2
Revised 31 October 2026
Cite this page

formula.expert. (2026, October 31). Cramer's Rule for y (2×2 System) Formula & Calculator. https://formula.expert/solvers/cramers-rule-2x2-y