Chapter 3 ยท Ratios and proportional relationships
Writing Equations for Proportional Relationships
Use the constant of proportionality to write an equation for a proportional relationship, starting from a table of values or from labeled points on a graph.
A table lists only a few pairs of values, and a graph labels only a few points. An equation is a math sentence that says two amounts are equal. One equation can describe every pair of a proportional relationship at once. In this lesson you will write that equation, first from a table and then from a graph.
You already have the main tool. Two quantities and are in a proportional relationship when the ratio is the same number for every pair of values with , and is when is . That number is the constant of proportionality, written . You have found from tables and from graphs before. Now you will use it to build an equation.
Start with the table that follows. It shows the cost of notebooks at a school store, where every notebook has the same price.
| Number of notebooks, x | Total cost in dollars, y | Ratio of y to x | y written as 3 times x |
|---|---|---|---|
In the table, is the number of notebooks and is the total cost in dollars. The third column shows that in every row, so . This is the unit rate, the amount of for unit of : each notebook costs dollars.
Now read the last column. Dividing by gives , so multiplying by gives back. One sentence is true in every row: the total cost equals 3 times the number of notebooks. The letters and are variables, which means they stand for numbers that can change. Written with the variables, that sentence is the equation .
Here is another way to see it. No in the table is , so makes sense in every row. Multiplying both sides by the same number, , keeps them equal and gives . The equation even covers notebooks, a pair the ratio cannot test because you cannot divide by : dollars.
Key concept
The equation of a proportional relationship
In a proportional relationship between and , the ratio equals one constant for every pair with . Multiplying both sides of by gives the equation , which also fits the pair because .
On a graph, is a straight line through the origin, the point . The point lies on that line and shows the unit rate.
To write the equation, find from one pair with , check that every other pair with gives the same , and then replace with that number.
| Time in minutes, x | Water in gallons, y | Ratio of y to x |
|---|---|---|
Worked example
From a table to an equation
A hose fills an empty pool at a steady rate, so the amount of water is proportional to the time. The table just before this example shows the time , in minutes, and the water , in gallons. Write an equation for this relationship.
Say what the variables mean: x is the time in minutes and y is the water in gallons. The relationship is proportional, so its equation has the form y = kx, where k is the constant of proportionality.
Find k from the first row by dividing y by x. You can divide because x = 3 is not 0.
Check the other rows, because k must be the same for every pair where x is not 0. The third column of the table shows the work: both ratios are also 8.
Replace k with 8 in y = kx. The 8 is the unit rate: the hose adds 8 gallons in each 1 minute.
Test the equation with a row from the table. For x = 10, multiply 8 by 10. The result is 80, which matches the 80 gallons in the table, so the equation fits.
Answer
The equation is , where is the time in minutes and is the water in gallons. The hose adds gallons each minute.
A graph shows the same kind of information as a table. Each point is one pair of values, just like one row. When the relationship is proportional, , so the points lie on a straight line through the origin . The point with is , and it shows the unit rate.
In the graph that follows, a toy robot rolls across the floor at a steady speed. The horizontal axis shows the time , in seconds. The vertical axis shows the distance , in feet. Time and distance cannot be negative here, so the graph shows only values of or more. Line A is straight, and it passes through the origin and three more labeled points.
Treat each labeled point like a row of a table. Use the exact numbers in its label, never a guess from the grid.
Worked example
From a graph to an equation
Line A shows the robot's trip: is the time in seconds and is the distance in feet. Use the labeled points , , and to write an equation for the relationship.
Check the two features that the graph of every proportional relationship has. Line A is straight, and it passes through the labeled origin (0, 0), so 0 seconds goes with 0 feet. Line A has both features, so look for the constant ratio next.
Divide y by x at each labeled point where x is not 0, because in a proportional relationship that ratio is k. Use the exact numbers in the labels.
All three ratios equal 2, so k = 2. The labeled point (1, 2) shows this directly: it is the point (1, k), and it tells you the robot rolls 2 feet in 1 second, the unit rate.
Replace k with 2 in y = kx, the form of every proportional relationship.
Test the equation with the origin and with (5, 10). The ratio cannot test the origin, because you cannot divide by 0, but the equation can. Both points fit.
Answer
The equation is , where is the time in seconds and is the distance in feet. The robot rolls feet each second.
Sometimes no labeled point has , so you cannot read straight from a label. Dividing still works, because in a proportional relationship is the same at every point with .
In the next graph, the horizontal axis shows the weight , in pounds, of apples you buy. The vertical axis shows the cost , in dollars. Weight and cost cannot be negative, so again the graph shows only values of or more. Line B is straight, and it passes through the origin and three more labeled points.
Worked example
When no labeled point has x = 1
Line B shows the cost of apples: is the weight in pounds and is the cost in dollars. Use the labeled points , , and to write an equation for the relationship. Then find the unit rate.
Line B is straight and passes through the labeled origin (0, 0), so it has both features of the graph of a proportional relationship. Divide y by x at each labeled point where x is not 0 to find k.
All three ratios equal 1.5, so k = 1.5. Replace k with 1.5 in y = kx.
No labeled point has x = 1, so compute the unit rate instead of guessing from the grid. Use x = 1 in the equation. The result is the pair (1, 1.5), which is the point (1, k): 1 pound costs 1.5 dollars.
Test the equation with the origin and with (6, 9). Both points fit.
Answer
The equation is , where is the weight in pounds and is the cost in dollars. The unit rate is dollars for each pound, which is 1 dollar and 50 cents.
The big idea: in a proportional relationship, equals one constant for every pair with . That single number gives you the whole equation, .
- From a table, divide by in one row with , then check the other rows.
- From a graph, check that the line is straight and passes through . Then divide by at labeled points, or read from the point .
- Test your equation with a pair you know.
Next, you will interpret what the points on the graph of a proportional relationship mean, and you will graph proportional relationships from word problems.