algebraunstuck.com

Unit 3 · Linear functions & graphing lines

Slope

About 12 minFree, no account needed
Goal
Find the slope of a line from two points or from its graph.

Slope measures how steep a line is: m=riserun=y2−y1x2−x1m = \dfrac{\text{rise}}{\text{run}} = \dfrac{y_2 - y_1}{x_2 - x_1}. Subtract the yy-values on top and the xx-values on the bottom, in the same order.

xy−5−4−3−2−112345−5−4−3−2−112345AB
From A(−2, −1) to B(2, 5): run 4, rise 6, so the slope is 6/4 = 3/2.

Example 1

Slope through (1, 2) and (4, 11): rise over run

(1,2), (4,11)(\mv{xa}{1},\mv{ya}{2}),\ (\mv{xb}{4},\mv{yb}{11})
  1. Slope is change in y over change in x

    m=11−24−1m=\frac{\mv{yb}{11}-\mv{ya}{2}}{\mv{xb}{4}-\mv{xa}{1}}
  2. Subtract, then divide: 9 ÷ 3 = 3

    m=93=3m=\frac{9}{3}=3

Check: From (1, 2): right 3, up 9 lands on (4, 11) ✓

Example 2

A falling line has a negative slope. Watch the signs

(−3,5), (3,1)(\mv{xa}{-3},\mv{ya}{5}),\ (\mv{xb}{3},\mv{yb}{1})
  1. Slope is change in y over change in x

    m=1−53−(−3)m=\frac{\mv{yb}{1}-\mv{ya}{5}}{\mv{xb}{3}-(\mv{xa}{-3})}
  2. Subtract on top and on the bottom

    m=−46m=\frac{\mv{n}{-4}}{\mv{d}{6}}
  3. Simplify: the line falls, so m is negative

    m=−23m=-\frac{\mv{n}{2}}{\mv{d}{3}}

Check: Right 6, down 4: slope −4/6 = −2/3 ✓

Positive slope rises to the right; negative slope falls. A horizontal line has slope 0. A vertical line has an undefined slope, because the run is 0 and you can't divide by 0.

Practice

10 practice problems with hints, then a mastery check of 8 questions, right on this page.