Study Vault
All PostsFlashcardsResourcesAI ChatBlog
  1. Home
  2. /↳All Posts
  3. /↳Add Math
  4. /↳Differentiation
Study VaultStudy Vault

Free, comprehensive study notes for CSEC students.

matthewlloydw@gmail.com

Navigate

  • Home
  • All Posts
  • Flashcards
  • Resources
  • AI Chat

Sciences

  • Biology
  • Chemistry
  • Physics
  • Additional Mathematics
  • Mathematics
  • Information Technology

Humanities

  • English Language
  • English Literature
  • Spanish
  • Economics
  • Principles of Business
  • Principles of Accounting

Community

  • Contributors
  • Changelog
  • Suggest a Feature
  • My Suggestions
  • Bookmarks

© 2026 Matthew Williams. Made with other contributors for all.

Additional Mathematics

Differentiation

PDF
Matthew Williams
|May 16, 2026|8 min read|
With contributions from
Ksenia Spaulding
Applied optimisation section covering profit maximisation using differentiation.
CalculusChain RuleDifferentiationKinematicsPaper 01Paper 02Product RuleQuotient RuleSection 3Stationary Points

The derivative as gradient and rate of change, the power rule, chain rule, product rule, quotient rule, derivatives of sin and cos, tangents and normals, stationary points, and kinematics applications.

Differentiation answers one question: how does a quantity change as another quantity changes? The answer is the derivative, a function that gives the instantaneous rate of change at any point. Calculus accounts for five Paper 01 items and two Paper 02 questions.

The Derivative as a Gradient

For a straight line, the gradient is constant. For a curve, the gradient varies from point to point. The derivative dydx\dfrac{dy}{dx}dxdy​ (also written f′(x)f'(x)f′(x)) gives the gradient of the tangent to y=f(x)y = f(x)y=f(x) at any xxx value.

The derivative is defined as a limit:

dydx=lim⁡h→0f(x+h)−f(x)h\frac{dy}{dx} = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}dxdy​=limh→0​hf(x+h)−f(x)​

This is the slope of the chord between (x,f(x))(x, f(x))(x,f(x)) and (x+h,f(x+h))(x+h, f(x+h))(x+h,f(x+h)) as hhh approaches zero. The syllabus expects an intuitive understanding of this limit, not formal proofs.

The Power Rule

The most-used differentiation rule:

ddx(xn)=nxn−1\frac{d}{dx}(x^n) = nx^{n-1}dxd​(xn)=nxn−1

Works for any real nnn, including fractions and negative values.

FunctionDerivative
x5x^5x55x45x^45x4
x−3x^{-3}x−3−3x−4=−3x4-3x^{-4} = -\frac{3}{x^4}−3x−4=−x43​
x1/2=xx^{1/2} = \sqrt{x}x1/2=x​12x−1/2=12x\frac{1}{2}x^{-1/2} = \frac{1}{2\sqrt{x}}21​x−1/2=2x​1​
constant ccc000

Linear rules: ddx[cf(x)]=cf′(x)\dfrac{d}{dx}[cf(x)] = cf'(x)dxd​[cf(x)]=cf′(x) and ddx[f(x)+g(x)]=f′(x)+g′(x)\dfrac{d}{dx}[f(x) + g(x)] = f'(x) + g'(x)dxd​[f(x)+g(x)]=f′(x)+g′(x).

Differentiate polynomial functions term by term.

Example

Differentiate y=4x3−2x+5xy = 4x^3 - \frac{2}{x} + 5\sqrt{x}y=4x3−x2​+5x​.

Rewrite as y=4x3−2x−1+5x1/2y = 4x^3 - 2x^{-1} + 5x^{1/2}y=4x3−2x−1+5x1/2, then differentiate:

dydx=12x2+2x−2+52x−1/2=12x2+2x2+52x\frac{dy}{dx} = 12x^2 + 2x^{-2} + \frac{5}{2}x^{-1/2} = 12x^2 + \frac{2}{x^2} + \frac{5}{2\sqrt{x}}dxdy​=12x2+2x−2+25​x−1/2=12x2+x22​+2x​5​

Derivatives of Sine and Cosine

