Skip to content
MasterMath

System of Equations Calculator

Solve two equations in two unknowns and see the check: substituting the answer back must reproduce both constant terms exactly.

Solution

—

Solution—
Determinant of the system—
Type of system—
Determinant of x—
Determinant of y—
Check—

How it was solved

    The formula

    x = Δx ÷ Δ · y = Δy ÷ Δ, with Δ = a₁b₂ − a₂b₁

    Why it works

    Each equation describes a line, so solving the system means finding where the two lines meet. The determinant tells you which of three things happens: a non-zero determinant means they cross at exactly one point, and a zero determinant means they are parallel — either the same line or never meeting at all.

    How to solve it by hand

    1. Work out the determinant: a₁b₂ − a₂b₁
    2. Replace the x column with the constants for Δx
    3. Replace the y column with the constants for Δy
    4. Divide each by the determinant

    What is worth knowing

    The geometry makes the three cases obvious. Two lines in a plane either cross once, lie on top of each other, or run parallel and never meet — there is no fourth option, which is why a system of two equations can never have exactly two solutions. The determinant being zero is the algebraic signal that the lines have the same slope; whether they coincide or not then depends on the constants. Cramer's rule is elegant and fine for two or three unknowns, but it is far too slow for large systems, where elimination is used instead.

    Frequently asked questions

    What does a zero determinant mean?

    The two lines are parallel. Either they are the same line, with infinitely many solutions, or they never meet and there is none.

    Can a system have exactly two solutions?

    No. Two lines cross once, coincide entirely, or never meet. Those are the only possibilities.

    Is Cramer's rule the best method?

    For two or three unknowns it is convenient. For anything larger, Gaussian elimination is far faster.

    How do I check my answer?

    Substitute it into both original equations. Each should reproduce its constant term exactly.