science tinker

Simultaneous equations solver

Type the numbers in front of x and y (and z) for each equation. You get the exact answer, every step of the elimination method, and for two equations a graph of the two straight lines crossing at the solution.

Use whole numbers, decimals or fractions such as 1/2. Type 0 if a letter is missing. Try:

What are simultaneous equations?

Simultaneous equations are two or more equations that are true at the same time. With two unknowns you need two equations. Each linear equation such as 2x + 3y = 13 is a straight line on a graph, so the solution is the point where the lines cross.

The elimination method

Multiply one or both equations so that one letter has the same number in front of it. Then subtract the equations (or add them, if the signs are different) to get rid of that letter. Solve for the letter that is left, then substitute it back into one of the original equations to find the other. Finally, check your answer in both equations.

The substitution method

Rearrange one equation to make x or y the subject, such as y = x − 4, then put that expression into the other equation. This is the best method when one equation is already in the form y = …, and it is the method you need when one equation is not linear, such as x² + y² = 25. Graph such pairs with the graphing calculator.

No solution or infinitely many

If the lines are parallel they never meet, so there is no solution. If both equations describe the same line, every point on it works, so there are infinitely many solutions. In both cases the determinant a₁b₂ − a₂b₁ is 0. The matrix calculator shows how equations like these are written as a matrix and solved with the inverse.

Three unknowns

With x, y and z you need three equations. The solver uses Gaussian elimination: it writes the numbers as a grid (an augmented matrix), clears x from the lower rows, then y, and back-substitutes. Each equation in three unknowns is a flat plane, and the solution is the single point where all three planes meet.

Questions students ask

How do you solve simultaneous equations by elimination?

To solve simultaneous equations by elimination, make the number in front of one letter the same in both equations, subtract (or add) the equations to remove that letter, solve for the other letter, then substitute back.

What does it mean if simultaneous equations have no solution?

If simultaneous equations have no solution, their lines are parallel: they have the same gradient but different intercepts, so they never cross.

How can I check my answer to simultaneous equations?

Put your values of x and y back into both original equations. If both sides are equal in each equation, the answer is right.

Check yourself

3 quick questions. Tap an answer to see if you are right.

1. Solve x + y = 10 and x − y = 4.

2. On a graph, what does the solution of two linear simultaneous equations show?

3. Two lines are parallel. How many solutions are there?

More math tools

Know someone who needs this?

It’s free for every student. Send it to your class group chat.

Updated · Free, no sign-up ·

Connected tools

The same idea from another angle, across the site.