Skip to study

CHAPTER 04 · CALCULUS

Differentiation

Progress stays on this device

papers AA HL chapter & section analysis

Your chapter

Use rates of change to describe curves and solve constrained design problems.

Read all chapter notes

4.1

Limits, continuity & convergence

A limit describes the output approached as the input approaches a point; the function need not be defined at that point. Evaluate both one-sided limits when a formula changes. Continuity at a requires the common limit to equal f(a)\displaystyle f\left(a\right).

Factor and cancel only for inputs where the original denominator is non-zero. The simplified expression can reveal a removable discontinuity, but cancellation does not restore an excluded input automatically.

For large inputs, compare the leading powers of rational functions. A geometric sequence tends to zero when its common ratio has magnitude below one; its infinite series then converges to a1−r\displaystyle \frac{a}{1 - r}.

Continuity: lim⁡(x→a)f(x)=f(a)\displaystyle \lim\left(x \to a\right) f\left(x\right) = f\left(a\right). If ∣r∣<1\displaystyle \left|r\right| < 1: lim⁡rn=0\displaystyle \lim r^{n} = 0 and S∞=a1−r\displaystyle S \infty = \frac{a}{1 - r}. In radians, lim⁡(x→0)sin⁡xx=1\displaystyle \frac{\lim\left(x \to 0\right) \sin x}{x} = 1.

Watch out: Matching a formula value to one side is insufficient: check both sides and the value at the join.

Worked example

Find lim⁡(x→3)(x2−9)x−3\displaystyle \frac{\lim\left(x \to 3\right)\left(x^{2} - 9\right)}{x - 3}.

  1. For x≠3\displaystyle x \ne 3, factor and cancel: x2−9x−3=x+3\displaystyle \frac{x^{2} - 9}{x - 3} = x + 3.
  2. The limit is 3+3=6\displaystyle 3 + 3 = 6, although the original fraction is undefined at 3.

4.2

The derivative of a function

The derivative is the limit of secant gradients. It gives the instantaneous rate of change and the gradient of a tangent. Differentiability at a point implies continuity there; continuity alone does not ensure differentiability.

At a point (a, f(a))\displaystyle \left(a,\,f\left(a\right)\right), use the derivative for the tangent gradient. A non-horizontal tangent with gradient m has a normal of gradient −1m\displaystyle \frac{-1}{m}. A horizontal tangent has a vertical normal, whose equation is x=a\displaystyle x = a.

Use the independent-variable units to interpret a derivative. A numerical derivative is an estimate; a symbolic derivative supports exact tangent and normal equations.

f′(a)=lim⁡(h→0)[f(a+h)−f(a)]h\displaystyle f^{\prime}\left(a\right) = \frac{\lim\left(h \to 0\right) \left[f\left(a + h\right) - f\left(a\right)\right]}{h}. Tangent: y−f(a)=f′(a)(x−a)\displaystyle y - f\left(a\right) = f^{\prime}\left(a\right)\left(x - a\right). Normal gradient: −1f′(a)\displaystyle \frac{-1}{f^{\prime}\left(a\right)}, when f′(a)≠0\displaystyle f^{\prime}\left(a\right) \ne 0.

Watch out: A derivative value is a gradient, not the y-coordinate of the tangent point.

Worked example

Use first principles to find the derivative of f(x)=x2\displaystyle f\left(x\right) = x^{2} at x=3\displaystyle x = 3.

  1. f(3+h)−f(3)h=6h+h2h=6+h\displaystyle \frac{f\left(3 + h\right) - f\left(3\right)}{h} = \frac{6 h + h^{2}}{h} = 6 + h for h≠0\displaystyle h \ne 0.
  2. Taking h→0\displaystyle h \to 0 gives f′(3)=6\displaystyle f^{\prime}\left(3\right) = 6.

4.3

Differentiation rules

Differentiate sums term by term. The product and quotient rules combine derivatives of factors; the chain rule is essential when a function contains a non-trivial inner expression.

Higher derivatives describe rates of change of rates. Simplify algebra where it helps, but keep the domain of the original expression: rewriting does not make a singular input valid.

Trigonometric derivatives assume radians. Check a complicated result by differentiating an expanded equivalent expression where possible, or by comparing nearby numerical gradients.

(uv)′=u′v+uv′\displaystyle \left(uv\right)^{\prime} = u^{\prime} v + uv^{\prime}; (uv)′=u′v−uv′v2\displaystyle \left(\frac{u}{v}\right)^{\prime} = \frac{u^{\prime} v - uv^{\prime}}{v^{2}}, v≠0\displaystyle v \ne 0; [f(g(x))]′=f′(g(x))g′(x)\displaystyle \left[f\left(g\left(x\right)\right)\right]^{\prime} = f^{\prime}\left(g\left(x\right)\right) g^{\prime}\left(x\right). d(sin⁡x) dx=cos⁡x\displaystyle \frac{d \left(\sin x\right)}{\,\mathrm{d}x} = \cos x; d(cos⁡x) dx=−sin⁡x\displaystyle \frac{d \left(\cos x\right)}{\,\mathrm{d}x} = -\sin x.

Watch out: In the quotient rule the denominator is squared; in the chain rule the inner derivative must multiply the whole outer derivative.

Worked example

