Skip to content

Differentiation | IB - Wyatt's Notes

Limits and Continuity

Intuitive Notion of a Limit

The limit of a function f(x)f(x) as xx approaches aa is the value that f(x)f(x) approaches, regardless Of whether f(a)f(a) is defined:

lim{xa}f(x)=L\lim_\{x \to a\} f(x) = L

This means that as xx gets arbitrarily close to aa, f(x)f(x) gets arbitrarily close to LL.

Left-Hand and Right-Hand Limits

A two-sided limit exists if and only if both one-sided limits exist and are equal:

lim{xa}f(x)=L    lim{xa}f(x)=lim{xa+}f(x)=L\lim_\{x \to a\} f(x) = L \iff \lim_\{x \to a^-\} f(x) = \lim_\{x \to a^+\} f(x) = L

:::note Example Find limx0xx\displaystyle\lim_{x \to 0} \frac{|x|}{x}.

lim{x0}{x}{x}=lim{x0}{x}{x}=1\lim_\{x \to 0^-\} \frac\{|x|\}\{x\} = \lim_\{x \to 0^-\} \frac\{-x\}\{x\} = -1 lim{x0+}{x}{x}=lim{x0+}{x}{x}=1\lim_\{x \to 0^+\} \frac\{|x|\}\{x\} = \lim_\{x \to 0^+\} \frac\{x\}\{x\} = 1

Since the one-sided limits are not equal, the limit does not exist.

LimitValue
limx0sinxx\displaystyle\lim_{x \to 0} \frac{\sin x}{x}11
limx01cosxx\displaystyle\lim_{x \to 0} \frac{1 - \cos x}{x}00
limx1x\displaystyle\lim_{x \to \infty} \frac{1}{x}00
limx(1+1x)x\displaystyle\lim_{x \to \infty} \left(1 + \frac{1}{x}\right)^xee
limx0ex1x\displaystyle\lim_{x \to 0} \frac{e^x - 1}{x}11
limx0ln(1+x)x\displaystyle\lim_{x \to 0} \frac{\ln(1+x)}{x}11

The Squeeze Theorem

If g(x)f(x)h(x)g(x) \le f(x) \le h(x) for all xx near aa (except possibly at aa), and:

lim{xa}g(x)=lim{xa}h(x)=L\lim_\{x \to a\} g(x) = \lim_\{x \to a\} h(x) = L

Then limxaf(x)=L\displaystyle\lim_{x \to a} f(x) = L. ::: :::note Example Show that limx0x2sin ⁣(1x)=0\displaystyle\lim_{x \to 0} x^2 \sin\!\left(\frac{1}{x}\right) = 0.

Since 1sin ⁣(1x)1-1 \le \sin\!\left(\frac{1}{x}\right) \le 1We have x2x2sin ⁣(1x)x2-x^2 \le x^2 \sin\!\left(\frac{1}{x}\right) \le x^2.

Both limx0(x2)=0\displaystyle\lim_{x \to 0}(-x^2) = 0 and limx0x2=0\displaystyle\lim_{x \to 0} x^2 = 0.

By the squeeze theorem, limx0x2sin ⁣(1x)=0\displaystyle\lim_{x \to 0} x^2 \sin\!\left(\frac{1}{x}\right) = 0.

Continuity

A function ff is continuous at x=ax = a if all three conditions hold:

  1. f(a)f(a) is defined
  2. limxaf(x)\displaystyle\lim_{x \to a} f(x) exists
  3. limxaf(x)=f(a)\displaystyle\lim_{x \to a} f(x) = f(a) ::: :::caution Exam Tip When asked whether a piecewise function is continuous at a boundary point, always check that the Left-hand limit, right-hand limit, and function value all agree.

The Derivative

Definition from First Principles

The derivative of ff at x=ax = a is defined as:

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

This limit, when it exists, gives the instantaneous rate of change of ff at x=ax = a And equals the Gradient of the tangent line to the curve y=f(x)y = f(x) at that point.

Alternative Form

F(x)=lim{Δx0}{f(x+Δx)f(x)}{Δx}F'(x) = \lim_\{\Delta x \to 0\} \frac\{f(x + \Delta x) - f(x)\}\{\Delta x\}

