Skip to content
spmaddmath.com.my
Tuition

Study

SyllabusFormulasMethodsExam & PapersTools
LocationsPricingBlogOur TeachersContact
EN

Worked examples · Differentiation

Differentiation, Worked Examples (medium)

These medium Differentiation examples move past single terms into the product rule ddx(uv)=uv+uv\frac{d}{dx}(uv)=u'v+uv', the quotient rule ddx ⁣(uv)=uvuvv2\frac{d}{dx}\!\left(\frac{u}{v}\right)=\frac{u'v-uv'}{v^{2}}, and locating turning points with the second-derivative test. Attempt each on paper first, then check every line against our full solution.

What these examples cover

These medium Differentiation examples step up from single terms to the two combination rules and to the shape of a curve. You will use the product rule ddx(uv)=uv+uv\frac{d}{dx}(uv)=u'v+uv' on a product of two brackets, the quotient rule ddx ⁣(uv)=uvuvv2\frac{d}{dx}\!\left(\frac{u}{v}\right)=\frac{u'v-uv'}{v^{2}} on a fraction, and the second derivative to decide whether a turning point is a maximum or a minimum.

The numbers stay small and clean so the method is never hidden behind messy arithmetic. Cover the solution, work the whole question on paper, then check line by line, and when you differ, pin down the exact step where it happened.

That is the line worth learning from.

Worked examples

Work through all three. The habit that ties them together is naming your parts before you start: decide what uu and vv are, write down uu' and vv', and only then assemble the rule.

Q1[4 marks]

Differentiate y=(2x+1)(x23)y=(2x+1)(x^{2}-3) with respect to xx, using the product rule.

Show worked solution

Name the two factors and differentiate each. Let u=2x+1u=2x+1 and v=x23v=x^{2}-3, so u=2u'=2 and v=2xv'=2x.

The product rule gives dydx=uv+uv\frac{dy}{dx}=u'v+uv':

dydx=(2)(x23)+(2x+1)(2x)\frac{dy}{dx}=(2)(x^{2}-3)+(2x+1)(2x)

Expand each bracket, then collect like terms:

dydx=2x26+4x2+2x=6x2+2x6\frac{dy}{dx}=2x^{2}-6+4x^{2}+2x=6x^{2}+2x-6

Answer

dydx=6x2+2x6\frac{dy}{dx}=6x^{2}+2x-6. Check by expanding first: y=2x3+x26x3y=2x^{3}+x^{2}-6x-3, and differentiating term by term gives 6x2+2x66x^{2}+2x-6, the two routes agree.

Q2[4 marks]

A curve is given by y=3xx2+1y=\dfrac{3x}{x^{2}+1}. Find dydx\frac{dy}{dx}, and hence the gradient of the curve at x=1x=1.

Show worked solution

This is a quotient, so let u=3xu=3x and v=x2+1v=x^{2}+1, giving u=3u'=3 and v=2xv'=2x. Apply dydx=uvuvv2\frac{dy}{dx}=\dfrac{u'v-uv'}{v^{2}}:

dydx=(3)(x2+1)(3x)(2x)(x2+1)2\frac{dy}{dx}=\frac{(3)(x^{2}+1)-(3x)(2x)}{(x^{2}+1)^{2}}

Expand the numerator carefully and simplify, the v2v^{2} in the denominator is left as it is:

dydx=3x2+36x2(x2+1)2=33x2(x2+1)2=3(1x2)(x2+1)2\frac{dy}{dx}=\frac{3x^{2}+3-6x^{2}}{(x^{2}+1)^{2}}=\frac{3-3x^{2}}{(x^{2}+1)^{2}}=\frac{3(1-x^{2})}{(x^{2}+1)^{2}}

Now substitute x=1x=1 for the gradient there:

dydxx=1=3(11)(1+1)2=04=0\left.\frac{dy}{dx}\right|_{x=1}=\frac{3(1-1)}{(1+1)^{2}}=\frac{0}{4}=0

Answer

dydx=3(1x2)(x2+1)2\frac{dy}{dx}=\dfrac{3(1-x^{2})}{(x^{2}+1)^{2}}, and the gradient at x=1x=1 is 00. A zero gradient means the curve has a turning point at x=1x=1.

Q3[6 marks]

Find the coordinates of the turning points of the curve y=x33x2+4y=x^{3}-3x^{2}+4, and determine the nature of each.

Show worked solution

Turning points occur where the gradient is zero. Differentiate and factorise:

