AP Calculus AB Unit 2: Definition of the Derivative (Rates of Change, Limit Definition, Estimation, Continuity vs. Differentiability)

Average and Instantaneous Rates of Change

What “rate of change” means (and why you should care)

A rate of change describes how one quantity changes in response to another. In calculus, the central question is how the output of a function changes as the input changes. This idea shows up as slope on graphs, velocity in motion problems, growth rates in biology, and “marginal” quantities in economics.

You already know one important rate of change: the slope of a line. For a nonlinear function, the slope is not constant, so you use two related ideas:

  • Average rate of change over an interval: one number summarizing how the function changed from start to end.
  • Instantaneous rate of change at a point: the rate “right now,” which becomes the derivative.

A useful analogy is driving. Over an entire trip, you can compute average speed (total distance divided by total time), but a speedometer shows your instantaneous speed at a moment.

Average rate of change (secant slope)

The average rate of change of a function from the input value %%LATEX0%% to the input value %%LATEX1%% is

\frac{f(b)-f(a)}{b-a}

Geometrically, this is the slope of the secant line through the two points

\left(a,f(a)\right)

\left(b,f(b)\right)

Units matter. If the output is measured in meters and the input in seconds, then the average rate of change is in meters per second.

Secant Line vs Tangent Line

Instantaneous rate of change (tangent slope)

The instantaneous rate of change at the input value a is the slope of the tangent line to the graph at that point (if it exists). Intuitively, if you zoom in far enough near the point, the curve looks almost like a line, and that line’s slope is the instantaneous rate.

You cannot compute an instantaneous rate by setting b=a in the average-rate formula (that would divide by zero). Instead, you use a limit by letting the second input approach the first.

A common setup introduces a small change in input, %%LATEX7%%, so the second input is %%LATEX8%%. The average rate of change from %%LATEX9%% to %%LATEX10%% is

\frac{f(a+h)-f(a)}{h}

As h approaches zero, this expression (if it approaches a single finite number) becomes the instantaneous rate of change.

Worked example: average rate of change

Let

f(x)=x^2

Find the average rate of change from input %%LATEX14%% to input %%LATEX15%%.

Compute the function values:

f(4)=16

f(1)=1

Apply the formula:

\frac{f(4)-f(1)}{4-1}=\frac{16-1}{3}=5

Interpretation: over that interval, the output increases by 5 units per 1 unit of input, on average.

Worked example: building toward instantaneous rate of change

For

f(x)=x^2

approximate the instantaneous rate of change at input value %%LATEX20%% using shrinking values of %%LATEX21%%.

Start with the difference quotient:

\frac{f(2+h)-f(2)}{h}

Compute:

f(2+h)=(2+h)^2=4+4h+h^2

f(2)=4

So

\frac{f(2+h)-f(2)}{h}=\frac{4+4h+h^2-4}{h}=\frac{4h+h^2}{h}=4+h

Now choose small values of h:

  • If %%LATEX27%%, the quotient is %%LATEX28%%
  • If %%LATEX29%%, the quotient is %%LATEX30%%
  • If %%LATEX31%%, the quotient is %%LATEX32%%

These values approach 4, suggesting the instantaneous rate of change at input 2 is 4.

A key habit is to simplify algebraically before substituting tiny values of h. If you substitute too early, rounding can hide the pattern.

Exam Focus
  • Typical question patterns:
    • “Find the average rate of change on an interval and interpret its meaning (including units).”
    • “Approximate the instantaneous rate of change at an input value using nearby values from a table or graph.”
    • “Relate average rate of change to secant slope and instantaneous rate of change to tangent slope.”
  • Common mistakes:
    • Confusing average with instantaneous: if you see “average,” use two points; if you see “instantaneous,” you need a derivative idea.
    • Mixing up subtraction order in the secant-slope formula.
    • Forgetting units or misreading “per unit of input.”
    • Using only left-side or only right-side information when the problem intends an overall instantaneous rate.