Differentiability Implies Continuity

If ff is differentiable at x=ax = a Then ff is continuous at x=ax = a. The converse is not true: a Function can be continuous but not differentiable (e.g., f(x)=xf(x) = |x| at x=0x = 0). ::: :::note Example Differentiate f(x)=x2f(x) = x^2 from first principles.

\begin`\{aligned}` F'(x) &= \lim_\{h \to 0\} \frac\{(x+h)^2 - x^2\}\{h\} \\[6pt] &= \lim_\{h \to 0\} \frac\{x^2 + 2xh + h^2 - x^2\}\{h\} \\[6pt] &= \lim_\{h \to 0\} \frac\{2xh + h^2\}\{h\} \\[6pt] &= \lim_\{h \to 0\}(2x + h) \\[6pt] &= 2x \end`\{aligned}`

Notation for Derivatives

Several notations are equivalent:

  • f(x)f'(x) — Lagrange notation (prime notation)
  • dydx\dfrac{dy}{dx} — Leibniz notation
  • ddx[f(x)]\dfrac{d}{dx}[f(x)] — operator notation
  • y˙\dot{y} — Newton notation (time derivatives in physics)

Differentiation Rules

The Power Rule

For nRn \in \mathbb{R}:

\frac\{d\}`\{dx}`[x^n] = nx^\{n-1\}

Constant Multiple Rule

\frac\{d\}`\{dx}`[cf(x)] = c \cdot f'(x)

Sum and Difference Rule

\frac\{d\}`\{dx}`[f(x) \pm g(x)] = f'(x) \pm g'(x)

The Product Rule

If u=f(x)u = f(x) and v=g(x)v = g(x) Then:

\frac\{d\}`\{dx}`[uv] = u\frac`\{dv}``\{dx}` + v\frac`\{du}``\{dx}`

::: :::note Example Differentiate f(x)=x3sinxf(x) = x^3 \sin x.

F(x)=3x2sinx+x3cosxF'(x) = 3x^2 \sin x + x^3 \cos x

The Quotient Rule

\frac\{d\}`\{dx}`\left[\frac\{u\}\{v\}\right] = \frac\{v\frac`\{du}``\{dx}` - u\frac`\{dv}``\{dx}`\}\{v^2\}

::: :::caution Exam Tip A useful mnemonic for the quotient rule: “low d-high minus high d-low, over the square of what’s Below.” ::: :::note Example Differentiate f(x)=x2+1x3\displaystyle f(x) = \frac{x^2 + 1}{x - 3}.

Let u=x2+1u = x^2 + 1 and v=x3v = x - 3. Then u=2xu' = 2x and v=1v' = 1.

\begin`\{aligned}` F'(x) &= \frac\{(x-3)(2x) - (x^2+1)(1)\}\{(x-3)^2\} \\[6pt] &= \frac\{2x^2 - 6x - x^2 - 1\}\{(x-3)^2\} \\[6pt] &= \frac\{x^2 - 6x - 1\}\{(x-3)^2\} \end`\{aligned}`

The Chain Rule

If y=f(g(x))y = f(g(x)) Then:

\frac`\{dy}``\{dx}` = f'(g(x)) \cdot g'(x)

Or in Leibniz notation, if y=f(u)y = f(u) and u=g(x)u = g(x):

\frac`\{dy}``\{dx}` = \frac`\{dy}``\{du}` \cdot \frac`\{du}``\{dx}`

::: :::note Example Differentiate f(x)=(3x2+1)5f(x) = (3x^2 + 1)^5.

Let u=3x2+1u = 3x^2 + 1 So y=u5y = u^5.

\frac`\{dy}``\{dx}` = 5u^4 \cdot 6x = 30x(3x^2+1)^4

::: :::note Example Differentiate f(x)=sin(2x2+1)\displaystyle f(x) = \sin(2x^2 + 1).

Let u=2x2+1u = 2x^2 + 1 So y=sinuy = \sin u.

\frac`\{dy}``\{dx}` = \cos u \cdot 4x = 4x\cos(2x^2+1)

