01 / 21

Slope: Compute
and Interpret

Master the rate of change between two points, learn the slope formula, and interpret what slope tells us about direction, steepness, and real-world relationships.

College Algebra

What Is Slope?

Slope measures how steep a line is and in which direction it tilts. It tells us how much the output \( y \) changes for every one-unit increase in the input \( x \).

x y rise run
\( (x_1, y_1) \)
\( (x_2, y_2) \)

Rise and Run Defined

Rise
The vertical change between two points: \( y_2 - y_1 \). Positive means up, negative means down.
Run
The horizontal change between two points: \( x_2 - x_1 \). This is positive when moving right, and negative when moving left.

Why Slope Matters

Slope is not just a number on a graph: it describes rates of change everywhere in the real world.

Speed
Distance vs. time: slope = velocity in \( \text{mph} \) or \( \text{m/s} \).
Cost
Total cost vs. quantity: slope = price per item.
Growth
Population vs. time: slope = growth rate per year.

The Slope Formula

x y 1 2 3 2 4 6 (1, 2) (3, 6) rise = 4 run = 2

Four Types of Slope

Positive
\( m > 0 \)
Negative
\( m < 0 \)
Zero
\( m = 0 \)
Undefined
\( \text{run} = 0 \)

Slope vs. \( y \)-Intercept

Students often confuse slope with the \( y \)-intercept. They describe different things about a line.

Slope \( m \) \( y \)-Intercept \( b \)
Measures Rate of change (steepness) Starting value (where the line crosses the \( y \)-axis)
Formula role \( y = \) \( m \)\( x + b \) \( y = mx + \) \( b \)
Units (example) \( \text{dollars}/\text{item} \) \( \text{dollars} \) (flat fee)
Graph effect Tilts the line Shifts the line up or down

How to Compute Slope

1
Identify the two points. Label them \( (x_1, y_1) \) and \( (x_2, y_2) \).
2
Subtract the \( y \)-values (rise): compute \( y_2 - y_1 \).
3
Subtract the \( x \)-values (run): compute \( x_2 - x_1 \).
4
Divide: \( m = \dfrac{y_2 - y_1}{x_2 - x_1} \). Simplify the fraction.
5
Interpret: State what the slope means in context (e.g., "increases by 3 units per 1 unit").

Example 1: Positive Slope

Find the slope of the line through \( (2, 3) \) and \( (5, 9) \).

x y 1 2 3 4 5 1 2 3 6 8 4 7 5 9 (2, 3) (5, 9) rise = 6 run = 3

Example 2: Negative Slope

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

x y -1 1 2 3 2 4 -2 (-1, 4) (3, -2) rise = -6 run = 4

Example 3: Real-World Interpretation

A gym charges a \( \$25 \) membership fee plus \( \$10 \) per visit. You record costs at 2 visits (\( \$45 \)) and 6 visits (\( \$85 \)). Find and interpret the slope.

Zero vs. Undefined Slope

Zero Slope
Points \( (1, 5) \) and \( (4, 5) \):
\( m = \frac{5-5}{4-1} = \frac{0}{3} = 0 \)
Horizontal line: no vertical change.
Undefined Slope
Points \( (3, 2) \) and \( (3, 7) \):
\( m = \frac{7-2}{3-3} = \frac{5}{0} \)
Vertical line: division by zero.

Slope in Parallel and Perpendicular Lines

Parallel Lines
Same slope: \( m_1 = m_2 \). The lines never intersect because they tilt identically.
Perpendicular Lines
Negative reciprocals: \( m_1 \cdot m_2 = -1 \). If one slope is \( \frac{2}{3} \), the other is \( -\frac{3}{2} \).
Parallel
same slope \( m \)
Perpendicular
\( m_1 \cdot m_2 = -1 \)

Steepness: Comparing Slopes

The absolute value of slope determines steepness. A line with \( m = -4 \) is steeper than a line with \( m = 2 \) because \( |{-4}| > |2| \).

\( m = \tfrac{1}{4} \)
\( m = 1 \)
\( m = \tfrac{10}{3} \)

Common Mistakes

✕ Swapping Rise and Run
Writing \( \frac{x_2 - x_1}{y_2 - y_1} \) instead of \( \frac{y_2 - y_1}{x_2 - x_1} \). Remember: \( y \) on top.
✕ Inconsistent Order
Subtracting \( y_2 - y_1 \) in the numerator but \( x_1 - x_2 \) in the denominator. Keep the same order in both.
✕ Zero vs. Undefined
Saying a vertical line has slope 0. Vertical = undefined, horizontal = 0.

Slope Summary

Scenario Slope Value Direction
Line rises left to right \( m > 0 \) Positive / Uphill
Line falls left to right \( m < 0 \) Negative / Downhill
Horizontal line \( m = 0 \) Flat / No change
Vertical line Undefined No run (division by 0)
Parallel lines \( m_1 = m_2 \) Same tilt
Perpendicular lines \( m_1 \cdot m_2 = -1 \) Negative reciprocals

Question 1 of 5

What is the slope of the line through \( (1, 2) \) and \( (4, 11) \)?

Question 2 of 5

A line passes through \( (3, 7) \) and \( (3, -4) \). What is its slope?

Question 3 of 5

A taxi has a fixed fare structure. After 5 miles the fare is \( \$17 \), and after 10 miles the fare is \( \$32 \). What does the slope of the cost function represent?

Question 4 of 5

Line \( \ell_1 \) has slope \( \dfrac{2}{5} \). Which slope would make a line perpendicular to \( \ell_1 \)?

Question 5 of 5

Which line is steeper: a line with slope \( m = -4 \) or a line with slope \( m = 3 \)?