MathBored

Essential Math Primer
← Back to Primer Overview
H31 • Lesson 53 of 105

Slope & Rate of Change

Slope concept, rate of change, secant lines

High School Essentials • 9-12

Prerequisites: H29

Key Concepts

  • slope
  • rate
  • change

Slope & Rate of Change

Slope is more than a number -- it is a measure of how one quantity changes relative to another. Every time you hear "per" -- dollars per hour, miles per gallon, degrees per minute -- you are dealing with a rate of change. Understanding slope in this broader sense unlocks the ability to interpret real-world data and make predictions.

Slope as a Rate of Change

The slope between two points (x1, y1) and (x2, y2) is:

m = (y2 - y1) / (x2 - x1) = change in y / change in x

In context, this formula tells you how much the output (dependent variable) changes for each unit increase in the input (independent variable). If a car travels 150 miles in 3 hours, the rate of change is 150/3 = 50 miles per hour.

Average Rate of Change

For any function (not just linear ones), the average rate of change over an interval [a, b] is:

Average rate of change = [f(b) - f(a)] / (b - a)

This is geometrically the slope of the secant line connecting the points (a, f(a)) and (b, f(b)). For linear functions, the average rate of change is the same no matter which interval you choose -- that is precisely what makes a function linear.

Worked Example 1 -- Average Rate of Change

The temperature at 8 AM was 54 degrees F and at 2 PM was 78 degrees F. Find the average rate of change.

  1. Identify the two data points: (8, 54) and (14, 78), using hours in 24-hour time.
  2. Apply the formula: (78 - 54) / (14 - 8) = 24 / 6 = 4.
  3. Interpret: the temperature increased at an average rate of 4 degrees F per hour.

Interpreting Slope in Context

When you calculate a slope from real-world data, always state your interpretation using the units of both variables and the direction of change:

Worked Example 2 -- Contextual Interpretation

A gym membership costs $25 per month plus a $50 sign-up fee. The cost function is C(m) = 25m + 50.

  1. The slope is 25. This means the total cost increases by $25 for each additional month of membership.
  2. The y-intercept is 50. This represents the initial sign-up fee -- the cost when m = 0 months of actual membership have passed.

Types of Slope

Slope TypeValueGraphReal-World Example
Positivem > 0Line rises left to rightIncome increasing over time
Negativem < 0Line falls left to rightBattery charge draining
Zerom = 0Horizontal lineConstant temperature
UndefinedDivision by zeroVertical lineInstantaneous event (all outputs at one input)

Worked Example 3 -- Determining Slope Type from a Table

Given the data: (1, 10), (3, 10), (5, 10), (7, 10), what is the slope?

  1. Pick any two points: m = (10 - 10) / (3 - 1) = 0/2 = 0.
  2. The slope is zero. The y-value never changes, so the graph is a horizontal line at y = 10.

Common Mistake: Confusing Zero and Undefined Slope

A horizontal line has slope = 0 (the numerator is zero). A vertical line has undefined slope (the denominator is zero). They are not the same thing. "No slope" is ambiguous -- always say "zero slope" or "undefined slope" to be precise.

Practice Problems

1. Find the slope between (-2, 7) and (4, -5).

Show Solution

m = (-5 - 7) / (4 - (-2)) = -12 / 6 = -2. The slope is -2.

2. A plant was 3 cm tall on day 5 and 15 cm tall on day 20. Find and interpret the average rate of change.

Show Solution

Average rate = (15 - 3) / (20 - 5) = 12 / 15 = 0.8 cm per day. The plant grew an average of 0.8 cm each day.

3. A taxi charges a $3 flat fee plus $2.50 per mile. Write the cost function and interpret the slope.

Show Solution

C(m) = 2.50m + 3. The slope is 2.50, meaning the fare increases by $2.50 for each additional mile driven. The y-intercept of 3 is the base fare before any distance is traveled.

4. Classify the slope of a line through (4, 9) and (4, -3).

Show Solution

m = (-3 - 9) / (4 - 4) = -12 / 0, which is undefined. This is a vertical line at x = 4.

5. A function has f(2) = 10 and f(8) = 10. What does this tell you about the average rate of change on [2, 8]?

Show Solution

Average rate = (10 - 10) / (8 - 2) = 0/6 = 0. The function's output did not change on average over this interval. Note: the function could still vary between these points -- the average rate only captures net change.

Summary

Slope measures rate of change -- how much y changes per unit change in x. Positive slope indicates increase, negative slope indicates decrease, zero slope means no change, and undefined slope corresponds to a vertical line. The average rate of change formula generalizes slope to any function over an interval. Always interpret slope with units and context for real-world problems.

Overview