Derivatives of Standard Functions

f(x)f(x)f(x)f'(x)
xnx^nnxn1nx^{n-1}
exe^xexe^x
axa^xaxlnaa^x \ln a
lnx\ln x1x\dfrac{1}{x}
logax\log_a x1xlna\dfrac{1}{x \ln a}
sinx\sin xcosx\cos x
cosx\cos xsinx-\sin x
tanx\tan xsec2x\sec^2 x
cscx\csc xcscxcotx-\csc x \cot x
secx\sec xsecxtanx\sec x \tan x
cotx\cot xcsc2x-\csc^2 x
arcsinx\arcsin x11x2\dfrac{1}{\sqrt{1-x^2}}
arccosx\arccos x11x2\dfrac{-1}{\sqrt{1-x^2}}
arctanx\arctan x11+x2\dfrac{1}{1+x^2}
:::
:::caution
Exam Tip
The IB formula booklet provides the derivatives of \sin x$$\cos x$$\tan x$$e^x And lnx\ln x.
Memorise the derivatives of the reciprocal trig functions and inverse trig functions as they may not
Be in all booklets.

Implicit Differentiation

When a function is not given explicitly as y=f(x)y = f(x) but as a relation between xx and yyWe Differentiate both sides with respect to xx and solve for dydx\dfrac{dy}{dx}.

Key Idea

When differentiating a term involving yy with respect to xxUse the chain rule:

\frac\{d\}`\{dx}`[y^n] = ny^\{n-1\}\frac`\{dy}``\{dx}`

::: :::note Example Find dydx\dfrac{dy}{dx} for x2+y2=25x^2 + y^2 = 25.

Differentiate both sides with respect to xx:

2x + 2y\frac`\{dy}``\{dx}` = 0 \frac`\{dy}``\{dx}` = -\frac\{x\}\{y\}

At the point (3,4)(3, 4): dydx=34\dfrac{dy}{dx} = -\dfrac{3}{4}. ::: :::note Example Find dydx\dfrac{dy}{dx} for x3+y3=6xyx^3 + y^3 = 6xy.

3x^2 + 3y^2\frac`\{dy}``\{dx}` = 6y + 6x\frac`\{dy}``\{dx}` 3y^2\frac`\{dy}``\{dx}` - 6x\frac`\{dy}``\{dx}` = 6y - 3x^2 \frac`\{dy}``\{dx}`(3y^2 - 6x) = 6y - 3x^2 \frac`\{dy}``\{dx}` = \frac\{6y - 3x^2\}\{3y^2 - 6x\} = \frac\{2y - x^2\}\{y^2 - 2x\}

Second Derivatives Implicitly

To find d2ydx2\dfrac{d^2y}{dx^2}Differentiate dydx\dfrac{dy}{dx} again, remembering that dydx\dfrac{dy}{dx} is an expression in both xx and yy. ::: :::note Example Find d2ydx2\dfrac{d^2y}{dx^2} for x2+y2=25x^2 + y^2 = 25.

We have dydx=xy\dfrac{dy}{dx} = -\dfrac{x}{y}.

Differentiate with respect to xx:

\frac\{d^2y\}\{dx^2\} = -\frac\{y \cdot 1 - x \cdot \frac`\{dy}``\{dx}`\}\{y^2\}

Substitute dydx=xy\dfrac{dy}{dx} = -\dfrac{x}{y}:

{d2y}{dx2}={yx({x}{y})}{y2}={y+{x2}{y}}{y2}={y2+x2}{y3}={25}{y3}\frac\{d^2y\}\{dx^2\} = -\frac\{y - x\left(-\frac\{x\}\{y\}\right)\}\{y^2\} = -\frac\{y + \frac\{x^2\}\{y\}\}\{y^2\} = -\frac\{y^2 + x^2\}\{y^3\} = -\frac\{25\}\{y^3\}

When two or more quantities are related by an equation, their rates of change are also related.

