All articles
Pre-algebraGrade 7–8math

What Does x Really Mean? Understanding Variables

7 min read

You have probably seen an equation like x + 5 = 12 and wondered — what is x? Is it a letter? A mystery? A trick? It is none of those things. A variable is simply a placeholder for a number you do not know yet. Once that clicks, all of early algebra starts to make sense.

What is a Variable?

Think of a variable as a labelled box. The box has a name — usually x, but it could be y, n, or any letter — and it holds exactly one number. Your job in an equation is to figure out which number belongs in that box.

xunknown7solved!
A variable is just a labelled box waiting to be filled with a number.

Definition: Variable

A variable is a letter that represents an unknown number. When you solve for a variable, you find the number it stands for.

Variables can hold any kind of number — whole numbers, fractions, negative numbers, even zero. The letter itself has no value until you solve the equation.


Variables still feel confusing after reading this?

A free demo session lets us pinpoint exactly where the reasoning breaks down — no pressure, no commitment.

Book free demo

The Balance Principle — The Most Important Idea in Algebra

An equation is like a perfectly balanced scale. The equals sign = means both sides weigh exactly the same. If you add weight to one side, you must add the same weight to the other — or the scale tips and the equation breaks.

2x + 614
Whatever you do to one side of an equation, do it to the other.
The golden rule: Whatever you do to one side of an equation, you must do to the other side. Add, subtract, multiply, or divide — always on both sides equally.

How to Solve a Simple Equation — Step by Step

The goal when solving is to get the variable alone on one side of the equals sign. We call this isolating the variable. Here are the most common types you will see in Grade 7-8.

Type 1: One-step equations

Solve: x + 5 = 12

1

Identify what is being added to x

5 is being added. To undo addition, we subtract.
2

Subtract 5 from both sides

x + 5 − 5 = 12 − 5
x = 7
3

Check your answer

Substitute back: 7 + 5 = 12

Solve: 3x = 18

1

Identify what is multiplying x

x is being multiplied by 3. To undo multiplication, divide.
2

Divide both sides by 3

3x ÷ 3 = 18 ÷ 3
x = 6
3

Check your answer

Substitute back: 3 × 6 = 18

Type 2: Two-step equations

Two-step equations combine two operations. The strategy is to undo them in reverse order — first undo the addition or subtraction, then undo the multiplication or division.

Solve: 2x + 6 = 14

1

Subtract 6 from both sides (undo the + 6 first)

2x + 6 − 6 = 14 − 6
2x = 8
2

Divide both sides by 2 (undo the × 2)

2x ÷ 2 = 8 ÷ 2
x = 4
3

Check your answer

Substitute back: 2(4) + 6 = 8 + 6 = 14

Solve: x/3 − 2 = 7

1

Add 2 to both sides

x/3 − 2 + 2 = 7 + 2
x/3 = 9
2

Multiply both sides by 3

x/3 × 3 = 9 × 3
x = 27
3

Check your answer

Substitute back: 27/3 − 2 = 9 − 2 = 7
Common mistake: Forgetting to apply the operation to both sides. For example, writing 2x + 6 = 142x = 14 skips subtracting 6 from the right side and gives the wrong answer.

Variables on Both Sides

Sometimes x appears on both sides of the equation. The trick is to collect all the variable terms on one side first.

Solve: 5x − 3 = 3x + 7

1

Move variable terms to the left by subtracting 3x from both sides

5x − 3x − 3 = 3x − 3x + 7
2x − 3 = 7
2

Add 3 to both sides

2x = 10
3

Divide both sides by 2

x = 5
4

Check

Left: 5(5) − 3 = 22. Right: 3(5) + 7 = 22

Quick-Reference: Undoing Operations

If x has…Undo it by…
something addedsubtracting the same amount
something subtractedadding the same amount
something multiplieddividing by the same number
something dividedmultiplying by the same number

Practice Problems

  1. 1

    Solve: x − 9 = 14

    Hint: Add 9 to both sides.

  2. 2

    Solve: 4x = 36

    Hint: Divide both sides by 4.

  3. 3

    Solve: 3x + 5 = 20

    Hint: Subtract 5 first, then divide.

  4. 4

    Solve: x/4 + 1 = 6

    Hint: Subtract 1 first, then multiply by 4.

  5. 5

    Solve: 6x − 4 = 2x + 12

    Hint: Move the x terms to one side first.


Ready for the next level?

Once you are comfortable solving linear equations, the natural next step is working with two variables simultaneously — called a system of equations. After that, quadratic equations open up a whole new set of problem types.

If you would like one-on-one help building these foundations, book a free demo session and we will assess exactly where you are and what to work on next.

Keep reading

Related articles

Want to go deeper with a mentor?

Reading helps. Working through problems with someone who can catch your exact mistake helps more. Book a free session — no commitment.

Book free demo