Defining the Derivative of a Function

The key idea: a limit of average rates

The derivative makes “instantaneous rate of change” precise by using a limit. Conceptually, you take the average rate of change over a very small interval and see what it approaches as the interval shrinks to zero.

At the input value a, the derivative is defined by

f'(a)=\lim_{h\to 0}\frac{f(a+h)-f(a)}{h}

This is the limit definition of the derivative.

This definition is foundational: later shortcut rules come from it, and on the AP exam you still need it to reason about differentiability, interpret limits, and handle unusual functions.

Two equivalent limit forms you must recognize

You will commonly see two closely related forms.

1) The “h” definition (derivative as a function):

f'(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}

This emphasizes “rise over run.” The numerator is the change in output, and the denominator is the change in input.

2) The alternative definition at a point:

f'(a)=\lim_{x\to a}\frac{f(x)-f(a)}{x-a}

These are equivalent because the substitution

h=x-a

turns one form into the other.

AP multiple-choice recognition tip: You are often asked to identify what derivative a limit represents by matching the structure. For example,

\lim_{h\to 0}\frac{(3+h)^2-9}{h}

matches the pattern

\lim_{h\to 0}\frac{f(3+h)-f(3)}{h}

so it represents the derivative of

f(x)=x^2

at the input value 3.

Notation reference (all mean “the derivative”)

Calculus notation comes from Newton and Leibniz (and later Lagrange), so you must be fluent in several forms.

MeaningNotationTypical use
Derivative of the function at an input valuef'(a)A single slope/rate at one point
Derivative functionf'(x)A new function giving slope at each input
Shorthand derivative of the output variabley'When the output is named y
Derivative of output with respect to input\frac{dy}{dx}Emphasizes “rate of change,” connected to secant slope ideas like \frac{\Delta y}{\Delta x}
Operator form\frac{d}{dx}\left[f(x)\right]An instruction: “take the derivative of what’s inside”

Geometric meaning: slope of the tangent line

If the derivative exists at the input value a, then it equals the slope of the line tangent to the graph at the point

\left(a,f(a)\right)

Once you know the slope, the tangent line equation comes from point-slope form:

y-f(a)=f'(a)(x-a)

This is also the basis of local linearity: near the input value a, the function behaves approximately like its tangent line.

Physical meaning: velocity as a derivative

If position is given by a function of time,

s(t)

then average velocity over a small time interval of length h is

\frac{s(t+h)-s(t)}{h}

Taking the limit as h approaches zero gives instantaneous velocity:

v(t)=s'(t)

The same structure appears in marginal cost, population growth rate, current in circuits, and many other applications.

Worked example: derivative from the definition

Find the derivative function for

f(x)=x^2

using the limit definition.

Start:

f'(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}

Compute:

f(x+h)=(x+h)^2=x^2+2xh+h^2

f(x)=x^2

Substitute and simplify:

f'(x)=\lim_{h\to 0}\frac{x^2+2xh+h^2-x^2}{h}=\lim_{h\to 0}\frac{2xh+h^2}{h}

Factor and cancel the common factor of h:

f'(x)=\lim_{h\to 0}(2x+h)

Now take the limit:

f'(x)=2x

A common misconception is trying to plug in %%LATEX68%% immediately. You must simplify first because the original difference quotient is undefined at %%LATEX69%%.

Worked example: derivative at a specific point (conjugates)

Let

f(x)=\sqrt{x}

Compute the derivative at input value 4 from the definition.

Start:

f'(4)=\lim_{h\to 0}\frac{\sqrt{4+h}-\sqrt{4}}{h}=\lim_{h\to 0}\frac{\sqrt{4+h}-2}{h}

Multiply by the conjugate:

f'(4)=\lim_{h\to 0}\frac{\sqrt{4+h}-2}{h}\cdot\frac{\sqrt{4+h}+2}{\sqrt{4+h}+2}

