6TH GRADE MATHEMATICS • EXPRESSIONS & EQUATIONS

Using Variables to Write Expressions for Real-World Problems

Learn how a single letter can stand for any number — and how that superpower helps you solve real problems.

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
Babylonian scribes carved math problems onto clay tablets. They didn't use letters. Instead they wrote things like, "I found a stone, but I don't know its weight." The unknown weight was described entirely in words.
~250 CE
Diophantus of Alexandria
A Greek mathematician named Diophantus started using a special symbol for an unknown number. Think of it as the first "variable" — though it looked nothing like the letters we use today. People call him the "Father of Algebra."
~820 CE
Al-Khwarizmi
The Persian scholar Al-Khwarizmi wrote a famous book that gave us the word algebra (from the Arabic word al-jabr). He used words like "the thing" to mean an unknown number, which is basically what a variable is!
1637
René Descartes
French mathematician Descartes started the habit of using letters from the end of the alphabet — x, y, z — for unknowns. This is the system we still use in class today!
Today
Variables are everywhere. Scientists, engineers, game designers, and athletes all use them. Any time a number can change or is unknown, a variable steps in to hold its place.

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.

1

Variable

A variable is a letter (like 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.
2

Expression

An expression is a math phrase that uses numbers, variables, and operations (+, −, ×, ÷). Examples: 3x + 5 or n − 2. Expressions do NOT have an equals sign — that would make them an equation.
3

Coefficient

A coefficient is the number multiplied by a variable. In 7d, the coefficient is 7. If you see just d by itself, the coefficient is 1 (because 1 × d = d).
4

Constant

A constant is a number on its own — it doesn't change. In 3x + 5, the constant is 5. No matter what x is, that 5 stays the same.
KEY TAKEAWAY
Think of a variable like a box with a question mark on it. You can put any number inside that box. The expression is the recipe that tells you what to do with whatever number you put in the box — add to it, multiply it, subtract from it, or divide it.

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.

Anatomy of the expression 4n + 3

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.

STEP-BY-STEP METHOD
1. Read the problem. Find the unknown. 2. Choose a variable for the unknown. 3. Spot the operation words (more, less, times, split…). 4. Write the expression using numbers, the variable, and the operation.

Certain English words are clues for certain math operations. Here's a quick reference.

OPERATIONCLUE WORDSEXAMPLE 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
"5 more than twice a number" → 2n + 5
"Twice" means × 2. "More than" means + 5.
EXPRESSION FROM WORDS — EXAMPLE 2
"A number divided by 3, minus 4" → n ÷ 3 − 4
"Divided by 3" comes first, then "minus 4."
EXPRESSION FROM WORDS — EXAMPLE 3
"The product of 6 and a number" → 6n
"Product" means multiplication. In algebra we write 6n instead of 6 × n.
KEY TAKEAWAY
Translating words to math is like learning a new language. The English sentence is one language, and the expression is the same idea in "math language." The clue words in the sentence tell you which operation sign to use. Once you spot the clue word, the expression almost writes itself!

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.

Five real-world scenarios matched with their algebraic expressions

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.

📝 PROBLEM
You and your friends are going to the movies. Each ticket costs $9. You also plan to buy one large popcorn for $6. Write an expression for the total cost based on the number of people going. Then find the total cost if 4 people go.
Movie Night Solution
1
Step 1 — Identify the UnknownWhat can change? The number of people going to the movies. That's our variable. Let's call it p.
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 just 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.
3
Step 3 — Write the ExpressionTotal cost = ticket cost + popcorn cost
9p + 6
4
Step 4 — Evaluate for p = 4Substitute 4 for p: 9(4) + 6 = 36 + 6 = $42
If 4 people go to the movies, the total cost is $42.

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.

STRENGTHSTRICKY 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
Think of "less than" like a sentence you read backwards. "5 less than a number" means you start with the number and then subtract 5. It's like saying "the temperature dropped 5 degrees" — you started high and went down. So the number comes first: 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 NOWWHAT YOU'LL LEARN NEXT
Write an expression like 9p + 6Write an equation like 9p + 6 = 42 and solve for p
Use one variable for one unknownUse two variables in the same problem (like x and y)
Translate words into expressionsTranslate entire story problems into equations and find the answer
Evaluate expressions by plugging in numbersSimplify 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.

PROBLEM 1CONCEPTUAL
What is a variable? In your own words, explain why we use variables instead of just writing numbers.
PROBLEM 2BASIC
Write an expression for each phrase: (a) 7 more than a number n (b) The product of 4 and a number x (c) A number y decreased by 10
PROBLEM 3INTERMEDIATE
Write an expression for: "Mia has some stickers. She gives away 5 and then doubles the ones she has left." Let s = the number of stickers Mia starts with. Then evaluate the expression if s = 14.
PROBLEM 4APPLIED
A gym membership costs $25 per month plus a one-time sign-up fee of $40. Let 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?
PROBLEM 5CHALLENGE
Marcus and his sister share a bag of apples equally. After sharing, Marcus eats 2 of his apples. Let 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!

Varsity Tutors • 6th Grade Mathematics • Using Variables to Write Expressions