Understand Slope (in Algebra)

The slope of a line, also called the gradient, measures a line's steepness. We usually think of slope as the “rise over run.” When working with slope it is important to first understand the basic concepts of what slope measures, and how it measures it. You can calculate the slope of a line as long as you know the coordinates of any two points.

Steps

Describing the Slope

  1. Define slope. The slope is a measure of how steep a straight line is.[1]
    • A variety of branches of mathematics use slope. In geometry, you can use the slope to plot points on a line, including lines that define the shape of a polygon. Statisticians use slope to describe the correlation between two variables.[2] Economists use slope to show and predict rates of change.[3]
    • People also use slope in real, concrete ways. For example, slope is used when constructing roads, stairs, ramps, and roofs.[4]
  2. Visualize a line’s “rise over run.” The term “rise” refers to the vertical distance between two points, or the change in <math>y</math>. The term “run” refers to the horizontal distance between two points, or the change in <math>x</math>. When learning about the slope of a line, you will often see the formula <math>\text{slope} \; = \frac{\text{rise}}{\text{run}}</math>[5]
    • For example a slope of a line might be <math>\frac{2}{1}</math>. This means that to go from one point to the next, you need to go up 2 along the y-axis, and over 1 along the x-axis.
  3. Locate the slope of a line in an equation. You can do this using the slope-intercept form of a line’s equation. The slope-intercept form says that <math>y = mx + b</math>. In this formula, <math>m</math> equals the slope of the line. You can rearrange the equation of a line into this formula to find the slope.[6]
    • For example, in the equation <math>y = 3x + 1</math>, the slope would be <math>3</math>. You can still think of this slope in terms of rise over run if you turn it into a fraction. Any whole number can be turned into a fraction by placing it over 1. So, <math>3 = \frac{3}{1}</math>. This means that the line represented by this equation rises 3 units vertically for every 1 unit it runs horizontally.
  4. Assess the steepness of the line. The larger the slope, the steeper the line. A line is steeper the more vertical it rests on a coordinate plane.[7]
    • For example, a slope of 2 (that is, <math>\frac{2}{1}</math>) is steeper than a slope of 0.5 (<math>\frac{1}{2}</math>).
  5. Identify a positive slope. A positive slope is one that moves up and to the right. In other words, in a positive slope, as <math>x</math> increases, <math>y</math> also increases.
    • A positive slope is denoted by a positive number.
  6. Identify a negative slope. A negative slope is one that moves down and to the right. In other words, in a negative slope, as <math>x</math> increases, <math>y</math> decreases.
    • A negative slope is denoted by a negative number, or a fraction with a negative numerator.
    • To help remember the difference between a positive and negative slope, you can think of yourself as standing on the left endpoint of the line. If you need to walk up the line, it’s positive. If you need to walk down the line, it’s negative.[8]
    • Knowing the difference between negative and positive slopes can help you check that your calculations are reasonable.
  7. Understand the slope of a horizontal line. A horizontal line is a line that runs straight across a coordinate plane. The slope of a horizontal line is 0. This makes sense if you think of lines in terms of <math>\text{slope} \; = \frac{\text{rise}}{\text{run}}</math>. For a horizontal line, the rise is 0, since the <math>y</math> value never increases or decreases. So, the slope of a horizontal line would be <math>\frac{0}{x}</math>.
  8. Understand the slope of a vertical line. The slope of a vertical line is undefined. In terms of <math>\frac{\text{rise}}{\text{run}}</math>, the slope of a negative line would be <math>\frac{y}{0}</math>. The run is 0, since the <math>x</math> value never increases or decreases. So, the slope of a vertical line will be<math>\frac{y}{0}</math>, and since you can't divide by 0, any number over 0 will always be undefined.[9]

Using a Graph to Find the Slope

  1. Set up the formula for the slope of a line. The formula is <math>\text{slope} \; = \frac{\text{rise}}{\text{run}}</math>. The rise is the vertical distance between two points on a line. The run is the horizontal distance between two points on a line.
  2. Locate two points on the line. You can use two given points, or you can select any two points. It doesn’t matter how far apart or close together the two points are, but keep in mind that if the points are closer together, there will be less need to simplify the slope later.
    • For example, you might choose the points (4, 4) and (12, 8).
  3. Calculate the vertical distance between the points. Start at one point, and count up in a straight line, until you reach the height of the second point. This is the rise of your slope.
    • Your rise will be negative if you start with the higher point and move down to the lower point.
    • For example, beginning at the point (4, 4), you would count up 4 positions to point (12, 8). So, the rise of your slope is 4: <math>\text{slope} \; = \frac{4}{\text{run}}</math>.
  4. Calculate the horizontal distance between the points. Start at the same point you started at when calculating the run. Count across in a straight line, until you reach the length of the second point. This is the run of your slope.
    • Your run will be negative if you start with the point on the right and move over to the left.
    • For example, beginning at the point (4, 4), you would count over 8 positions to point (12, 8). So, the run of your slope is 8: <math>\text{slope} \; = \frac{4}{8}</math>.
  5. Simplify if necessary. You would simplify the slope just as you would simplify any fraction. [10]
    • For example, 4 and 8 are both divisible by 4, so the slope <math>\frac{4}{8}</math> simplifies to <math>\frac{1}{2}</math>. Note that it is a positive slope, so the line moves up to the right.

Using Two Points to Find the Slope

  1. Set up the formula for the slope of a line. This formula is for finding the slope given two points on a line: <math>m = \frac{y_{2} - y_{1}}{x_{2} - x_{1}}</math>, where <math>m</math> equals the slope of the line, <math>(x_{1}, y_{1})</math> equal the coordinates of the starting point on the line, and <math>(x_{2}, y_{2})</math> equal the coordinates of the ending point on the line.
  2. Plug the x and y coordinates into the formula. To use this method, you need to be given the coordinates, as you will likely not see them plotted on a graph. Don’t forget to keep your coordinates in the correct positions. You should be subtracting the coordinates of the starting point from the coordinates of the ending point.
    • For example, if your points are (-4, 7) and (-1, 3), your formula will look like this: <math>m = \frac{3 - 7}{-1 - (-4)}</math>.
  3. Simplify the expression. Subtract the values in the numerator and denominator. Then, simplify the slope, if necessary. You would simplify the slope just as you would simplify any fraction. [11]
    • For example:
      <math>m = \frac{3 - 7}{-1 - (-4)}</math>
      <math>m = \frac{-4}{3}</math>
      So, the slope of the line is <math>\frac{-4}{3}</math>. Note that since the slope is negative, the line is moving down to the right.


Related Articles

References

Quick Summary