Simplify the numerator:

\left(\sqrt{4+h}-2\right)\left(\sqrt{4+h}+2\right)=(4+h)-4=h

So

f'(4)=\lim_{h\to 0}\frac{h}{h\left(\sqrt{4+h}+2\right)}=\lim_{h\to 0}\frac{1}{\sqrt{4+h}+2}

Now substitute h=0:

f'(4)=\frac{1}{4}

This highlights a recurring theme: the definition often requires algebra (factoring, conjugates) to remove the “division by zero” barrier before evaluating the limit.

Exam Focus
  • Typical question patterns:

    • “Use the limit definition to find the derivative function for a given formula.”
    • “Write a limit expression for the derivative at an input value and interpret it as a slope or rate.”
    • “Find the equation of the tangent line at an input value using the derivative.”
    • “Identify what function (and what point) a limit is differentiating by matching the limit structure.”
  • Common mistakes:

    • Substituting h=0 before simplifying.
    • Algebraic cancellation errors: you may cancel a factor of %%LATEX79%%, but you cannot cancel an %%LATEX80%% that is added.
    • The “point trap” in limits: in

    \lim_{x\to a}\frac{f(x)-f(a)}{x-a}

    the denominator tells you the approach is %%LATEX82%%, not %%LATEX83%%.

    • Confusing %%LATEX84%% (a single number) with %%LATEX85%% (a function).

Estimating Derivatives at a Point

Why estimation matters

On many AP problems you are not given an explicit formula. Instead, you might get a table, a graph, measured data, or an implicitly defined relationship. The derivative still represents slope and instantaneous rate, but you estimate it numerically or visually.

Estimating from a table: difference quotients

To estimate the derivative at an input value a from a table, you approximate the limiting process using small intervals around that input.

Forward difference (right-hand estimate):

f'(a)\approx\frac{f(a+h)-f(a)}{h}

Backward difference (left-hand estimate):

f'(a)\approx\frac{f(a)-f(a-h)}{h}

Symmetric difference (often best when available):

f'(a)\approx\frac{f(a+h)-f(a-h)}{2h}

The symmetric difference is often more accurate because it balances behavior from both sides, matching the idea that a derivative depends on approaching from the left and the right.

A strong default strategy is: use the closest data points on either side of the target input value (smallest available step size), unless the data is clearly noisy.

Symmetric difference quotient (structure you’ll see often)

If you need an estimate at input %%LATEX90%% and you have values at inputs %%LATEX91%% and 4 (the points flanking 3), then a natural symmetric estimate is

f'(3)\approx\frac{f(4)-f(2)}{4-2}

This is “secant slope across the smallest symmetric interval you’re given.”

Worked example: estimating from a table (symmetric, small step)

Suppose a table gives:

f(2.00)=5.000

f(2.01)=5.060

f(1.99)=4.940

Estimate the derivative at input value 2.

Using the symmetric difference with step size 0.01:

f'(2)\approx\frac{f(2.01)-f(1.99)}{0.02}=\frac{5.060-4.940}{0.02}=\frac{0.120}{0.02}=6

Interpretation: near input 2, the output is increasing at about 6 output units per 1 input unit.

A common pitfall is using a “symmetric” formula when the points are not equally spaced around the target input. If spacing is uneven, you must adjust your approach.

Worked example: estimating from a table (neighbors around the target)

Given the table, estimate the derivative at input value 5.

x2468
f(x)10182435

The input value 5 lies between 4 and 6, so use those neighboring points:

f'(5)\approx\frac{f(6)-f(4)}{6-4}

f'(5)\approx\frac{24-18}{2}=\frac{6}{2}=3

Estimating from a graph: tangent line slope

To estimate the derivative at an input value from a graph:

  1. Locate the point on the curve at that input.
  2. Sketch the tangent line, the line that best matches the curve’s direction at that point.
  3. Choose two convenient points on your tangent line (not necessarily on the curve).
  4. Compute slope using rise over run.

