Chapter 6 · Proportional relationships, lines, and slope

Graph Proportional Relationships: Unit Rate as Slope

Graph proportional relationships as straight lines through the origin, read the unit rate as the slope, and see why a line that misses the origin is not proportional.

15 min read

In the last lesson you wrote equations for proportional relationships. In a proportional relationship, y=kxy = kx for one fixed number kk, called the constant of proportionality. So y÷x=ky \div x = k for every pair with x≠0x \neq 0. Now you will graph these relationships and find kk on the graph.

Start with a pump that fills an empty tank at a steady unit rate of 33 liters per minute. A unit rate is the amount of one quantity for exactly 11 unit of the other. Here that is the water added in 11 minute. Let xx be the time in minutes since the pump started, so x≥0x \ge 0. Let yy be the water in the tank in liters. Then y=3xy = 3x. The graph of this relationship shows each pair (x,y)(x, y) that fits it as a point on the coordinate plane.

Worked example

Graph the pump equation

Graph y=3xy = 3x, where yy is the liters of water in the tank after xx minutes. Use the whole-number times from 00 to 44 minutes.

  1. The equation says the water is 3 times the time, so multiply each time by 3. Start with 0 minutes. Each time and its amount of water form a pair that makes y = 3x true.

    x=0, 1, 2, 3, 4⇒y=0, 3, 6, 9, 12x = 0,\ 1,\ 2,\ 3,\ 4 \quad\Rightarrow\quad y = 0,\ 3,\ 6,\ 9,\ 12
  2. Write each pair as a point (x, y). Time comes first because it goes on the horizontal axis.

    (0,0), (1,3), (2,6), (3,9), (4,12)(0, 0),\ (1, 3),\ (2, 6),\ (3, 9),\ (4, 12)
  3. Plot each point. Start at the origin, the point (0, 0) where the axes meet. Move right x units and up y units, because the first coordinate gives the distance across and the second gives the distance up. For (2, 6), move right 2 and up 6.

  4. Draw one straight line through the points, starting at the origin. A line fits because each extra minute adds the same 3 liters, so the points climb in equal steps. Times between whole minutes follow y = 3x too, so they lie on the same line.

    x=1.5:y=3×1.5=4.5x = 1.5:\quad y = 3 \times 1.5 = 4.5

Answer

The graph of y=3xy = 3x for x≥0x \ge 0 is the straight line that starts at the origin and passes through (1,3)(1, 3), (2,6)(2, 6), (3,9)(3, 9) and (4,12)(4, 12).

Coordinate grid from x 0 to 5 and y 0 to 15, with a grid step of 1, showing 6 plotted elements. Details: line 3 x plus -1 y equals 0; point at (0, 0), named (0, 0); point at (1, 3), named (1, 3); point at (2, 6), named (2, 6); point at (3, 9), named (3, 9); point at (4, 12), named (4, 12).
The points (0,0)(0, 0), (1,3)(1, 3), (2,6)(2, 6), (3,9)(3, 9) and (4,12)(4, 12) from the steps all lie on one line that starts at the origin: the graph of y=3xy = 3x.

In the figure, the horizontal axis shows the time xx in minutes. The vertical axis shows the water yy in liters. Grid lines are 11 unit apart on both axes. Each labelled point is one pair from the steps. The line also includes the in-between times, such as the point (1.5,4.5)(1.5, 4.5) from the last step. The line starts at the origin because the tank is empty at the start: y=3×0=0y = 3 \times 0 = 0. Every proportional relationship y=kxy = kx passes through the origin, since k×0=0k \times 0 = 0. Here you draw only the part with x≥0x \ge 0, because time cannot be negative.

Three places to find the rate of 3 liters per minute for y = 3x
Time x (minutes)Water y (liters)Quotient y ÷ xChange in y when x grows by 1
00
00
undefined, because x=0x = 0
none (first row)
11
33
3÷1=33 \div 1 = 3
3−0=33 - 0 = 3
22
66
6÷2=36 \div 2 = 3
6−3=36 - 3 = 3
33
99
9÷3=39 \div 3 = 3
9−6=39 - 6 = 3
44
1212
12÷4=312 \div 4 = 3
12−9=312 - 9 = 3

All three readings in the table give 33. The water at x=1x = 1 is 33 liters. Each extra minute adds 33 liters. And y÷x=3y \div x = 3 at every point except the origin, where 0÷00 \div 0 is undefined. That 33 is the unit rate, 33 liters per minute. On the graph it shows up as steepness: the line rises 33 units for each 11 unit you move right.

The slope of a line measures that steepness. Between two points on the line, the rise is the change in yy and the run is the change in xx. The slope is rise÷run\text{rise} \div \text{run}. Take the points (1,3)(1, 3) and (4,12)(4, 12). The rise is 12−3=912 - 3 = 9 liters and the run is 4−1=34 - 1 = 3 minutes. So the slope is 9÷3=39 \div 3 = 3 liters per minute, the unit rate again. The run must not be 00. A vertical line has run 00, and division by 00 is undefined. So a vertical line has undefined slope and is never the graph of y=kxy = kx.

Key concept

The unit rate is the slope

