Applications of Differentiation

Stage 19 of 23 Strand 2 of 5 20 lessons

20 illustrated lessons, each teaching the why before the how.

Start with Tangents and Normals to Curves in the app →
Revise Applications of Differentiation with flashcards →

Jump to a lesson

Tangents and Normals to Curves

Gradient for the tangent, flipped for the normal.

The derivative at a point gives the tangent gradient, and the normal is its negative reciprocal

Read the full lesson →

xy

At x = 2 on y = x², the derivative 2x gives a tangent gradient of 4.

xy

Put the point (2, 4) and gradient 4 into y − y₁ = m(x − x₁): the tangent is y = 4x − 4.

xy

The normal crosses the tangent at a right angle, so its gradient is the negative reciprocal, −1/4.

Now you

xy

A tangent has gradient 4. What is the gradient of the normal?

xy

For y = x² at x = 4, the tangent line is

The Tangent-Line Approximation

Near the point of contact, use the tangent.

Near the point of contact a curve and its tangent agree closely enough to compute with

Read the full lesson →

xy

Close to the point of contact, a curve and its tangent are nearly the same line.

y − f(a) = f′(a)(x − a)the tangent, rearranged into a formulaL(x) = f(a) + f′(a)(x − a)

That tangent, written as a formula, is L(x) = f(a) + f'(a)(x − a).

, a = 4,
and √4.1 is 2.0248…
L(4.1) = 2 + 0.25 × 0.1 = 2.025

For √4.1 take a = 4: L = 2 + 0.25 × 0.1 = 2.025. The true value is 2.0248.

xy

This curve bends down, so its tangent lies above it and L comes out too big.

xy

When the curve bends up, the tangent lies below it instead, so L comes out too small.

overestimates
the tangent sits outside the bend
underestimates

So the sign of the second derivative says whether the estimate is too big or too small.

Now you

L(x)the tangent at a, as a formula

The linearization of f at a is

f(2) = 5, f′(2) = 3
?

f(2) = 5 and f'(2) = 3. Estimate f(2.1).

The Mean Value Theorem

Some tangent runs parallel to the chord.

On a smooth arc some tangent runs parallel to the chord joining the two ends

Read the full lesson →

xyab

Join the ends of the arc: that chord’s gradient is the average rate of change from a to b.

xyc

Somewhere strictly between a and b, one tangent runs exactly parallel to that chord.

the instantaneous rate equals the average rate
for at least one c between a and b

That is the theorem: f'(c) equals the average rate, for at least one c inside.

continuous on the closed intervalboth are needed, or the theorem failsdifferentiable inside it

The theorem has two conditions: continuous from a to b, and differentiable everywhere between.

xy

Equal end heights make the chord flat, so a flat tangent is promised: Rolle’s theorem.

xy

Drop differentiability and it fails: |x| has a flat chord and no flat tangent at all.

Now you

on [0, 4]
find c

f(x) = x² on [0, 4]. The value of c the theorem promises is

xyc

The mean value theorem needs f differentiable

Increasing and Decreasing Functions

The derivative’s sign says which way it heads.

The sign of the derivative says whether a function is increasing or decreasing

Read the full lesson →

xy

Left of the minimum the function is decreasing, and the gradient is negative.

xy

Right of the minimum it is increasing, and the gradient is positive.

xy

So the sign of the derivative, not its size, is what gives the direction.

Now you

xy

f'(x) = 0.2 at a point. Is f increasing there?

xy

f'(x) = −3 at a point. Is f increasing there?

Finding Stationary Points

Set the derivative to zero and solve.

Setting the derivative to zero finds every point where the curve levels off

Read the full lesson →

xy

At the minimum itself the tangent is flat, so the gradient there is 0.

xy

So set the derivative to zero and solve. That is the whole method.

xy

The tangent is flat at a maximum too, so solving f' = 0 finds every stationary point without saying which kind it is.

Now you

xy

y = x² − 4x. Where is the gradient zero?

xy

y = x² − 6x. Where is the gradient zero?

Critical Points and Local Extrema

Where f' is zero, or missing altogether.