Strategy

  1. Identify the quantities that are changing and the rate(s) given.
  2. Write an equation relating the quantities.
  3. Differentiate both sides with respect to time (tt).
  4. Substitute known values and solve for the unknown rate. ::: :::note Example A spherical balloon is being inflated at a rate of 10cm3/s10\mathrm{ cm}^3\mathrm{/s}. Find the rate at Which the radius is increasing when the radius is 5cm5\mathrm{ cm}.

Volume of a sphere: V=43πr3V = \dfrac{4}{3}\pi r^3.

Differentiate with respect to tt:

\frac`\{dV}``\{dt}` = 4\pi r^2 \frac`\{dr}``\{dt}`

Substitute dVdt=10\dfrac{dV}{dt} = 10 and r=5r = 5:

10 = 4\pi(25)\frac`\{dr}``\{dt}` \frac`\{dr}``\{dt}` = \frac\{10\}\{100\pi\} = \frac\{1\}\{10\pi\} \approx 0.0318 \mathrm\{ cm/s\}

::: :::note Example A ladder 10m10\mathrm{ m} long rests against a vertical wall. The bottom slides away from the wall at 1m/s1\mathrm{ m/s}. How fast is the top sliding down when the bottom is 6m6\mathrm{ m} from the wall?

By Pythagoras: x2+y2=100x^2 + y^2 = 100.

Differentiate: 2xdxdt+2ydydt=02x\dfrac{dx}{dt} + 2y\dfrac{dy}{dt} = 0.

When x=6x = 6: y=10036=8y = \sqrt{100-36} = 8.

2(6)(1) + 2(8)\frac`\{dy}``\{dt}` = 0 \frac`\{dy}``\{dt}` = -\frac\{12\}\{16\} = -0.75 \mathrm\{ m/s\}

The negative sign means the top is sliding down.


Second Derivatives and Higher Derivatives

Notation

F''(x) = \frac\{d^2y\}\{dx^2\} = \frac\{d\}`\{dx}`\left(\frac`\{dy}``\{dx}`\right) F'''(x) = \frac\{d^3y\}\{dx^3\} = \frac\{d\}`\{dx}`\left(\frac\{d^2y\}\{dx^2\}\right)

::: :::note Example Find f(x)f''(x) for f(x)=x43x3+2x7f(x) = x^4 - 3x^3 + 2x - 7.

F(x)=4x39x2+2F'(x) = 4x^3 - 9x^2 + 2 F(x)=12x218xF''(x) = 12x^2 - 18x F(x)=24x18F'''(x) = 24x - 18

Applications of Differentiation

Tangents and Normals

The tangent to y=f(x)y = f(x) at x=ax = a has gradient f(a)f'(a) and equation:

Yf(a)=f(a)(xa)Y - f(a) = f'(a)(x - a)

The normal is perpendicular to the tangent, so its gradient is 1f(a)-\dfrac{1}{f'(a)} (when f(a)0f'(a) \neq 0):

