Tutorials › Calculus I › Secant Slopes and Instantaneous Slopes

Mean Value Theorems · Tutorial 675 of 1495

Secant Slopes and Instantaneous Slopes

Learn how to calculate a secant slope, interpret a derivative as an instantaneous slope, and find points where the two rates agree.

Advanced 9 min read

What You'll Learn

  • Calculate the secant slope of a function over a closed interval.
  • Interpret the secant slope as an average rate of change.
  • Connect derivative values to slopes of tangent lines.
  • Find interior points where a derivative equals the secant slope.
  • Recognize that such a point need not be unique.
  • Distinguish the general question from a guarantee that requires a theorem.

From Change Across an Interval to Change at an Instant

A derivative describes how a function changes at a particular input. A secant slope describes how much the function changes across an interval. Comparing these two quantities leads to a useful question: does the instantaneous rate at some interior point equal the average rate over the whole interval?

For example, if a car’s position changes from 10 meters to 70 meters during a 5-second interval, its average velocity over that interval is 12 meters per second. The car’s velocity may vary during those 5 seconds. It is natural to ask whether, at some moment inside the interval, its instantaneous velocity was exactly 12 meters per second.

The same question can be asked of any differentiable function. The calculation begins with the slope of a secant line and compares it with derivative values at interior points.

The Secant Slope

Let \(f\) be a function defined at two distinct inputs \(a\) and \(b\). The graph contains the points \((a,f(a))\) and \((b,f(b))\). The straight line through these two points is called a secant line to the graph. Its slope is the change in the function values divided by the change in the inputs.

Definition: For \(a\ne b\), the secant slope of \(f\) from \(a\) to \(b\) is \( \frac{f(b)-f(a)}{b-a} \). It is the average rate of change of \(f\) over the interval with endpoints \(a\) and \(b\).

When \(a<b\), we often describe this as the secant slope over \([a,b]\). The interval is closed because both endpoint values are used in the calculation. The formula is the familiar slope formula: vertical change divided by horizontal change.

$$ m_{\mathrm{sec}} = \frac{\text{change in } f}{\text{change in input}} = \frac{f(b)-f(a)}{b-a}. $$

The secant slope is an average, not necessarily the rate at every point in the interval. If \(f\) measures distance and the input measures time, then this slope has units of distance per time and represents average velocity. More generally, its units are the units of \(f\) divided by the units of its input.

How the Derivative Enters

