← Unit 3: Further calculus and statistics

QLDMath MethodsSyllabus dot point

Topic 1: Further differentiation and applications

Apply the product, quotient and chain rules, including in combination, to differentiate functions built from polynomial, exponential, logarithmic and trigonometric components

A focused answer to the QCE Mathematical Methods Unit 3 dot point on the product, quotient and chain rules. Sets out each rule, walks through worked combinations of polynomial, exponential, logarithmic and trigonometric functions, and identifies the order-of-operations and simplification traps that QCAA examiners reward in Paper 1 short response.

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

QCAA 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 combinations of the product, quotient and chain rules. Almost every Methods calculus question starts with a derivative step, so fluency here is non-negotiable for IA2, Paper 1 of the EA, and the calculus content of every PSMT.

The answer

The chain rule

If y=f(g(x))y = f(g(x)), set 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 = \dfrac{u(x)}{v(x)} with v(x)β‰ 0v(x) \neq 0, then

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

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

Standard derivatives (the library)

The rules above act on the standard derivatives. Memorise these.

ddx(xn)=nxnβˆ’1(anyΒ realΒ n)\frac{d}{dx}(x^n) = n x^{n - 1} \quad (\text{any real } n)

ddx(ex)=exddx(ln⁑x)=1x\frac{d}{dx}(e^x) = e^x \qquad \frac{d}{dx}(\ln x) = \frac{1}{x}

