Learning Center / Algebra

Equations: what they are and how to solve them

What an equation is, what its solution means, and how to solve equations step by step — from one-step equations to fractions and two variables.

5 min readUpdated 2 November 2026By Sumzo team (AI-assisted)Reviewed by Sumzo AI (owner-delegated review)

An equation is a mathematical statement that two expressions are equal. The equals sign sits in the middle, with one expression on each side: 3x+5=203x + 5 = 20 says “three times a number, plus five, is twenty”. The letter (here xx) stands for a number we don’t know yet.

Solving an equation means finding the value (or values) of the unknown that make both sides equal. That value is the solution. For 3x+5=203x + 5 = 20 the solution is x=5x = 5, because 3×5+5=203 \times 5 + 5 = 20. Every math equation in this lesson is solved that way: find the number, then check it.

What is the solution to an equation?

The solution is the number that makes the equation true when you substitute it for the letter. Some equations have one solution, some have two (like x2=9x^2 = 9, solved by 33 and −3-3), some have none (like x+1=x+2x + 1 = x + 2) and some are true for every number (like 2(x+1)=2x+22(x + 1) = 2x + 2).

Types of equations you will meet

  • Linear equations: the unknown appears only to the first power, like 5x−3=2x+95x - 3 = 2x + 9. One solution (or none, or every number).
  • Quadratic equations: the unknown is squared, like x2−5x+6=0x^2 - 5x + 6 = 0. Usually two solutions.
  • Simultaneous equations (systems): two or more equations with two or more unknowns that must all be true at once.
  • Literal equations (formulas): several letters, like v=u+atv = u + at. Solving for one letter rearranges the formula: t=v−uat = \frac{v - u}{a}.

How to solve equations: keep them balanced

Think of an equation as a balance. Whatever you do to one side, do exactly the same to the other, and it stays balanced. To get the unknown on its own, undo what has been done to it, in reverse order.

  1. Expand any brackets and simplify each side.
  2. Move the terms with the unknown to one side and the numbers to the other, by adding or subtracting on both sides.
  3. Divide both sides by the number in front of the unknown.
  4. Check: substitute your answer into the original equation.

Worked example

Easy: a one-step equation

Solve x+7=12x + 7 = 12.

Show the working
  1. Seven has been added to xx, so subtract 7 from both sides.
    x=12−7=5x = 12 - 7 = 5
  2. Check by substituting.
    5+7=12✓5 + 7 = 12 \checkmark

Answer: x=5x = 5

Checked by Sumzo’s math engine

Worked example

Easy: dividing both sides

Solve 4x=284x = 28.

Show the working
  1. xx has been multiplied by 4, so divide both sides by 4.
    x=284=7x = \frac{28}{4} = 7
  2. Check.
    4×7=28✓4 \times 7 = 28 \checkmark

Answer: x=7x = 7

Checked by Sumzo’s math engine

Worked example

Medium: the unknown on both sides

Solve 5x−3=2x+95x - 3 = 2x + 9.

Show the working
  1. Subtract 2x2x from both sides so the unknown is only on the left.
    3x−3=93x - 3 = 9
  2. Add 3 to both sides.
    3x=123x = 12
  3. Divide both sides by 3.
    x=4x = 4
  4. Check: both sides give 17.
    5(4)−3=17,2(4)+9=17✓5(4) - 3 = 17,\quad 2(4) + 9 = 17 \checkmark

Answer: x=4x = 4

Checked by Sumzo’s math engine

Worked example

Hard: fractions on both sides

Solve x+34=2x−13\frac{x + 3}{4} = \frac{2x - 1}{3}.

Show the working
  1. Multiply both sides by 12, the lowest common multiple of 4 and 3, to clear the fractions.
    3(x+3)=4(2x−1)3(x + 3) = 4(2x - 1)
  2. Expand the brackets.
    3x+9=8x−43x + 9 = 8x - 4
  3. Subtract 3x3x from both sides and add 4.
    13=5x13 = 5x
  4. Divide by 5.
    x=135x = \frac{13}{5}
  5. Check: both sides come to 75\frac{7}{5}.
    13/5+34=75,26/5−13=75✓\frac{13/5 + 3}{4} = \frac{7}{5},\quad \frac{26/5 - 1}{3} = \frac{7}{5} \checkmark

Answer: x=135x = \frac{13}{5}

Checked by Sumzo’s math engine

How to solve equations with two variables

One equation with two unknowns, like x+y=10x + y = 10, has endless solutions (11 and 99, 22 and 88, …). To pin down one answer you need a second equation. Together they form a system of equations, solved by elimination or substitution.

Worked example

Two equations, two unknowns

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

