Where Did Variables Come From?
Today, when you see the letter x in math class, you probably know it stands for a number. But people haven't always written math that way. For thousands of years, people described math problems using only words — no letters, no symbols at all! Let's take a quick trip through time to see how variables (letters that represent unknown numbers) became such a big deal.
So here's the big question this lesson answers: How do you translate a real-world situation — like earning money, measuring distances, or splitting a pizza — into a math expression that uses variables?
Core Ideas You Need to Know
Before we start writing expressions, let's make sure four key vocabulary words are crystal clear.
Variable
n, x, or t) that stands for a number you don't know yet — or a number that can change. Think of it as a blank that any number could fill.Expression
3x + 5 or n − 2. Expressions do NOT have an equals sign — that would make them an equation.Coefficient
7d, the coefficient is 7. If you see just d by itself, the coefficient is 1 (because 1 × d = d).Constant
3x + 5, the constant is 5. No matter what x is, that 5 stays the same.See It: Anatomy of an Expression
Let's look at the expression 4n + 3 and label every part. This is the kind of expression you'll write when you solve real-world problems.
Here's what the diagram shows you. The coefficient 4 tells you how many times to multiply the variable. The variable n is the mystery number that can change. The operator + tells you what to do next (add). And the constant 3 is a number that never changes. Put them together and you get the expression 4n + 3.
If someone told you that n = 2, you could evaluate the expression: 4 × 2 + 3 = 8 + 3 = 11. If n = 10, you'd get 4 × 10 + 3 = 43. The expression stays the same — only the value of n changes!
How to Write Expressions from Words
The most important skill in this lesson is translating words into math. Real-world problems start with sentences, not symbols. Here's a step-by-step method you can follow every time.
Certain English words are clues for certain math operations. Here's a quick reference.
| OPERATION | CLUE WORDS | EXAMPLE PHRASE → EXPRESSION |
|---|---|---|
| Addition (+) | more than, increased by, sum of, plus, added to, total | "a number plus 9" → n + 9 |
| Subtraction (−) | less than, decreased by, minus, fewer, difference | "7 less than a number" → n − 7 |
| Multiplication (×) | times, product of, multiplied by, each, per, of | "triple a number" → 3n |
| Division (÷) | divided by, quotient of, split equally, per, ratio | "a number divided by 4" → n ÷ 4 |
Real-World Situations → Expressions
Let's see how expressions show up in everyday life. Below is a visual that matches five common situations with the expressions that describe them.
Notice the pattern? Each situation has one thing that can change (the variable) and one or more fixed numbers (constants). The clue words ("per," "shared by," "spent," "more than," "plus shipping") tell you which operation to use.
In the last example, buying b books at $12 each gives you 12b (multiplication). Then you add the $5 shipping fee, which never changes. The full expression is 12b + 5.
Worked Example: Movie Night
Let's walk through a complete problem from start to finish.
p.9p. "Also buy one large popcorn for $6" means you add $6. The popcorn cost doesn't change no matter how many people go — it's a constant.9p + 6When Expressions Help — and Tricky Spots to Watch
Writing expressions with variables is a powerful tool, but like any tool, there are moments when you need to be extra careful. Let's compare the strengths and common mistakes.
| STRENGTHS | TRICKY SPOTS |
|---|---|
| One expression works for any value of the variable. You don't need to redo the math each time. | Order matters for subtraction and division. "5 less than n" is n − 5, NOT 5 − n. |
Expressions make patterns easy to see. 3n tells you the total triples every time n goes up by one. | Mixing up operations. "Twice a number plus 4" is 2n + 4, not 2(n + 4). Watch the clue words carefully. |
| You can plug in different numbers to explore "what if?" questions quickly. | Forgetting invisible multiplication. Writing 5n means 5 × n. Don't accidentally read it as "fifty-something." |
| Variables keep your work organized, especially when problems have many parts. | Choosing a confusing variable. Using o (looks like zero) or l (looks like one) can cause mix-ups. Pick clear letters! |
n − 5.What's Coming Next?
Writing expressions is one of the biggest stepping stones in math. Once you're comfortable with expressions, you'll move on to equations (expressions with an equals sign) and learn to solve for the unknown variable. Here's a peek at how this lesson connects to what you'll learn next.
| WHAT YOU LEARNED NOW | WHAT YOU'LL LEARN NEXT |
|---|---|
Write an expression like 9p + 6 | Write an equation like 9p + 6 = 42 and solve for p |
| Use one variable for one unknown | Use two variables in the same problem (like x and y) |
| Translate words into expressions | Translate entire story problems into equations and find the answer |
| Evaluate expressions by plugging in numbers | Simplify expressions by combining like terms (e.g., 3n + 2n = 5n) |
Everything you practice in this lesson is preparing you for algebra. In fact, writing expressions is algebra — you're already doing it! The better you get at spotting clue words and choosing variables, the easier every future math topic will feel.
Practice Problems
Try these five problems on your own. Click "Show Answer" when you're ready to check your work.
n (b) The product of 4 and a number x (c) A number y decreased by 10s = the number of stickers Mia starts with. Then evaluate the expression if s = 14.m represent the number of months. (a) Write an expression for the total cost. (b) How much would you pay for 6 months? (c) How much would you pay for 12 months?a represent the total number of apples in the bag. (a) Write an expression for how many apples Marcus has left. (b) Could a be any number? Explain if there are any values of a that wouldn't make sense in this situation.Lesson Summary
In this lesson you learned that a variable is a letter that stands for an unknown or changing number, and an expression is a math phrase that combines variables, numbers, and operations — without an equals sign. Every expression can have a coefficient (the number multiplied by the variable), a constant (a number that doesn't change), and operators (+, −, ×, ÷) that tell you what to do with those pieces.
You also practiced the most important skill: translating words into math. Clue words like "more than," "less than," "times," and "divided by" point you to the right operation. Remember that "less than" flips the order — the variable comes first. Once you've written an expression, you can evaluate it by substituting a specific number for the variable. This single skill is the foundation for all of algebra, and you're already well on your way!