Mathematical Methods · Units 3 & 4

Product and Quotient Rules

Master the product and quotient rules for differentiation the easy way, with plain English intuition, worked examples and an auto marked practice test. VCE Maths Methods Units 3 and 4.

Learn

Multiply, then differentiate, and you get the wrong answer almost every time. Two functions stuck together, like x2x^2 times exe^{x}, do not have a derivative you can find by differentiating each piece and multiplying the results. The same is true for one function divided by another. The product rule and the quotient rule are the two short recipes that fix this, and once you can spot which shape you are looking at, they are quick and almost mechanical.

Why you cannot just differentiate each piece

Here is the tempting mistake. You see y=x2exy = x^2 e^{x}, you know the derivative of x2x^2 is 2x2x and the derivative of exe^{x} is exe^{x}, so surely the answer is 2x⋅ex2x \cdot e^{x}. It is not. When two changing quantities are multiplied, a small nudge in xx changes both factors at once, and both changes feed into the product. The product rule is the bookkeeping that tracks both contributions.

The rule says: differentiate the first factor and leave the second alone, then add the first factor left alone times the derivative of the second.

ddx(uv)=u′v+uv′\frac{d}{dx}\big(uv\big) = u'v + uv'

The product rule, step by step

The hard part is believing you need it. The method itself is a four step recipe you repeat every time.

  1. Name the two factors uu and vv.
  2. Differentiate each on its own to get u′u' and v′v'.
  3. Write u′v+uv′u'v + uv', keeping every piece in brackets.
  4. Simplify, often by taking out a common factor.

Examiners repeatedly note that students lose marks here not because the rule is wrong but because the brackets are missing, so the two terms collapse into one messy product. Treat u′v+uv′u'v + uv' as a sum of two separate products. Write it as a clear sum, never as one tangled expression.

The quotient rule, and the sign that catches everyone

A quotient is one function sitting on top of another, like 2x+1x−3\dfrac{2x+1}{x-3}. The plain English idea is the same as before, two things changing at once, but now the bottom is pulling the value the other way, so a minus sign appears.

ddx(uv)=u′v−uv′v2\frac{d}{dx}\left(\frac{u}{v}\right) = \frac{u'v - uv'}{v^2}

Read the top left to right: derivative of the top times the bottom, minus the top times the derivative of the bottom. Then divide everything by the bottom squared. The order on the top matters because of that minus sign. Swap the two terms and you flip the sign of your whole answer, which is the error VCAA reports flag again and again.

-5510 -5510
The quotient y = (2x+1)/(x-3); its derivative -7/(x-3)^2 is negative everywhere, so the curve only ever falls, sweeping down on both sides of the vertical asymptote at x = 3.

When to use each, and combining with the chain rule

Deciding which rule applies is just reading the shape of the expression.

  • Two functions multiplied together, like xsin⁡(2x)x \sin(2x), call for the product rule.
  • One function divided by another, like x2ex\dfrac{x^2}{e^{x}}, call for the quotient rule.
  • One function inside another, like sin⁡(2x)\sin(2x) or e2xe^{2x}, call for the chain rule.

Real exam questions almost always combine them. In y=xsin⁡(2x)y = x \sin(2x) the outer shape is a product, so you reach for the product rule first, but differentiating sin⁡(2x)\sin(2x) needs the chain rule because 2x2x lives inside the sine. So you bring down the inside derivative 22 as you go. Quotients hide chain rule pieces in the same way. The trick is to decide the outer shape first, then handle each inner piece with whatever rule it needs.

A neat shortcut worth knowing: a quotient uv\dfrac{u}{v} can always be rewritten as a product u⋅v−1u \cdot v^{-1} and differentiated with the product and chain rules instead. Both routes give the same answer, so pick whichever leaves you with cleaner algebra.

Lock it in with active recall

Cover the answer and say each one out loud before you flip. Rate yourself honestly — the cards you find hard come back sooner, the ones you know are spaced further out.

Active recall

Answer from memory first, then flip. Rate yourself and each card returns on a spaced schedule (1 → 3 → 7 → 16 days).

State the product rule for ddx(uv)\dfrac{d}{dx}(uv).
State the quotient rule for ddx(uv)\dfrac{d}{dx}\left(\dfrac{u}{v}\right).
What is the single most common quotient rule mistake?
Why can’t you differentiate each factor and just multiply the results?
How do you decide which rule to use?
Recall · Chain Rule
In y=xsin⁡(2x)y = x\sin(2x), after spotting it’s a product, how do you differentiate the sin⁡(2x)\sin(2x) piece?
Recall · Derivatives of Circular Functions
What are the derivatives of sin⁡(x)\sin(x) and cos⁡(x)\cos(x)?

See all of this in action in the Worked Examples tab, then test yourself in Try It.

Worked examples