For a proportional relationship y=kxy = kx, the graph is a straight line through the origin. Its slope is the unit rate kk, in units of yy per unit of xx. You can find kk three ways:

  • the yy-value at x=1x = 1, because k×1=kk \times 1 = k;
  • the rise for each increase of 11 in xx, because k(x+1)−kx=kk(x + 1) - kx = k;
  • the quotient y÷xy \div x at any point with x≠0x \neq 0, because kx÷x=kkx \div x = k.

Take any two points with x1≠x2x_1 \neq x_2. The rise is kk times the run, so the slope is kk.

riserun=kx2−kx1x2−x1=k(x2−x1)x2−x1=k(x2≠x1)\frac{\text{rise}}{\text{run}} = \frac{kx_2 - kx_1}{x_2 - x_1} = \frac{k(x_2 - x_1)}{x_2 - x_1} = k \quad (x_2 \neq x_1)

Now go the other way and read the unit rate from a graph. At a market, the cost of apples is proportional to their weight. Let xx be the weight in pounds, with x≥0x \ge 0. Let yy be the cost in dollars. In the next figure, the horizontal axis shows weight in pounds and the vertical axis shows cost in dollars. Grid lines are 11 unit apart. Work from the exact coordinates of the labelled points, not from how steep the line looks. The look depends on how the axes are stretched.

Coordinate grid from x 0 to 6 and y 0 to 9, with a grid step of 1, showing 4 plotted elements. Details: line 3 x plus -2 y equals 0; point at (0, 0), named (0, 0); point at (2, 3), named (2, 3); point at (4, 6), named (4, 6).
The cost line passes through the labelled points (0,0)(0, 0), (2,3)(2, 3) and (4,6)(4, 6): 22 pounds cost 33 dollars and 44 pounds cost 66 dollars.

Worked example

Read the unit rate from a graph

The cost of apples is proportional to their weight. Its graph is the straight line through (0,0)(0, 0), (2,3)(2, 3) and (4,6)(4, 6), where xx is the weight in pounds and yy is the cost in dollars. Find the slope, explain what it means, and write the equation.

  1. Find the slope from (2, 3) to (4, 6). The rise is the change in cost, in dollars. The run is the change in weight, in pounds. So the slope is in dollars per pound. The run is 2, not 0, so the division is defined.

    riserun=6−34−2=32=1.5\frac{\text{rise}}{\text{run}} = \frac{6 - 3}{4 - 2} = \frac{3}{2} = 1.5
  2. Check with the quotient y ÷ x at the two labelled points other than the origin, where x is not 0. Both quotients equal the slope, as they must for a proportional relationship.

    32=1.5,64=1.5\frac{3}{2} = 1.5, \qquad \frac{6}{4} = 1.5
  3. So k = 1.5 and the equation is y = 1.5x. It fits all three labelled points. Only one straight line passes through two different points, so the drawn line is the graph of y = 1.5x.

    1.5×0=0,1.5×2=3,1.5×4=61.5 \times 0 = 0, \quad 1.5 \times 2 = 3, \quad 1.5 \times 4 = 6
  4. Interpret the slope. At x = 1 the cost is 1.5 dollars. Each extra pound adds 1.5 dollars, which is the rise of 1.5 for each 1 to the right. The point (1, 1.5) sits halfway between grid lines, so you compute its height instead of reading it off the picture.

    1.5×1=1.51.5 \times 1 = 1.5

Answer

The slope is 1.51.5, so the apples cost 1.501.50 dollars per pound, and the equation is y=1.5xy = 1.5x.

A straight line is not always a proportional relationship. Return to the pump, but suppose the tank already holds 11 liter when the pump starts. Then y=3x+1y = 3x + 1. The axes measure the same quantities as before: time xx in minutes across and water yy in liters up. Grid lines are 11 unit apart. In the figure below, Line A is y=3xy = 3x and Line B is y=3x+1y = 3x + 1. Line B rises 33 for each 11 to the right, like Line A, because the pump still adds 33 liters each minute. But at x=0x = 0, Line B gives y=3×0+1=1y = 3 \times 0 + 1 = 1. So it passes through (0,1)(0, 1) and misses the origin. The two lines look close near the start, but the coordinates show the difference. A proportional relationship must give y=0y = 0 when x=0x = 0, so y=3x+1y = 3x + 1 is not proportional.

Coordinate grid from x 0 to 4 and y 0 to 14, with a grid step of 1, showing 6 plotted elements. Details: line 3 x plus -1 y equals 0, named Line A; line 3 x plus -1 y equals -1, named Line B; point at (0, 0); point at (0, 1), named (0, 1); point at (1, 4), named (1, 4); point at (2, 7), named (2, 7).
Line A, y=3xy = 3x, passes through the origin. Line B, y=3x+1y = 3x + 1, passes through (0,1)(0, 1), (1,4)(1, 4) and (2,7)(2, 7), so it misses the origin.

Takeaway: the graph of a proportional relationship y=kxy = kx is a straight line through the origin, and its slope is the unit rate kk. You can read kk as the yy-value at x=1x = 1 or as the rise for each increase of 11 in xx. You can also read it as y÷xy \div x at any point with x≠0x \neq 0. A straight line that misses the origin is not proportional, so check the origin first. Next, you will compare proportional relationships shown in different ways and use them to solve word problems.