Skip to content

Variables and Expressions

In this lesson you’ll learn what a variable is, how to translate everyday situations into algebraic expressions, and how to evaluate an expression by plugging in a number. This is the foundation everything else in algebra builds on.

A variable is a letter that stands in for a number we don’t know yet. We usually use letters like x, y, or n, but any letter works.

An algebraic expression combines numbers, variables, and operations. For example:

3x+53x + 5

This means “take some number x, multiply it by 3, then add 5.” There’s no equals sign. It’s an expression, not an equation.

Some common vocabulary:

  • Coefficient - the number in front of a variable. In 3x3x, the coefficient is 3.
  • Constant - a number on its own with no variable attached. In 3x+53x + 5, the constant is 5.
  • Term - a single piece of an expression separated by + or − signs. The expression 3x+53x + 5 has two terms: 3x3x and 55.

To evaluate an expression, replace the variable with a specific number and compute the result. If x=4x = 4:

3(4)+5=12+5=173(4) + 5 = 12 + 5 = 17

A streaming service charges a 10 dollar monthly base fee plus 3 dollars per movie you rent. Write an expression for the monthly cost, then find the cost if you rent 6 movies.

  1. Identify the variable. Let m = the number of movies rented.

  2. Write the expression.

10+3m10 + 3m

The base fee is the constant (10), and 3m3m represents 3 dollars times however many movies you rent.

  1. Evaluate for m=6m = 6.
10+3(6)=10+18=2810 + 3(6) = 10 + 18 = 28

Your monthly cost would be 28 dollars.

Algebraic expressions are everywhere once you start looking. Budgeting (“I spend x dollars on coffee each week”), fitness (“I burn 200+50t200 + 50t calories where t is minutes of running”), and even cooking (“double the recipe” means multiplying every ingredient by 2) all use the same idea: a pattern with a slot you can fill in with different numbers.

Understanding expressions lets you set up problems before you solve them, which is the real power of algebra.

In the expression 7x + 2, what is the coefficient of x?
Evaluate 4n - 3 when n = 5.
Which of these is an algebraic expression (not an equation)?
A gym charges 25 dollars per month plus 5 dollars per class. Which expression represents the monthly cost for c classes?
Translate into an expression: 'a number decreased by 9'.