Worked Example 1A product, a maximum and two tangents, from a real exam

Let g:R→Rg : R \to R, g(x)=(x+1)2(x−2)2g(x) = (x + 1)^2(x - 2)^2. (i) Find g′(x)g'(x). (ii) Find the coordinates of the local maximum of gg. (iii) Find the values of xx for which g′(x)>0g'(x) > 0. (iv) The tangent lines to y=g(x)y = g(x) at x=−3+12x = \dfrac{-\sqrt{3} + 1}{2} and x=3+12x = \dfrac{\sqrt{3} + 1}{2} meet at a single point. Find its coordinates.

  1. 1

    Differentiate with the product rule on (x+1)2(x+1)^2 and (x−2)2(x-2)^2, then factorise the common pieces.

    g′(x)=2(x+1)(x−2)2+2(x+1)2(x−2)=2(x+1)(x−2)(2x−1)g'(x) = 2(x+1)(x-2)^2 + 2(x+1)^2(x-2) = 2(x+1)(x-2)(2x-1)
  2. 2

    Stationary points are at x=−1,2x = -1, 2 (both minima with g=0g = 0) and x=12x = \tfrac12 (the maximum). Evaluate gg there.

    local max (12, 8116)\text{local max } \left(\tfrac12,\ \tfrac{81}{16}\right)
  3. 3

    A sign analysis of g′(x)=2(x+1)(x−2)(2x−1)g'(x) = 2(x+1)(x-2)(2x-1) shows where the gradient is positive.

    g′(x)>0  for x∈(−1, 12)∪(2, ∞)g'(x) > 0 \ \text{ for } x \in \left(-1,\ \tfrac12\right) \cup (2,\ \infty)
  4. 4

    The two tangent points are symmetric about x=12x = \tfrac12, so their tangents meet on that axis of symmetry; substituting gives the intersection point.

    (12, 274)\left(\tfrac12,\ \tfrac{27}{4}\right)
Answer
g′(x)=2(x+1)(x−2)(2x−1); max (12,8116); g′>0 on (−1,12)∪(2,∞); tangents meet at (12,274)g'(x) = 2(x+1)(x-2)(2x-1); \ \text{max } \left(\tfrac12, \tfrac{81}{16}\right); \ g'>0 \text{ on } \left(-1, \tfrac12\right) \cup (2, \infty); \ \text{tangents meet at } \left(\tfrac12, \tfrac{27}{4}\right)

VCAA 2024 Mathematical Methods Exam 2, Section B Q1c

Worked Example 2A quotient with an exponential, from a real exam

Let y=x2−xexy = \dfrac{x^2 - x}{e^x}. Find and simplify dydx\dfrac{dy}{dx}.

  1. 1

    Apply the quotient rule with u=x2−xu = x^2 - x and v=exv = e^x, so u′=2x−1u' = 2x - 1 and v′=exv' = e^x.

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

    Factor exe^x from the numerator and cancel one exe^x against the denominator.

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

    Expand and collect like terms in the numerator. The examiner report flags dropping the brackets around (x2−x)(x^2 - x) as the common sign error.

    dydx=−x2+3x−1ex\frac{dy}{dx} = \frac{-x^2 + 3x - 1}{e^x}
Answer
dydx=−x2+3x−1ex\frac{dy}{dx} = \dfrac{-x^2 + 3x - 1}{e^x}

VCAA 2023 Mathematical Methods Exam 1, Q1a

Worked Example 3A clean product

Differentiate y=x2exy = x^2 e^{x} using the product rule.

  1. 1

    Name the two pieces. Let u=x2u = x^2 and v=exv = e^{x}.

    u=x2,v=exu = x^2, \quad v = e^{x}
  2. 2

    Differentiate each piece on its own.

    u′=2x,v′=exu' = 2x, \quad v' = e^{x}
  3. 3

    Apply the product rule u′v+uv′u'v + uv'. Keep every piece in brackets.

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

    Tidy by taking out the common factor exe^{x}.

    dydx=ex(2x+x2)\frac{dy}{dx} = e^{x}(2x + x^2)
Answer
dydx=xex(x+2)\frac{dy}{dx} = x e^{x}(x + 2)
Worked Example 4A quotient, watch the sign

Differentiate y=2x+1x−3y = \dfrac{2x + 1}{x - 3} using the quotient rule.

  1. 1

    Top is uu, bottom is vv. Let u=2x+1u = 2x+1 and v=x−3v = x-3.

    u=2x+1,v=x−3u = 2x + 1, \quad v = x - 3
  2. 2

    Differentiate each. Both are simple linear pieces.

    u′=2,v′=1u' = 2, \quad v' = 1
  3. 3

    Apply the quotient rule, top is u′v−uv′u'v - uv' over v2v^2. The minus sign is not optional.

    dydx=(2)(x−3)−(2x+1)(1)(x−3)2\frac{dy}{dx} = \frac{(2)(x-3) - (2x+1)(1)}{(x-3)^2}
  4. 4

    Expand the top carefully, then collect like terms.

    (2x−6)−(2x+1)(x−3)2=−7(x−3)2\frac{(2x - 6) - (2x + 1)}{(x-3)^2} = \frac{-7}{(x-3)^2}
