Knaph

Slope34 of 971 min read

Slope from Two Points

You don't need a graph to find a slope. Two points are enough. Subtract the y-values for the rise and the x-values for the run.

The formula

Take the points (1, 2) and (5, 5). The rise is the change in y: 5 − 2 = 3. The run is the change in x: 5 − 1 = 4. The slope is 34\dfrac{3}{4}.

In letters, with the points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2): m=y2−y1x2−x1m = \dfrac{y_2 - y_1}{x_2 - x_1}.

A line through the points (1, 2) and (5, 5) with a slope triangle: run 5 − 1 = 4 along the bottom and rise 5 − 2 = 3 up the side.

With negative numbers

Take (−2, 1) and (4, −3). Rise: −3 − 1 = −4. Run: 4 − (−2) = 6. Slope: −4 ÷ 6 = −23\dfrac{2}{3}. Subtracting a negative adds, so be careful with brackets.

Keep the same order on top and bottom. If you start with the second point on top, start with it on the bottom too. The slope comes out the same.

A check

Is the answer sensible? A line going down as you move right has a negative slope. A positive slope goes up.

Careful

Don't mix the order. y₂ − y₁ over x₁ − x₂ gives the wrong sign.

Try it at home

  1. Pick two points on squared paper, like (1, 1) and (4, 6).
  2. Find the rise and the run, then the slope.
  3. Swap the order of the points and check that you get the same slope.

Words in this lesson

  • slope formula - the change in y divided by the change in x between two points.

Big idea

Slope is the change in y divided by the change in x between any two points, in the same order on top and bottom.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.