Skip to content
spmaddmath.com.my
Tuition

Study

SyllabusFormulasMethodsExam & PapersTools
LocationsPricingBlogOur TeachersContact
EN

Chapters · Differentiation

The differentiation rules, and when to use each

SPM Add Math uses four main differentiation tools: the power rule for simple terms, the chain rule for composite functions, and the product and quotient rules for expressions built from two functions multiplied or divided together. Most mistakes come from misidentifying which rule a question actually needs, not from the algebra itself, so the fastest way to improve is learning to recognise the shape of an expression before differentiating it.

Why choosing the right rule matters more than the algebra

Differentiation in Add Math isn't really one skill, it's a set of tools, each suited to a different shape of expression. Students who already know all four rules individually still lose marks when they apply the wrong one, or reach for the chain rule where the product rule was needed.

Under analytic marking, a correctly chosen rule applied with a small algebra slip usually earns more method marks than the wrong rule applied perfectly. That makes rule identification, not just rule mechanics, the real skill worth building.

What this article covers

This is a guide to recognising which differentiation rule an expression calls for, with the reasoning behind each rule kept simple. It isn't a replacement for working through the standard's full set of practice questions in class.

The power rule: the starting point for everything else

The power rule handles any term of the form xn x^n , and it's the rule every other differentiation technique eventually reduces to.

Power ruleMust memorise
ddx(xn)=nxn1\frac{d}{dx}\left(x^{n}\right) = nx^{n-1}

This covers polynomial terms directly, and, with a small extension, negative and fractional indices too, so 1x2 \frac{1}{x^{2}} differentiates the same way once it's rewritten as x2 x^{-2} .

  • Use it directly on any single power term, or on a sum of power terms, differentiating term by term.
  • Rewrite roots and fractions in index form first, x=x1/2 \sqrt{x} = x^{1/2} , 1x3=x3 \frac{1}{x^{3}} = x^{-3} , before applying the rule, rather than trying to differentiate the original form directly.
  • This rule alone is not enough once an expression involves a function inside another function, or two functions multiplied or divided together, that's where the next three rules come in.

The chain rule: for a function inside a function

The chain rule applies whenever one function is nested inside another, a composite function, like (3x2+1)5 (3x^{2}+1)^{5} or sin(2x) \sin(2x) , where the "inside" expression is itself a function of x x .

Chain ruleMust memorise
dydx=dydu×dudx\frac{dy}{dx} = \frac{dy}{du} \times \frac{du}{dx}
where y y is a function of u u , and u u is a function of x x

How to spot when the chain rule is needed

The clearest sign is a bracket, or an inner expression, raised to a power, or sitting inside a trigonometric, exponential, or logarithmic function. If the expression can be described as "something to the power of, or a function of, something else that isn't just x x ", the chain rule is the tool.

  • Set u u as the inner expression, differentiate the outer function with respect to u u , then multiply by dudx \frac{du}{dx} .
  • A very common slip is forgetting the final multiplication by dudx \frac{du}{dx} , the derivative of the outer function alone is not the answer.
  • The chain rule also underlies rates-of-change questions, where two related quantities change with respect to time, and connecting their rates needs exactly this same structure.

A quick check

If substituting a single variable for x x doesn't simplify the expression to a basic power, trig, exponential, or log form, a function is likely nested inside another, reach for the chain rule.

The product rule: for two functions multiplied together

The product rule applies when an expression is two separate functions of x x multiplied together, such as x2sinx x^{2}\sin x or (2x+1)(x23) (2x+1)(x^{2}-3) , note that this second example could also be expanded first and differentiated term by term, which is often the simpler approach when the brackets are easy to expand.

Product ruleMust memorise
ddx(uv)=udvdx+vdudx\frac{d}{dx}\left(uv\right) = u\frac{dv}{dx} + v\frac{du}{dx}
  • Identify the two separate functions being multiplied and label them u u and v v clearly before differentiating either one, this small step prevents most of the errors students make with this rule.
  • Differentiate each function separately first, then substitute into the formula, rather than trying to do both steps at once.
  • A common mistake is multiplying the two derivatives together (dudx×dvdx \frac{du}{dx} \times \frac{dv}{dx} ) instead of following the correct structure, this is the single most frequent error with the product rule.

When expanding first is easier

If both brackets are simple polynomials, expanding the product into a single polynomial and differentiating term by term with the power rule is often faster and less error-prone than applying the product rule directly. Save the product rule for cases where expanding isn't practical, like when trigonometric or exponential functions are involved.

The quotient rule: for one function divided by another

The quotient rule applies when an expression is one function of x x divided by another, such as x22x1 \frac{x^{2}}{2x-1} or sinxx \frac{\sin x}{x} .

