Pre-Algebra · Grade 6

Independent and Dependent Variables

Quick answer

When one quantity changes because another does, the one you choose or control is the independent variable, and the one that responds is the dependent variable. If you earn 12 dollars an hour, the hours are independent and the pay depends on them: e = 12h. The same relationship can be shown as an equation, as a table of values, and as a graph with the independent variable across the bottom. Reading a pattern in a table leads back to the equation.

What you'll learn

  • Identify the independent and dependent variables in a situation
  • Write an equation for the dependent variable
  • Make a table and a graph from an equation
  • Find an equation from a table of values

One quantity depends on another

Jade earns 1212 dollars for every hour she works. If she works more hours, she earns more. Her pay depends on her hours.

  • The number of hours, hh, is the independent variable. Jade chooses it.
  • The pay in dollars, ee, is the dependent variable. It responds to hh.

The rule that connects them is an equation:

e=12he = 12h

The dependent variable is usually written by itself on the left. The right side tells you how to work it out from the independent variable.

Three ways to show it

A table. Pick values of the independent variable and work out each dependent value:

Hours, hhPay, ee
0000
111212
222424
333636
444848

A graph. Put the independent variable across the bottom and the dependent variable up the side. Each row of the table is one point.

Pay depends on hours worked A graph with hours worked across the bottom, from 0 to 5, and pay in dollars up the side, from 0 to 60. A straight line starts at the origin and rises 12 dollars for every hour. Points mark 0, 12, 24, 36 and 48 dollars at 0, 1, 2, 3 and 4 hours. 12345102030405060he
  • e = 12h
Pay depends on hours worked

The equation e=12he = 12h is the shortest of the three. The table shows exact values, and the graph shows the pattern at a glance: a steady climb of 1212 dollars for each hour.

Why it matters which one depends

Choosing the independent variable decides what the equation lets you work out. The equation e=12he = 12h answers “how much for 33 hours?” in one step: 12×3=3612 \times 3 = 36. That is the question people usually ask, because hours are what they control.

It also decides how the graph is drawn. Everyone puts the independent variable on the horizontal axis, so anyone reading a graph knows which way the cause runs. Reading left to right, you see what happens to the dependent variable as you change the independent one.

A handy test: say the sentence “the ___ depends on the ___”. The version that makes sense names the dependent variable first.

Worked examples

Common mistakes

Practice problems

  1. Hours spent studying and test score: which is the independent variable?

    Answer

    Hours spent studying

    Full solution

    The score depends on the study time, not the other way around.

  2. Pencils cost 33 dollars each: c=3nc = 3n. Find cc for n=1,2,3n = 1, 2, 3 and 44.

    Answer

    3,6,9,123, 6, 9, 12

    Full solution

    Multiply each nn by 33.

  3. If y=4xy = 4x, what is yy when x=7x = 7?

    Answer

    2828

    Full solution

    4×7=284 \times 7 = 28.

  4. Find an equation for the table: x=0,1,2,3x = 0, 1, 2, 3 and y=5,8,11,14y = 5, 8, 11, 14.

    Answer

    y=3x+5y = 3x + 5

    Full solution

    yy goes up by 33 each time, so yy includes 3x3x. At x=0x = 0, y=5y = 5, so add 55.

  5. Sara walks at 44 km per hour. Write an equation for distance dd after tt hours, and find dd for t=2.5t = 2.5.

    Answer

    d=4td = 4t; 1010 km

    Full solution

    4×2.5=104 \times 2.5 = 10.

  6. A pool holds 4040 liters and fills at 1515 liters per minute. Write an equation for the volume VV after mm minutes, and find VV after 66 minutes.

    Answer

    V=40+15mV = 40 + 15m; 130130 liters

    Full solution

    40+15×6=40+90=13040 + 15 \times 6 = 40 + 90 = 130.

  7. A party needs 33 slices of pizza per guest. Which variable is dependent: the number of guests or the number of slices?

    Answer

    The number of slices

    Full solution

    The slices needed depend on how many guests come: s=3gs = 3g.

  8. A phone plan costs 2020 dollars a month plus 0.100.10 dollars per text. Write an equation for the cost cc with tt texts, and find cc for 150150 texts.

    Answer

    c=20+0.1tc = 20 + 0.1t; 3535 dollars

    Full solution

    0.1×150=150.1 \times 150 = 15, and 20+15=3520 + 15 = 35.

  9. A student writes Jade’s pay as h=12eh = 12e. Explain the mistake.

    Answer

    The variables are swapped. Pay depends on hours, so e=12he = 12h.

    Full solution

    h=12eh = 12e would say she works 1212 hours to earn 11 dollar. The dependent variable, pay, goes alone on the left.

Frequently asked questions

What is an independent variable?

The quantity you choose or that changes on its own, such as the number of hours worked. Its value does not depend on the other quantity.

What is a dependent variable?

The quantity that changes in response, such as the pay earned. Its value depends on the independent variable.

How do I tell which variable is which?

Try the sentence: the ___ depends on the ___. The pay depends on the hours makes sense; the hours depend on the pay does not, so pay is dependent.

Which axis does each variable go on?

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

How do I find an equation from a table?

See how much the dependent variable changes each time the independent one goes up by 1. That is what you multiply by. Then find what to add so the first row works.

What to learn next

Standards alignment

This lesson covers the following Common Core State Standards for Mathematics.

  • CCSS.MATH.CONTENT.6.EE.C.9Expressions and EquationsUse variables to represent two quantities in a real-world problem that change in relationship to one another; write an equation to express one quantity, thought of as the dependent variable, in terms of the other quantity, thought of as the independent variable. Analyze the relationship between the dependent and independent variables using graphs and tables, and relate these to the equation.