At an interior point \(c\), where the derivative exists, \(f'(c)\) is the slope of the tangent line to the graph at \((c,f(c))\). It is also the limit of nearby secant slopes as the second input approaches \(c\):

$$ f'(c) = \lim_{h\to 0} \frac{f(c+h)-f(c)}{h}. $$

The two slopes answer different questions. The secant slope summarizes the change from one endpoint to another. The derivative describes the local rate at one input. To connect them, set the derivative equal to the secant slope and solve for an interior input \(c\):

$$ f'(c)=\frac{f(b)-f(a)}{b-a}, \qquad a<c<b. $$

This equation is the computational question at the center of the Mean Value Theorem. The theorem will supply conditions under which a suitable interior point is guaranteed to exist. Here, the goal is to understand the two slopes being compared and how to locate such points in particular examples.

Why the Comparison Is Natural

The secant line and the tangent line are both described by slopes. The secant line joins the graph’s endpoint values; the tangent line describes the graph’s direction at a single point. If their slopes are equal, the tangent line is parallel to the secant line.

This parallelism can also be expressed without relying on a sketch. The line through \((a,f(a))\) and \((b,f(b))\) has slope \(\frac{f(b)-f(a)}{b-a}\). A tangent at \(c\) has slope \(f'(c)\). Equal slopes mean the two lines have the same direction, even though they generally pass through different points.

The comparison is meaningful when the function is defined at the endpoints, so the secant slope can be calculated, and when it has derivatives at the candidate interior points. A theorem giving a general existence guarantee requires precise hypotheses; checking those hypotheses is a separate task. The examples below use functions that are differentiable throughout the intervals in question.

Worked Examples

Worked Example: A Quadratic on an Interval

Let \(f(x)=x^2\) on \([1,3]\). First calculate the endpoint values:

$$ f(1)=1^2=1, \qquad f(3)=3^2=9. $$

The change in output is \(9-1=8\), and the change in input is \(3-1=2\). Therefore the secant slope is

$$ \frac{f(3)-f(1)}{3-1} = \frac{9-1}{2} = \frac{8}{2} = 4. $$

Differentiate \(f(x)=x^2\): \(f'(x)=2x\). Set the derivative equal to the secant slope:

$$ 2c=4 \quad\Longrightarrow\quad c=2. $$

Since \(1<2<3\), this is an interior point. Check the calculation by substituting it into the derivative: \(f'(2)=2(2)=4\), which matches the secant slope. Geometrically, the tangent at \(x=2\) is parallel to the secant joining the graph’s endpoints.

Worked Example: More Than One Matching Point

Let \(f(x)=x^3\) on \([-1,2]\). The endpoint values are

$$ f(-1)=(-1)^3=-1, \qquad f(2)=2^3=8. $$

Thus the secant slope is

$$ \frac{f(2)-f(-1)}{2-(-1)} = \frac{8-(-1)}{3} = \frac{9}{3} = 3. $$

The derivative is \(f'(x)=3x^2\). We solve \(f'(c)=3\):

$$ 3c^2=3 \quad\Longrightarrow\quad c^2=1 \quad\Longrightarrow\quad c=-1\ \text{or}\ c=1. $$

The required input must be interior to \((-1,2)\). The value \(-1\) is an endpoint, so it is not an interior solution; \(1\) is interior. Checking gives \(f'(1)=3(1)^2=3\), equal to the secant slope. This example illustrates why the interior condition matters and why there can be more than one algebraic solution before that condition is applied.

Worked Example: A Reciprocal Function

Let \(f(x)=\frac{1}{x}\) on \([1,2]\). The endpoint values are \(f(1)=1\) and \(f(2)=\frac12\). The secant slope is

$$ \frac{f(2)-f(1)}{2-1} = \frac{\frac12-1}{1} = -\frac12. $$

Differentiate \(f(x)=x^{-1}\): \(f'(x)=-x^{-2}=-\frac{1}{x^2}\). Solve for \(c\):

$$ -\frac{1}{c^2}=-\frac12 \quad\Longrightarrow\quad \frac{1}{c^2}=\frac12 \quad\Longrightarrow\quad c^2=2. $$

The solutions to this equation are \(c=\sqrt{2}\) and \(c=-\sqrt{2}\). Only \(\sqrt{2}\) lies in \((1,2)\), since \(1<\sqrt{2}<2\). Check by substitution:

$$ f'(\sqrt{2}) = -\frac{1}{(\sqrt{2})^2} = -\frac12. $$

This equals the secant slope, as required.

A Short Derivation: Average Rate and Secant Slope

The secant-slope formula follows directly from the definition of average rate. Suppose the input changes from \(a\) to \(b\). The total change in the output is \(f(b)-f(a)\), while the total change in the input is \(b-a\). Average rate is defined as total output change divided by total input change. Therefore,

$$ \text{average rate of change} = \frac{\text{total output change}}{\text{total input change}} = \frac{f(b)-f(a)}{b-a}. $$

This is also precisely the slope formula for the line joining the points \((a,f(a))\) and \((b,f(b))\). Thus the algebraic average rate and the geometric secant slope are two descriptions of the same quantity.

The derivative is built from the same slope formula, but with one endpoint fixed and the other moving closer to it. At \(c\), the nearby secant slope is \(\frac{f(c+h)-f(c)}{h}\); taking its limit as \(h\) approaches zero gives \(f'(c)\). The comparison between the average rate and the derivative is therefore a comparison between a finite-interval slope and a limiting local slope.

A Common Mistake: Assuming the Matching Point Is the Midpoint

A tempting shortcut is to assume the derivative at the interval’s midpoint must equal the secant slope. That is not generally true. For \(f(x)=x^3\) on \([0,2]\), the midpoint is \(1\). The endpoint values are \(f(0)=0\) and \(f(2)=8\), so the secant slope is

$$ \frac{8-0}{2-0}=4. $$

But \(f'(x)=3x^2\), and the derivative at the midpoint is \(f'(1)=3\), not \(4\). The midpoint does not solve the equation in this example. Solving it correctly gives

$$ 3c^2=4 \quad\Longrightarrow\quad c^2=\frac43 \quad\Longrightarrow\quad c=\frac{2}{\sqrt{3}}\ \text{or}\ c=-\frac{2}{\sqrt{3}}. $$

Only \(c=\frac{2}{\sqrt{3}}\) lies in \((0,2)\). Substitution verifies \(f'(c)=3\left(\frac{2}{\sqrt{3}}\right)^2=3\left(\frac43\right)=4\). The correct method is to calculate the secant slope, solve the derivative equation, and then check which solutions lie strictly inside the interval.

What This Comparison Tells Us

The secant slope compresses all the change across an interval into one number. The derivative gives a rate at a particular input. Finding an interior point where they agree identifies an instant when the local rate matches the average rate across the full interval.

In applications, this can turn a statement about an overall change into a statement about a rate at some moment. In graphing and analysis, it connects the direction of a chord to the direction of a tangent. The Mean Value Theorem formalizes the general existence question, under its stated conditions; the examples here show what the equation means and how its solutions are found.

Check Your Understanding

For each question, focus on the distinction between the interval-wide secant slope and a derivative at one input.

  1. What information does the secant slope \(\frac{f(b)-f(a)}{b-a}\) summarize?
  2. For \(f(x)=x^2\) on \([0,4]\), calculate the secant slope and find an interior \(c\) satisfying \(f'(c)\) equal to that slope.
  3. Why does a solution of \(f'(c)=\frac{f(b)-f(a)}{b-a}\) need to be checked against \(a<c<b\)?
  4. Can there be more than one interior point where the derivative equals the secant slope? Explain using an example from the tutorial.
  5. What is the geometric relationship between the secant line and a tangent line when their slopes are equal?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon