Equation Solver

How many unknowns
Coefficients
a · x
+ b
= c
—

Type your equation and press Solve. The answer and the working behind it will show up here.

— —
Working out

Solving an equation with one unknown

An equation says two things are equal. To solve it, get x on its own. The one rule is: whatever you do to one side, do to the other.

Take 3x + 4 = 19. Subtract 4 from both sides: 3x = 15. Divide both sides by 3: x = 5. Check by putting it back: 3 × 5 + 4 = 19. ✓

Undo things in the reverse order they were done. The equation multiplied by 3 and then added 4, so you remove the 4 first and then the 3.

Two equations, two unknowns

When there are two unknowns, x and y, you need two equations. The usual trick is to make one unknown disappear. Take:

2x + y = 11
x − y = 1

Add the two equations: 3x = 12, so x = 4. Put that into the second one: 4 − y = 1, so y = 3. Check with the first: 2 × 4 + 3 = 11. ✓

If the y-terms do not match, multiply one or both equations first so that they do. That is what the calculator does in its working.

When there is no single answer

  • Two equations can describe parallel lines. They never meet, so there is no solution.
  • They can describe the same line twice. Then every point on it works, so there are infinitely many solutions.
  • In one unknown, if x disappears you are left with a plain statement. 0x + 5 = 3 is never true (no solution). 0x + 3 = 3 is always true (every x works).

Turning a word problem into an equation

Say what x stands for, write what the problem says, then solve. A taxi charges ₹50 plus ₹12 per km. The fare is ₹170. How far did it go? Let x be the distance in km: 12x + 50 = 170, so 12x = 120 and x = 10 km.