Resources For Teachers For Tutors For Students & Parents Pricing
Year 12 Methods (Unit 3 & 4) Further differentiation and applications

The product rule

20 practice questions 0 video lessons Theory + worked examples

In Year 12 Mathematical Methods (Queensland, QCAA), the product rule differentiates a product of two functions: if \(y=u\,v\) then \(y'=u'v+uv'\). It is used for products such as \(x^{2}e^{x}\), \(x\ln x\) and \(e^{x}\sin x\), is combined with the chain rule when a factor is composite, and the answer is written in simplest and factorised form.

The product rule is the rule for differentiating a product of two functions of \(x\). If \(y=u\,v\), where \(u=u(x)\) and \(v=v(x)\), then

\(y'=u'v+uv'.\)

In words: differentiate the first factor and multiply by the second, add the first factor times the derivative of the second. Each factor is differentiated once while the other is held unchanged, and the two terms are added.

The rule is needed whenever two functions of \(x\) are multiplied — for example \(x^{2}e^{x}\), \(x\ln x\) or \(e^{x}\cos x\). It does not say \((uv)'=u'v'\): the derivative of a product is never simply the product of the derivatives. When one of the factors is itself a composite function (such as \(e^{3x}\) or \((2x+1)^{3}\)), the product rule is combined with the chain rule to differentiate that factor.

Key idea. \(y=u\,v\Rightarrow y'=u'v+uv'\). Differentiate each factor once, keep the other, and add. Never write \(u'v'\). Give the answer factorised.
Why the product rule works: a rectangle area modelA rectangle of width u and height v has area uv. Increasing u by du and v by dv adds a top strip of area u times dv and a side strip of area v times du, so the change in area uv is u dv plus v du. uv u dv v du u du v dv
Change in area \(uv\): a strip \(u\,dv\) plus a strip \(v\,du\), so \((uv)'=u'v+uv'\)
Tangent to a product function y = x e^x at the originThe curve y equals x times e to the x passes through the origin. Its derivative by the product rule is e to the x times the bracket x plus 1, which equals 1 at x equals 0, so the tangent at the origin is the line y equals x. x y y=x e^x y=x
Product rule in action: \(f(x)=x e^{x}\), \(f'(x)=e^{x}(x+1)\), so \(f'(0)=1\) and the tangent at the origin is \(y=x\)

The product rule for \(y=u\,v\) (both \(u,v\) functions of \(x\)):

\[\dfrac{d}{dx}(uv)=u'v+uv'\]
ddx(uv)=uv+uv

The standard derivatives used with it:

\[\dfrac{d}{dx}e^{x}=e^{x},\quad \dfrac{d}{dx}\ln x=\dfrac{1}{x},\quad \dfrac{d}{dx}\sin x=\cos x,\quad \dfrac{d}{dx}\cos x=-\sin x\]
ddxlnx=1x

When a factor is composite, differentiate it with the chain rule (keep the inner factor):

\[\dfrac{d}{dx}e^{kx}=k\,e^{kx},\qquad \dfrac{d}{dx}\big(g(x)\big)^{n}=n\big(g(x)\big)^{n-1}g'(x)\]
ddxekx=kekx
Factorised form. After applying the rule you get two terms with a common factor; the syllabus asks you to take out the highest common factor. For example \(2x e^{x}+x^{2}e^{x}=x e^{x}(x+2)\).

How to differentiate a product

  1. Name the factors. Write \(u\) and \(v\) for the two functions being multiplied.
  2. Differentiate each. Find \(u'\) and \(v'\). If a factor is composite, use the chain rule and keep its inner factor.
  3. Apply the rule. Write \(y'=u'v+uv'\) — two terms, one from each factor.
  4. Factorise. Take out the highest common factor so the answer is in simplest and factorised form.
Applications. Once you have \(f'(x)\), the gradient at a point is \(f'(a)\) (used for a tangent), and the stationary points are the solutions of \(f'(x)=0\).
Example 1 — Power × exponential
Differentiate \(y=x^{2}e^{x}\).
Solution

Let \(u=x^{2}\), \(v=e^{x}\), so \(u'=2x\), \(v'=e^{x}\).

\(y'\)\(=\)\(u'v+uv'\)
\(=\)\(2x\,e^{x}+x^{2}e^{x}\)
\(=\)\(x e^{x}(x+2)\)
y=xex(x+2)
Example 2 — Two functions
Differentiate \(y=e^{x}\sin x\).
Solution

Both factors are functions of \(x\): \(u=e^{x}\), \(v=\sin x\).

\(y'\)\(=\)\(e^{x}\sin x+e^{x}\cos x\)
\(=\)\(e^{x}(\sin x+\cos x)\)
y=ex(sinx+cosx)
Example 3 — Power × logarithm
Differentiate \(y=x\ln x\).
Solution

\(u=x\), \(v=\ln x\), so \(u'=1\), \(v'=\dfrac{1}{x}\).

\(y'\)\(=\)\(1\cdot\ln x+x\cdot\dfrac{1}{x}\)
\(=\)\(\ln x+1\)
y=lnx+1
Example 4 — Product + chain
Differentiate \(y=x^{2}e^{3x}\), in factorised form.
Solution

\(u=x^{2}\), \(v=e^{3x}\). By the chain rule \(v'=3e^{3x}\) (keep the inner \(3\)).

\(y'\)\(=\)\(2x\,e^{3x}+x^{2}\cdot 3e^{3x}\)
\(=\)\(x e^{3x}(2+3x)\)
y=xe3x(3x+2)

Common pitfalls

The derivative of a product is not the product of the derivatives. \((uv)'=u'v+uv'\), never \(u'v'\). For \(x^{2}e^{x}\) the answer is \(x e^{x}(x+2)\), not \(2x e^{x}\).
Keep both terms. The rule always gives two terms; writing only \(u'v\) or only \(uv'\) drops half the derivative.
Do not lose the chain-rule inner factor. If a factor is composite, keep its inner derivative — \(\dfrac{d}{dx}e^{3x}=3e^{3x}\), not \(e^{3x}\).

Frequently asked questions

What is the product rule?

If \(y=u\,v\), where \(u\) and \(v\) are both functions of \(x\), then \(y'=u'v+uv'\). Differentiate each factor once, keep the other unchanged, and add.

How do you differentiate \(x^{2}e^{x}\)?

Take \(u=x^{2}\), \(v=e^{x}\), so \(y'=2x e^{x}+x^{2}e^{x}=x e^{x}(x+2)\).

Why is \((uv)'\) not \(u'v'\)?

Because both factors change at once, so the change in \(uv\) has two parts, \(u\,dv\) and \(v\,du\). That gives \(u'v+uv'\), not the product of the derivatives.

How do you use the product rule with the chain rule?

Differentiate any composite factor with the chain rule. For \(x^{2}e^{3x}\), \(v'=3e^{3x}\), so \(y'=x e^{3x}(3x+2)\).

When do you need the product rule?

Whenever two functions of \(x\) are multiplied, such as \(x\ln x\), \(e^{x}\sin x\) or \(x^{2}e^{-x}\). A constant factor does not need it.

What does simplest and factorised form mean?

Take out the highest common factor of the two terms, e.g. write \(x e^{x}(x+2)\) rather than \(2x e^{x}+x^{2}e^{x}\).

Create a free accountTrack your progress and save your work as you go.
Create free account