Graphing Proportional Relationships
Progress can't be saved in this browser, so this lesson's status can't be set.
Learning goals
- Test whether a table or graph is proportional, using and the origin
- Write from a table, reading as the unit rate with its units
- Plot a proportional table as ordered pairs, and read new values off the line
- Explain why the points of lie on a straight line through the origin
- Interpret a negative , and the inputs a real situation allows
Proportional tables
Here is the walk as a table. Let be the number of hours walked and the number of miles covered, at a steady miles per hour.
| Hours walked, | |||||
|---|---|---|---|---|---|
| Miles covered, |
Divide each by its . You get , , and : every ratio is the same number. In the language of the ratios chapter, the columns are equivalent ratios of miles to hours. The ratio is scaled by , and is scaled by .
That is what makes the table proportional. A quantity is proportional to a quantity when the ratio is the same nonzero number for every pair with not zero. Any pair with must also have . That shared number is the constant of proportionality, written . For the walk, . This lesson leaves out , the relationship where is always .
The clause about is there because that column has no ratio to test. The ratio has no value, whatever is, since division by zero has no answer. What the column must do instead follows from the ratio. If is always times , then an input of gives . Zero hours of walking covers zero miles.
So the test for a table has two parts. Divide by in every column where is not , and the ratios must all match and not be . Any column with must have . If both hold, the table is proportional; if even one ratio differs, or gives some other , it is not.
The walk passes only because the pace is steady. A walker who stops for lunch covers no miles in that hour, and the ratios stop matching.
Check your understanding
Which table is proportional?
Divide each by its , skipping any column where .
The table with has one ratio throughout, so it is proportional with . The table with gives , and the one with gives . The table starting at has matching ratios of , but its input gives instead of , so it fails too.
The equation y = kx
Start with one column of the walk. There , and multiplying both sides by gives : the miles are the rate times the hours. Every other column works the same way, since and .
In general, every column with not zero has . Multiply both sides by , the balance move from solving one-step equations, which is safe because is not :
The equation also covers the zero column, because . So one equation describes the whole table. For the walk it is .
The number is the unit rate. Put into the equation and you get , so is the output for one unit of input: the miles in one hour. That is the unit rate from the rates lesson, and it keeps its units. Write the walk’s constant as miles per hour, not as a bare . In general the units of are the units of per unit of .
Which quantity you call decides which rate is. Put hours on top instead and the ratio is hour per mile. That is the same relationship read the other way round: the reciprocal rate, with the units reversed. So say which way you are reading it.
The equation answers questions in both directions. To find , put in and multiply by . To find , put in and solve by dividing both sides by , which works because is not .
Worked example 1 From a table to , then forward and backward
A pump fills a pool at a steady rate. The table gives the liters in the pool after minutes.
| Minutes, | |||
|---|---|---|---|
| Liters, |
Divide each by its :
The ratios match, so the table is proportional with liters per minute, and .
Forward: after minutes the pool holds liters.
Backward: to reach liters, solve . Divide both sides by :
The pool reaches liters after minutes. Check it: .
Check your understanding
A table for a steady bike ride shows kilometers after hours and kilometers after hours. Which equation and unit rate fit it?
Divide kilometers by hours in each column.
So , the kilometers ridden in one hour, and . The units of are the units of per unit of : kilometers per hour, not hours per kilometer.
Plotting a proportional table
Each column of a table is an ordered pair . The walk gives , , , and . Plot them with hours across and miles up.
The points line up exactly, and the line through them passes through the origin. Look at the step from each point to the next: it is across and up every time. That step is the unit rate drawn on the grid, one hour across and the miles walked in it up.
Once you have the line, you can read values that were never in the table. Halfway between and hours, at , the line sits at miles, and the equation agrees: . When a reading falls between gridlines, the equation gives the exact value and the picture gives a check.
Worked example 2 Find from one point on the graph
A straight line through the origin shows the cost , in dollars, of kilograms of rice. The line passes through the point . Find the equation, and the cost of kilograms.
The origin cannot give , because has no value. Use the other point, which says kilograms cost dollars:
So rice costs dollars per kilogram, and . As a check, the line should pass through , because one kilogram costs the unit rate.
For kilograms, , so kilograms cost dollars.
Why the points line up through the origin
The walk’s points lined up, but that was one table. The claim is that this happens for every proportional relationship, whatever its , and that the line always passes through the origin.
Why the points of lie on a straight line through the origin#
Take as the example. Put in and you get , so the graph contains the origin. Every proportional graph does, because whatever is.
Now take the point for , which is . To reach it from the origin you go across and up. Call that one trip. The point for is , which is two trips in a row. The second trip starts where the first ended and heads in exactly the same direction, so the path does not bend at . The point for is , three trips in a row, still with no bend.
Fractions of a trip work the same way. Half a trip is across and up, which reaches , halfway along the first trip. A negative input runs the trip backward: gives , which continues the same straight path on the other side of the origin. So every point of lies on the one straight line through the origin and .
Nothing here depended on the number . For any , the point for is , one trip of across and up. The point for any other is : across, and times up, which is of those trips laid end to end. When is a fraction it is part of a trip, and when is negative the trip runs backward. Either way the point lies on the straight line through the origin and . A negative changes nothing in the argument: the trip goes down instead of up.
It works the other way too. Every point of that line is some number of trips from the origin: a whole number, a fraction, or a negative number of them. A point trips along is , which is the point of for . So the graph of is the whole line, not just some points on it.
The reverse is also true, and it is what lets you test a graph by eye. Take the straight line through the origin and the point . The ratio at that point is . The proof above shows that the points of lie on one straight line. That line passes through the origin and through , since . Only one straight line passes through two given points, so the line we started with is the graph of .
The same argument works for any straight line through the origin, other than an axis. Pick a point on it other than the origin, and call the ratio there . The graph of is a straight line through the origin and that point. Only one straight line passes through both, so the line is . The vertical axis is the exception, because every point on it has and no ratio exists. The horizontal axis is left out too, because its would be .
Check your understanding
A proportional relationship has the point on its graph. Which other point must also be on it?
Find from the point you know: , so the equation is .
So is on the graph: it is two trips of across and up. Adding to both coordinates gives , whose ratio is . Swapping gives , and fails because an input of must give .
Steepness and the sign of k
Every line passes through the origin and through . Between two positive values of , the larger one puts that second point higher. Its line climbs more for each step across, so it is steeper. A walk at miles per hour leaves a steeper trail than a walk at . For a positive , steepness on these graphs is the unit rate.
The rate can also be negative. Then goes down as goes up. The line passes through . From the origin, each step of across goes down, so the line falls from left to right. The ratio is still the same at every point except the origin: , and all equal .
So the sign of gives the direction, rising for a positive and falling for a negative one. The size of , its absolute value, gives the steepness. The lines and are equally steep, tilted opposite ways.
Worked example 3 A negative rate: the temperature falls
From noon the temperature falls at a steady degrees per hour. Let be the hours after noon and the change in temperature since noon, in degrees. Find the equation, the change by p.m., and the temperature then if it was degrees at noon.
After hour the change is , after hours it is , and after hours it is . Divide each change by its hours:
So degrees per hour and . Its graph falls through the origin, and for times after noon the points sit below the x-axis, in Quadrant IV.
By p.m., , so the change is degrees. The temperature is then degrees.
Notice what is proportional here. The change in temperature is proportional to time, because it is at noon. The temperature itself is not: it is at noon, where a proportional quantity would have to be .
Proportional or not?
A relationship can fail to be proportional in two different ways, and each shows up on the graph.
Take a bike rental that charges a -dollar fee plus dollars per hour. One hour costs dollars, two cost , three cost and four cost . The cost goes up by the same dollars every hour, but the ratios are , , and , which do not match. On the graph the points lie on a straight line, but the line meets the y-axis at , the fee, instead of at the origin.
Now take the area of a square: side gives area , side gives , side gives . Here the ratios are , and . The graph does start at the origin, since a square with side has no area. But the points bend upward instead of lying on a straight line.
So the graph test has two parts. The points must lie on a straight line, and that line must pass through the origin (and not be either axis). Neither part is enough alone: the rental passes the first and fails the second, and the square passes the second and fails the first. In a table, the same two failures show up as ratios that do not match.
Worked example 4 Two data plans: equal steps are not enough
Two phone plans charge by the gigabyte of data used in a month.
| Gigabytes, | |||
|---|---|---|---|
| Plan A, dollars | |||
| Plan B, dollars |
Assume each plan charges a fixed amount for every extra gigabyte, so the pattern in the table holds between and beyond its columns.
Plan A: divide each cost by its gigabytes.
The ratios match, so Plan A is proportional, with and dollars per gigabyte.
Plan B: the first two columns already disagree.
The third gives , so Plan B is not proportional, even though each extra gigabyte adds the same dollars. Run that pattern back one gigabyte, from to , and the cost drops from to . Plan B charges dollars for using no data at all, a monthly fee, and its graph meets the y-axis at .
Check your understanding
A straight line passes through and . Is it the graph of a proportional relationship?
A proportional graph must pass through the origin, because for every .
This line is straight, but it meets the y-axis at , so it is not proportional. The ratio from one point cannot describe it, and need not be a whole number in any case.
What the situation allows
The equation makes sense for every : negatives, fractions and decimals included. Its full graph is a straight line through the origin, running in both directions. A real situation usually allows only some of those inputs, and its graph keeps only that part of the line.
Pencils at a fixed dollars each, with no bulk discount, follow . You can buy , , or pencils, but not of one or . So the graph of the pencil situation is a row of separate dots at whole-number values of . Every one of them sits on the line .
A walk at a steady miles per hour also follows . But a walk can last any length of time from up, hours included. Its graph is a solid piece of the line, starting at the origin and running to the right. Negative times make no sense, so the left half of the line is not part of it. A situation can also stop: a -hour walk ends at the point .
Check your understanding
A diver descends at a steady rate. For the first seconds, her change in height is meters after seconds. Which point is on the graph of this situation?
Put into the equation.
So is on the graph: after seconds she is meters lower. The points and do lie on the full line , but the situation only covers times from to seconds. The point has the wrong sign: a descent makes the change negative.