Learn

Applications of Differentiation

Contents

A derivative is a rate of change, and most questions about a curve are about its rate of change: where it is highest, where it turns, how fast it moves, and where it crosses zero.

How do you find the tangent and normal at a point?

Differentiate to find the gradient at the point, then put the point and the gradient into y − y₁ = m(x − x₁).

Put the point (2, 4) and gradient 4 into y − y₁ = m(x − x₁): the tangent is y = 4x − 4. Full lesson: Tangents and Normals to Curves

The normal passes through the same point at right angles to the tangent, so its gradient is the negative reciprocal of the tangent gradient, not just the negative. See Tangents and normals to curves.

Close to the point of contact, a curve and its tangent are nearly the same line, so the tangent at x = a, L(x) = f(a) + f'(a)(x − a), is a good estimate of f near a. See The tangent-line approximation.

For √4.1 take a = 4: L = 2 + 0.25 × 0.1 = 2.025. The true value is 2.0248. Full lesson: The Tangent-Line Approximation

Join the ends of a smooth arc with a chord: somewhere strictly between the ends, one tangent is parallel to it, so f'(c) = (f(b) − f(a))/(b − a) for at least one c between a and b. That is the mean value theorem. See The mean value theorem.

Somewhere strictly between a and b, one tangent runs exactly parallel to that chord. Full lesson: The Mean Value Theorem

Now you

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

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

Where is a function increasing or decreasing?

A function is increasing where its derivative is positive and decreasing where its derivative is negative. Only the sign of the derivative, not its size, gives the direction.

So the sign of the derivative, not its size, is what gives the direction. Full lesson: Increasing and Decreasing Functions

To find where it changes, solve f'(x) = 0, mark the solutions on a number line, and test the sign of f' in each region between them. See Increasing and decreasing functions.

How do you find maximum and minimum points?

Set the derivative to zero and solve. A stationary point is a point where the tangent is flat, so the gradient there is zero. Solving f'(x) = 0 finds every stationary point but does not say which kind each one is. See Finding stationary points.

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

A critical point is a point where f' is zero or does not exist. A minimum can sit at a cusp or a corner, where solving f' = 0 cannot find it, so the critical points are the candidates. See Critical points and local extrema.

This cusp has a minimum where f' does not exist, so solving f' = 0 cannot find it. Full lesson: Critical Points and Local Extrema

The second derivative test classifies a stationary point. Substitute its x-value into f'′: negative means the curve bends down, a maximum; positive means it bends up, a minimum; zero means the test has failed. See The second derivative test.

The first derivative test works even then. Check the sign of f' just before and just after the point: positive then negative is a maximum, negative then positive is a minimum, and the same sign on both sides is neither. See The first derivative test.

Climb then fall (+, 0, −) is a peak; fall then climb (−, 0, +) is a trough. Full lesson: The First Derivative Test

On a closed interval the largest or smallest value can be at an end, where the tangent is not flat. So find f at every critical point inside and at both ends, then compare. See Absolute extrema on a closed interval.

For x² − 4x + 3 on [0, 3]: f(0) = 3, f(2) = −1 and f(3) = 0. Full lesson: Absolute Extrema on a Closed Interval

Now you

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

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

What is a point of inflection?

A point of inflection is a point where the curve changes the direction in which it bends. Where f'′ < 0 the curve is concave down; where f'′ > 0 it is concave up.

y = x³ curves down on the left of 0 and up on the right — the bend flips. Full lesson: Points of Inflection

At an inflection f'′ = 0, but that alone is not enough: f'′ must also change sign across the point. See Points of inflection.

But f'′ = 0 alone is not enough: x⁴ has it at 0 and never changes bend. Full lesson: Points of Inflection

To sketch a curve, find the intercepts, then the stationary points and their kind, then any inflections and asymptotes, then what happens far to the left and right. See Curve sketching with derivatives.

Finally ask what happens far to the left and far to the right, and join the pieces up. Full lesson: Curve Sketching with Derivatives

How do you solve an optimization problem?

Write the quantity as a function of one variable, then find its maximum or minimum with the derivative.

  1. Name the variables and write down the quantity to be maximized or minimized.
  2. Use the constraint in the question to eliminate variables until one is left.
  3. Differentiate, set the derivative to zero, and solve.
  4. Check the stationary point is the kind asked for, then answer the question that was asked.

A fence of 40 meters encloses a rectangle. The constraint turns two variables into one: a width of x leaves a length of 20 − x, so the area is A = 20x − x².

A fence of 40 meters has half-perimeter 20, so it makes a rectangle x by 20 − x, whatever x you choose. Full lesson: Optimization Problems
Differentiate: dA/dx = 20 − 2x, which is zero at x = 10 — the rectangle of largest area is a square. Full lesson: Optimization Problems

