← Year 12: Calculus

NSWMaths AdvancedSyllabus dot point

How do we differentiate functions built from products, quotients and compositions of standard functions?

Apply the product, quotient and chain rules, and differentiate exponential, logarithmic and trigonometric functions

A focused answer to the HSC Maths Advanced dot point on differentiation rules. The power, chain, product and quotient rules, plus derivatives of exponential, logarithmic and trigonometric functions, with worked examples and exam traps.

Generated by Claude OpusReviewed by Better Tuition Academy8 min answer

Have a quick question? Jump to the Q&A page

What this dot point is asking

NESA wants you to differentiate any function built from the standard library (polynomials, exe^x, ln⁑x\ln x, sin⁑x\sin x, cos⁑x\cos x, tan⁑x\tan x) using the power, chain, product and quotient rules. Almost every Maths Advanced calculus question begins with a differentiation step, so fluency here is non-negotiable.

The answer

The power rule

For any real nn,

ddx(xn)=nxnβˆ’1.\frac{d}{dx}(x^n) = n x^{n - 1}.

This extends to negative and fractional powers. For example, ddx(xβˆ’2)=βˆ’2xβˆ’3\frac{d}{dx}(x^{-2}) = -2 x^{-3} and ddx(x)=12xβˆ’1/2\frac{d}{dx}(\sqrt{x}) = \frac{1}{2}x^{-1/2}.

The chain rule

If y=f(g(x))y = f(g(x)), let u=g(x)u = g(x) so y=f(u)y = f(u). Then

dydx=dyduβ‹…dudx.\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}.

In practice, "differentiate the outside, leave the inside alone, then multiply by the derivative of the inside".

The product rule

If y=u(x)v(x)y = u(x) v(x), then

dydx=uβ€²v+uvβ€².\frac{dy}{dx} = u' v + u v'.

The quotient rule

If y=u(x)v(x)y = \frac{u(x)}{v(x)}, then

dydx=uβ€²vβˆ’uvβ€²v2.\frac{dy}{dx} = \frac{u' v - u v'}{v^2}.

Standard derivatives

Memorise these. They appear in nearly every paper.

ddx(ex)=ex,ddx(ef(x))=fβ€²(x)ef(x).\frac{d}{dx}(e^x) = e^x, \qquad \frac{d}{dx}(e^{f(x)}) = f'(x) e^{f(x)}.