ddx(sin⁡ax)=acos⁡axddx(cos⁡ax)=−asin⁡ax\frac{d}{dx}(\sin ax) = a\cos ax \qquad \frac{d}{dx}(\cos ax) = -a\sin axdxd​(sinax)=acosaxdxd​(cosax)=−asinax

The chain applied to a linear argument axaxax simply multiplies by the inner derivative aaa.

Example

ddx(sin⁡3x)=3cos⁡3x\dfrac{d}{dx}(\sin 3x) = 3\cos 3xdxd​(sin3x)=3cos3x, ddx(cos⁡5x)=−5sin⁡5x\quad\dfrac{d}{dx}(\cos 5x) = -5\sin 5xdxd​(cos5x)=−5sin5x

The Chain Rule

For a composite function y=f(g(x))y = f(g(x))y=f(g(x)), written as y=f(u)y = f(u)y=f(u) where u=g(x)u = g(x)u=g(x):

dydx=dydu⋅dudx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}dxdy​=dudy​⋅dxdu​

Informally: differentiate the outer function (leaving the inner unchanged), then multiply by the derivative of the inner function.

Example

Differentiate y=(3x2+1)5y = (3x^2 + 1)^5y=(3x2+1)5.

Let u=3x2+1u = 3x^2 + 1u=3x2+1, so y=u5y = u^5y=u5.

dydu=5u4,dudx=6x\frac{dy}{du} = 5u^4, \quad \frac{du}{dx} = 6xdudy​=5u4,dxdu​=6x

dydx=5(3x2+1)4⋅6x=30x(3x2+1)4\frac{dy}{dx} = 5(3x^2+1)^4 \cdot 6x = 30x(3x^2+1)^4dxdy​=5(3x2+1)4⋅6x=30x(3x2+1)4

Example

Differentiate y=sin⁡(x2+1)y = \sin(x^2 + 1)y=sin(x2+1).

Outer: sin⁡(⋅)\sin(\cdot)sin(⋅) differentiates to cos⁡(⋅)\cos(\cdot)cos(⋅). Inner: x2+1x^2 + 1x2+1 differentiates to 2x2x2x.

dydx=2xcos⁡(x2+1)\frac{dy}{dx} = 2x\cos(x^2 + 1)dxdy​=2xcos(x2+1)

The Product Rule

For y=u(x) v(x)y = u(x)\,v(x)y=u(x)v(x):

dydx=udvdx+vdudx\frac{dy}{dx} = u\frac{dv}{dx} + v\frac{du}{dx}dxdy​=udxdv​+vdxdu​

"First times derivative of second, plus second times derivative of first."

Example

Differentiate y=x2sin⁡3xy = x^2\sin 3xy=x2sin3x.

u=x2u = x^2u=x2, v=sin⁡3xv = \sin 3xv=sin3x, u′=2xu' = 2xu′=2x, v′=3cos⁡3xv' = 3\cos 3xv′=3cos3x.

dydx=x2(3cos⁡3x)+sin⁡3x(2x)=3x2cos⁡3x+2xsin⁡3x\frac{dy}{dx} = x^2(3\cos 3x) + \sin 3x(2x) = 3x^2\cos 3x + 2x\sin 3xdxdy​=x2(3cos3x)+sin3x(2x)=3x2cos3x+2xsin3x

The Quotient Rule

For y=u(x)v(x)y = \dfrac{u(x)}{v(x)}y=v(x)u(x)​:

dydx=v u′−u v′v2\frac{dy}{dx} = \frac{v\,u' - u\,v'}{v^2}dxdy​=v2vu′−uv′​

"Bottom times derivative of top, minus top times derivative of bottom, all over bottom squared."

Example

Differentiate y=x2+12x−3y = \dfrac{x^2 + 1}{2x - 3}y=2x−3x2+1​.

u=x2+1u = x^2 + 1u=x2+1, v=2x−3v = 2x - 3v=2x−3, u′=2xu' = 2xu′=2x, v′=2v' = 2v′=2.

dydx=(2x−3)(2x)−(x2+1)(2)(2x−3)2=4x2−6x−2x2−2(2x−3)2=2x2−6x−2(2x−3)2\frac{dy}{dx} = \frac{(2x-3)(2x) - (x^2+1)(2)}{(2x-3)^2} = \frac{4x^2 - 6x - 2x^2 - 2}{(2x-3)^2} = \frac{2x^2 - 6x - 2}{(2x-3)^2}dxdy​=(2x−3)2(2x−3)(2x)−(x2+1)(2)​=(2x−3)24x2−6x−2x2−2​=(2x−3)22x2−6x−2​

