2x2 System of Equations Solver
Solve a 2x2 system of linear equations with Cramer's rule, determinants, solution classification, fractions, and substitution check.
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.
| Column | What to enter |
|---|---|
| First column | coefficient of x |
| Second column | coefficient of y |
| Third column | constant on the right side |
- Enter the coefficients for both equations
- Compute the main determinant
- Compute the x and y replacement determinants
- Divide by the main determinant when it is not zero
- 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 test | Result | Graph meaning |
|---|---|---|
| Main determinant is nonzero | One solution | Lines intersect |
| All determinants are zero | Infinitely many solutions | Lines coincide |
| Main determinant is zero and a replacement determinant is nonzero | No solution | Lines 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 when | Use free-form input when |
|---|---|
| The coefficients are already known | You need to paste full equations |
| You want a quick Cramer's rule calculation | You need parentheses expanded |
| The system is already linear | The expression still needs algebra cleanup |
Geometric meaning
Frequently Asked Questions
Sources and References
Calculations are based on the listed reference sources. Links open in a new tab.
Related Tools
Solve two linear equations in x and y from full equation input. Supports parentheses, fractions, Cramer's rule steps, graph, and substitution check.
Solve a 3x3 system of linear equations by coefficients with Cramer's rule, Gaussian elimination steps, classification, and answer check.
Solve one-variable linear equations with steps, fractions, parentheses, domain restrictions, and an answer check.