The second derivative is −2, negative, so x = 10 is a maximum. The answer is the largest area, 100 square meters, not x = 10. See Optimization problems.

Now you

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

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

How do derivatives describe motion?

Differentiate displacement s with respect to time to get velocity, v = ds/dt, and differentiate again to get acceleration, a = dv/dt.

On a graph of displacement against time, the gradient is the velocity. Full lesson: Motion in a Straight Line

Negative velocity means moving in the negative direction, not slowing down; an object slows down when its velocity and acceleration have opposite signs. See Motion in a straight line.

Velocity carries a sign for direction. Speed is its size: speed = |v|, never negative. Full lesson: Motion in a Straight Line

Two quantities linked by an equation have linked rates. Write the equation, differentiate every term with respect to time using the chain rule, then substitute the known values. A cube of side r has V = r³, so dV/dt = 3r² × dr/dt. Substitute only after differentiating, or a changing quantity becomes a constant and its rate is lost. See Related rates.

A cube of side r has V = r³. At r = 4, with r growing 2 per second, dV/dt = 48 × 2 = 96. Full lesson: Related Rates

Now you

A = r², so dA/dr = 2r. At r = 5, r grows 3 per second. dA/dt = ?

The balloon link gives dV/dr = 6 while dr/dt = 3. What is dV/dt?

What if the curve is given parametrically?

A parametric curve gives x and y separately in terms of a parameter t, and each value of t marks one point of the path. It can describe a curve that doubles back on itself, which no single function y = f(x) can. See Parametric equations.

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

The gradient is still dy/dx. By the chain rule dy/dx = dy/dt × dt/dx, so dy/dx = (dy/dt) / (dx/dt), and the tangent is found without eliminating t. See Parametric differentiation.

For x = t², y = 2t: dy/dt = 2 and dx/dt = 2t, so dy/dx = 2 / 2t = 1/t. Full lesson: Parametric Differentiation
At t = 2 that gradient is 1/2 — and the tangent drawn at (4, 4) agrees. Full lesson: Parametric Differentiation

How do you evaluate a limit that keeps giving 0/0?

If substituting gives 0/0, differentiate the top and the bottom separately, then take the limit again. This is L'Hôpital's rule. It is not the quotient rule: the two derivatives are taken on their own.

Divide one tangent by the other and (x − a) cancels: the limit is the ratio of the derivatives. Full lesson: L'Hôpital's Rule
At x = 1, (x² − 1) / (x − 1) differentiates to 2x / 1, which is 2 — factoring agrees. Full lesson: L'Hôpital's Rule

The rule applies only to 0/0 and /. If the denominator is not zero, substitute. See L'Hôpital's rule.

A Maclaurin series rebuilds a function near zero from its derivatives at zero, and its first terms often settle a limit at once: sin x = x − x³/6 + …, so sin x / x = 1 − x²/6 + …, which goes to 1 as x → 0. See Maclaurin series.

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

Now you

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

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

How do you solve an equation with no formula?

Start with a guess x₀. Follow the tangent at (x₀, f(x₀)) down to the x-axis; where it crosses is the next guess. Setting y = 0 in the equation of the tangent gives x₁ = x₀ − f(x₀)/f'(x₀). For f(x) = x² − 2 and x₀ = 2, x₁ = 2 − 2/4 = 1.5, then 1.4167, 1.4142 and 1.414214, which is √2 to six decimal places. See The Newton-Raphson method.

Follow the tangent down to the x-axis. It crosses at x = 1.5, much nearer the root than 2. Full lesson: The Newton-Raphson Method

The method fails when the tangent is flat or nearly flat. At a stationary point f' = 0 and the formula divides by zero; a nearly flat tangent sends the next guess a long way from the root; and some starting points cycle between two values forever. See When Newton-Raphson fails.

A nearly flat tangent is little better: from 1.1 the next guess jumps out to 4.2. Full lesson: When Newton-Raphson Fails

The mistakes worth naming

An extreme can sit at an end, where no tangent is flat — so solving f' = 0 never finds it. Full lesson: Absolute Extrema on a Closed Interval

Learn this properly in the app

Every lesson linked above is in Math Challenge, with a diagram and practice questions. The rules used here are in the rules of differentiation, the limits behind them in limits and continuity, and the reverse process in techniques of integration.

Your turn

Three to try — tap what you get.

At a local maximum, dy/dx equals

s(t) = t². The velocity at t = 3 is

A negative second derivative means the curve is

Math ChallengePractice that adapts to you, the whole lesson ladder, and your progress saved.
Start with Math Challenge

Mr. Chalk Practice this lesson in the app