Lesson 6.4 · Equations and Inequalities
Independent and dependent variables
The more hours you babysit, the more money you earn. The longer a plant grows, the taller it gets. In situations like these, one amount changes because of another. Math has names for the two amounts, and a table, an equation and a graph can all show how they are connected.
Two kinds of variables
Definition
Independent and dependent variables
The independent variable is the amount that changes on its own or that you choose. The dependent variable is the amount that changes because of the independent variable. Its value depends on the other one.
A good test is to put the two amounts into this sentence:
The dependent variable depends on the independent variable.
"The money you earn depends on the hours you work" makes sense. "The hours you work depend on the money you earn" sounds backward. So hours is independent and money is dependent.
Worked example: Name the variables
For each situation, name the independent and dependent variables.
- The number of pizzas ordered and the total cost.
- The number of minutes a candle burns and its height.
Solutions.
- The cost depends on how many pizzas you order. Independent: number of pizzas. Dependent: total cost.
- The height depends on how long the candle has burned. Independent: minutes. Dependent: height.
Tables and equations
Maya earns $12 for every hour she babysits. Let be the hours and be the money in dollars.
| hours, | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| money, | 12 | 24 | 36 | 48 | 60 |
Each money value is 12 times the hours. You can write that rule as an equation:
Writing the equation
Write the equation with the dependent variable alone on one side, like . The other side is an expression using the independent variable. Then you can plug in any value of the independent variable to find the dependent one.
With the equation you can go past the table. For 8 hours, , so Maya earns $96.
Worked example: Find the rule from a table
Write an equation for in terms of .
| 0 | 1 | 2 | 3 | 4 | |
|---|---|---|---|---|---|
| 6 | 7 | 8 | 9 | 10 |
Compare each pair: , , . Each is more than . The equation is .
Check another pair: . ✓
Graphing the relationship
To graph a relationship, turn each column of the table into an ordered pair . Put the independent variable on the horizontal axis and the dependent variable on the vertical axis.
Here are Maya's pairs, :
The points line up. Every step of 1 hour to the right goes up $12.
Worked example: Use a graph
A bike rider travels at a steady speed. The graph shows time in hours, , and distance in miles, .
Write an equation and find how long it takes to ride 70 miles.
The pairs are , , and so on. Distance is 10 times the time, so .
For 70 miles, solve . Divide both sides by : . It takes 7 hours.
Common mistake
Don't mix up the axes. The independent variable goes across (the horizontal axis) and the dependent variable goes up (the vertical axis). In an ordered pair, the independent value comes first.
Practice
Jordan mows lawns. The number of lawns he mows affects how much money he makes. Which is the independent variable?
A scientist records the number of days a plant has been growing and the plant's height. Which is the dependent variable?
Pencils cost $4 per pack. The total cost is , where is the number of packs. What is when ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
The table shows gallons of gas, , and total cost in dollars, . Which equation matches?
| 1 | 2 | 3 | 4 | |
|---|---|---|---|---|
| 3.5 | 7 | 10.5 | 14 |
The table shows how depends on . Write an expression for in terms of .
| 1 | 2 | 3 | 4 | |
|---|---|---|---|---|
| 10 | 11 | 12 | 13 |
Enter an expression, e.g. 3x^2 - 2x + 1
The graph shows pairs that follow one rule. What is when ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A cyclist rides at 12 miles per hour, so , where is time in hours and is distance in miles. How many hours does it take to ride 60 miles?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
A pool already has 200 gallons of water. A hose adds 25 gallons each minute. The total water is , where is minutes. How many gallons are in the pool after 8 minutes?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.