Skip to main content

The product and quotient rules (SACE Stage 2 Mathematical Methods)

Syllabus dot point

“The product and quotient rules differentiate functions formed by multiplying or dividing two differentiable functions.”

8 min read

Quick answer

To differentiate a product f(x)=u(x)v(x)f(x)=u(x)v(x) use the product rule f′=u′v+uv′f'=u'v+uv'. To differentiate a quotient f(x)=u(x)v(x)f(x)=\dfrac{u(x)}{v(x)} use the quotient rule f′=u′v−uv′v2f'=\dfrac{u'v-uv'}{v^2}. Identify uu and vv, differentiate each, then substitute.

Jump to a section
  1. What this dot point is asking
  2. The product rule
  3. The quotient rule
  4. Choosing the right rule
  5. Products and quotients with a chain inside
  6. Common errors
  7. Bringing it together
  8. Exam-style questions

What this dot point is asking

You need to recognise when a function is a product of two functions or a quotient of two functions, choose the correct rule, and apply it carefully. These rules build on the basic derivatives of polynomials, exponentials, logarithms and trigonometric functions, so accuracy in those is assumed.

The product rule

If f(x)=u(x) v(x)f(x)=u(x)\,v(x) where uu and vv are both differentiable, then

f′(x)=u′(x) v(x)+u(x) v′(x).f'(x)=u'(x)\,v(x)+u(x)\,v'(x).

A useful shorthand is "first times derivative of second, plus second times derivative of first" - but written as u′v+uv′u'v+uv' the order does not matter because addition is commutative.

Product rule

ddx[u v]=u′v+uv′\frac{d}{dx}\big[u\,v\big]=u'v+uv'

When to use it

Use the product rule whenever the function is a multiplication of two non-trivial expressions, for example x2exx^2 e^x, xsin⁡xx\sin x, or (2x+1)ln⁡x(2x+1)\ln x. If one factor is a constant you do not need the product rule - just keep the constant.

Differentiating x2exx^2 e^x

Find the derivative of f(x)=x2exf(x)=x^2 e^x.

Step 1: Recognise the structure and identify uu and vv

The function is a product of two non-constant expressions, so the product rule applies. Label the two factors:

u=x2andv=ex.u=x^2 \qquad \text{and} \qquad v=e^x.

Step 2: Differentiate each factor separately

Differentiate uu using the power rule, and vv using the fact that the exponential function is its own derivative:

u′=2xandv′=ex.u'=2x \qquad \text{and} \qquad v'=e^x.

Step 3: Apply the product rule

The product rule states f′(x)=u′v+uv′f'(x)=u'v+uv'. Substituting the four expressions found above:

f′(x)=2x ex+x2ex.f'(x)=2x\,e^x+x^2 e^x.

Step 4: Factorise the result

Both terms share the factors xx and exe^x. Factorising makes the answer more compact and is useful if you later need to solve f′(x)=0f'(x)=0:

f′(x)=xex(2+x).f'(x)=x e^x(2+x).

Final answer: f′(x)=xex(2+x)f'(x)=xe^x(2+x).

The quotient rule

If f(x)=u(x)v(x)f(x)=\dfrac{u(x)}{v(x)} where uu and vv are differentiable and v(x)≠0v(x)\neq 0, then

f′(x)=u′(x) v(x)−u(x) v′(x)[v(x)]2.f'(x)=\frac{u'(x)\,v(x)-u(x)\,v'(x)}{\big[v(x)\big]^2}.

The order in the numerator does matter here because of the subtraction: it is always (derivative of top)(bottom) minus (top)(derivative of bottom), all over (bottom) squared.

Quotient rule

ddx ⁣[uv]=u′v−uv′v2\frac{d}{dx}\!\left[\frac{u}{v}\right]=\frac{u'v-uv'}{v^2}

Differentiating xx2+1\dfrac{x}{x^2+1}

Find the derivative of f(x)=xx2+1f(x)=\dfrac{x}{x^2+1}.

Step 1: Recognise the structure and identify uu and vv

The function is a fraction with two distinct expressions, so the quotient rule applies. The numerator is uu and the denominator is vv:

u=xandv=x2+1.u=x \qquad \text{and} \qquad v=x^2+1.

Step 2: Differentiate each part

The numerator is a simple linear expression and the denominator is a polynomial, so both derivatives follow the power rule:

u′=1andv′=2x.u'=1 \qquad \text{and} \qquad v'=2x.

Step 3: Apply the quotient rule

The quotient rule states f′(x)=u′v−uv′v2f'(x)=\dfrac{u'v-uv'}{v^2}. It is important to keep the subtraction in the numerator in the correct order, "derivative of top times bottom" minus "top times derivative of bottom":

f′(x)=(1)(x2+1)−(x)(2x)(x2+1)2.f'(x)=\frac{(1)(x^2+1)-(x)(2x)}{(x^2+1)^2}.

Step 4: Simplify the numerator

Expand the numerator and collect like terms to obtain a clean expression:

f′(x)=x2+1−2x2(x2+1)2=1−x2(x2+1)2.f'(x)=\frac{x^2+1-2x^2}{(x^2+1)^2}=\frac{1-x^2}{(x^2+1)^2}.

The denominator (x2+1)2(x^2+1)^2 cannot be simplified further, so this is the final form.

Final answer: f′(x)=1−x2(x2+1)2f'(x)=\dfrac{1-x^2}{(x^2+1)^2}.

