Simultaneous Equations Solver

Solve a system of two linear equations with two unknowns using Cramer's rule. Enter coefficients for a1*x + b1*y = c1 and a2*x + b2*y = c2.

X Val

1.000000

Det-14.0000

How to Solve Simultaneous Equations

Cramer's Rule for 2×2 Systems

Given:

  • a₁x + b₁y = c₁
  • a₂x + b₂y = c₂
  • Determinant D = a₁b₂ - a₂b₁

    x = (c₁b₂ - c₂b₁) / D

    y = (a₁c₂ - a₂c₁) / D

    If D = 0, the system has no unique solution (the lines are parallel or identical).

    Example Calculation

    Solve: 2x + 3y = 8 and 4x - y = 2.

    1. 01D = (2)(-1) - (4)(3) = -2 - 12 = -14
    2. 02x = (8×(-1) - 2×3) / (-14) = (-8 - 6) / (-14) = -14 / -14 = 1
    3. 03y = (2×2 - 4×8) / (-14) = (4 - 32) / (-14) = -28 / -14 = 2
    4. 04Solution: x = 1, y = 2

    Frequently Asked Questions

    Learn More

    How to Calculate Percentages - Complete Guide

    Learn how to calculate percentages step by step. Covers finding a percentage of a number, percentage change, reverse percentages, and real-world applications.

    Related Calculators