System of Equations Calculator: Substitution, Elimination and Cramer’s Rule

A system of equations asks for the one point that satisfies every equation at once. Type the equations, fill the coefficient grid or load a practice set, and Mathvelo solves it exactly, graphs the lines and shows the elimination, substitution and matrix working side by side.

What Is a System of Equations?

A system of equations is a group of equations that share the same unknowns. Solving it means finding values that make all of them true together. For two unknowns, each equation is a straight line, and the answer is where the lines meet.

How to Use the System of Equations Calculator

  1. Choose Type equations and write one per line, for example x + y = 3 and x - y = 1. Fractions and brackets are fine.
  2. Or choose Coefficient grid and fill in the numbers if the equations are already in standard form.
  3. Read the solution first, then open the elimination, substitution, matrix and Cramer panels to compare the methods. The graph shows the lines for two unknowns.

Three Possible Outcomes: One, None or Infinitely Many

Every linear system lands in one of three groups. The lines cross once, never meet, or lie on top of each other. To see how often each happens, all 1,771,561 systems of two equations with every coefficient from −5 to 5 were classified by determinant.

OutcomeLines look likeShare of systems
One solutionCross at a single point94.3%
No solutionParallel, different intercepts5.3%
Infinitely manyThe same line twice0.4%

Only 17.1% of those systems have whole-number answers, so a textbook that always gives tidy integers is showing a very selective slice. Fractions stay exact, and a zero determinant is reported as inconsistent or dependent.

Elimination, Substitution or Matrices?

MethodBest whenWatch out for
EliminationCoefficients line up or are easy to matchSign slips when subtracting
SubstitutionOne variable already has coefficient 1Messy fractions
Matrix / row reductionThree or more unknownsLong arithmetic by hand
Cramer's ruleYou only need one variableHeavy for 4×4

Here is an honest opinion from classroom practice. Substitution is overrated: it feels natural, yet it breeds fractions the moment no coefficient is 1. Elimination is underrated, because it scales to any size and it is exactly what a matrix does. And the idea that graphing gives the answer is wrong for most systems, since a hand-drawn crossing near (2.3, 1.6) is a guess, not a solution.

Worked Example: A Ticket Problem

Two unknowns from a word problem

A theatre sold 28 tickets for $260. Adult tickets cost $10 and child tickets cost $8. How many of each?

  1. Let a be adults and c be children: a + c = 28 and 10a + 8c = 260.
  2. Multiply the first equation by 8: 8a + 8c = 224.
  3. Subtract it from the second: 2a = 36, so a = 18.
  4. Then c = 28 − 18 = 10.

Answer: 18 adult tickets and 10 child tickets

Plugging back in checks it: 18 + 10 = 28 and 180 + 80 = 260. The calculator shows the same check for every answer.

Original Data: How Often Is There No Solution?

We counted every 2×2 system ax + by = e, cx + dy = f with integer coefficients from −9 to 9. Of the 130,321 coefficient grids a, b, c, d, exactly 3,041 (2.33%) have determinant ad − bc = 0, which means the lines are parallel or identical. For those, we tried every right-hand side from −9 to 9: only 3.3% gave infinitely many solutions, and the other 96.7% gave no solution. So a unique answer is the rule, “no solution” is the usual failure, and “infinite solutions” is rare and needs the equations to be exact multiples of each other.

Our Take: What Is Overrated, Underrated and Plain Wrong

Overrated: graphing as a solving method. It is good for seeing what a system means and poor for exact answers, because you cannot read 7/3 off a hand-drawn grid.

Underrated: computing the determinant ad − bc first. If it is not zero there is exactly one solution, and you can skip the worry about parallel lines.

Plain wrong: the belief that elimination is always faster than substitution. When one equation already says y = 2x + 1, substitution takes one line.

Three Unknowns, Cramer's Rule and a Little History

Three equations in x, y and z describe three planes, and the solution is the single point where they meet. Try x + y + z = 6, 2x − y + z = 3 and x + 2y − z = 2. Row reduction returns (1, 2, 3), and the determinant of the coefficient matrix is nonzero, which guarantees a unique answer.

The method is old. The Chinese text The Nine Chapters on the Mathematical Art solved systems by column elimination (fangcheng) around two thousand years ago, long before matrices had a name. Gabriel Cramer published the determinant rule in 1750.

Why Students Get Stuck on Systems of Equations, and What a Good Calculator Should Do

Searching for help with systems of equations usually starts late at night with one problem that will not work out. Substitution, elimination and Cramer’s rule all work, and the choice is not obvious. A good calculator fixes that by showing each step, checking its own answer and explaining the idea in plain words. This section covers what students struggle with, what they want, and how this page responds.

In short: students need to choose a method and verify the pair in both equations, not just see a final number, and a calculator earns trust only when its steps can be checked.

Understand the frustrations and desires

What they feel, and what they want

Each frustration points to a wish: a clearer step, a built-in check, an explanation in plain words.

  • Wants the best method chosen
  • Wants both equations checked
  • Wants the type of solution explained

Build the page around their intent

Each intent has a place on this page

The page follows intent, not features, so each need has a clear starting point.

  • I need an answer now: type the problem into the calculator at the top of this page.Solve x + y = 10 and x - y = 2
  • I need to understand: the sections below explain the idea in plain words and list the common mistakes.
  • I need to check my work: every step is shown, so the first line that differs from yours is the one to study.
  • I need practice: open the solver, tap + and choose Create Practice Test.
  • I need it explained aloud: in the solver, tap + and choose Create Video.

Systems of Equations: Questions People Ask

What is the easiest way to solve a system of equations?

Use elimination when the coefficients match or are easy to match, and substitution when a variable already stands alone. The calculator shows both so the choice is yours.

How do I know if a system has no solution?

The determinant is zero and the equations disagree, for example x + y = 2 and x + y = 5. The lines are parallel and never meet.

Can it solve three equations with three unknowns?

Yes. It handles up to four unknowns with up to six equations, using exact fractions, and reports unique, none or infinite solutions.

Does it work for word problems?

Yes, once the words are turned into equations. Define a variable for each unknown, write one equation per fact, and enter them.

How do I solve a system of equations by elimination?

Multiply the equations so one variable has opposite coefficients, add the equations to cancel it, solve for the other variable and back-substitute.

How do I know if a system has no solution?

If elimination produces a false statement such as 0 = 5, the lines are parallel and there is no solution. A true statement like 0 = 0 means infinitely many.

Can the calculator solve 3 equations with 3 unknowns?

Yes. It uses elimination or Cramer’s rule and reports a unique solution, no solution, or a line or plane of solutions.

↑