dydx=3x26x=3x(x2)\frac{dy}{dx}=3x^{2}-6x=3x(x-2)

Set dydx=0\frac{dy}{dx}=0, so 3x(x2)=03x(x-2)=0, giving x=0x=0 or x=2x=2. Find the matching yy-values from the curve:

y(0)=00+4=4,y(2)=812+4=0y(0)=0-0+4=4, \qquad y(2)=8-12+4=0

So the turning points are (0,4)(0,4) and (2,0)(2,0). To classify them, use the second derivative:

d2ydx2=6x6\frac{d^{2}y}{dx^{2}}=6x-6

Evaluate the second derivative at each turning point. A negative value gives a maximum, a positive value gives a minimum:

d2ydx2x=0=6<0,d2ydx2x=2=6>0\left.\frac{d^{2}y}{dx^{2}}\right|_{x=0}=-6<0, \qquad \left.\frac{d^{2}y}{dx^{2}}\right|_{x=2}=6>0

Answer

(0,4)(0,4) is a maximum point and (2,0)(2,0) is a minimum point. The second-derivative test is quickest here because d2ydx2\frac{d^{2}y}{dx^{2}} is easy to evaluate and never ambiguous when it is non-zero.

Q4[3 marks]

Differentiate y=(3x2)4y=(3x-2)^{4} with respect to xx, using the chain rule.

Show worked solution

This is a bracket raised to a power, so treat the bracket as a single block uu. Let u=3x2u=3x-2, so y=u4y=u^{4} and u=3u'=3.

The chain rule gives dydx=dydududx\frac{dy}{dx}=\frac{dy}{du}\cdot\frac{du}{dx}, so differentiate the outer power first, then multiply by uu':

dydx=4u3×3=12u3\frac{dy}{dx}=4u^{3}\times 3=12u^{3}

Substitute u=3x2u=3x-2 back in:

dydx=12(3x2)3\frac{dy}{dx}=12(3x-2)^{3}

Answer

dydx=12(3x2)3\frac{dy}{dx}=12(3x-2)^{3}. The power drops by one to 33, and every chain-rule derivative here carries the constant multiplier 33 from differentiating the bracket.

Q5[4 marks]

Find the equation of the tangent to the curve y=x24x+5y=x^{2}-4x+5 at the point where x=1x=1.

Show worked solution

Find the point on the curve, then the gradient there using dydx\frac{dy}{dx}, before building the tangent line. At x=1x=1:

y=(1)24(1)+5=2,dydx=2x4dydxx=1=2y=(1)^{2}-4(1)+5=2, \qquad \frac{dy}{dx}=2x-4 \Rightarrow \left.\frac{dy}{dx}\right|_{x=1}=-2

Substitute the point (1,2)(1,2) and gradient 2-2 into yy1=m(xx1)y-y_{1}=m(x-x_{1}):

y2=2(x1)    y=2x+4y-2=-2(x-1) \implies y=-2x+4

Answer

The tangent is y=2x+4y=-2x+4. Check by substituting x=1x=1: y=2(1)+4=2y=-2(1)+4=2, matching the point on the curve.

Q6[4 marks]

Find the equation of the normal to the curve y=x32xy=x^{3}-2x at the point where x=1x=1.

Show worked solution

Find the point on the curve and the gradient of the tangent there using dydx\frac{dy}{dx}. At x=1x=1:

y=(1)32(1)=1,dydx=3x22dydxx=1=1y=(1)^{3}-2(1)=-1, \qquad \frac{dy}{dx}=3x^{2}-2 \Rightarrow \left.\frac{dy}{dx}\right|_{x=1}=1

The normal is perpendicular to the tangent, so its gradient is the negative reciprocal: mnormal=11=1m_{\text{normal}}=-\frac{1}{1}=-1. Substitute the point (1,1)(1,-1) and this gradient into yy1=m(xx1)y-y_{1}=m(x-x_{1}):

y(1)=1(x1)    y=xy-(-1)=-1(x-1) \implies y=-x

Answer

The normal is y=xy=-x. Check by substituting x=1x=1: y=1y=-1, matching the point on the curve, and the product of the two gradients, 1×(1)=11\times(-1)=-1, confirms the lines are perpendicular.

Q7[3 marks]

Given y=x3y=x^{3}, use differentiation to find the approximate change in yy when xx increases from 22 to 2.012.01.

Show worked solution

