Skip to content
spmaddmath.com.my
Tuition

Study

SyllabusFormulasMethodsExam & PapersTools
LocationsPricingBlogOur TeachersContact
EN

Method · Differentiation

How to differentiate using the product rule

The product rule differentiates two functions multiplied together. If y=uvy=uv, then dydx=udvdx+vdudx\frac{dy}{dx}=u\frac{dv}{dx}+v\frac{du}{dx}: differentiate each factor in turn, keep the other unchanged, and add the two results.

What the product rule is for

In Add Math you often meet expressions where two functions are multiplied together, such as y=(2x1)(x2+1)y=(2x-1)(x^{2}+1), y=x3(2x+5)y=x^{3}(2x+5) or y=x4x+1y=x\sqrt{4x+1}. The product rule is the tool for differentiating this kind of expression when the two factors are not simply combined into one term.

It is tempting to differentiate each factor and multiply the derivatives, but that is wrong: ddx(uv)\frac{d}{dx}(uv) is not dudx×dvdx\frac{du}{dx}\times\frac{dv}{dx}. Some simple products, like (2x1)(x2+1)(2x-1)(x^{2}+1), can be expanded first and differentiated term by term, but many cannot be expanded neatly, especially when a root or an awkward power is involved.

The product rule gives a reliable, exam-marked method that always works, and it appears throughout the Differentiation chapter in tangents, rates of change and stationary-point problems.

When to reach for it

Reach for the product rule whenever you see two functions of xx multiplied together and neither is a constant. The clearest signal is a genuine product such as x2(3x1)x^{2}(3x-1), (x+2)(2x5)(x+2)(2x-5) or x2x+1x\sqrt{2x+1}, where both factors change as xx changes.

Be careful to tell the three rules apart. Use the product rule when two functions are multiplied; use the chain rule when one function is wrapped inside another, like (3x1)4(3x-1)^{4}; and use the quotient rule when one function is divided by another.

A quick test: if you can circle two separate factors sitting side by side, and both contain xx, the product rule is the right choice. When a factor is itself a bracket to a power, you will use the chain rule inside the product rule.

The method, step by step

Product ruleMust memorise
dydx=udvdx+vdudx\frac{dy}{dx}=u\frac{dv}{dx}+v\frac{du}{dx}
  1. 1

    Split into two factors

    Write the expression as a product and name the factors: let uu be the first and vv be the second, so y=uvy=uv.

  2. 2

    Differentiate each factor

    Find dudx\frac{du}{dx} and dvdx\frac{dv}{dx} separately.

  3. 3

    Apply the formula

    Substitute into dydx=udvdx+vdudx\frac{dy}{dx}=u\frac{dv}{dx}+v\frac{du}{dx}. Keep each factor with the derivative of the other one.

  4. 4

    Expand each product

    Multiply out the two brackets carefully, watching signs.

  5. 5

    Collect like terms

    Add the results and simplify to a single tidy expression.

  6. 6

    Use it if a value is asked

    Substitute the given xx-value to find a gradient, or set dydx=0\frac{dy}{dx}=0 for a stationary point.

Worked example

Q1[4 marks]

Given y=(2x1)(x2+1)y=(2x-1)(x^{2}+1), use the product rule to find dydx\frac{dy}{dx}, and hence the gradient of the curve at the point where x=1x=1.

Show worked solution

Split into two factors. Let u=2x1u=2x-1 and v=x2+1v=x^{2}+1, so that y=uvy=uv.

Differentiate each factor: dudx=2\frac{du}{dx}=2 and dvdx=2x\frac{dv}{dx}=2x.

Apply the product rule:

dydx=udvdx+vdudx=(2x1)(2x)+(x2+1)(2)\frac{dy}{dx}=u\frac{dv}{dx}+v\frac{du}{dx}=(2x-1)(2x)+(x^{2}+1)(2)

Expand each product: (2x1)(2x)=4x22x(2x-1)(2x)=4x^{2}-2x and (x2+1)(2)=2x2+2(x^{2}+1)(2)=2x^{2}+2.

Add and collect like terms: dydx=4x22x+2x2+2=6x22x+2\frac{dy}{dx}=4x^{2}-2x+2x^{2}+2=6x^{2}-2x+2.

For the gradient at x=1x=1, substitute: 6(1)22(1)+2=62+2=66(1)^{2}-2(1)+2=6-2+2=6.

The gradient of the curve at x=1x=1 is 66. (As a check, expanding first gives y=2x3x2+2x1y=2x^{3}-x^{2}+2x-1, and dydx=6x22x+2\frac{dy}{dx}=6x^{2}-2x+2, the same result.)

Common mistakes to avoid

  • Writing dydx=dudx×dvdx\frac{dy}{dx}=\frac{du}{dx}\times\frac{dv}{dx}, multiplying the two derivatives. This is the single biggest error; the rule adds two terms, it does not multiply.
  • Pairing each factor with its own derivative. The rule keeps the first factor with the derivative of the second, and the second factor with the derivative of the first.
  • Sign slips when expanding brackets, especially with a negative term such as (2x1)(2x)(2x-1)(2x).
  • Forgetting the chain rule for a factor that is a bracket to a power, e.g. differentiating (3x1)4(3x-1)^{4} inside the product.
  • Leaving the answer unsimplified when the question asks for a single expression or a value.

How one-to-one teaching helps

The step students most often get wrong is the pairing: they write u×vu'\times v' instead of uv+vuu\,v'+v\,u', and the whole answer collapses. In a one-to-one lesson our teachers watch you set out uu, vv, dudx\frac{du}{dx} and dvdx\frac{dv}{dx} in a neat little table before you touch the formula, so the terms can never be crossed.

Because your working is shown line by line, the two terms of the rule stay visible and every method mark is easy to award. Teachers at spmaddmath.com.my are experienced, and lessons are online and taught in English.

To see how we teach the product rule, message us on WhatsApp to arrange a one-hour paid class from RM50/hr at the teacher's rate.

Get 1-to-1 help.

Book a Trial Class

Frequently asked questions

When do I use the product rule instead of just expanding?

Use the product rule whenever two functions of xx are multiplied and expanding is awkward or impossible, for example x2x+1x\sqrt{2x+1}. Simple products like (2x1)(x2+1)(2x-1)(x^{2}+1) can be expanded first, but the product rule always works and is the expected method, so it is worth practising even on cases you could expand.

Do I need to memorise the product rule?

Yes. The product rule dydx=udvdx+vdudx\frac{dy}{dx}=u\frac{dv}{dx}+v\frac{du}{dx} is a technique you are expected to know and apply.

Memorise the pattern 'first times derivative of second, plus second times derivative of first', and practise it until it is automatic.

How is the product rule different from the chain rule?

The product rule is for two functions multiplied together, such as (x+2)(2x5)(x+2)(2x-5). The chain rule is for one function wrapped inside another, such as (3x1)4(3x-1)^{4}.

Harder questions combine them: you may need the chain rule to differentiate one factor while applying the product rule overall.

What can I do once I have the derivative?

Once you have dydx\frac{dy}{dx}, you can find the gradient at a point, write the equation of a tangent or normal, or set dydx=0\frac{dy}{dx}=0 to locate turning points. The product rule is a building block for much of the Differentiation chapter, so a secure method pays off across many questions.

Source:SRC-DSKP-EN

Written by the spmaddmath.com.my editorial team.· Last updated 5 September 2026

Ready to get started?

Book a Trial Classfrom RM50/hr · One-hour paid trial · Same-day reply
Book a Trial ClassOne-hour paid trial · Same-day reply