A critical point is where the derivative is zero or missing, and every local extreme is one

Read the full lesson →

xy

A local maximum is higher than every point close to it, not necessarily the highest on the whole curve.

xylocalglobal

In this window the right-hand end climbs higher, so that local maximum is not the global maximum.

f′(x) = 0either one makes x a critical pointor f′(x) does not exist

A critical point is where f' is zero — or where f' does not exist at all.

xy

This cusp has a minimum where f' does not exist, so solving f' = 0 cannot find it.

an interior local extremea rising or falling curve cannot be turningis always a critical point

Every interior local extreme sits at a critical point, so those are the candidates.

xy

The converse can fail: y = x³ is flat at 0 and still climbs straight through it.

Now you

f′(2) = 0critical, or not?

f'(2) = 0. Is x = 2 a critical point?

xy

f has a cusp at x = 1, so f'(1) does not exist. Is x = 1 a critical point?

The Second Derivative Test

Peak or trough? The second derivative knows.

The second derivative says whether a flat point is a peak or a trough

Read the full lesson →

xy

A trough curves upwards, so its gradient is growing and the second derivative is positive.

xy

A peak curves downwards, so the second derivative there is negative.

xy

And if the second derivative is zero the test is silent — look at the curve instead.

Now you

xy

At a flat point f'' = −4. Peak or trough?

xy

At a flat point f'' = 6. Peak or trough?

The First Derivative Test

Read the sign either side.

The sign of f' on either side classifies a flat point even when the second derivative test is silent

Read the full lesson →

xy

At the flat bottom of y = x⁴, f'' is 0 — the second derivative test goes silent.

xy

Across the flat point of x³, f' runs +, 0, + — no peak, the climb just pauses.

xy

Climb then fall (+, 0, −) is a peak; fall then climb (−, 0, +) is a trough.

xy

The sign of f' on either side always decides, even where the second derivative test cannot.

Now you

+ , 0 , −the sign of f′, walking left to right

f' goes +, 0, − across a flat point. Peak or trough?

f′′ = 0the second derivative test is silent — check the sign of f′ on each side

f'' = 0 at a flat point. What settles peak or trough?

Absolute Extrema on a Closed Interval

Compare every critical point against both ends.

On a closed interval the extremes exist and sit at a critical point or an end

Read the full lesson →

xy

A curve that is continuous on a closed interval reaches a highest and a lowest value.

xyendflatend

An extreme can sit at an end, where no tangent is flat — so solving f' = 0 never finds it.

every critical point insidethe only places an extreme can sitand both endpoints

So list every critical point inside, add both ends, and that is every candidate.

f(0) = 3the critical point, where f′ = 0f(2) = −1the far endf(3) = 0

For x² − 4x + 3 on [0, 3]: f(0) = 3, f(2) = −1 and f(3) = 0.

xymaxmin

Compare those values: the largest is 3 at x = 0, the smallest is −1 at x = 2.

x

Leave an end open and the guarantee is lost: 1/x grows without bound near the missing end.

Now you

xy

On [0, 3], f(0) = 3, f(2) = −1 at the one critical point, f(3) = 0. The minimum is

x

The extreme value theorem needs the interval to be

Points of Inflection

The bend changes sides.

Where the bend changes sides, f'' passes through zero and changes sign

Read the full lesson →

xy

y = x³ curves down on the left of 0 and up on the right — the bend flips.

the bend flips sidesdownward bend is negative, upward is positivef′′ passes through 0

Where the bend flips, f'' passes through 0 — that point is an inflection.

xy

But f'' = 0 alone is not enough: x⁴ has it at 0 and never changes bend.

f′′ : − , 0 , +the flip, not the zero, is the evidencean inflection

So check the sign of f'' either side — a flip confirms it, as with f'.

xy

Name the two sides: f'' < 0 is concave down, f'' > 0 is concave up.

Now you

xy

f'' changes from − to + at a point. What is that point?

xy

At a point of inflection, which quantity changes sign?

Curve Sketching with Derivatives

Intercepts, stationary points and end behavior.

Intercepts, stationary points and end behavior are enough to sketch a curve

Read the full lesson →

xy

