Constant vs Variable Examples: 42 Problems with Answers

Worked examples of Constant vs Variable to try before you open each solution, then practice problems with answers.

Worked Examples

Example 1

easy
In C=2πr, identify the constants and variables.
Show solution

Answer

Constants: 2,π. Variables: C,r.

First step

1.
π≈3.14159 is a constant—it never changes.

Full solution

  1. 2.
    2 is a constant coefficient.
  2. 3.
    r (radius) is a variable—it can be any positive number.
  3. 4.
    C (circumference) is a variable—it depends on r.
Constants have fixed values that don't change. Variables can take different values. In formulas, Greek letters like π and e are usually constants.

Example 2

medium
In the equation y=3x+5, someone says '3 is a variable because it could be any slope.' Is this correct?

Example 3

medium
In A=πr2, which symbols change, which are fixed, and what is special about π?

Example 4

medium
In g(t)=at+b where a=4 and b=7 are fixed, which symbols are constants and which is the variable?

Example 5

medium
In the formula d=vt, when does v play the role of a constant and when a variable?

Example 6

hard
Explain why in ax2+bx+c, a,b,c are constants but x is a variable, even though we sometimes change a,b,c to study families of parabolas.

Example 7

challenge
In f(x)=c for an unknown constant c, what is the rate of change of f, and what is f(100)−f(7)?

Practice Problems

Try each one, then open the solution to compare your method.

Example 1

easy
In F=ma (Newton's second law), which symbols are variables?

Example 2

medium
Is 0 a constant or a variable?

Example 3

easy
In 3x+5, which symbol is the variable?

Example 4

easy
In 3x+5, name the constants.

Example 5

easy
Is π a constant or a variable?

Example 6

easy
Is e a constant or a variable?

Example 7

easy
In y=7, can y vary?

Example 8

easy
In 2r, if r is a length that can change, what is r?

Example 9

easy
In 5x2, which is the constant coefficient?

Example 10

easy
Is the number 12 a constant or a variable?

Example 11

medium
In E=mc2, classify m and c in physics.

Example 12

medium
A letter c is a constant in E=mc2 but a variable in y=cx. Explain in one line.

Example 13

medium
In the term kx where k is a fixed proportionality constant, can you solve for k from k=k?

Example 14

medium
In A=πr2, classify each symbol.

Example 15

medium
In f(x)=3x+k for a fixed but unspecified k, what is k called?

Example 16

medium
In 2 x, is 2 a constant?

Example 17

medium
In the sequence rule an=2n+1, which symbol varies and which is fixed structure?

Example 18

challenge
In y=ax+b, explain why a and b are constants for one line yet behave like variables across the family of all lines.

Example 19

challenge
Given kx=12 where k=4 is a known constant, find the variable x; then say what would change if instead x were known and k unknown.

Example 20

challenge
Explain why in y=mx the ratio yx is constant even though x and y are variables.

Example 21

medium
In P=4s for a square, classify P, s, and 4.

Example 22

medium
In y=12x+3, identify the constants.

Example 23

easy
In 9−2x, list the constants.

Example 24

easy
In V=lwh, classify each symbol if a box's dimensions can change.

Example 25

easy
Is 1 a constant?

Example 26

medium
In a chemistry formula PV=nRT, identify the constant.

Example 27

medium
In f(x)=5, does the value of f change as x changes?

Example 28

medium
Solve for the variable in 3x+5=14.

Example 29

medium
In h(x)=3, what is the rate of change of the output?

Example 30

medium
In 5x+3y=30, which letters are variables?

Example 31

hard
Given y=kx with k a fixed proportionality constant. If (x,y)=(4,12) lies on this graph, find k and then y when x=9.

Example 32

hard
In f(x)=2⋅x+π, classify every symbol.

Example 33

hard
In T=T0+kt where T0 and k are fixed for one experiment, find T at t=8 if T0=20 and k=1.5.

Example 34

challenge
In the equation ax+b=0 with a≠0 constant and b constant, give a formula for the variable x.

Example 35

challenge
In y=asin⁡(bx+c)+d, classify each symbol if you study one specific sine curve.

What to focus on

Core idea: A constant holds one fixed value; a variable's value can change or is yet unknown.

Common stuck point: The procedure for constant vs variable is the easy part; the trap is trying to solve for a named constant. Asking "Could this symbol's value be different in another situation, or is it locked forever?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Ask yourself: Could this symbol's value be different in another situation, or is it locked forever?

Concept recap

Constants are symbols with fixed, unchanging values; variables are symbols whose values can change or are yet to be determined.

Constants are like the rules of a board game and variables like the dice: the rules stay the same every turn, while the dice show something new on each roll. House rules that change from one game night to the next are like parameters, fixed for tonight but not forever.

Read the full lesson on Constant vs Variable

Background knowledge

These ideas may be useful before you work through the harder examples.

variables