← Skill tree MathScape MATH161

Secant Lines and the Difference Quotient

Reference: Stewart 2.1  •  Chapter: 1  •  Section: 1

Navigation: Wiki Home > Skills > Secant Lines and the Difference Quotient

Why Do We Need Another Kind of Line?

You already know how to find the slope of a line through two points. But what if you want to know the slope of a curved graph at a single point? A curve doesn't have a constant slope; it's steeper in some places and flatter in others.

Here's the key insight: if you zoom in far enough on any smooth curve, it starts to look like a straight line. The secant line is our tool for approximating that "zoomed-in" slope before we take the limit.

Think of it like this: if you're driving and want to know your exact speed at 2:00 PM, you could check how far you traveled between 1:00 PM and 3:00 PM and divide by 2 hours. That gives an average speed. But if you check between 1:59 PM and 2:01 PM, your average gets much closer to your actual speed at exactly 2:00 PM.

Prerequisite Map

This skillSecant Lines and the Difference Quotient

Quick Reference

Property Value
Concept Tangent and Velocity Problems
Chapter 1.4
Difficulty Beginner
Time ~15 minutes

Key Concepts

What is a Secant Line?

A secant line is a line that passes through two distinct points on a curve.

        y
        │         ·  curve
        │      ·
        │   Q·───────────  secant line
        │  ·  ╲
        │ ·    ╲
        │P──────╲────────
        │        ╲
        └────────────────── x

If the curve is the graph of $y = f(x)$, and we pick two points:

Then the secant line connects $P$ and $Q$.

The Difference Quotient

The slope of the secant line through $P$ and $Q$ is:

$$m_{PQ} = \frac{f(x) - f(a)}{x - a}$$

This expression is called the difference quotient. It measures the average rate of change of $f$ between $x = a$ and $x = x$.

Breaking it down:

Alternative Form Using $h$

Sometimes we write the second point as $x = a + h$ instead of just $x$. Then:

$$m_{PQ} = \frac{f(a+h) - f(a)}{h}$$

This is the same formula! Here $h$ represents how far the second point is from the first.

Notation Second Point Difference Quotient
Using $x$ $(x, f(x))$ $\displaystyle\frac{f(x) - f(a)}{x - a}$
Using $h$ $(a+h, f(a+h))$ $\displaystyle\frac{f(a+h) - f(a)}{h}$

Why This Matters

The difference quotient is the foundation for:

  1. Derivatives (the slope of the tangent line)
  2. Instantaneous velocity (speed at a single moment)
  3. All rates of change in calculus

As $Q$ gets closer to $P$ (i.e., as $x \to a$ or $h \to 0$), the secant line "pivots" toward the tangent line.

        y
        │         ·
        │      ·   Q₁ (far)
        │   ·      Q₂ (closer)
        │ ·        Q₃ (very close)
        P·─────────tangent
        │
        └────────────────── x

    As Q approaches P, the secant
    approaches the tangent.

Practice Problems

Level 1 Identify the Components

For the function $f(x) = x^2$ and the points $P(1, 1)$ and $Q(3, 9)$:

(a) What is the value of $a$?

(b) What is the value of $x$ (or equivalently, $a + h$)?

(c) What is $f(a)$?

(d) What is $f(x)$?

Thought Process

Read off the coordinates from the given points:

  • Point $P$ has the form $(a, f(a))$
  • Point $Q$ has the form $(x, f(x))$

Match the given coordinates to these patterns.

Show Answer

(a) $a = 1$ (the $x$-coordinate of $P$)

(b) $x = 3$ (the $x$-coordinate of $Q$), so $h = 3 - 1 = 2$

(c) $f(a) = f(1) = 1$ (the $y$-coordinate of $P$)

(d) $f(x) = f(3) = 9$ (the $y$-coordinate of $Q$)

Level 2 Compute a Secant Slope

Find the slope of the secant line through the points $(2, 4)$ and $(5, 25)$ on the parabola $y = x^2$.

Thought Process

Use the difference quotient formula directly: $$m_{PQ} = \frac{f(x) - f(a)}{x - a}$$

Here $a = 2$, $f(a) = 4$, $x = 5$, $f(x) = 25$.

Just plug in and compute.

Show Answer

$$m_{PQ} = \frac{25 - 4}{5 - 2} = \frac{21}{3} = 7$$

The secant line has slope $7$.

Level 3 Difference Quotient with a Formula

For $f(x) = x^2 - 3x$, find the difference quotient $\displaystyle\frac{f(x) - f(2)}{x - 2}$ and simplify as much as possible.