You use points on the tangent line (not the curve) because the derivative is the slope of the tangent line. Zooming in mentally helps: the curve looks straighter near the point, making the tangent estimate more reliable.

One-sided derivatives (and how they affect “does the derivative exist?”)

Sometimes a table or graph shows different behavior from the left and right. Define:

Left-hand derivative:

f'_-(a)=\lim_{h\to 0^-}\frac{f(a+h)-f(a)}{h}

Right-hand derivative:

f'_+(a)=\lim_{h\to 0^+}\frac{f(a+h)-f(a)}{h}

The derivative exists at the input value a only if both one-sided derivatives exist and are equal.

Worked example: detecting a non-existent derivative from slopes

Suppose from a graph you estimate slopes approaching input value 1:

  • From the left, tangent-like slopes approach about -2
  • From the right, tangent-like slopes approach about 3

Then the derivative at input 1 does not exist because the left-hand and right-hand rates disagree. The function might still be continuous there, but it is not differentiable.

Exam Focus
  • Typical question patterns:
    • “Estimate the derivative at an input value from a table using values near the target.”
    • “Estimate the slope of the tangent line at a point from a graph.”
    • “Use left-hand and right-hand estimates to decide whether the derivative exists.”
  • Common mistakes:
    • Using points too far from the target input (that gives a coarse average rate of change, not a good instantaneous estimate).
    • Claiming a symmetric difference while using unevenly spaced points.
    • Computing slope using points on the curve rather than on the tangent line when working from a graph.
    • Forgetting that different one-sided behavior means “derivative does not exist,” even if the function value exists.

Differentiability and Continuity

Continuity: no breaks in the graph

A function is continuous at the input value a if all three are true:

  1. f(a) is defined.
  2. \lim_{x\to a} f(x) exists.
  3. \lim_{x\to a} f(x)=f(a).

Informally, continuity means no hole, jump, or infinite blow-up at that input value.

Differentiability: a well-defined tangent slope

A function is differentiable at the input value a if the limit

\lim_{h\to 0}\frac{f(a+h)-f(a)}{h}

exists as a finite real number. Differentiability is stronger than continuity: it requires not only “no breaks,” but also “no sharp behavior” preventing a single tangent slope.

The fundamental relationship (the “Fundamental Theorem of Differentiability”)

Theorem: If a function is differentiable at an input value, then it must be continuous at that input value.

Memory aid: “To be Differentiable, you must first be Continuous.” Think: to be a Dragon, you must be a Creature (but not all creatures are dragons).

The converse is false: a function can be continuous at an input value but not differentiable there.

Why differentiability forces continuity (intuition)

The difference quotient

\frac{f(a+h)-f(a)}{h}

can only settle to a limit if %%LATEX118%% approaches %%LATEX119%% as h approaches zero. A hole or jump prevents that, so the “slope over a tiny interval” cannot stabilize.

Where differentiability fails

A derivative fails to exist at an input value in four common geometric situations.

Types of Non-Differentiability

  1. Discontinuity: hole, jump, or asymptote (not continuous, so not differentiable).
  2. Corner (sharp turn): left-hand and right-hand slopes are finite but unequal.
  3. Cusp: slopes approach %%LATEX121%% and %%LATEX122%% from opposite sides (extremely sharp point).
  4. Vertical tangent: slope becomes infinite (tangent line is vertical), so the derivative is not a finite number.

Examples often used:

  • Corner example at input 0:

f(x)=|x|

  • Cusp example at input 0:

y=x^{2/3}

  • Vertical tangent example at input 0:

y=x^{1/3}

Worked example: continuous but not differentiable (corner)

Consider

f(x)=|x|

at input value 0.

The function is continuous there (no break), but the one-sided difference quotients disagree.

For h>0:

\frac{|0+h|-|0|}{h}=\frac{|h|}{h}=1

For h