Tangents and Normals to Curves

  • The tangent at x=ax = ax=a has gradient f′(a)f'(a)f′(a).
  • The normal at x=ax = ax=a is perpendicular to the tangent; its gradient is −1/f′(a)-1/f'(a)−1/f′(a).

Both use the point-slope form y−y0=m(x−a)y - y_0 = m(x - a)y−y0​=m(x−a) where (a,y0)=(a,f(a))(a, y_0) = (a, f(a))(a,y0​)=(a,f(a)).

Example

Find equations of the tangent and normal to y=x3−2x+1y = x^3 - 2x + 1y=x3−2x+1 at x=2x = 2x=2.

y(2)=8−4+1=5y(2) = 8 - 4 + 1 = 5y(2)=8−4+1=5. Point: (2,5)(2, 5)(2,5).

y′=3x2−2y' = 3x^2 - 2y′=3x2−2, so y′(2)=12−2=10y'(2) = 12 - 2 = 10y′(2)=12−2=10. Tangent gradient: 101010.

Tangent: y−5=10(x−2)⇒y=10x−15y - 5 = 10(x-2) \Rightarrow y = 10x - 15y−5=10(x−2)⇒y=10x−15

Normal gradient: −110-\frac{1}{10}−101​. Normal: y−5=−110(x−2)⇒y=−x10+275y - 5 = -\frac{1}{10}(x-2) \Rightarrow y = -\frac{x}{10} + \frac{27}{5}y−5=−101​(x−2)⇒y=−10x​+527​

Stationary Points

A stationary point occurs where dydx=0\dfrac{dy}{dx} = 0dxdy​=0. At these points the tangent is horizontal.

Second derivative test:

  • If d2ydx2>0\dfrac{d^2y}{dx^2} > 0dx2d2y​>0 at a stationary point: minimum (curve concave up).
  • If d2ydx2<0\dfrac{d^2y}{dx^2} < 0dx2d2y​<0 at a stationary point: maximum (curve concave down).
  • If d2ydx2=0\dfrac{d^2y}{dx^2} = 0dx2d2y​=0: test is inconclusive — use the first derivative sign-change test instead.

First derivative sign-change test: evaluate dydx\dfrac{dy}{dx}dxdy​ at values just before and just after the stationary point.

  • +→−+ \to -+→−: maximum (gradient goes from positive to negative).
  • −→+- \to +−→+: minimum (gradient goes from negative to positive).
  • Same sign on both sides: point of inflection (not a turning point).
Example

Find and classify the stationary points of y=x3−3x2−9x+2y = x^3 - 3x^2 - 9x + 2y=x3−3x2−9x+2.

dydx=3x2−6x−9=3(x2−2x−3)=3(x−3)(x+1)=0\dfrac{dy}{dx} = 3x^2 - 6x - 9 = 3(x^2 - 2x - 3) = 3(x-3)(x+1) = 0dxdy​=3x2−6x−9=3(x2−2x−3)=3(x−3)(x+1)=0

Stationary points at x=3x = 3x=3 and x=−1x = -1x=−1.

d2ydx2=6x−6\dfrac{d^2y}{dx^2} = 6x - 6dx2d2y​=6x−6

At x=3x = 3x=3: d2ydx2=12>0\frac{d^2y}{dx^2} = 12 > 0dx2d2y​=12>0: minimum. y=27−27−27+2=−25y = 27 - 27 - 27 + 2 = -25y=27−27−27+2=−25. Point: (3,−25)(3, -25)(3,−25).

At x=−1x = -1x=−1: d2ydx2=−12<0\frac{d^2y}{dx^2} = -12 < 0dx2d2y​=−12<0: maximum. y=−1−3+9+2=7y = -1 - 3 + 9 + 2 = 7y=−1−3+9+2=7. Point: (−1,7)(-1, 7)(−1,7).

Rates of Change and Kinematics

The derivative represents any rate of change, not just geometric gradient.

For a particle with displacement s(t)s(t)s(t):

