Product and Quotient Rule (AA HL)

The product rule differentiates two functions multiplied together, y=uvy=uv, and the quotient rule differentiates one function divided by another, y=uvy=\dfrac{u}{v}. Choose uu and vv, differentiate each, then substitute into the formula and simplify. It also covers combining both rules with the chain rule. It's part of the broader Differentiation topic.

13 questions on this sub-topic.

Syllabus

CodeSyllabus content
SL5.6Derivative of xnx^n, sin⁡x\sin x, cos⁡x\cos x, exe^x and ln⁡x\ln x. Differentiation of a sum and a multiple of these functions. The chain rule for composite functions. The product and quotient rules.

Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).

Skills practised on this page:

The two rules

Both formulas are in the formula booklet, so the skill is recognising which one a question needs and applying it without a sign slip.

Product rule

y=uv⇒y′=u′v+uv′y=uv \Rightarrow y'=u'v+uv'

Differentiate each factor in turn, keeping the other factor unchanged, and add the two results.

In the formula booklet

Quotient rule

y=uv⇒y′=u′v−uv′v2y=\dfrac{u}{v} \Rightarrow y'=\dfrac{u'v-uv'}{v^2}

"Low d-high minus high d-low, over low squared" - order matters because subtraction isn't commutative.

In the formula booklet

Need the full syllabus wording and formula-booklet reference table? See Differentiation.

Key terms

How do you tell a product from a composite function?

A product has two separate functions of xx multiplied together, so use the product rule. A composite function has one function inside another, so use the chain rule.

e.g. x2sin⁡xx^2\sin x is a product, but sin⁡(x2)\sin(x^2) is a composite function.

How do you choose uu and vv?

Let uu be the first factor (or the numerator) and vv the second factor (or the denominator). Write down u′u' and v′v' before substituting into the formula.

e.g. For y=x2ln⁡xy=x^2\ln x, take u=x2u=x^2 and v=ln⁡xv=\ln x, so dydx=2xln⁡x+x2⋅1x=2xln⁡x+x\dfrac{dy}{dx}=2x\ln x+x^2\cdot\dfrac1x=2x\ln x+x.

Can you avoid the quotient rule?

Yes. Write uv\dfrac{u}{v} as uv−1uv^{-1} and use the product rule together with the chain rule. The answer is the same, but the quotient rule is usually quicker.

e.g. Both methods give ddx(xx+1)=1(x+1)2\dfrac{d}{dx}\left(\dfrac{x}{x+1}\right)=\dfrac{1}{(x+1)^2}.

How do you simplify after using the quotient rule?

Expand the numerator and collect like terms. Leave the denominator as v2v^2 unless a factor cancels.

e.g. For y=2x+1x+3y=\dfrac{2x+1}{x+3}, dydx=2(x+3)−(2x+1)(x+3)2=5(x+3)2\dfrac{dy}{dx}=\dfrac{2(x+3)-(2x+1)}{(x+3)^2}=\dfrac{5}{(x+3)^2}.

Worked examples

1
Medium
No calc
[2 marks]

Differentiate y=x2sin⁡xy = x^2 \sin x.

Worked solution

(uv)′=u′v+uv′(uv)' = u'v + uv' with u=x2, v=sin⁡x, u′=2x, v′=cos⁡x.u = x^2,\ v = \sin x,\ u'=2x,\ v'=\cos x. M1
dydx=2xsin⁡x+x2cos⁡x.\dfrac{dy}{dx} = 2x\sin x + x^2\cos x. A1

M1 Product rule A1 Correct answer of 2xsin⁡x+x2cos⁡x2x\sin x + x^2\cos x
2
Medium
No calc
[3 marks]

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

Worked solution

(uv)′=u′v−uv′v2\left(\dfrac{u}{v}\right)' = \dfrac{u'v - uv'}{v^2} with u=2x+1, v=x2+3.u = 2x+1,\ v = x^2+3. M1
u′=2, v′=2x,u' = 2,\ v' = 2x, so dydx=2(x2+3)−(2x+1)(2x)(x2+3)2\dfrac{dy}{dx} = \dfrac{2(x^2+3) - (2x+1)(2x)}{(x^2+3)^2} A1
dydx=−2x2−2x+6(x2+3)2.\dfrac{dy}{dx} = \dfrac{-2x^2 - 2x + 6}{(x^2+3)^2}. A1