Thought Process
  1. First compute $f(2) = 2^2 - 3(2) = 4 - 6 = -2$
  2. Write out $f(x) - f(2) = (x^2 - 3x) - (-2) = x^2 - 3x + 2$
  3. Factor the numerator if possible (look for factors of $(x-2)$)
  4. Cancel the common factor with the denominator
Show Answer

First, $f(2) = 2^2 - 3(2) = 4 - 6 = -2$.

The difference quotient is: $$\frac{f(x) - f(2)}{x - 2} = \frac{(x^2 - 3x) - (-2)}{x - 2} = \frac{x^2 - 3x + 2}{x - 2}$$

Factor the numerator: $$x^2 - 3x + 2 = (x - 1)(x - 2)$$

So: $$\frac{(x-1)(x-2)}{x-2} = x - 1 \quad \text{(for } x \neq 2\text{)}$$

The simplified difference quotient is $x - 1$.

Level 4 Approaching the Tangent

For $f(x) = x^3$, compute the slope of the secant line from $(1, 1)$ to $(x, x^3)$ for:

(a) $x = 2$ (b) $x = 1.5$ (c) $x = 1.1$ (d) $x = 1.01$

What value does the secant slope seem to approach as $x$ gets closer to $1$?

Thought Process

For each value of $x$, compute: $$m = \frac{x^3 - 1}{x - 1}$$

As $x$ gets closer to $1$, the secant line gets closer to the tangent line. Watch for a pattern in the slopes.

Algebraically, $x^3 - 1 = (x-1)(x^2 + x + 1)$, so the simplified form is $x^2 + x + 1$.

Show Answer

Using $m = \frac{x^3 - 1}{x - 1}$:

(a) $x = 2$: $m = \frac{8 - 1}{2 - 1} = \frac{7}{1} = 7$

(b) $x = 1.5$: $m = \frac{3.375 - 1}{1.5 - 1} = \frac{2.375}{0.5} = 4.75$

(c) $x = 1.1$: $m = \frac{1.331 - 1}{1.1 - 1} = \frac{0.331}{0.1} = 3.31$

(d) $x = 1.01$: $m = \frac{1.030301 - 1}{1.01 - 1} = \frac{0.030301}{0.01} = 3.0301$

The slopes approach $\boxed{3}$ as $x \to 1$.

(This makes sense: $\frac{x^3-1}{x-1} = x^2 + x + 1$, and when $x = 1$, this equals $1 + 1 + 1 = 3$.)

Level 5 General Difference Quotient

For $f(x) = \dfrac{1}{x}$:

(a) Find the difference quotient $\displaystyle\frac{f(a+h) - f(a)}{h}$ in terms of $a$ and $h$.

(b) Simplify your answer completely.

(c) What happens to your expression as $h \to 0$? (Don't compute the limit formally, just substitute $h = 0$ into your simplified expression.)

Thought Process
  1. Compute $f(a+h) = \frac{1}{a+h}$ and $f(a) = \frac{1}{a}$
  2. Find a common denominator to subtract the fractions
  3. Divide by $h$ (which means multiply by $\frac{1}{h}$)
  4. Simplify: the $h$ in the numerator should cancel with the $h$ in the denominator
  5. After simplification, substitute $h = 0$ to see the limiting behavior
Show Answer

(a) The difference quotient is: $$\frac{f(a+h) - f(a)}{h} = \frac{\frac{1}{a+h} - \frac{1}{a}}{h}$$

(b) Find a common denominator for the numerator: $$\frac{1}{a+h} - \frac{1}{a} = \frac{a - (a+h)}{a(a+h)} = \frac{-h}{a(a+h)}$$

So the difference quotient becomes: $$\frac{\frac{-h}{a(a+h)}}{h} = \frac{-h}{a(a+h)} \cdot \frac{1}{h} = \frac{-1}{a(a+h)}$$

(c) As $h \to 0$: $$\frac{-1}{a(a+h)} \to \frac{-1}{a \cdot a} = -\frac{1}{a^2}$$

This tells us the slope of the tangent line to $f(x) = \frac{1}{x}$ at $x = a$ is $-\frac{1}{a^2}$.

Mastery Checklist

Mental Model

The Zoom-In Camera:

Imagine pointing a camera at a curvy road and zooming in on one spot. From far away, you see all the curves and turns. But as you zoom in more and more, the road starts to look straighter and straighter.

The secant line is like measuring the slope with a wide-angle lens (using two separated points). As you zoom in (bringing the points closer), you get a better approximation of the road's direction at exactly that spot, which is the tangent line.


Connections

Looking back:

Looking ahead:


Previous Up Next
Functions Review Skills Index Tangent Slope via Limits

Last updated: 2026-01-22