v=dsdta=dvdt=d2sdt2v = \frac{ds}{dt} \qquad a = \frac{dv}{dt} = \frac{d^2s}{dt^2}v=dtds​a=dtdv​=dt2d2s​

  • When v=0v = 0v=0: particle is instantaneously at rest.
  • When a=0a = 0a=0: velocity is at a stationary value (often maximum velocity).
  • Positive vvv: moving in the positive direction; negative vvv: moving in the negative direction.
Example

A particle moves so that its displacement at time ttt seconds is s=t3−6t2+9ts = t^3 - 6t^2 + 9ts=t3−6t2+9t.

Find the velocity and acceleration, and determine when the particle is at rest.

v=3t2−12t+9=3(t−1)(t−3)v = 3t^2 - 12t + 9 = 3(t-1)(t-3)v=3t2−12t+9=3(t−1)(t−3). At rest when v=0v = 0v=0: t=1t = 1t=1 or t=3t = 3t=3.

a=6t−12a = 6t - 12a=6t−12. At t=1t = 1t=1: a=−6a = -6a=−6 (decelerating). At t=3t = 3t=3: a=6a = 6a=6 (accelerating).

Connected Rates of Change

When two quantities both change with time, the chain rule links their rates:

dAdt=dAdr⋅drdt\frac{dA}{dt} = \frac{dA}{dr} \cdot \frac{dr}{dt}dtdA​=drdA​⋅dtdr​

Exam Tip

In connected-rates questions, the chain rule always links d(target)dt\dfrac{d(\text{target})}{dt}dtd(target)​ through the connecting quantity. Write out the chain rule expression first before substituting values.

Example

A spherical balloon is being inflated so that its radius increases at 0.50.50.5 cm/s. Find the rate at which its volume is increasing when the radius is 333 cm.

Volume of sphere: V=43πr3V = \dfrac{4}{3}\pi r^3V=34​πr3, so dVdr=4πr2\dfrac{dV}{dr} = 4\pi r^2drdV​=4πr2.

Given: drdt=0.5\dfrac{dr}{dt} = 0.5dtdr​=0.5. Want: dVdt\dfrac{dV}{dt}dtdV​.

dVdt=dVdr⋅drdt=4πr2×0.5=2πr2\frac{dV}{dt} = \frac{dV}{dr} \cdot \frac{dr}{dt} = 4\pi r^2 \times 0.5 = 2\pi r^2dtdV​=drdV​⋅dtdr​=4πr2×0.5=2πr2

At r=3r = 3r=3: dVdt=2π(9)=18π\dfrac{dV}{dt} = 2\pi(9) = 18\pidtdV​=2π(9)=18π cm³/s.

Applied Optimisation

Differentiation finds the value of a variable that maximises or minimises a given quantity. The standard exam scenario involves a profit or revenue function.

For any business model:

  • Revenue R(x)R(x)R(x): income from selling xxx units.
  • Cost C(x)C(x)C(x): total cost to produce xxx units (fixed costs plus variable costs).
  • Profit P(x)=R(x)−C(x)P(x) = R(x) - C(x)P(x)=R(x)−C(x).

To maximise profit: set P′(x)=0P'(x) = 0P′(x)=0, solve for xxx, then verify with the second derivative.

Example

A company's revenue and cost functions are R(x)=196x−3x2R(x) = 196x - 3x^2R(x)=196x−3x2 and C(x)=14+4xC(x) = 14 + 4xC(x)=14+4x.

Profit function:

P(x)=(196x−3x2)−(14+4x)=−3x2+192x−14P(x) = (196x - 3x^2) - (14 + 4x) = -3x^2 + 192x - 14P(x)=(196x−3x2)−(14+4x)=−3x2+192x−14

Maximise: set P′(x)=0P'(x) = 0P′(x)=0.

P′(x)=−6x+192=0⇒x=32P'(x) = -6x + 192 = 0 \Rightarrow x = 32P′(x)=−6x+192=0⇒x=32

Maximum profit: P(32)=−3(32)2+192(32)−14=3058P(32) = -3(32)^2 + 192(32) - 14 = 3058P(32)=−3(32)2+192(32)−14=3058 (hundreds of dollars).

Verify: P′′(x)=−6<0P''(x) = -6 < 0P′′(x)=−6<0, confirming a maximum.

Maximum profit of 305830583058 is achieved when 323232 units are sold.

Previous in syllabus order
Trigonometry
Next in syllabus order
Integration