Skip to main content
Skip to main content

What is a Variable?

Visual representation of variables as mystery boxes
Variables are like mystery boxes that can hold different numbers

A variable is a letter or symbol that stands for an unknown number in math. It's like a placeholder that can represent different values. In algebra, we often use letters like x, y, or z as variables.

Think of a variable as an empty box. You can put different numbers inside the box. For example, in the equation x + 5 = 10, x is the variable. We can figure out that x must be 5 because 5 + 5 = 10.

Variables help us solve problems when we don't know all the numbers. They're like secret codes that help us understand how numbers relate to each other.

How Variables Work

Step-by-step visual guide showing how variables are used in equations
Using variables to solve equations step-by-step

Variables are used in equations to represent unknown values. They follow the same math rules as numbers. Here's how they work:

Basic Equation with Variable

x + 5 = 12

In this equation, x is the variable. To find its value, we subtract 5 from both sides: x = 12 - 5, so x = 7.

Variables can also be used in expressions:

Expression: 2y + 3
This means "two times y plus three". If we know y is 4, we can calculate: 2×4 + 3 = 8 + 3 = 11

Variables help us write rules that work for many different numbers. For example, the formula for the area of a rectangle is A = l × w, where:
  • A is the area (variable)
  • l is the length (variable)
  • w is the width (variable)

Real-World Examples

Everyday examples of variables in real life
Variables in everyday situations

Variables aren't just for math class - we use them in everyday life too! Here are some examples:

Example 1: Temperature

The weather forecast says: "Today's high temperature will be 5 degrees warmer than yesterday." If we let T represent yesterday's temperature, today's temperature is T + 5.

Example 2: Shopping

Apples cost $2 per pound. If you buy p pounds of apples, the total cost is 2 × p dollars. If you buy 3 pounds, it costs 2 × 3 = $6.

Example 3: Sports

In basketball, if a player scores s points per game, and plays 10 games, their total points are 10 × s.

Example 4: Baking

A cookie recipe needs 2 cups of flour for every batch. For b batches, you need 2 × b cups of flour.

Variable Practice Quiz

Test your understanding of variables with this 5-question quiz. Choose the correct answer for each question.

1. What is a variable in algebra?
2. In the equation 3x + 2 = 11, what is the value of x?
3. Which of these is an algebraic expression with a variable?
4. If a pizza costs $8 and you buy p pizzas, which expression shows the total cost?
5. What does the variable t represent in the formula d = 5t (where d is distance)?

Frequently Asked Questions

Here are answers to common questions about variables:

Math Trivia

Discover interesting facts about variables and algebra:

Copyright © 2025 Workybooks. Made with ♥ in California.