Chapter 6 · Proportional relationships, lines, and slope
Slope: Four Types and How to Find It
Learn what slope measures, tell positive, negative, zero and undefined slope apart, and find slope from a graph, from two points or from a table.
In a proportional relationship , the constant tells you how much changes each time goes up by . Its graph is a straight line through the origin .
Many straight lines do not pass through the origin, so they do not show proportional relationships. You can still ask the same question about them: how much does change for each unit that increases? For any straight line that is not vertical, the number that answers this question is the slope of the line.
To measure slope, choose two different points on the line and move from the first point to the second. Compare two changes:
- The rise is the change in . It is positive when goes up and negative when goes down.
- The run is the change in . It is positive when you move right and negative when you move left.
The slope is the rise divided by the run, as long as the run is not . Dividing turns the two changes into a unit rate: the change in for each unit of change in .
Key concept
Slope is rise divided by run
Take two different points and on the same straight line. The slope, written , is the change in divided by the change in . Subtract in the same order on the top and on the bottom.
The division is allowed only when , because division by is undefined. If , the line is vertical and its slope is undefined.
On a line that is not vertical, every pair of different points gives the same slope. So you may use any two points whose coordinates you know exactly.
Positive and negative slope. Read a line from left to right, so that increases and the run is positive. Then the sign of the rise decides the sign of the slope.
- If increases as increases, the rise is positive. A positive number divided by a positive number is positive, so the line has a positive slope.
- If decreases as increases, the rise is negative. A negative number divided by a positive number is negative, so the line has a negative slope.
In the figure below, the horizontal axis shows and the vertical axis shows . Line A passes through and . From the first point to the second, both and increase, so Line A has a positive slope. Line B passes through and . Here increases while decreases, so Line B has a negative slope.
Zero and undefined slope. A horizontal line has the same -value at every point. Between any two different points on it, the rise is and the run is not . Zero divided by a nonzero number is , so a horizontal line has a slope of zero. Zero is a number: it tells you that does not change.
A vertical line has the same -value at every point. Between any two different points on it, the run is and the rise is not . Division by is undefined, because no number multiplied by gives a nonzero rise. So a vertical line has an undefined slope: no number describes it. A vertical line is also not the graph of a function , a rule that gives exactly one -value for each -value, because its one -value is paired with many -values.
In the figure below, is on the horizontal axis and is on the vertical axis. Line C passes through and , so it is horizontal. Line D passes through and , so it is vertical. The table after the figure works out the rise and the run for all four lines.
| Line | First point to second point | Rise (change in y) | Run (change in x) | Slope (rise divided by run) |
|---|---|---|---|---|
A | to | , positive | ||
B | to | , negative | ||
C | to | , zero | ||
D | to | is undefined |
Finding slope from a graph. To find a slope from a graph, you need two different points on the line whose coordinates you know exactly, such as marked points that sit on grid intersections. Do not judge a slope by how steep the line looks, because the look of a graph changes with the scale of its axes.
Move from the left point to the right point in two parts. First count the run: how many units you move to the right. Then count the rise: how many units you move up (positive) or down (negative). Finally, divide the rise by the run. On a line that is not vertical, two different points never share an -value, so the run is not and the division is allowed.
The figure below shows Line E with three marked points. The horizontal axis shows and the vertical axis shows .
Worked example
Slope from a graph
Line E in the figure above passes through the marked points , and . Find the slope of Line E.
Choose two marked points whose coordinates are exact. Take the leftmost point as the first point and the rightmost point as the second, so that you read the line from left to right.
Count the run. Moving from the first point to the second, you go 4 grid units to the right, so the run is positive 4. Subtracting the x-values, second minus first, gives the same number.
Count the rise. Over the same move you go 6 grid units up, so the rise is positive 6. Subtracting the y-values in the same order gives the same number.
Divide the rise by the run. The run is 4, which is not 0, so the division is allowed. Then divide the top and the bottom by 2, which does not change the value of the fraction.
Check with a different pair of marked points. From (0, 2) to (2, 5) the run is 2 and the rise is 3. That is half the run and half the rise of the first pair, so the ratio is the same. On a line that is not vertical, every pair of different points gives the same slope.
Answer
The slope of Line E is . It is positive: increases by for every units that increases.
Finding slope from two points. In the last example, counting on the grid and subtracting coordinates gave the same rise and the same run. So you do not need a drawing. When you know the coordinates of two different points on a line, subtract the -values to get the rise, and subtract the -values in the same order to get the run. If the run is not , divide the rise by the run.
Put parentheses around a negative coordinate when you subtract it, so that its sign is not lost.
Worked example
Slope from two points
A line passes through the points and . Find its slope.
Fix the order of the points before you subtract. Call the point listed first point 1 and the other one point 2. Every subtraction will be point 2 minus point 1.
Subtract the y-values to find the rise. The rise is negative, which tells you that y goes down as you move from point 1 to point 2.
Subtract the x-values in the same order to find the run. Subtracting a negative number is the same as adding its opposite.
Divide the rise by the run. The run is 8, which is not 0, so the slope is defined. Then divide the top and the bottom by 2, which does not change the value of the fraction.
Answer
The slope of the line is . It is negative: decreases by for every units that increases.
Finding slope from a table. Each row of a table of - and -values is a point , so any two rows give you two points. Find the slope between them exactly as before.
A table has one slope only if its points lie on one straight line. To check, find the slope from each row to the next. If the -values are all different and every one of these slopes is the same, the points lie on one straight line with that slope. The -values do not have to go up in equal steps.
The table below describes a tank that is draining. Here is the time in minutes since the drain opened, and is the volume of water in the tank in liters.
| Time x (minutes) | Volume y (liters) |
|---|---|
Worked example
Slope from a table
The table above shows the volume of water , in liters, in a tank minutes after its drain opens. Check that each row and the next give the same slope. Then state the slope and explain what it means.
Treat the first two rows as two points. Subtract second minus first for the y-values and for the x-values, then divide. The run is 3, which is not 0, so the division is allowed.
Do the same for the second and third rows. Here x goes up by 4 instead of 3, so y changes by a different amount, but the ratio of the two changes is the same.
Do the same for the third and fourth rows, to make sure the slope stays the same to the end of the table.
Compare the three results. They are equal and the x-values are all different, so the four points lie on one straight line. Attach the units: the rise is in liters and the run is in minutes, so the slope is a rate in liters per minute.
Answer
The slope is liters per minute. From each row of the table to the next, the volume of water goes down at a rate of liters per minute.
Takeaway. For a line that is not vertical, slope tells you how much changes for each unit that increases. From a graph, two points or a table, the method is the same: take two different points with exact coordinates, find the rise and the run in the same order, and divide the rise by the run, which must not be . If increases as increases, the slope is positive. If decreases as increases, the slope is negative. A horizontal line has a slope of , and a vertical line has an undefined slope. Next, you will use slope to find a missing coordinate and to graph a line.