Start with the intercepts: set y to 0, then set x to 0.

xy

Then find the flat points, and let the second derivative tell the peak from the trough.

xy

Finally ask what happens far to the left and far to the right, and join the pieces up.

Now you

xy

To find where a curve crosses the x-axis, set

xy

To tell a peak from a trough, look at

Optimization Problems

One function for the goal, then differentiate.

Write the quantity as one function, then differentiate to find its best value

Read the full lesson →

x20 − x

A fence of 40 meters has half-perimeter 20, so it makes a rectangle x by 20 − x, whatever x you choose.

xy

Its area is x(20 − x), and that curve has one highest point.

differentiate the area
flat at the peak
20 − 2x = 0, so x = 10the other side, 20 − x, is 10 too10 by 10 — a square

Differentiate: dA/dx = 20 − 2x, which is zero at x = 10 — the rectangle of largest area is a square.

Now you

xy

A rectangle has perimeter 24. What side length gives the biggest area?

xy

A rectangle has perimeter 16. What side length gives the biggest area?

Motion in a Straight Line

Differentiating displacement gives velocity.

Differentiating displacement gives velocity, and differentiating again gives acceleration

Read the full lesson →

xy

On a graph of displacement against time, the gradient is the velocity.

xy

Differentiate once more and you have acceleration. Momentarily at rest means v = 0.

xy

Velocity carries a sign for direction. Speed is its size: speed = |v|, never negative.

Now you

xy

s = 2t². What is the velocity?

xy

s = 4t². What is the velocity?

Parametric Equations

A curve told by a clock, not a formula.

A parametric curve gives x and y in terms of t, and each value of t marks one point of the path

Read the full lesson →

xy

x = t², y = 2t: each value of t marks one point, and the points trace this curve.

x = t²y = 2tt = 000t = 112t = 244t = 396

Substitute t = 0, 1, 2, 3 and read off the points — a table is the place to start.

, y = 2t
solve the simpler equation for t
substitute into the other

Eliminate t and the Cartesian equation appears: t = y/2, so x = y²/4.

Now you

x = t,
replace t using the simpler equation

x = t, y = t². Eliminate t.

t = 2
substitute the value of t into both

x = t², y = 2t. Where is the point at t = 2?

Parametric Differentiation

Divide the two time-derivatives.

The gradient of a parametric curve is dy/dt divided by dx/dt

Read the full lesson →

gradient
both change as t changes
but x(t) and y(t) both move

The gradient still means dy/dx — but here x and y are both functions of t.

invert the rate
divide the two time-derivatives

By the chain rule dy/dx = dy/dt × dt/dx, and dt/dx is 1 over dx/dt, so dy/dx is dy/dt divided by dx/dt.

, y = 2t
differentiate each with respect to t
,
divide

For x = t², y = 2t: dy/dt = 2 and dx/dt = 2t, so dy/dx = 2 / 2t = 1/t.

xy

At t = 2 that gradient is 1/2 — and the tangent drawn at (4, 4) agrees.

Now you

, y = 2t
divide the two time-derivatives

x = t², y = 2t. What is dy/dx?

?
from the two time-derivatives

For a parametric curve, dy/dx equals

Maclaurin Series

A function rebuilt from its derivatives at zero.

A function is rebuilt near zero from its derivatives at zero, one term per derivative

Read the full lesson →

xy

Near 0, eˣ is almost 1 + x — the tangent line stays close to the curve there.

xy

Each extra derivative adds one more term: 1 + x + x²/2 follows the curve further.

term / n!
every part is a derivative measured at 0
built entirely at zero

The general term: term n is the nth derivative at 0, times xⁿ, divided by n factorial.

every derivative of is
so each term is just xⁿ/n!
at 0 they all equal 1the whole series from one fact

Every derivative of eˣ at 0 equals 1, so eˣ = 1 + x + x²/2 + x³/6 + …

the first term alone
for small x

sin x = x − x³/6 + … — its first term is the small-angle approximation itself.

Now you

xy

Why does every term of eˣ have coefficient 1/n!?

xy

The first two terms of the Maclaurin series of sin x are