M1 Quotient rule A1 u′,v′u',v' A1 Simplifying the numerator to get −2x2−2x+6(x2+3)2\dfrac{-2x^2 - 2x + 6}{(x^2+3)^2}
3
Hard
No calc
[3 marks]

Differentiate y=xx+1y = \dfrac{x}{x + 1}.

Worked solution

(uv)′=u′v−uv′v2\left(\dfrac{u}{v}\right)'=\dfrac{u'v-uv'}{v^2} with u=x, v=x+1.u=x,\ v=x+1. M1
u′=1, v′=1.u'=1,\ v'=1. A1
dydx=(1)(x+1)−x(1)(x+1)2=1(x+1)2.\dfrac{dy}{dx}=\dfrac{(1)(x+1)-x(1)}{(x+1)^2}=\dfrac{1}{(x+1)^2}. A1

M1 Correct quotient-rule structure A1 Derivatives u′=1, v′=1u'=1,\ v'=1 A1 Final value
4
Medium
No calc
[4 marks]

y=ln⁡(5x2+2).y = \ln(5x^2 + 2).

(a) Find dydx\dfrac{dy}{dx}.

(b) Differentiate y=e3xcos⁡x.y = e^{3x}\cos x.

Worked solution

(a) Chain rule: dydx\dfrac{dy}{dx} M1
dydx=10x5x2+2.\dfrac{dy}{dx} = \dfrac{10x}{5x^2+2}. A1

(b) Product rule: dydx=3e3xcos⁡x−e3xsin⁡x\dfrac{dy}{dx} = 3e^{3x}\cos x - e^{3x}\sin x M1
dydx=e3x(3cos⁡x−sin⁡x).\dfrac{dy}{dx} = e^{3x}(3\cos x - \sin x). A1

M1 Chain rule A1 Correct answer of 10x5x2+2\frac{10x}{5x^2+2} M1 Product rule A1 Factorised

Common mistakes

  • Getting the quotient rule's order backwards. u′v−uv′v2\dfrac{u'v-uv'}{v^2} is not symmetric - swapping uu and vv in the numerator gives the wrong sign on the whole answer, not just a small error.
  • Forgetting the chain rule inside a product or quotient factor. If uu or vv is itself a composite function - like 1+x2\sqrt{1+x^2} - you still need the chain rule to differentiate it before plugging it into the product or quotient formula.
  • Not simplifying (or over-simplifying) the final answer. Exam mark schemes often award the last A1 for a specific simplified form, so factorise or combine fractions where the algebra allows it, but don't force an unnecessary expansion that risks a new error.

Quick questions

What is the product rule?

For y=uvy = uv, y′=u′v+uv′y'=u'v+uv'. Differentiate each factor in turn, keeping the other factor unchanged, and add the two results.

What is the quotient rule?

For y=uvy = \dfrac{u}{v}, y′=u′v−uv′v2y'=\dfrac{u'v-uv'}{v^2}. Order matters because subtraction isn't commutative - a common shortcut is "low d-high minus high d-low, over low squared".

What do I do if one factor needs the chain rule?

Use the product rule, and find the derivative of the composite factor with the chain rule. For y=xe2xy=xe^{2x}, take u=xu=x and v=e2xv=e^{2x}, so v′=2e2xv'=2e^{2x} and dydx=e2x+2xe2x=e2x(1+2x)\dfrac{dy}{dx}=e^{2x}+2xe^{2x}=e^{2x}(1+2x).

How do I find the gradient at a point after using the product rule?

Differentiate, then substitute the xx-value. For y=x2sin⁡xy=x^2\sin x, dydx=2xsin⁡x+x2cos⁡x\dfrac{dy}{dx}=2x\sin x+x^2\cos x, so at x=πx=\pi the gradient is 2π×0+π2×(−1)=−π22\pi\times0+\pi^2\times(-1)=-\pi^2.

Should I factorise my final answer?

Factorising common factors is usually helpful, especially if you must solve dydx=0\dfrac{dy}{dx}=0, because you can set each factor equal to zero. For example, e2x(1+2x)=0e^{2x}(1+2x)=0 gives x=−12x=-\tfrac12 since e2xe^{2x} is never zero.

Ready to practise properly?

13 product-and-quotient-rule questions, marked instantly like the real exam.

Need a calculator refresher? See Using your GDC on the full Differentiation page.

← Back to Analysis & Approaches HL topics