Euler Hall — free maths guides

Compute the slope through two points

Compute the slope from two points with the rise over run formula. The idea in plain words, a worked example, and a check with the answers shown — part of the free Algebra I guides.

Slope is the rise for each step across

Slope measures how steeply a line climbs. It is the vertical change divided by the horizontal change:

m=y2−y1x2−x1.m=\frac{y_2-y_1}{x_2-x_1}.

The top is the rise, the bottom is the run. A slope of 2 means the line rises 2 for every 1 across.

Why the order of subtraction does not matter

If you subtract the other way round, both the top and the bottom change sign, and the two signs cancel:

y1−y2x1−x2=−(y2−y1)−(x2−x1)=y2−y1x2−x1.\frac{y_1-y_2}{x_1-x_2}=\frac{-(y_2-y_1)}{-(x_2-x_1)}=\frac{y_2-y_1}{x_2-x_1}.

So either point can be called the first, as long as the same order is used on both lines of the fraction. Using one order on top and the other on the bottom flips the slope's sign.

Worked, with a fractional answer

Find the slope through(−2, 1)(-2,\,1) and(4, 3)(4,\,3).

  • - Rise:3−1=23-1=2.
  • - Run:4−(−2)=64-(-2)=6.
  • - Slope:2/6=1/32/6 = 1/3.

The line climbs one unit for every three across. A fractional slope is normal and is best left in lowest terms.

By the end you can
  • Compute the slope from two points with the rise over run formula
  • Say which difference belongs on top of the fraction
  • Compute a negative or fractional slope correctly
Check yourself

Find the slope through(−1 ,−2)(-1\,,-2) and(5 ,4)(5\,,4).

Answers

Rise66, run66, so the slope is 1.

Work out where to start — free, no accountAnswer six real questions — free, no account