Quotient ruleMust memorise
ddx(uv)=vdudxudvdxv2\frac{d}{dx}\left(\frac{u}{v}\right) = \frac{v\frac{du}{dx} - u\frac{dv}{dx}}{v^{2}}
  • Label the numerator u u and the denominator v v before starting, exactly as with the product rule.
  • The order in the numerator of the formula matters, vdudxudvdx v\frac{du}{dx} - u\frac{dv}{dx} , not the reverse, since subtraction isn't commutative and reversing the order gives the negative of the correct answer.
  • The denominator is always v2 v^{2} , the square of the original denominator, not v v itself.
  • If the denominator is a simple constant or a single power of x x , it's often quicker to rewrite the expression as a product (multiplying by a negative power) and use the product rule instead.

A practical way to choose the right rule under exam conditions

Under time pressure, it helps to have a quick, consistent way to decide which rule an expression needs, rather than guessing.

  1. 1

    Look at the overall shape first

    Is it a single term, a sum of terms, two things multiplied, two things divided, or a function nested inside another? This decides which rule applies before any algebra begins.

  2. 2

    Simplify where possible

    Expand brackets that are simple polynomials, or rewrite roots and fractions in index form, since this can turn what looks like a product or quotient rule question into a straightforward power rule one.

  3. 3

    Label u and v (or u and the outer function) clearly

    For product, quotient, or chain rule questions, writing out u and v (or u) before differentiating anything reduces careless errors significantly.

  4. 4

    Differentiate each labelled piece separately

    Find each derivative on its own, check it, and only then substitute into the relevant formula, trying to do it all in one line is where most mistakes happen.

  5. 5

    Substitute carefully into the correct formula

    Double-check the formula's structure, especially the subtraction order in the quotient rule, before finalising the answer.

Q1[3 marks]

Find dydx \frac{dy}{dx} for y=x2(3x1)4 y = x^{2}(3x-1)^{4} .

Show worked solution

This is a product of two functions of x x , so the product rule applies. Let u=x2 u = x^{2} and v=(3x1)4 v = (3x-1)^{4} .

Then dudx=2x \frac{du}{dx} = 2x . For dvdx \frac{dv}{dx} , the chain rule is needed since v v is itself a composite function: dvdx=4(3x1)3×3=12(3x1)3 \frac{dv}{dx} = 4(3x-1)^{3} \times 3 = 12(3x-1)^{3} .

Substituting into the product rule: dydx=x2×12(3x1)3+(3x1)4×2x=12x2(3x1)3+2x(3x1)4 \frac{dy}{dx} = x^{2} \times 12(3x-1)^{3} + (3x-1)^{4} \times 2x = 12x^{2}(3x-1)^{3} + 2x(3x-1)^{4} . This can be factorised further to 2x(3x1)3[6x+(3x1)]=2x(3x1)3(9x1) 2x(3x-1)^{3}\left[6x + (3x-1)\right] = 2x(3x-1)^{3}(9x-1) .

How one-to-one teaching can help

Differentiation is one of the chapters where seeing a student's actual working matters more than most, because the mistakes tend to be about rule choice and setup rather than arithmetic, the kind of error that's hard to spot from a final answer alone but obvious the moment someone watches the working unfold. A teacher working one-to-one can catch exactly where a student defaults to the wrong rule, or forgets a chain-rule multiplication, and correct the habit before it repeats across dozens of practice questions.

Our teachers are experienced; lessons are taught online, in English, while the SPM papers themselves are set bilingually in Bahasa Melayu and English.

If differentiation rule choice is a recurring source of lost marks, a one-hour paid trial class, at the teacher's own rate, from RM50 per hour depending on experience, is a reasonable way to see whether working through this chapter with a teacher watching your process helps. We won't promise a particular outcome, but this is exactly the kind of pattern that's easier to fix with a second pair of eyes on the actual working.

Get 1-to-1 help.

Book a Trial Class

Frequently asked questions

How do I know which differentiation rule to use?

Look at the overall shape of the expression first: a single power term or sum of them needs the power rule; a function nested inside another (like a bracket raised to a power) needs the chain rule; two functions multiplied together need the product rule; one function divided by another needs the quotient rule. Simplifying first, expanding simple brackets, rewriting roots in index form, often reveals that a simpler rule applies.

What's the most common mistake with the product and quotient rules?

With the product rule, it's multiplying the two derivatives together instead of following the correct formula. With the quotient rule, it's getting the subtraction order wrong in the numerator, or using v v instead of v2 v^{2} in the denominator.

Labelling u u and v v clearly before differentiating reduces both errors.

Do I always need the chain rule for a bracket raised to a power?

If the bracket contains just x x with simple coefficients, it's often faster to expand it fully and use the power rule term by term instead. The chain rule becomes the more efficient choice as the power gets higher or the inner expression gets more complex.

Can I always avoid the quotient rule?

Not always, but often. If the denominator is a constant or a simple power of x x , rewriting the expression as a product with a negative power and using the product rule instead can be quicker.

Where the denominator is a more complex expression of x x , the quotient rule is usually the more direct route.

Source:SRC-FORMAT

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