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 dollars for every hour she works. If she works more hours, she earns more. Her pay depends on her hours.
- The number of hours, , is the independent variable. Jade chooses it.
- The pay in dollars, , is the dependent variable. It responds to .
The rule that connects them is an equation:
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, | Pay, |
|---|---|
A graph. Put the independent variable across the bottom and the dependent variable up the side. Each row of the table is one point.
- e = 12h
The equation is the shortest of the three. The table shows exact values, and the graph shows the pattern at a glance: a steady climb of dollars for each hour.
Why it matters which one depends
Choosing the independent variable decides what the equation lets you work out. The equation answers “how much for hours?” in one step: . 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
-
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.
-
Pencils cost dollars each: . Find for and .
Answer
Full solution
Multiply each by .
-
If , what is when ?
Answer
Full solution
.
-
Find an equation for the table: and .
Answer
Full solution
goes up by each time, so includes . At , , so add .
-
Sara walks at km per hour. Write an equation for distance after hours, and find for .
Answer
; km
Full solution
.
-
A pool holds liters and fills at liters per minute. Write an equation for the volume after minutes, and find after minutes.
Answer
; liters
Full solution
.
-
A party needs 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: .
-
A phone plan costs dollars a month plus dollars per text. Write an equation for the cost with texts, and find for texts.
Answer
; dollars
Full solution
, and .
-
A student writes Jade’s pay as . Explain the mistake.
Answer
The variables are swapped. Pay depends on hours, so .
Full solution
would say she works hours to earn 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.
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.