ddx(sin⁑x)=cos⁑xddx(cos⁑x)=βˆ’sin⁑xddx(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

Order of operations

When two or more rules combine, choose the outer structure first and work inwards.

  • IMATH_19 is a product; differentiate with the product rule, and the inside of sin⁑x\sin x is just xx so no chain rule on the trig.
  • IMATH_22 is a composition; differentiate with the chain rule, no product rule.
  • IMATH_23 is a product whose factors each need the chain rule; apply the product rule and the chain rule lives inside each derivative.

Worked examples

Chain inside a product

Differentiate y=xsin⁑(2x)y = x \sin(2x).

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

dydx=sin⁑(2x)+2xcos⁑(2x).\dfrac{dy}{dx} = \sin(2x) + 2x \cos(2x).

Chain inside a quotient

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

Quotient rule with u=e2xu = e^{2x}, v=x+1v = x + 1, uβ€²=2e2xu' = 2 e^{2x}, vβ€²=1v' = 1.

dydx=2e2x(x+1)βˆ’e2xβ‹…1(x+1)2=e2x(2x+1)(x+1)2.\dfrac{dy}{dx} = \dfrac{2 e^{2x} (x + 1) - e^{2x} \cdot 1}{(x + 1)^2} = \dfrac{e^{2x} (2x + 1)}{(x + 1)^2}.

Double chain

Differentiate y=sin⁑2(3x)y = \sin^2(3x), that is y=(sin⁑(3x))2y = (\sin(3x))^2.

Outer power, then inner sine, then innermost 3x3x.

dydx=2sin⁑(3x)β‹…3cos⁑(3x)=6sin⁑(3x)cos⁑(3x)=3sin⁑(6x).\dfrac{dy}{dx} = 2 \sin(3x) \cdot 3 \cos(3x) = 6 \sin(3x) \cos(3x) = 3 \sin(6x).

The last step uses the double-angle identity 2sin⁑θcos⁑θ=sin⁑(2θ)2 \sin\theta \cos\theta = \sin(2\theta).

Logarithm with the product rule

Differentiate y=xln⁑xy = x \ln x.

Product rule with u=xu = x, v=ln⁑xv = \ln x, uβ€²=1u' = 1, vβ€²=1xv' = \tfrac{1}{x}.

dydx=ln⁑x+xβ‹…1x=ln⁑x+1.\dfrac{dy}{dx} = \ln x + x \cdot \dfrac{1}{x} = \ln x + 1.

Quotient with a chain inside

Differentiate y=cos⁑(3x)x2y = \dfrac{\cos(3x)}{x^2}.

u=cos⁑(3x)u = \cos(3x), v=x2v = x^2, uβ€²=βˆ’3sin⁑(3x)u' = -3 \sin(3x), vβ€²=2xv' = 2x.

dydx=βˆ’3sin⁑(3x)β‹…x2βˆ’cos⁑(3x)β‹…2xx4=βˆ’3xsin⁑(3x)βˆ’2cos⁑(3x)x3.\dfrac{dy}{dx} = \dfrac{-3 \sin(3x) \cdot x^2 - \cos(3x) \cdot 2x}{x^4} = \dfrac{-3 x \sin(3x) - 2 \cos(3x)}{x^3}.

Common traps

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

Reversing the quotient rule sign. The numerator is uβ€²vu' v minus uvβ€²u v'. Writing it the other way around flips the sign of the entire derivative.

Treating e2xe^{2x} like a power. ddx(e2x)=2e2x\frac{d}{dx}(e^{2x}) = 2 e^{2x}, by the chain rule. It is not 2x e2xβˆ’12x \, e^{2x - 1}.

Applying the power rule to axa^x. For non-ee exponentials, ddx(ax)=(ln⁑a) ax\frac{d}{dx}(a^x) = (\ln a) \, a^x. The power rule does not apply because the base is constant and the exponent is variable.

Not simplifying. QCAA frequently allocates a mark for a clean final form. After a product or quotient rule, look for common factors and factor them out.

Choosing the wrong outer structure. y=ex2+xy = e^{x^2 + x} is a composition, not a product. Apply the chain rule, not the product rule.

In one sentence

The product rule gives (uv)β€²=uβ€²v+uvβ€²(uv)' = u'v + uv', the quotient rule gives (u/v)β€²=(uβ€²vβˆ’uvβ€²)/v2(u/v)' = (u'v - uv')/v^2, and the chain rule gives (f(g(x)))β€²=fβ€²(g(x))gβ€²(x)(f(g(x)))' = f'(g(x)) g'(x), and they combine in a clear inside-to-outside order whenever a function is built from polynomial, exponential, logarithmic and trigonometric pieces.

Past exam questions, worked

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

2023 QCAA-style P14 marksDifferentiate $y = x^2 e^{3x}$ with respect to $x$, and write your answer in factored form.
Show worked answer β†’

Use the product rule with u=x2u = x^2 and v=e3xv = e^{3x}.

uβ€²=2xu' = 2x, vβ€²=3e3xv' = 3 e^{3x} (chain rule on the inner 3x3x).

dydx=uβ€²v+uvβ€²=2x e3x+3x2e3x.\frac{dy}{dx} = u' v + u v' = 2x \, e^{3x} + 3 x^2 e^{3x}.

Factor: dydx=x e3x(2+3x).\frac{dy}{dx} = x \, e^{3x} (2 + 3x).

Markers reward the explicit product rule setup, both derivatives correct (including the chain rule factor on e3xe^{3x}), and the factored final answer. QCAA typically awards the final mark for clean factorisation.

2022 QCAA-style P13 marksFind $\frac{dy}{dx}$ for $y = \frac{\ln x}{x^2}$.
Show worked answer β†’

Quotient rule with u=ln⁑xu = \ln x and v=x2v = x^2.

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

dydx=uβ€²vβˆ’uvβ€²v2=1xβ‹…x2βˆ’ln⁑xβ‹…2xx4=xβˆ’2xln⁑xx4=1βˆ’2ln⁑xx3.\frac{dy}{dx} = \frac{u' v - u v'}{v^2} = \frac{\frac{1}{x} \cdot x^2 - \ln x \cdot 2x}{x^4} = \frac{x - 2x \ln x}{x^4} = \frac{1 - 2 \ln x}{x^3}.

Markers reward the correct quotient rule order (uβ€²vu' v minus uvβ€²u v'), accurate derivatives, and simplification by cancelling the common factor of xx.

Related dot points