MathBored

Essential Math Primer
← Back to Primer Overview
M20 • Lesson 34 of 105

Introduction to Variables

Variables as unknown quantities, basic notation

Middle School Bridge • 6-8

Prerequisites: E10

Key Concepts

  • variables
  • expressions
  • notation

Introduction to Variables

In arithmetic, you work with specific numbers: 5 + 3 = 8. But what if you want to describe a rule that works for any number? That is where variables come in. A variable is a letter that stands for an unknown or changing quantity. Learning to read and write with variables is like learning a new language -- the language of algebra.

What Is a Variable?

A variable is a symbol (usually a letter like x, y, or n) that represents a number whose value may be unknown or may change. An algebraic expression combines numbers, variables, and operations.

English PhraseAlgebraic Expression
A number plus 5x + 5
Three times a number3n
A number decreased by 7y - 7
A number divided by 4n4
Twice a number, increased by 32x + 3

Notation Conventions

In algebra, multiplication is often shown without the × symbol to avoid confusion with the variable x:

Example 1 -- Translating Words to Expressions

Write an expression for: "seven less than three times a number."

  1. "A number" -- use the variable n.
  2. "Three times a number" -- 3n.
  3. "Seven less than" -- subtract 7.
  4. Expression: 3n - 7.

Evaluating Expressions

To evaluate an expression, substitute the given value for each variable and compute.

Example 2 -- Evaluating an Expression

Evaluate 4x - 3 when x = 5.

  1. Substitute: 4(5) - 3.
  2. Multiply: 20 - 3.
  3. Subtract: 17.

Example 3 -- Expressions with Two Variables

Evaluate 2a + b2 when a = 3 and b = 4.

  1. Substitute: 2(3) + (4)2.
  2. Compute: 6 + 16 = 22.

Helpful Tip

When substituting a value, use parentheses around the number to keep your work clear and avoid sign errors. Write 4(-2) instead of 4 × -2, which can look confusing.

Practice Problems

1. Write an algebraic expression for "the sum of a number and twelve."

Show Solution

n + 12 (or x + 12, or any variable).

2. Write an expression for "five times a number, decreased by 2."

Show Solution

5n - 2.

3. Evaluate 3x + 7 when x = 4.

Show Solution

3(4) + 7 = 12 + 7 = 19.

4. Evaluate 10 - 2y when y = -3.

Show Solution

10 - 2(-3) = 10 + 6 = 16.

5. Evaluate x + 42 when x = 6.

Show Solution

(6 + 4) / 2 = 10 / 2 = 5.

Lesson Summary

A variable is a letter representing an unknown or changeable number. Algebraic expressions combine variables, numbers, and operations. Multiplication between a number and a variable is written without a symbol (3n means 3 times n). To evaluate an expression, substitute the given values and compute using the order of operations.

Overview