2. Rules & Standard Derivatives0%

Differentiation · Topic 2 of 10

2. Rules & Standard Derivatives

Video coming soon4 worked examples

Theory

Advanced Higher extends Higher differentiation with three key rules and a wider set of standard derivatives.

(uv)=uv+uv(uv)=uvuvv2(f(g(x)))=f(g(x))g(x)(uv)' = u'v + uv' \qquad \left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^2} \qquad \bigl(f(g(x))\bigr)' = f'(g(x))\,g'(x)

It also introduces three reciprocal trigonometric functions, which you must know by name:

secθ=1cosθ,cosecθ=1sinθ,cotθ=1tanθ=cosθsinθ\sec\theta = \frac{1}{\cos\theta}, \qquad \operatorname{cosec}\theta = \frac{1}{\sin\theta}, \qquad \cot\theta = \frac{1}{\tan\theta} = \frac{\cos\theta}{\sin\theta}

Note the pairing: sec\sec goes with cos\cos, and cosec\operatorname{cosec} goes with sin\sin — not the other way round. Together with the exponential and logarithmic functions, these give the standard derivatives for this course:

ddx(tanx)=sec2xddx(cotx)=cosec2xddx(secx)=secxtanxddx(cosecx)=cosecxcotxddx(ex)=exddx(lnx)=1x\begin{aligned} \frac{d}{dx}(\tan x) &= \sec^2 x & \frac{d}{dx}(\cot x) &= -\operatorname{cosec}^2 x \\ \frac{d}{dx}(\sec x) &= \sec x \tan x & \frac{d}{dx}(\operatorname{cosec} x) &= -\operatorname{cosec} x \cot x \\ \frac{d}{dx}(e^x) &= e^x & \frac{d}{dx}(\ln x) &= \frac{1}{x} \end{aligned}

The two functions beginning with “co” — cot\cot and cosec\operatorname{cosec} — are the ones with negative derivatives, exactly as cos\cos is. (The inverse trigonometric functions sin1\sin^{-1}, cos1\cos^{-1} and tan1\tan^{-1} have their own topic.)

The Golden Rule: identify the structure before differentiating — a product, a quotient, or a composition — and apply the matching rule. For combinations, work from the outside in.

⚠️ Common Examiner Traps

  • Quotient rule order: the numerator is uvuvu'v - uv', in that order — reversing it flips the sign.
  • Chain rule inside factor: always multiply by the derivative of the inner function.
  • Standard derivatives: know the exact forms, e.g. ddx(tanx)=sec2x\frac{d}{dx}(\tan x) = \sec^2 x, not secx\sec x.
  • Mixing up sec and cosec: secθ=1cosθ\sec\theta = \frac{1}{\cos\theta} — the names are deliberately crossed over, and it is a costly slip.
  • Losing the minus sign: cotx\cot x and cosecx\operatorname{cosec} x both differentiate to negative expressions.
  • Powers of trig functions: sec3x\sec^3 x means (secx)3(\sec x)^3, so it needs the chain rule — differentiate the power first, then multiply by secxtanx\sec x \tan x.

Worked examples

Example 1

Differentiate y=x2sinxy = x^2 \sin x.

Step 1: This is a product with u=x2u = x^2, v=sinxv = \sin x. Apply the product rule:

dydx=(2x)(sinx)+(x2)(cosx)\frac{dy}{dx} = (2x)(\sin x) + (x^2)(\cos x)

Step 2: So dydx=2xsinx+x2cosx\dfrac{dy}{dx} = 2x\sin x + x^2\cos x.

Example 2

Differentiate y=2x+1x2+1y = \dfrac{2x + 1}{x^2 + 1}.

Step 1: Quotient rule with u=2x+1u = 2x+1 (u=2u' = 2) and v=x2+1v = x^2+1 (v=2xv' = 2x):

dydx=2(x2+1)(2x+1)(2x)(x2+1)2\frac{dy}{dx} = \frac{2(x^2+1) - (2x+1)(2x)}{(x^2+1)^2}

Step 2: Expand and simplify the numerator:

=2x2+24x22x(x2+1)2=2x22x+2(x2+1)2= \frac{2x^2 + 2 - 4x^2 - 2x}{(x^2+1)^2} = \frac{-2x^2 - 2x + 2}{(x^2+1)^2}

Example 3

Differentiate y=e3xcos2xy = e^{3x}\cos 2x.

Step 1: Product rule, using the chain rule on each factor: ddx(e3x)=3e3x\frac{d}{dx}(e^{3x}) = 3e^{3x} and ddx(cos2x)=2sin2x\frac{d}{dx}(\cos 2x) = -2\sin 2x.

dydx=3e3xcos2x+e3x(2sin2x)\frac{dy}{dx} = 3e^{3x}\cos 2x + e^{3x}(-2\sin 2x)

Step 2: Factor out e3xe^{3x}:

=e3x(3cos2x2sin2x)= e^{3x}(3\cos 2x - 2\sin 2x)

Example 4

Differentiate (a) y=5cosec3xy = 5\operatorname{cosec} 3x, (b) y=sec3xy = \sec^3 x, and (c) y=xcotxy = x\cot x.

Step 1 (a): Use ddx(cosecx)=cosecxcotx\frac{d}{dx}(\operatorname{cosec} x) = -\operatorname{cosec} x \cot x together with the chain rule, since the angle is 3x3x:

dydx=5×(cosec3xcot3x)×3=15cosec3xcot3x\frac{dy}{dx} = 5 \times \bigl(-\operatorname{cosec} 3x \cot 3x\bigr) \times 3 = -15\operatorname{cosec} 3x \cot 3x

Step 2 (b): Read sec3x\sec^3 x as (secx)3(\sec x)^3. Differentiate the power first, then multiply by the derivative of secx\sec x:

dydx=3(secx)2×secxtanx=3sec3xtanx\frac{dy}{dx} = 3(\sec x)^2 \times \sec x \tan x = 3\sec^3 x \tan x

Step 3 (c): This is a product, so use uv+uvu'v + uv' with u=xu = x and v=cotxv = \cot x, remembering the minus sign:

dydx=(1)cotx+x(cosec2x)\frac{dy}{dx} = (1)\cot x + x\bigl(-\operatorname{cosec}^2 x\bigr)

Step 4: Tidy the result:

dydx=cotxxcosec2x\frac{dy}{dx} = \cot x - x\operatorname{cosec}^2 x