Lesson 2

Variables and constants

Theory and examples

Variables vs. Constants

Up until now, math has mostly been about specific, fixed numbers. But to describe the real world—where things are constantly shifting, growing, and changing—we need tools that can handle the unknown.

Variables: The shape-shifters

A variable is a symbol—usually a letter like xx, yy, or tt—that acts as an empty placeholder. It represents a quantity that can change depending on the situation, or a value we simply do not know yet.

Why do we need them?

If math only used ordinary numbers, it would be incredibly repetitive. We would have to write a brand new equation every time a single detail changed. Variables allow us to write a flexible rule once, and use it forever.

Example: designing a cube

Imagine designing a storage cube, but you do not know the required volume yet. Instead of waiting, you can build a flexible rule using variables:

  • Let VV = the unknown volume
  • Let xx = the side length

Because volume is calculated by cubing the side length, the rule is:

V=x3V = x^3

This single equation works for any size. Once you find out the volume VV, you instantly know the side length xx.

3.00 m
27.00 m^3

When xx changes, x3x^3 changes too.

Drag either slider. The other slider updates because the side length and volume are connected by V=x3V=x^3.

Cube side length: 3.00 m

Constants: The anchors

Unlike variables, a constant is a fixed quantity that refuses to budge. It is a specific, known number whose value never changes.

In algebraic equations, constants show up in two main ways:

Coefficients

Numbers firmly attached to a variable, multiplying it.

7x7x

The coefficient is 77, because it multiplies xx.

Standalone terms

Numbers sitting entirely on their own.

x+9x+9

The standalone term is 99, because it is not attached to a variable.

Example: spotting the constants

Let us look at the algebraic expression 3x+53x + 5.

The number 33 is a constant coefficient. Even though the xx next to it might change, the multiplier itself will always stay exactly 3.

The number 55 is a standalone constant. It is not attached to any variable at all, meaning it will always add exactly 5 to the final total, no matter what happens to the rest of the equation.

Quick sort: variables and constants

Click the symbols in the equation that match each prompt. Coefficients are attached to variables, but the coefficient itself is still a constant.

Select all constants

=

Select all variables

=

Worked walkthrough

Variables and constants

Optional mastery

Mastery questions

Do you want a high study score? Be disciplined. Do the mastery questions.

Open mastery questions

Checkpoint

Multiple-choice questions

Answer every question correctly to unlock the next lesson. If something is marked red, change your answer and check again.

Question 1
Which statement best describes a variable?
Question 2
In the expression 3x+53x+5, which part is the variable?
Question 3
True or false: in V=x3V=x^3, changing the side length xx changes the volume VV.
Question 4
Select all statements that are correct.

Select all that are correct.