For f(x)=x2sin⁡x\displaystyle f\left(x\right) = x^{2} \sin x, find f′(π)\displaystyle f^{\prime}\left(\pi\right).

  1. Product rule gives f′(x)=2\displaystyle f^{\prime}\left(x\right) = 2xsin x+x2cos⁡x\displaystyle x + x^{2} \cos x.
  2. At π\displaystyle \pi, sin⁡π=0\displaystyle \sin \pi = 0 and cos⁡π=−1\displaystyle \cos \pi = -1, so f′(π)=−π2\displaystyle f^{\prime}\left(\pi\right) = -\pi^{2}.

4.4

Graphs of derivatives

A positive first derivative means the function is increasing; a negative first derivative means it is decreasing. Stationary points have f′=0\displaystyle f^{\prime} = 0, but their classification requires a sign change or another justified test.

The sign of f′′\displaystyle f^{\prime\prime} describes concavity. An inflexion occurs where concavity changes; f′′=0\displaystyle f^{\prime\prime} = 0 alone is not sufficient. A stationary inflexion has zero gradient, while a non-stationary inflexion does not.

For global extrema on a closed bounded interval, compare all stationary candidates and endpoints. Graphs of f, f′\displaystyle f^{\prime} and f′′\displaystyle f^{\prime\prime} describe different quantities, so label which graph is being interpreted.

Local maximum: f′\displaystyle f^{\prime} changes + to −. Local minimum: f′\displaystyle f^{\prime} changes − to +. Inflexion: concavity changes. If f′(a)=0\displaystyle f^{\prime}\left(a\right) = 0 and f′′(a)>0\displaystyle f^{\prime\prime}\left(a\right) > 0, a is a local minimum.

Watch out: An inconclusive second-derivative test does not mean⁡\displaystyle \operatorname{mean} there is no extremum.

Worked example

Find the x-coordinates of the stationary points of f(x)=x3−3x\displaystyle f\left(x\right) = x^{3} - 3 x.

  1. f′(x)=3x2−3=3(x−1)(x+1)\displaystyle f^{\prime}\left(x\right) = 3 x^{2} - 3 = 3 \left(x - 1\right) \left(x + 1\right).
  2. Setting f′=0\displaystyle f^{\prime} = 0 gives x=−1\displaystyle x = -1 and x=1\displaystyle x = 1.

4.5

Applications of differential calculus

Translate an optimisation context into an objective function of one variable. Use the constraints to eliminate other variables, then state the physically meaningful domain.

Solve the derivative equation and justify the selected optimum with a sign change, second derivative, or a comparison of candidates and endpoints. An algebraic stationary point outside the physical domain cannot answer the context.

A distance may be optimised through its square, because square root is increasing on non-negative inputs. Keep units with rates, areas and volumes, and distinguish the variable at the optimum from the optimum value.

Optimisation: objective → constraint substitution → domain → derivative → candidates → classification and endpoint checks.

Watch out: Solving f′=0\displaystyle f^{\prime} = 0 is only the candidate stage; it does not prove a maximum or minimum.

Worked example

A rectangle has perimeter 40 cm. Find its greatest possible area.

  1. Let its sides be x and 20−x\displaystyle 20 - x, with 0<x<20\displaystyle 0 < x < 20. Area A=20x−x2\displaystyle A = 20 x - x^{2}.
  2. A′=20−2x=0\displaystyle A^{\prime} = 20 - 2 x = 0 gives x=10\displaystyle x = 10, and A′′=−2<0\displaystyle A^{\prime\prime} = -2 < 0.
  3. The maximum area is 10×10=100\displaystyle 10 \times 10 = 100 cm².

4.6

Implicit differentiation & related rates

An implicit equation relates x and y without isolating y. When differentiating with respect to x, every derivative of a y-expression includes  dy dx\displaystyle \frac{\,\mathrm{d}y}{\,\mathrm{d}x}. A second differentiation may require a product rule involving y′\displaystyle y^{\prime}.

Related rates connect quantities that change with time. Write the geometric relation first, differentiate with respect to time, and only then substitute the values at the stated instant.

State sign conventions. A negative rate may represent decreasing height rather than an impossible answer. Similarity constraints must continue to hold throughout the changing situation, not just at the instant shown.

d(y2) dx=2yy′\displaystyle \frac{d \left(y^{2}\right)}{\,\mathrm{d}x} = 2 y y^{\prime}. For x2+y2=r2\displaystyle x^{2} + y^{2} = r^{2} with fixed r: y′=−xy\displaystyle y^{\prime} = \frac{-x}{y} when y≠0\displaystyle y \ne 0. Related rates differentiate every variable with respect to t.

Watch out: Substituting an instantaneous length before differentiating can incorrectly make a changing quantity constant.

Worked example

On x2+y2=25\displaystyle x^{2} + y^{2} = 25, find  dy dx\displaystyle \frac{\,\mathrm{d}y}{\,\mathrm{d}x} at (3, 4)\displaystyle \left(3,\,4\right).

  1. Differentiate implicitly: 2x+2yy′=0\displaystyle 2 x + 2 y y^{\prime} = 0.
  2. Thus y′=−xy=−34\displaystyle y^{\prime} = \frac{-x}{y} = \frac{-3}{4} at the point.