2x2 System of Equations Solver

    Solve a 2x2 system of linear equations with Cramer's rule, determinants, solution classification, fractions, and substitution check.

    Enter coefficients for two equations.
    x, row 1
    y, row 1
    constant 1
    x, row 2
    y, row 2
    constant 2
    Virtual keypad for the active cell
    Solution
    x1
    y1
    Main determinant
    -2
    x determinant
    -2
    y determinant
    -2
    Method values
    The calculator computed the main determinant and two replacement determinants. If the main determinant is nonzero, the solution is unique.
    The check substitutes the values back into both equations.

    A 2x2 linear system is solved from two coefficient rows. The calculator shows variable values, determinant checks, and substitution verification.

    How to solve a 2x2 system by coefficients

    This page is built for coefficient input. Each row is already in linear form, so you enter the x coefficient, the y coefficient, and the constant. The calculator applies Cramer's rule, shows the determinants, classifies special cases, and checks the ordered pair.

    x and y are the unknowns; a11, a12, and b1 belong to the first equation.

    a21, a22, and b2 belong to the second equation.

    ColumnWhat to enter
    First columncoefficient of x
    Second columncoefficient of y
    Third columnconstant on the right side
    1. Enter the coefficients for both equations
    2. Compute the main determinant
    3. Compute the x and y replacement determinants
    4. Divide by the main determinant when it is not zero
    5. Check the values in the original equations

    Cramer's rule for two unknowns

    Cramer's rule builds the main determinant from the coefficient matrix. Each replacement determinant swaps one coefficient column with the constants. If the main determinant is nonzero, the ratios give the unique solution.

    Delta is the main determinant of the coefficient matrix.

    Delta x replaces the x column with the constants.

    Delta y replaces the y column with the constants.

    These ratios are valid when Delta is not zero.

    Possible outcomes

    Algebra testResultGraph meaning
    Main determinant is nonzeroOne solutionLines intersect
    All determinants are zeroInfinitely many solutionsLines coincide
    Main determinant is zero and a replacement determinant is nonzeroNo solutionLines are parallel

    Preparing equations for coefficient input

    If your system is written in textbook form, move variable terms to the left and constants to the right before entering the coefficients.

    x and y appear before moving terms.

    x and y after moving terms into coefficient form.

    Use this page whenUse free-form input when
    The coefficients are already knownYou need to paste full equations
    You want a quick Cramer's rule calculationYou need parentheses expanded
    The system is already linearThe expression still needs algebra cleanup
    Coefficient workflow
    This solver focuses on the 2x2 coefficient table. It does not parse full equation text.

    Geometric meaning

    Two lines on a plane
    Each equation represents a line. One solution is the intersection point, infinitely many solutions means the same line, and no solution means parallel lines.

    Frequently Asked Questions

    Sources and References

    Calculations are based on the listed reference sources. Links open in a new tab.

    Updated:

    Related Tools