Independent and dependent variables

The independent variable is the one you choose or change. The dependent variable changes because of it. Buy more tickets, pay more.

Not sure this is the right level? Take the free grade 6 check-up and get a daily practice plan.

What independent and dependent variables are

Many real situations link two amounts that change together. Movie tickets cost $8 each: the more tickets you buy, the more you pay. Two letters stand for the two amounts: t for the number of tickets and c for the total cost.

A quick test: say “___ depends on ___”. The cost depends on the number of tickets makes sense. The number of tickets depends on the cost sounds backwards. The variable in the first blank is the dependent one.

Common Core standard 6.EE.C.9 asks grade 6 students to use variables for two quantities that change together, write an equation for one in terms of the other, and connect the equation to a table and a graph. It is the first step toward functions in grade 8.

See it: pictures to draw with your child

Copy these onto paper or a whiteboard. A quick sketch makes the idea concrete before any written method.

rule× 8t = 3 ticketsindependentc = $24dependent
The independent variable goes in, the dependent variable comes out.
0123456081624324048Tickets bought (t)Total cost in $ (c)(3, 24)
c = 8t as a graph: the independent variable on the horizontal axis.

One relationship, three ways

Tickets at $8 each:

Tickets, t12345
Cost, c816243240

Each view helps with different questions. The equation finds the cost of 37 tickets fast. The table shows the pattern going up by 8. The graph shows at a glance that cost grows steadily.

How to write the equation

  1. Name the variables. Decide which one depends on the other.
  2. Find the rule. Look at a few pairs. Is the dependent variable always a number times the other (c = 8t)? Or a number more (a = s + 3)?
  3. Write it with the dependent variable alone: c = 8t, not t = 8c.
  4. Check every row. A rule that fits the first row might not fit the rest. For the table 1 → 3, 2 → 6, 3 → 9, both y = 3x and y = x + 2 fit the first row, but only y = 3x fits them all.

A full example, start to finish

Sam is 3 years older than his sister. Write an equation and make a table.

  1. Variables: s is his sister’s age and a is Sam’s age. Sam’s age depends on his sister’s age, so a is dependent.
  2. Rule: Sam is always 3 more: a = s + 3.
  3. Table:
Sister, s4567
Sam, a78910

The table goes up by 1 in both rows, so the graph is a straight line that does not start at 0: when his sister was born (s = 0), Sam was already 3.

Variables practice

Pick the dependent variable, the equation that fits, or the missing value. New stories and tables every time.

What comes next

In grade 7 these relationships become proportional relationships, and in grade 8 they are called functions. The number that multiplies the variable, like the 8 in c = 8t, becomes the slope.

What to say to your child

A short script for teaching it the first time. Pause after each line and let your child do the next step.

  1. “If you buy more tickets, what happens to the cost?”
  2. “So which one depends on the other?”
  3. “The number you choose is the independent variable. The one that changes because of it is the dependent variable.”
  4. “Let’s fill a table: 1 ticket, 2 tickets, 3 tickets…”
  5. “Can you write a rule that works for every row?”

More worked examples

Example 1: Hours worked and pay at $12 an hour

Pay depends on hours, so pay p is dependent and hours h independent: p = 12h.

Example 2: Pick the equation for x: 1, 2, 3 and y: 5, 6, 7

y = x + 4. Check every row: 1 + 4 = 5, 2 + 4 = 6, 3 + 4 = 7.

Example 3: A car goes 60 miles each hour. Distance after 4 hours?

d = 60h, so d = 60 × 4 = 240 miles.

Practice questions (answers below)

Ask these out loud or write them down. Check each answer, and ask “how did you get that?” for one or two.

  1. Plant height and days of growth: which is dependent?
  2. Pencils p in b boxes of 12: equation?
  3. x: 2, 4, 6 and y: 10, 20, 30. Equation?
  4. x: 1, 2, 3 and y: 8, 9, 10. Equation?
  5. c = 8t. Find c when t = 6.
  6. Which axis shows the independent variable?
  7. Lena earns $9 an hour. Earnings for 5 hours?
  8. Is the number of tickets dependent on the cost?
Show the answers
  1. Height
  2. p = 12b
  3. y = 5x
  4. y = x + 7
  5. 48
  6. The horizontal (x) axis
  7. $45
  8. No, the cost depends on the tickets

Common mistakes

t = 8cPut the independent variable alone.Fix: say “cost depends on tickets”, then write cost = 8 × tickets.
Checked one row onlyPicked a rule that fits the first pair.Fix: test the rule on every row of the table.
Axes swappedPut the dependent variable on the horizontal axis.Fix: independent goes across, dependent goes up.
Plus instead of timesSaw 8, 16, 24 and wrote c = t + 8.Fix: check t = 2: 2 + 8 = 10, not 16.

How to teach it at home

Taxi and phone plans

Any bill with a starting fee and a cost per unit is a linear function. Ask: what is the rate of change, and what is the initial value?

Graph a walk

Walk away from a wall, stop, then walk back, while someone times it. Sketch distance against time together.

Input–output game

One person thinks of a rule like “double it and add 1”. The other gives inputs and guesses the rule from the outputs.

By grade

Worksheets and practice

Last reviewed

Questions parents ask

What is an independent variable?

The input: the amount you choose or change, like the number of tickets you buy.

What is a dependent variable?

The output: the amount that changes because of the independent variable, like the total cost.

How do you tell which variable is dependent?

Say “___ depends on ___”. The variable that fits the first blank is the dependent one.

Which variable goes on the x-axis?

The independent variable goes on the horizontal x-axis and the dependent variable on the vertical y-axis.

What grade learns independent and dependent variables?

Grade 6, in Common Core standard 6.EE.C.9.