A small change δx\delta x in xx produces an approximate change in yy of δydydx×δx\delta y \approx \frac{dy}{dx}\times \delta x. Here δx=2.012=0.01\delta x = 2.01-2=0.01.

Differentiate first:

dydx=3x2\frac{dy}{dx}=3x^{2}

Evaluate the derivative at x=2x=2, then multiply by δx\delta x:

δy3(2)2×0.01=12×0.01=0.12\delta y \approx 3(2)^{2}\times 0.01 = 12\times 0.01=0.12

Answer

δy0.12\delta y \approx 0.12. Checking directly, 2.01323=0.1206012.01^{3}-2^{3}=0.120601, so the approximation is accurate to two decimal places.

Q8[4 marks]

The radius of a circle is increasing at a constant rate of 0.5 cm/s0.5\text{ cm/s}. Find the rate of increase of the area of the circle at the instant when the radius is 4 cm4\text{ cm}.

Show worked solution

Connect the two rates through the chain rule dAdt=dAdr×drdt\frac{dA}{dt}=\frac{dA}{dr}\times\frac{dr}{dt}. The area of a circle is A=πr2A=\pi r^{2}, so differentiate with respect to rr:

dAdr=2πr\frac{dA}{dr}=2\pi r

Substitute r=4r=4 and the given rate drdt=0.5\frac{dr}{dt}=0.5:

dAdt=2π(4)(0.5)=4π\frac{dA}{dt}=2\pi(4)(0.5)=4\pi

Answer

dAdt=4π12.6 cm2/s\frac{dA}{dt}=4\pi \approx 12.6\text{ cm}^{2}\text{/s}. The area grows fastest when the radius is largest, since dAdr=2πr\frac{dA}{dr}=2\pi r increases with rr.

Across all three, the winning habit is the same: name uu and vv, write their derivatives before assembling any rule, and keep the denominator of a quotient untouched while you simplify the top. Do that and these questions become steady, method-mark-friendly work.

Key method points

These examples build the combination rules and the second-derivative test, the tools most medium Differentiation questions lean on. Keep the following points in mind.

  • Product rule: ddx(uv)=uv+uv\frac{d}{dx}(uv)=u'v+uv'. Name u,vu,v and write u,vu',v' before assembling.
  • Quotient rule: ddx ⁣(uv)=uvuvv2\frac{d}{dx}\!\left(\frac{u}{v}\right)=\frac{u'v-uv'}{v^{2}}. The order in the numerator matters, and the denominator is v2v^{2}.
  • A zero gradient locates a turning point; substitute the xx-values back into the curve for the yy-coordinates.
  • Second-derivative test: d2ydx2<0\frac{d^{2}y}{dx^{2}}<0 at a point means a maximum, d2ydx2>0\frac{d^{2}y}{dx^{2}}>0 means a minimum.
  • Where you can, check a product-rule answer by expanding first and differentiating term by term.
  • Analytic marking rewards a correctly set-up rule, so write the uv+uvu'v+uv' or quotient line clearly even before you simplify.

How a teacher helps

The medium slips are predictable: the quotient numerator written in the wrong order, a product rule missing one of its two terms, or the second-derivative test applied to the wrong point. In a one-to-one lesson our teacher makes you name uu and vv out loud before touching the rule, which quietly removes most of these errors.

Because our teachers are experienced, you get someone who shows the reasoning, not just the mechanics. Lessons are taught in English, while SPM papers are set in both Malay and English, so the notation stays familiar whichever version you sit.

Get 1-to-1 help.

Book a Trial Class

Frequently asked questions

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

For a simple product like (2x+1)(x23)(2x+1)(x^{2}-3) you can do either, and expanding is a good check. The product rule becomes essential when the factors are harder to expand, so it is worth practising even when expanding would also work.

What is the most common quotient-rule mistake?

Writing the numerator as uvuvuv'-u'v instead of uvuvu'v-uv'. The order matters.

A reliable memory aid is that the derivative of the top comes first: uvuvu'v-uv', all over v2v^{2}.

How does the second derivative tell me maximum from minimum?

Evaluate d2ydx2\frac{d^{2}y}{dx^{2}} at the turning point. If it is negative, the point is a maximum; if positive, a minimum.

It is the fastest test whenever the second derivative is easy to compute and non-zero.

What if the second derivative is zero at the turning point?

Then the test is inconclusive and you fall back on checking the sign of dydx\frac{dy}{dx} just before and just after the point. In these examples the second derivative is non-zero, so the quick test settles it.

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