SECTION 1
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.
~1800 BCE • Ancient Babylon
~250 CE • Diophantus of Alexandria
~820 CE • Al-Khwarizmi
1637 • René Descartes
Today
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?
SECTION 2
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.Key takeaway
SECTION 3
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!
SECTION 4
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.
STEP-BY-STEP METHOD
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 |
EXPRESSION FROM WORDS — EXAMPLE 1
"Twice" means × 2. "More than" means + 5.
EXPRESSION FROM WORDS — EXAMPLE 2
"Divided by 3" comes first, then "minus 4."
EXPRESSION FROM WORDS — EXAMPLE 3
"Product" means multiplication. In algebra we write 6n instead of 6 × n.
Key takeaway
SECTION 5
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.
SECTION 6
Worked Example: Movie Night
Let's walk through a complete problem from start to finish.
PROBLEM
Movie Night Solution
- 1
Step 1 — Identify the Unknown
What can change? The number of people going to the movies. That's our variable. Let's call itp. - 2
Step 2 — Spot the Operations
"Each ticket costs $9" means $9 per person. The word "each" signals multiplication. So the ticket cost is 9 × p, or just9p. "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. - 3
Step 3 — Write the Expression
Total cost = ticket cost + popcorn cost9p + 6 - 4
Step 4 — Evaluate for p = 4
Substitute 4 for p: 9(4) + 6 = 36 + 6 = $42If 4 people go to the movies, the total cost is $42.
SECTION 7
When 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! |
Key takeaway
n − 5.SECTION 8
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.
SECTION 9
Practice Problems
Try these five problems on your own. Click "Show Answer" when you're ready to check your work.
Question 1: PROBLEM 1 — CONCEPTUAL
Show answer
10h works whether you work 1 hour or 100 hours. Without a variable, you'd have to write a separate calculation every single time!Question 2: PROBLEM 2 — BASIC
n (b) The product of 4 and a number x (c) A number y decreased by 10Show answer
n + 7 — "More than" means addition. (b) 4x — "Product" means multiplication. We write the number and variable next to each other. (c) y − 10 — "Decreased by" means subtraction. The variable comes first because you're starting with the number and then subtracting.Question 3: PROBLEM 3 — INTERMEDIATE
s = the number of stickers Mia starts with. Then evaluate the expression if s = 14.Show answer
s − 5. Then she doubles what's left: 2(s − 5). The parentheses are important because you need to subtract first, then multiply. Evaluate for s = 14: 2(14 − 5) = 2(9) = 18 stickers. Nice work if you got the parentheses right! Without them you'd get 2s − 5, which gives a different (incorrect) answer.Question 4: PROBLEM 4 — APPLIED
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?Show answer
25m (25 dollars × the number of months). Add the one-time fee: 25m + 40. (b) For 6 months: 25(6) + 40 = 150 + 40 = $190. (c) For 12 months: 25(12) + 40 = 300 + 40 = $340. The sign-up fee of $40 only gets added once — it's a constant. The $25 part grows every month because it's multiplied by the variable.Question 5: PROBLEM 5 — CHALLENGE
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.Show answer
a ÷ 2. Then he eats 2: a ÷ 2 − 2. (b) Not every number works! Since they share equally, a should be an even number (you can't perfectly split an odd number of whole apples). Also, a must be at least 4. If a were only 2, Marcus would get 1 apple and couldn't eat 2. And a can't be negative — you can't have negative apples! This is a great example of how real-world context puts limits on what the variable can be. In math class, we sometimes call these limits the domain of the variable. You'll learn more about that soon!SUMMARY
Lesson Summary
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!