Show the working
  1. Add the two equations: the yy terms cancel.
    2x=142x = 14
  2. Divide by 2.
    x=7x = 7
  3. Put x=7x = 7 into the first equation.
    7+y=10⇒y=37 + y = 10 \Rightarrow y = 3
  4. Check in both equations.
    7+3=10,7−3=4✓7 + 3 = 10,\quad 7 - 3 = 4 \checkmark

Answer: x=7x = 7, y=3y = 3

Checked by Sumzo’s math engine

When the unknown is squared

Balancing alone can’t isolate xx when it appears as x2x^2 and as xx. Move everything to one side so the equation equals zero, factor it, and use the fact that a product is zero only when one of its factors is zero.

Worked example

An equation with x2x^2

Solve x2−5x+6=0x^2 - 5x + 6 = 0.

Show the working
  1. Find two numbers that multiply to 6 and add to −5-5: −2-2 and −3-3.
    (x−2)(x−3)=0(x - 2)(x - 3) = 0
  2. A product is zero only if one of its factors is zero.
    x=2 or x=3x = 2 \text{ or } x = 3
  3. Check both.
    4−10+6=0,9−15+6=0✓4 - 10 + 6 = 0,\quad 9 - 15 + 6 = 0 \checkmark

Answer: x=2x = 2 or x=3x = 3

Checked by Sumzo’s math engine

Turning words into an equation

Many math equation questions start as a sentence. Give the unknown a letter, then translate piece by piece: “is” becomes ==, “more than” or “increased by” becomes ++, “times” or “doubled” becomes multiplication.

Worked example

A number puzzle

“A number is doubled and then increased by 7. The result is 31. What is the number?”

Show the working
  1. Let the number be nn. Doubled is 2n2n; increased by 7 is 2n+72n + 7.
    2n+7=312n + 7 = 31
  2. Subtract 7, then divide by 2.
    2n=24⇒n=122n = 24 \Rightarrow n = 12
  3. Check in words: 12 doubled is 24, and 24 + 7 = 31.
    ✓\checkmark

Answer: n=12n = 12

Checked by Sumzo’s math engine

Complete the equation (missing number problems)

Younger students often meet equations as a box to fill in. The box is just an unknown, so the same idea works: undo the operation.

  • 3 × ☐ = 24: divide 24 by 3, so the box is 8.
  • ☐ − 15 = 27: add 15 to 27, so the box is 42.
  • 56 ÷ ☐ = 7: 56 divided by what is 7? The box is 8, because 56 ÷ 8 = 7.
  • 2 × ☐ + 5 = 17: subtract 5 to get 12, then divide by 2, so the box is 6.

Easy math equations with answers to try

These simple math equations use the same steps as the examples. Cover the answers, solve each one, then check by substituting.

  1. x−9=4x - 9 = 4 → x=13x = 13
  2. 6x=426x = 42 → x=7x = 7
  3. 3x+2=203x + 2 = 20 → x=6x = 6
  4. 7−2x=17 - 2x = 1 → x=3x = 3
  5. 2(x+4)=182(x + 4) = 18 → x=5x = 5

Common mistakes

  • Doing something to one side only. If you subtract 3 on the left, subtract 3 on the right too.
  • Sign slips when moving terms: from 5x−3=2x+95x - 3 = 2x + 9, subtracting 2x2x gives 3x−3=93x - 3 = 9, not 7x−3=97x - 3 = 9.
  • Dividing only part of a side: from 2x=6+42x = 6 + 4, dividing just the 6 gives x=3+4=7x = 3 + 4 = 7, which is wrong. Divide every term (3+23 + 2) or simplify first (2x=102x = 10): x=5x = 5.
  • Not multiplying every term when clearing fractions — in the fractions example, both whole brackets are multiplied, giving 3x+93x + 9 and 8x−48x - 4.
  • Skipping the check. Substituting takes seconds and catches most errors.

Frequently asked questions

What is an equation in maths?

A statement that two expressions are equal, joined by an equals sign — for example 2x+1=92x + 1 = 9. Solving it means finding the value of the unknown that makes it true.

What is the difference between an equation and an expression?

An expression is a piece of maths without an equals sign, like 2x+12x + 1; you can simplify it but not solve it. An equation sets two expressions equal, like 2x+1=92x + 1 = 9, so it can be solved (x=4x = 4).

How do I check the solution to an equation?

Substitute it for the unknown in the original equation and work out both sides. If they are equal, the solution is right.

Can you give me a math equation to practise?

Try 4x−7=2x+54x - 7 = 2x + 5 (the answer is x=6x = 6). For more, the linear equations topic in Practice makes new ones every time, with hints and worked solutions.

Stuck on a problem? Ask Sumzo AI