ddx(ln⁑x)=1x,ddx(ln⁑f(x))=fβ€²(x)f(x).\frac{d}{dx}(\ln x) = \frac{1}{x}, \qquad \frac{d}{dx}(\ln f(x)) = \frac{f'(x)}{f(x)}.

ddx(sin⁑x)=cos⁑x,ddx(cos⁑x)=βˆ’sin⁑x,ddx(tan⁑x)=sec⁑2x.\frac{d}{dx}(\sin x) = \cos x, \qquad \frac{d}{dx}(\cos x) = -\sin x, \qquad \frac{d}{dx}(\tan x) = \sec^2 x.

For composed trig, the chain rule gives ddx(sin⁑(f(x)))=fβ€²(x)cos⁑(f(x))\frac{d}{dx}(\sin(f(x))) = f'(x) \cos(f(x)), and similarly for cos⁑\cos and tan⁑\tan.

Worked examples

Chain rule with trig

Differentiate y=sin⁑(3x2)y = \sin(3x^2).

Let u=3x2u = 3x^2, so y=sin⁑uy = \sin u. Then dydu=cos⁑u\frac{dy}{du} = \cos u and dudx=6x\frac{du}{dx} = 6x.

dydx=6xcos⁑(3x2).\frac{dy}{dx} = 6x \cos(3x^2).

Product rule

Differentiate y=xexy = x e^x.

u=xu = x, v=exv = e^x, so uβ€²=1u' = 1 and vβ€²=exv' = e^x.

dydx=1β‹…ex+xβ‹…ex=ex(1+x).\frac{dy}{dx} = 1 \cdot e^x + x \cdot e^x = e^x (1 + x).

Quotient rule

Differentiate y=ln⁑xxy = \frac{\ln x}{x}.

u=ln⁑xu = \ln x, v=xv = x, uβ€²=1xu' = \frac{1}{x}, vβ€²=1v' = 1.

dydx=1xβ‹…xβ€…β€Šβˆ’β€…β€Šln⁑xβ‹…1x2=1βˆ’ln⁑xx2.\frac{dy}{dx} = \frac{\frac{1}{x} \cdot x \; - \; \ln x \cdot 1}{x^2} = \frac{1 - \ln x}{x^2}.

Combined chain and product

Differentiate y=x2sin⁑(2x)y = x^2 \sin(2x).

Product rule with u=x2u = x^2, v=sin⁑(2x)v = \sin(2x). Then uβ€²=2xu' = 2x and vβ€²=2cos⁑(2x)v' = 2 \cos(2x) (chain rule on the inside).

dydx=2xsin⁑(2x)+2x2cos⁑(2x).\frac{dy}{dx} = 2x \sin(2x) + 2 x^2 \cos(2x).

Common traps

Forgetting the chain rule on composed functions. Writing ddx(sin⁑(2x))=cos⁑(2x)\frac{d}{dx}(\sin(2x)) = \cos(2x) loses the factor of 22. The correct answer is 2cos⁑(2x)2 \cos(2x).

Mixing up the quotient rule sign. The numerator is uβ€²vu' v minus uvβ€²u v', in that order. Reversing it changes the sign.

Treating e2xe^{2x} like 2e2xlog⁑e2 e^{2x \log e}. Just use the chain rule: ddx(e2x)=2e2x\frac{d}{dx}(e^{2x}) = 2 e^{2x}.

Power rule on axa^x. ddx(2x)\frac{d}{dx}(2^x) is not xβ‹…2xβˆ’1x \cdot 2^{x - 1}. For non-ee exponentials, write 2x=exln⁑22^x = e^{x \ln 2} first, giving ddx(2x)=(ln⁑2)β‹…2x\frac{d}{dx}(2^x) = (\ln 2) \cdot 2^x.

Not simplifying. Markers often reward a clean factored form. After the quotient rule, look for common factors.

In one sentence

Differentiation in Maths Advanced is the disciplined application of the power, chain, product and quotient rules to the standard derivatives of polynomial, exponential, logarithmic and trigonometric functions.

Past exam questions, worked

Real questions from past NESA papers on this dot point, with our answer explainer.

2022 HSC Q113 marksDifferentiate $y = (3x^2 + 1)^5$ with respect to $x$.
Show worked answer β†’

This is a composition, so use the chain rule. Let u=3x2+1u = 3x^2 + 1, so y=u5y = u^5.

dydu=5u4\frac{dy}{du} = 5u^4 and dudx=6x\frac{du}{dx} = 6x.

dydx=dyduβ‹…dudx=5(3x2+1)4β‹…6x=30x(3x2+1)4\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx} = 5(3x^2 + 1)^4 \cdot 6x = 30x(3x^2 + 1)^4.

Markers reward identifying the inner and outer functions, applying the chain rule cleanly, and presenting the final answer in factored form.

2020 HSC Q123 marksFind the derivative of $f(x) = x^2 \ln x$.
Show worked answer β†’

Use the product rule with u=x2u = x^2 and v=ln⁑xv = \ln x.

uβ€²=2xu' = 2x and vβ€²=1xv' = \frac{1}{x}.

fβ€²(x)=uβ€²v+uvβ€²=2xln⁑x+x2β‹…1x=2xln⁑x+xf'(x) = u' v + u v' = 2x \ln x + x^2 \cdot \frac{1}{x} = 2x \ln x + x.

Factor: fβ€²(x)=x(2ln⁑x+1)f'(x) = x(2 \ln x + 1).

Markers expect explicit labelling of uu, vv and their derivatives, correct application of the rule, and a tidy final answer.

Related dot points