MAT040 Beginning Algebra All classes

Introduction to Algebra · Chapter 6

Introduction to Variables

The numbered examples below are interactive: the numbers change every time you load the page. Type your answer, press Enter or Check, and use New numbers to practice again.

You already use algebra every day. You might figure out how much to tip a server, calculate the change you should get when you pay for something, or compare batting averages. In this section we explore the words used to describe algebra.

Variables and Constants

Greg and Alex have the same birthday but were born in different years. This year Greg is 2020 and Alex is 2323, so Alex is 33 years older. When Greg was 1212, Alex was 1515. When Greg is 3535, Alex will be 3838. No matter what Greg’s age is, Alex’s age is always 33 more.

In the language of algebra, we say that Greg’s age and Alex’s age are variable, and the 33 is a constant. The ages change, or vary, but the 33 years between them always stays the same.

In algebra, letters of the alphabet are used to represent variables. If we call Greg’s age gg, then Alex’s age is g+3g+3.

Greg’s ageAlex’s age
12121515
20202323
35353838
ggg+3g+3

A variable is a letter that represents a number or quantity whose value may change.
A constant is a number whose value always stays the same.

Letters often used for variables are xx, yy, aa, bb and cc.

Example 1

Identify the variable and the constant in each expression.

a. y+7b. 32−xa.\ y+7\qquad\qquad b.\ 32-x

a.a. yy is the variable and 77 is the constant.
b.b. xx is the variable and 3232 is the constant.

Worked-example videos

Adapted from OpenStax Prealgebra, licensed under CC BY 4.0.