Where a Series Is Valid

Each series holds on its own range of x.

Each standard series holds only on its own range of x, and whatever replaces x must stay inside it

Read the full lesson →

(1 + x)ⁿ, n not a positive integerln(1 + x)eˣ, sin x, cos x−2−1012

The formula list gives each series with its range. eˣ, sin x and cos x hold for every x; the other two do not.

ln(1 + 3x)3x takes the place of x

Whatever replaces x must stay inside the range, so for ln(1 + 3x), solve −1 < 3x ≤ 1.

ln(2 + x)take the 2 out first

Make the bracket start with 1 first: ln(2 + x) = ln 2 + ln(1 + x/2), so −2 < x ≤ 2.

(1 − 2x)⁻¹ln(1 + x)both−1.5−1−0.500.511.5

A sum or product of two series holds only where both do, so take the narrower range: −1/2 < x < 1/2.

Now you

(1 + x)ⁿ, n not a positive integerln(1 + x)eˣ, sin x, cos x−2−1012

Which series holds for every real x?

For which x does the series for ln(1 + 4x) hold?

L'Hôpital's Rule

A 0/0 limit settled by two derivatives.

A 0/0 limit equals the limit of derivative over derivative

Read the full lesson →

at x = 0
top and bottom both vanish
0 ÷ 0 — no verdict yet

sin x / x gives 0 over 0 at x = 0 — the squeeze theorem showed that the limit is 1.

: 0 ÷ 0
zoomed in, each part is its tangent through zero
top top′(a) · (x − a)
both tangents pass through the same zero
bottom bottom′(a) · (x − a)

Zoom in near a: each part of the fraction is close to its own tangent line through zero.

top ÷ bottom top′(a)(x − a) ÷ bottom′(a)(x − a)
the (x − a) cancels
top′(a) ÷ bottom′(a)

Divide one tangent by the other and (x − a) cancels: the limit is the ratio of the derivatives.

differentiate top and bottom
cos 0 = 1 — the squeeze agreed
at x = 0

sin x / x becomes cos x / 1, and at x = 0 that is 1 — the same answer the squeeze gave.

at x = 1
differentiate top and bottom
matching factor-and-cancel

At x = 1, (x² − 1) / (x − 1) differentiates to 2x / 1, which is 2 — factoring agrees.

the rule applies only to or /
just substitute
if the denominator is not 0, just substitute

The rule applies only to 0/0 or ∞/∞. If the denominator is not 0, just substitute.

Now you

at x = 0differentiate top and bottom

(eˣ − 1) / x at 0 goes to

at x = 0differentiate top and bottom

By L'Hôpital's rule, sin x / x at 0 goes to

From the Derivative Back to the Function

Reading the shape of f from a graph of its gradient.

The sign of f' says where f rises and falls; its zeros and its turning point mark where f turns and bends

Read the full lesson →

−3−2−101234−4−3−2−10123456xf′(x)

This is the graph of f', not of f: its height at each x is the gradient of f there.

−3−2−101234−4−3−2−10123456xf′(x)

f' is zero at x = −1 and x = 2, so f is flat there: those are its stationary points.

−3−2−101234−4−3−2−10123456xf′(x)f increasingf decreasingf increasing

Where f' is above the axis, f is increasing; where f' is below it, f is decreasing.

−3−2−101234−4−3−2−10123456xf′(x)maximum of fminimum of f

f' changes from positive to negative at x = −1, so f has a maximum there; from negative to positive at x = 2, a minimum.

−3−2−101234−4−3−2−10123456xf′(x)inflection of f

The lowest point of f', at x = 1/2, is where f changes from concave down to concave up: a point of inflection.

−3−2−101234−4−3−2−10123456xmaximumminimum

Drawn over f', the graph of f rises to a maximum at x = −1, falls to a minimum at x = 2, then rises again.

Now you

−4−3−2−1012−2−101234xf′(x)

The graph shows y = f'(x). What is true of f for −2 < x < 0?

−5−4−3−2−101−2−101234xf′(x)

The graph shows y = f'(x). What is true of f for −3 < x < −1?

Continue your journey in the app — save your progress