← AP Calculus

Derivatives: Definition and Basic Rules

An interactive AP Calculus lab for Unit 2, Topics 2.1–2.10. Watch a secant line become a tangent line, sketch f′ from f, estimate a derivative from a table, test differentiability, and see the product and quotient rules at work.

Topic map

Each topic from the AP Calculus Course and Exam Description links to the part of the lab that covers it.

From secant line to tangent line

Topic 2.12.2

The slope of the secant through (a, f(a)) and (a + h, f(a + h)) is the average rate of change. As h → 0 it becomes the slope of the tangent line, the derivative f′(a) = limh→0 [f(a + h) − f(a)]/h.

Function

secanttangentnormal

Graphing the derivative

Topic 2.2

The height of f′ at x is the slope of f at x. Slide along f and watch each slope get plotted below. Where f is rising, f′ is above the axis; where f has a flat tangent, f′ crosses zero.

Function

f and its tangent line

f′, traced so far

Estimating a derivative from a table

Topic 2.3

With only data, estimate f′ at a point with the slope between the closest data points on either side. The units are output units per input unit.

Water in a tank

Estimate W′ at

Differentiability

Topic 2.4

f′(c) exists only if the slopes from the left and the right approach the same finite number. Differentiable implies continuous, but continuous does not imply differentiable.

Function

secant from the leftsecant from the right

Derivative rules

Topic 2.52.62.72.82.92.10

Build h from two functions and an operation. The lab writes out the rule and plots h′ from the rule (solid) on top of a numerical slope (dots), so you can see they agree.

f(x)

g(x)

h(x) =

hh′ from the rulenumerical slope
ff′ff′
xⁿnxⁿ⁻¹sin xcos x
eˣeˣcos x−sin x
ln x1/xfgf′g + fg′
k·fk·f′f/g(f′g − fg′)/g²