Yf(a)={1}{f(a)}(xa)Y - f(a) = -\frac\{1\}\{f'(a)\}(x - a)

::: :::note Example Find the equation of the tangent and normal to y=x33x+2y = x^3 - 3x + 2 at x=1x = 1.

At x=1x = 1: y=13+2=0y = 1 - 3 + 2 = 0 and y=3x23=0y' = 3x^2 - 3 = 0.

Since y=0y' = 0The tangent is horizontal: y=0y = 0.

The normal is vertical: x=1x = 1.

Increasing and Decreasing Functions

  • ff is increasing on an interval if f(x)>0f'(x) \gt 0 for all xx in that interval.
  • ff is decreasing on an interval if f(x)<0f'(x) \lt 0 for all xx in that interval.
  • ff is stationary at x=ax = a if f(a)=0f'(a) = 0.

Stationary Points

A stationary point occurs where f(x)=0f'(x) = 0. There are three types:

TypeFirst Derivative TestSecond Derivative Test
Local maximumff' changes from ++ to -f(x)<0f''(x) \lt 0
Local minimumff' changes from - to ++f(x)>0f''(x) \gt 0
Point of inflectionff' does not change signf(x)=0f''(x) = 0 (inconclusive alone)
:::
:::caution
Exam Tip
When f(x)=0f''(x) = 0 at a stationary point, the second derivative test is inconclusive. You must use
The first derivative test or check the sign of ff' on either side.
:::
:::note
Example
Find and classify the stationary points of f(x)=x36x2+9x+1f(x) = x^3 - 6x^2 + 9x + 1.
F(x)=3x212x+9=3(x24x+3)=3(x1)(x3)F'(x) = 3x^2 - 12x + 9 = 3(x^2 - 4x + 3) = 3(x-1)(x-3)

Setting f(x)=0f'(x) = 0: x=1x = 1 or x=3x = 3.

F(x)=6x12F''(x) = 6x - 12

At x=1x = 1: f(1)=6<0f''(1) = -6 \lt 0 So local maximum. f(1)=16+9+1=5f(1) = 1 - 6 + 9 + 1 = 5. Point: (1,5)(1, 5).

At x=3x = 3: f(3)=6>0f''(3) = 6 \gt 0 So local minimum. f(3)=2754+27+1=1f(3) = 27 - 54 + 27 + 1 = 1. Point: (3,1)(3, 1).

Concavity and Points of Inflection

{/prettier-ignore/}

Use the sliders to adjust coefficients of a polynomial and observe how f(x)f'(x) and f(x)f''(x) Determine stationary points and concavity.

  • ff is concave up on an interval if f(x)>0f''(x) \gt 0 (the graph curves upward).
  • ff is concave down on an interval if f(x)<0f''(x) \lt 0 (the graph curves downward).
  • A point of inflection occurs where the concavity changes, i.e., f(x)f''(x) changes sign. ::: :::caution Exam Tip Not every point where f(x)=0f''(x) = 0 is a point of inflection. The concavity must actually change. Always verify by checking the sign of f(x)f''(x) on either side. ::: :::note Example Find the points of inflection of f(x)=x44x3f(x) = x^4 - 4x^3.
F(x)=4x312x2F'(x) = 4x^3 - 12x^2 F(x)=12x224x=12x(x2)F''(x) = 12x^2 - 24x = 12x(x - 2)

f(x)=0f''(x) = 0 when x=0x = 0 or x=2x = 2.

IntervalSign of ff''Concavity
x<0x \lt 0++Concave up
0<x<20 \lt x \lt 2-Concave down
x>2x \gt 2++Concave up

Concavity changes at both x=0x = 0 and x=2x = 2 So both are points of inflection.

At x=0x = 0: f(0)=0f(0) = 0. Point: (0,0)(0, 0).

At x=2x = 2: f(2)=1632=16f(2) = 16 - 32 = -16. Point: (2,16)(2, -16).

Optimization

Optimization problems involve finding the maximum or minimum value of a quantity subject to Constraints.

Strategy

  1. Define variables and identify the quantity to be optimised.
  2. Write an expression for the quantity in terms of a single variable.
  3. Differentiate and set the derivative equal to zero.
  4. Verify that the critical point gives a maximum or minimum.
  5. Answer the question in context. ::: :::note Example A piece of wire 100cm100\mathrm{ cm} long is bent to form a rectangle. Find the dimensions that Maximise the area.

Let the dimensions be xx and yy. Then 2x+2y=1002x + 2y = 100 So y=50xy = 50 - x.

Area: A=xy=x(50x)=50xx2A = xy = x(50 - x) = 50x - x^2.

\frac`\{dA}``\{dx}` = 50 - 2x = 0 \implies x = 25 {d2A}{dx2}=2<0    {maximum}\frac\{d^2A\}\{dx^2\} = -2 \lt 0 \implies \mathrm\{maximum\}

So x = 25\mathrm{ cm}$$y = 25\mathrm{ cm}. The rectangle is a square with area 625cm2625\mathrm{ cm}^2. ::: :::note Example An open-top cylindrical can is to hold 500cm3500\mathrm{ cm}^3 of liquid. Find the dimensions that Minimise the surface area.

Volume: V=πr2h=500V = \pi r^2 h = 500 So h=500πr2h = \dfrac{500}{\pi r^2}.

Surface area (no top): A=πr2+2πrh=πr2+1000rA = \pi r^2 + 2\pi r h = \pi r^2 + \dfrac{1000}{r}.

\frac`\{dA}``\{dr}` = 2\pi r - \frac\{1000\}\{r^2\} = 0 2πr={1000}{r2}    2πr3=1000    r3={500}{π}2\pi r = \frac\{1000\}\{r^2\} \implies 2\pi r^3 = 1000 \implies r^3 = \frac\{500\}\{\pi\} R=({500}{π}){1/3}5.42{cm}R = \left(\frac\{500\}\{\pi\}\right)^\{1/3\} \approx 5.42 \mathrm\{ cm\} H={500}{π({500}{π}){2/3}}=({500}{π}){1/3}5.42{cm}H = \frac\{500\}\{\pi \cdot \left(\frac\{500\}\{\pi\}\right)^\{2/3\}\} = \left(\frac\{500\}\{\pi\}\right)^\{1/3\} \approx 5.42 \mathrm\{ cm\}

The optimal open-top can has h=rh = rI.e., height equals radius.


L’Hopital’s Rule

If limxaf(x)g(x)\displaystyle\lim_{x \to a}\frac{f(x)}{g(x)} gives an indeterminate form 00\dfrac{0}{0} or ±±\dfrac{\pm\infty}{\pm\infty} Then:

lim{xa}{f(x)}{g(x)}=lim{xa}{f(x)}{g(x)}\lim_\{x \to a\}\frac\{f(x)\}\{g(x)\} = \lim_\{x \to a\}\frac\{f'(x)\}\{g'(x)\}

Provided the limit on the right exists. ::: :::note Example Evaluate limx0ex1xx2\displaystyle\lim_{x \to 0}\frac{e^x - 1 - x}{x^2}.

Direct substitution gives 00\dfrac{0}{0} So apply L’Hopital’s rule:

lim{x0}{ex1}{2x}\lim_\{x \to 0\}\frac\{e^x - 1\}\{2x\}

Still 00\dfrac{0}{0}Apply again:

lim{x0}{ex}{2}={1}{2}\lim_\{x \to 0\}\frac\{e^x\}\{2\} = \frac\{1\}\{2\}

IB Exam-Style Questions

Question 1 (Paper 1 style)

Let f(x)=2x33x236x+5f(x) = 2x^3 - 3x^2 - 36x + 5.

(a) Find f(x)f'(x).

F(x)=6x26x36F'(x) = 6x^2 - 6x - 36

(b) Find the xx-coordinates of the stationary points.

6x26x36=0    x2x6=0    (x3)(x+2)=06x^2 - 6x - 36 = 0 \implies x^2 - x - 6 = 0 \implies (x-3)(x+2) = 0

x=3x = 3 or x=2x = -2.

(c) Determine the nature of each stationary point.

F(x)=12x6F''(x) = 12x - 6

At x=2x = -2: f(2)=30<0f''(-2) = -30 \lt 0 So local maximum.

At x=3x = 3: f(3)=30>0f''(3) = 30 \gt 0 So local minimum.

(d) Find the equation of the tangent to the curve at x=0x = 0.

f(0)=5f(0) = 5 and f(0)=36f'(0) = -36.

Y5=36(x0)    y=36x+5Y - 5 = -36(x - 0) \implies y = -36x + 5

Question 2 (Paper 2 style)

A rectangular garden is to be constructed adjacent to a house, with the house forming one side of The rectangle. Fencing is required for the other three sides. 60m60\mathrm{ m} of fencing is Available.

(a) If the side parallel to the house has length xmx\mathrm{ m}Show that the area is:

A=x(30{x}{2})=30x{x2}{2}A = x\left(30 - \frac\{x\}\{2\}\right) = 30x - \frac\{x^2\}\{2\}

The two perpendicular sides have total length 60x60 - x So each is 60x2=30x2\dfrac{60-x}{2} = 30 - \dfrac{x}{2}.

A=x(30{x}{2})A = x\left(30 - \frac\{x\}\{2\}\right)

(b) Find the value of xx that maximises the area.

\frac`\{dA}``\{dx}` = 30 - x = 0 \implies x = 30 {d2A}{dx2}=1<0    {maximum}\frac\{d^2A\}\{dx^2\} = -1 \lt 0 \implies \mathrm\{maximum\}

Maximum area =30×15=450m2= 30 \times 15 = 450\mathrm{ m}^2.

Question 3 (Paper 1 style)

Given x2+xy+y2=7x^2 + xy + y^2 = 7:

(a) Find dydx\dfrac{dy}{dx} in terms of xx and yy.

2x + y + x\frac`\{dy}``\{dx}` + 2y\frac`\{dy}``\{dx}` = 0 (x + 2y)\frac`\{dy}``\{dx}` = -(2x + y) \frac`\{dy}``\{dx}` = -\frac\{2x+y\}\{x+2y\}

(b) Verify that the point (1,2)(1, 2) lies on the curve and find the gradient at that point.

1+2+4=71 + 2 + 4 = 7. Yes.

\frac`\{dy}``\{dx}`\bigg|_\{(1,2)\} = -\frac\{2+2\}\{1+4\} = -\frac\{4\}\{5\}

Question 4 (Paper 2 style)

The curve CC has equation y=xexy = x e^{-x}.

(a) Find dydx\dfrac{dy}{dx}.

Using the product rule with u=xu = x and v=exv = e^{-x}:

\frac`\{dy}``\{dx}` = 1 \cdot e^\{-x\} + x \cdot (-e^\{-x\}) = e^\{-x\}(1 - x)

(b) Find the coordinates of the stationary point and determine its nature.

dydx=0    1x=0    x=1\dfrac{dy}{dx} = 0 \implies 1 - x = 0 \implies x = 1.

y=e1=1ey = e^{-1} = \dfrac{1}{e}.

d2ydx2=ex(1x)+ex(1)=ex(x2)\dfrac{d^2y}{dx^2} = -e^{-x}(1-x) + e^{-x}(-1) = e^{-x}(x - 2).

At x=1x = 1: d2ydx2=e1(1)<0\dfrac{d^2y}{dx^2} = e^{-1}(-1) \lt 0 So local maximum at (1,1e)\left(1, \dfrac{1}{e}\right).

(c) Find the point of inflection.

d2ydx2=0    x=2\dfrac{d^2y}{dx^2} = 0 \implies x = 2.

At x=2x = 2: y=2e2=2e2y = 2e^{-2} = \dfrac{2}{e^2}.

Since d2ydx2\dfrac{d^2y}{dx^2} changes sign at x=2x = 2This is a point of inflection at (2,2e2)\left(2, \dfrac{2}{e^2}\right).

(d) Find the equation of the tangent at x=0x = 0.

y(0)=0y(0) = 0 and y(0)=e0(1)=1y'(0) = e^0(1) = 1.

Y=xY = x

Question 5 (Paper 1 style)

The radius of a circle is increasing at a rate of 0.5cm/s0.5\mathrm{ cm/s}. Find the rate of change of The area when the radius is 4cm4\mathrm{ cm}.

A=πr2A = \pi r^2 \frac`\{dA}``\{dt}` = 2\pi r \frac`\{dr}``\{dt}` = 2\pi(4)(0.5) = 4\pi \mathrm\{ cm\}^2\mathrm\{/s\}

Question 6 (Paper 2 style)

Let f(x)=xx2+1f(x) = \dfrac{x}{x^2 + 1}.

(a) Find f(x)f'(x).

Using the quotient rule with u = x$$v = x^2 + 1:

F(x)={(x2+1)(1)x(2x)}{(x2+1)2}={1x2}{(x2+1)2}F'(x) = \frac\{(x^2+1)(1) - x(2x)\}\{(x^2+1)^2\} = \frac\{1 - x^2\}\{(x^2+1)^2\}

(b) Find the range of values of xx for which ff is increasing.

f(x)>0    1x2>0    x2<1    1<x<1f'(x) \gt 0 \implies 1 - x^2 \gt 0 \implies x^2 \lt 1 \implies -1 \lt x \lt 1.

(c) Find the stationary points.

f(x)=0    x=±1f'(x) = 0 \implies x = \pm 1.

At x=1x = 1: f(1)=12f(1) = \dfrac{1}{2}.

At x=1x = -1: f(1)=12f(-1) = -\dfrac{1}{2}.

Since ff' changes from ++ to - at x=1x = 1: local maximum at (1,12)\left(1, \dfrac{1}{2}\right).

Since ff' changes from - to ++ at x=1x = -1: local minimum at (1,12)\left(-1, -\dfrac{1}{2}\right).

(d) Find the equations of the asymptotes.

As x±x \to \pm\infty: f(x)0f(x) \to 0 So y=0y = 0 is a horizontal asymptote.

The denominator x2+10x^2 + 1 \neq 0 for all real xx So there are no vertical asymptotes.


flowchart TD
    A[2_Differentiationx] --> B[Key Concepts]
    A --> C[Core Principles]
    A --> D[Practical Applications]
    B --> E[Fundamental definitions]
    C --> F[Design patterns]
    D --> G[Real-world usage]

Summary of Key Results

ConceptFormula
First principlesf(x)=limh0f(x+h)f(x)h\displaystyle f'(x) = \lim_{h \to 0}\frac{f(x+h)-f(x)}{h}
Power ruleddx[xn]=nxn1\dfrac{d}{dx}[x^n] = nx^{n-1}
Product rule(uv)=uv+uv(uv)' = u'v + uv'
Quotient rule(uv)=uvuvv2\left(\dfrac{u}{v}\right)' = \dfrac{u'v - uv'}{v^2}
Chain ruledydx=dydududx\dfrac{dy}{dx} = \dfrac{dy}{du} \cdot \dfrac{du}{dx}
Tangent at (a,f(a))(a, f(a))yf(a)=f(a)(xa)y - f(a) = f'(a)(x - a)
Normal gradient1f(a)-\dfrac{1}{f'(a)}
Increasingf(x)>0f'(x) \gt 0
Decreasingf(x)<0f'(x) \lt 0
Local maxf'(a) = 0$$f''(a) \lt 0
Local minf'(a) = 0$$f''(a) \gt 0
:::
:::tip
Exam Strategy
For Paper 2 differentiation questions, always show your working . State which rule you are Using
(product, quotient, chain) and lay out the substitution. Examiners award method marks for Correct
application of rules even if arithmetic errors occur later.

For the A-Level treatment of this topic, see Differentiation. :::

:::tip Diagnostic Test Ready to test your understanding of Differentiation? The contains the hardest questions

within the IB specification for this topic, each with a full worked solution.

Unit tests probe edge cases and common misconceptions. Integration tests combine Differentiation with other IB mathematics topics to test synthesis under exam conditions.

See for instructions on self-marking and building a personal test matrix.

Intuition

Differentiation asks a deceptively simple question: how fast is something changing right now? The derivative is the slope of the tangent line, which approximates the function locally as a straight line. The chain rule is the composition of rates — if a small change in x produces a change in u, and a change in u produces a change in y, then the total rate is the product of these two rates. The product rule captures how two growing quantities interact: when both x and y increase, the area of their product grows from two directions simultaneously. Implicit differentiation extends these ideas to curves defined implicitly, where y is entangled with x in ways that resist explicit solution.

Common Pitfalls

  1. Forgetting to use the chain rule for composite functions. Identify the inner function first.

  2. Confusing the derivative of ln(x)\ln(x) with the derivative of loga(x)\log_a(x). The latter requires the change of base formula.

  3. Misreading the question, particularly with ‘hence’ vs ‘hence or otherwise’. The former requires using previous work.

Summary

  • Chain rule: ddx[f(g(x))]=f(g(x))g(x)\frac{d}{dx}[f(g(x))] = f'(g(x)) \cdot g'(x)
  • Product rule: (uv)=uv+uv(uv)' = u'v + uv'; quotient rule: (uv)=uvuvv2\left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^2}
  • Implicit differentiation: apply chain rule to terms with yy
  • Related rates: differentiate with respect to tt

Cross-References

TopicSiteLink
[Differentiation]A-LevelView
[Differentiation]IBView

Worked Examples

Worked examples demonstrating the application of key concepts are covered in the detailed sub-pages linked above. :::

See Also