Choosing the right rule

  • A product (two things multiplied): product rule.
  • A quotient (one thing divided by another): quotient rule, or rewrite as a product with a negative power and use the product and chain rules.
  • A sum or difference: differentiate term by term - no special rule needed.

Sometimes a quotient is easier as a product. For example exx2=exx−2\dfrac{e^x}{x^2}=e^x x^{-2} can be differentiated with the product rule, which some students find less error-prone than the quotient rule. Both approaches give the same answer; choose whichever you can execute cleanly under exam pressure.

Simplify before you differentiate

If a quotient simplifies algebraically - for instance x3+xx=x2+1\dfrac{x^3+x}{x}=x^2+1 - simplify first. Differentiating x2+1x^2+1 directly is far quicker and safer than applying the quotient rule to the original.

Products and quotients with a chain inside

The real exam difficulty is that the inner factors often need the chain rule themselves. For y=(2x+1)3exy=(2x+1)^3 e^{x}, treat it as a product with u=(2x+1)3u=(2x+1)^3 and v=exv=e^x. Here u′=3(2x+1)2(2)=6(2x+1)2u'=3(2x+1)^2(2)=6(2x+1)^2 uses the chain rule, and v′=exv'=e^x, so

dydx=6(2x+1)2ex+(2x+1)3ex=(2x+1)2ex(6+(2x+1))=(2x+1)2ex(2x+7).\frac{dy}{dx}=6(2x+1)^2 e^x+(2x+1)^3 e^x=(2x+1)^2 e^x\big(6+(2x+1)\big)=(2x+1)^2 e^x(2x+7).

Differentiate each factor fully (chain rule included) before substituting into the product or quotient rule, then factorise.

Common errors

Forgetting the subtraction order in the quotient rule

The numerator of the quotient rule is u′v−uv′u'v-uv', not uv′−u′vuv'-u'v. Swapping the two terms flips the sign of the whole derivative. A reliable check: differentiate 1x=x−1\dfrac{1}{x}=x^{-1} using the quotient rule (with u=1u=1, v=xv=x) and confirm you get −1x2-\dfrac{1}{x^2}, which matches the power rule. If you get +1x2+\dfrac{1}{x^2}, you have the order wrong.

Bringing it together

The product and quotient rules are the workhorses of Stage 2 differentiation. They combine constantly with the chain rule - for instance ddx[xe2x]\dfrac{d}{dx}\big[x e^{2x}\big] needs the product rule on the outside and the chain rule to differentiate e2xe^{2x}. Master identifying uu and vv cleanly, write the rule before substituting, and factorise your answer where possible so it is ready for the curve-sketching and optimisation applications that follow.

Exam-style questions

Questions in the style of SACE Board exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

SACE 2023-style2 marks
Calculator-assumed. Find dydx\dfrac{dy}{dx} for y=ln⁡(5x2)x2y = \dfrac{\ln(5x^2)}{x^2}. There is no need to simplify your answer.
Show worked answer →

This is a quotient, so use the quotient rule with u=ln⁡(5x2)u = \ln(5x^2) and v=x2v = x^2.

First the derivatives of the parts. By the chain rule, u′=10x5x2=2xu' = \dfrac{10x}{5x^2} = \dfrac{2}{x}. The denominator gives v′=2xv' = 2x.

Apply the quotient rule u′v−uv′v2\dfrac{u'v - uv'}{v^2}:

dydx=(2x)(x2)−ln⁡(5x2)(2x)(x2)2=2x−2xln⁡(5x2)x4.\frac{dy}{dx} = \frac{\left(\frac{2}{x}\right)(x^2) - \ln(5x^2)(2x)}{(x^2)^2} = \frac{2x - 2x\ln(5x^2)}{x^4}.

The question says there is no need to simplify, so full marks go to a correct unsimplified quotient-rule expression. One mark is for differentiating ln⁡(5x2)\ln(5x^2) to 2x\dfrac{2}{x}, and one mark for the correct quotient-rule structure.

SACE 2022-style3 marks
Calculator-assumed. Determine dydx\dfrac{dy}{dx} for y=ex+e−xxy = \dfrac{e^x + e^{-x}}{x}. You do not need to simplify your answer.
Show worked answer →

Use the quotient rule with u=ex+e−xu = e^x + e^{-x} and v=xv = x.

Differentiate the parts: u′=ex−e−xu' = e^x - e^{-x} (the chain rule sends e−xe^{-x} to −e−x-e^{-x}), and v′=1v' = 1.

Quotient rule u′v−uv′v2\dfrac{u'v - uv'}{v^2}:

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

Marks: one for u′u' with the correct sign on e−xe^{-x}, one for v′=1v' = 1 with the quotient-rule set-up, and one for a correctly assembled final expression. No simplification is required.

SACE 2021-style2 marks
Calculator-free. Differentiate y=x2sin⁡xy = x^2\sin x with respect to xx.
Show worked answer →

This is a product, so use the product rule with u=x2u = x^2 and v=sin⁡xv = \sin x.

The derivatives of the parts are u′=2xu' = 2x and v′=cos⁡xv' = \cos x.

Product rule u′v+uv′u'v + uv':

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

Marks: one for the product-rule structure and one for both derivatives correct (u′=2xu' = 2x and v′=cos⁡xv' = \cos x). Writing the derivative of sin⁡x\sin x as −cos⁡x-\cos x is the usual slip.

Practise this

Sources & how we know this

ExamExplained