Product Rule
Theory
The product rule differentiates two functions multiplied together: if \(y=uv\), then \(\dfrac{dy}{dx}=u\dfrac{dv}{dx}+v\dfrac{du}{dx}\). This Year 11 Mathematics Advanced page covers products of polynomials, brackets raised to powers and square roots, using the chain rule inside the product rule, factorising the derivative, finding where the gradient is zero and finding equations of tangents.
A product is two functions multiplied together, such as \(y=x^{3}(2x+1)^{4}\) or \(y=(x+2)\sqrt{x-1}\). Call the two factors \(u\) and \(v\), so \(y=uv\).
The product rule says the derivative is not \(u'v'\). Instead, each factor takes a turn at being differentiated while the other is left alone, and the two results are added:
\((uv)'=uv'+vu'\)
In words: first times the derivative of the second, plus second times the derivative of the first. Because the two terms are added, the order does not matter: \(u'v+uv'\) is the same thing.
One or both factors is often a bracket raised to a power or a square root, so finding \(u'\) and \(v'\) usually needs the chain rule. The answer is then simplified by taking out the common factors, so it can be used to find gradients, solve \(f'(x)=0\) or find a tangent.
The product rule. If \(y=uv\), where \(u\) and \(v\) are functions of \(x\):
In function notation, for \(f(x)=u(x)\,v(x)\):
| Factor | Its derivative |
|---|---|
| \(x^{n}\) | \(nx^{n-1}\) |
| \((ax+b)^{n}\) | \(n(ax+b)^{n-1}\times a\) |
| \(\big(g(x)\big)^{n}\) | \(n\big(g(x)\big)^{n-1}\times g'(x)\) |
| \(\sqrt{g(x)}=\big(g(x)\big)^{\frac{1}{2}}\) | \(\dfrac{g'(x)}{2\sqrt{g(x)}}\) |
| \(f'(x)\) | \(=\) | \(2(x^{2}-5)+(2x+3)(2x)\) |
| \(\) | \(=\) | \(6x^{2}+6x-10\) |
| \(f'(1)\) | \(=\) | \(6+6-10=2\) |
How to differentiate with the product rule
- Name the two factors: let \(u\) be the first and \(v\) the second. Write a root as a power, e.g. \(\sqrt{x+4}=(x+4)^{\frac{1}{2}}\).
- Differentiate each factor to get \(u'\) and \(v'\), using the chain rule for a bracket to a power or a root.
- Substitute into \(f'(x)=uv'+vu'\).
- Simplify: take out the common factors (each bracket to its lowest power), then tidy what is left. With roots, write both terms over a common denominator.
Using the derivative
- Gradient at a point: substitute the value of \(x\) into \(f'(x)\).
- Gradient zero: factorise \(f'(x)\) fully, set it equal to \(0\) and solve each factor.
- Show that: differentiate, factorise and finish with the exact expression given, then write “as required”.
- Tangent: find \(y_1\) from the original function and \(m\) from the derivative, then use \(y-y_1=m(x-x_1)\).
(i) show that \(f'(x)=3(x+2)(x-2)\)
(ii) hence find the values of \(x\) for which \(f'(x)=0\).
(i) Let \(u=x-4\) and \(v=(x+2)^{2}\), so \(u'=1\) and \(v'=2(x+2)\).
| \(f'(x)\) | \(=\) | \(uv'+vu'\) |
| \(\) | \(=\) | \((x-4)\times2(x+2)+(x+2)^{2}\times1\) |
| \(\) | \(=\) | \((x+2)\{2(x-4)+(x+2)\}\) |
| \(\) | \(=\) | \((x+2)(3x-6)\) |
| \(\) | \(=\) | \(3(x+2)(x-2)\) |
as required.
(ii) Set the factorised derivative equal to zero:
| \(3(x+2)(x-2)\) | \(=\) | \(0\) |
\(\therefore x=\boldsymbol{-2}\) or \(x=\boldsymbol{2}\)
The graph in the Diagrams tab shows the horizontal tangents at these two values.
Let \(u=(x+3)^{2}\) and \(v=(2x-5)^{3}\). Use the chain rule for each.
| \(u'\) | \(=\) | \(2(x+3)\) |
| \(v'\) | \(=\) | \(3(2x-5)^{2}\times2=6(2x-5)^{2}\) |
| \(f'(x)\) | \(=\) | \(uv'+vu'\) |
| \(\) | \(=\) | \((x+3)^{2}\times6(2x-5)^{2}\) |
| \(\) | \(\) | \(\quad+(2x-5)^{3}\times2(x+3)\) |
| \(\) | \(=\) | \(2(x+3)(2x-5)^{2}\) |
| \(\) | \(\) | \(\quad\times\{3(x+3)+(2x-5)\}\) |
| \(\) | \(=\) | \(2(x+3)(2x-5)^{2}(5x+4)\) |
\(\therefore f'(x)=\boldsymbol{2(x+3)(2x-5)^{2}(5x+4)}\)
The common factor takes \((x+3)\) to its lowest power \(1\) and \((2x-5)\) to its lowest power \(2\).
Write \(y=x^{2}(x+4)^{\frac{1}{2}}\). Let \(u=x^{2}\) and \(v=(x+4)^{\frac{1}{2}}\).
| \(\dfrac{du}{dx}\) | \(=\) | \(2x\) |
| \(\dfrac{dv}{dx}\) | \(=\) | \(\dfrac{1}{2}(x+4)^{-\frac{1}{2}}=\dfrac{1}{2\sqrt{x+4}}\) |
| \(\dfrac{dy}{dx}\) | \(=\) | \(u\dfrac{dv}{dx}+v\dfrac{du}{dx}\) |
| \(\) | \(=\) | \(\dfrac{x^{2}}{2\sqrt{x+4}}+2x\sqrt{x+4}\) |
| \(\) | \(=\) | \(\dfrac{x^{2}+4x(x+4)}{2\sqrt{x+4}}\) |
| \(\) | \(=\) | \(\dfrac{5x^{2}+16x}{2\sqrt{x+4}}\) |
\(\therefore \dfrac{dy}{dx}=\boldsymbol{\dfrac{x(5x+16)}{2\sqrt{x+4}}}\)
To put \(2x\sqrt{x+4}\) over \(2\sqrt{x+4}\), multiply it by \(2\sqrt{x+4}\): \(2x\sqrt{x+4}\times2\sqrt{x+4}=4x(x+4)\).
Product rule with \(u=x\) and \(v=(5-x)^{\frac{1}{2}}\). The inside \(5-x\) has derivative \(-1\), so \(v'=\dfrac{1}{2}(5-x)^{-\frac{1}{2}}\times(-1)=-\dfrac{1}{2\sqrt{5-x}}\).
| \(\dfrac{dy}{dx}\) | \(=\) | \(x\times\left(-\dfrac{1}{2\sqrt{5-x}}\right)+\sqrt{5-x}\times1\) |
At \(x=1\):
| \(\dfrac{dy}{dx}\) | \(=\) | \(-\dfrac{1}{2\times2}+2=\dfrac{7}{4}\) |
| \(y\) | \(=\) | \(1\times\sqrt{4}=2\) |
| \(y-2\) | \(=\) | \(\dfrac{7}{4}(x-1)\) |
| \(4y-8\) | \(=\) | \(7x-7\) |
\(\therefore\) the equation of the tangent is \(\boldsymbol{7x-4y+1=0}\)
Common pitfalls
Frequently asked questions
What is the product rule in differentiation?
If \(y=uv\), then \(\dfrac{dy}{dx}=u\dfrac{dv}{dx}+v\dfrac{du}{dx}\), or \(y'=uv'+vu'\): the first times the derivative of the second, plus the second times the derivative of the first.
When do you use the product rule?
Use it when the function is two expressions multiplied together and expanding is awkward, such as \(x(3x-1)^{4}\), \((x+2)^{2}(x-1)^{3}\) or \(x\sqrt{x^{2}+4}\).
Does the order matter in the product rule?
No. \(uv'+vu'\) and \(u'v+uv'\) are equal because the two terms are added. (Order does matter in the quotient rule, which has a subtraction.)
How do you simplify after using the product rule?
Take out the common factors: any number, and each repeated bracket to its lowest power. Simplify what is left inside the brackets. If there is a square root, write both terms over a common denominator.
Can I expand the brackets instead of using the product rule?
For two short polynomials, yes: \((x^{2}+2)(x-5)\) can be expanded first. But when a question says “use the product rule”, you must show it, and for powers or roots such as \(x^{3}(2x+1)^{4}\) the product rule is much faster and gives a factorised answer.