Answer
dydx=−7(x−3)2\frac{dy}{dx} = \frac{-7}{(x-3)^2}
Worked Example 5Product rule meets the chain rule

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

  1. 1

    It is a product, so let u=xu = x and v=sin⁡(2x)v = \sin(2x).

    u=x,v=sin⁡(2x)u = x, \quad v = \sin(2x)
  2. 2

    Differentiate uu normally. For vv you need the chain rule, so bring down the inside derivative 22.

    u′=1,v′=2cos⁡(2x)u' = 1, \quad v' = 2\cos(2x)
  3. 3

    Apply u′v+uv′u'v + uv', holding each chain rule result in brackets.

    dydx=(1)sin⁡(2x)+(x)(2cos⁡(2x))\frac{dy}{dx} = (1)\sin(2x) + (x)\big(2\cos(2x)\big)
Answer
dydx=sin⁡(2x)+2xcos⁡(2x)\frac{dy}{dx} = \sin(2x) + 2x\cos(2x)

Practice questions

Practice test

Try it yourself

9 questions, 11 marks

Choose your answers, then submit to see your score and the full worked solutions. Multiple choice is marked for you, just like Exam 2 Section A.

Q1.Two functions, ff and gg, are continuous and differentiable for all x∈Rx \in R. It is given that f(−2)=−7f(-2) = -7, g(−2)=8g(-2) = 8, f′(−2)=3f'(-2) = 3 and g′(−2)=2g'(-2) = 2. The gradient of the graph y=f(x)×g(x)y = f(x) \times g(x) at the point where x=−2x = -2 is:

1mark

VCAA 2023 Mathematical Methods Exam 2, Section A Q11

Q2.Let y=excos⁡(3x)y = e^x \cos(3x). Find dydx\dfrac{dy}{dx}.

1mark

Work this on paper. The worked solution appears once you submit.

VCAA 2024 Mathematical Methods Exam 1, Q1a

Q3.Let y=x2cos⁡(x)y = x^2 \cos(x). Find dydx\dfrac{dy}{dx}.

1mark

Work this on paper. The worked solution appears once you submit.

VCAA 2025 Mathematical Methods Exam 1, Q1a

Q4.If y=x2exy = x^2 e^{x}, then dydx\dfrac{dy}{dx} equals:

1mark
Need a hint?
Two functions multiplied, so use the product rule u′v+uv′u'v + uv', not just the product of the two derivatives.

Q5.The derivative of y=2x+1x−3y = \dfrac{2x+1}{x-3} is:

1mark
Need a hint?
Quotient rule: the top is u′v−uv′u'v - uv', in that order. Watch the minus sign and what it multiplies.

Q6.If f(x)=xcos⁡(x)f(x) = x\cos(x), then f′(x)f'(x) is:

1mark
Need a hint?
Product rule with u=xu = x and v=cos⁡(x)v = \cos(x). Remember that differentiating cos⁡(x)\cos(x) brings in a negative sign.

Q7.The derivative of y=(3x−1)e2xy = (3x-1)e^{2x} is:

1mark
Need a hint?
Product rule, but differentiating e2xe^{2x} needs the chain rule, so v′=2e2xv' = 2e^{2x}, not e2xe^{2x}.

Q8.If g(x)=x2exg(x) = \dfrac{x^2}{e^{x}}, then g′(x)g'(x) equals:

1mark
Need a hint?
Quotient rule with u=x2u = x^2 and v=exv = e^{x}. Keep the top as u′v−uv′u'v - uv' in that order so the sign is right.

Q9.Find the derivative of f(x)=x2sin⁡(x)f(x) = x^2 \sin(x). Show all working and use brackets carefully.

3marks

Work this on paper. The worked solution appears once you submit.

Frequently asked questions

When do I use the product rule versus the quotient rule?
Read the shape of the expression. If two functions are multiplied together, use the product rule. If one function is divided by another, use the quotient rule. A quotient can also be rewritten as a product with a negative power if you prefer.
Why can't I just differentiate each part and multiply?
Because when two changing quantities are multiplied, a small change in x affects both factors at once, and both contributions matter. Differentiating each piece and multiplying ignores one of those effects, so it gives the wrong answer.
What is the most common mistake with the quotient rule?
Getting the order on the top wrong. It must be the derivative of the top times the bottom, minus the top times the derivative of the bottom. Swapping those two terms flips the sign of your whole answer, which is the error examiner reports flag most often.