AS & A Level Maths · Area 2 · Pure Mathematics 3

Differentiation

Pure 3 adds six new derivatives to the ones you know from Pure 1, and with them the three rules that let you differentiate almost anything: the chain rule, the product rule and the quotient rule. It also asks you to differentiate curves that are not written as y equals a function of x at all, using parameters or an equation linking x and y. Almost every question is a tangents and normals question once the derivative is in your hand.

Not started

Syllabus coverage

  • Use the derivatives of ex, lnx, sinx, cosx, tanx and tan−1x, together with constant multiples, sums, differences and composites
  • Know that the derivatives of sin−1x and cos−1x are not required
  • Differentiate products and quotients, such as x2lnx and xe1−x2
  • Find and use the first derivative of a function defined parametrically
  • Find and use the first derivative of a function defined implicitly
  • Use the derivative in problems involving tangents and normals

Part of the AS & A Level Maths syllabus 9709.

The tangent and the normal at a point on a curvexyO12351015-1510angle of the tangentP(2, 5)m x (-1/m) = -1y = f(x)tangent: gradient m = 3,equation y = 3x - 1normal: gradient -1/3,equation y = -x/3 + 17/3(0, -1)(1/3, 0)(0, 17/3)(17, 0)At P the tangent's gradient is 3 and the normal's is -1/3: their product is -1, so the two lines meet at 90°.
At P(2,5) the tangent has gradient 3 and the normal is perpendicular to it, with gradient −13. Their gradients multiply to −1.

The six derivatives, and the two you are not given

Cambridge lists exactly six functions whose derivatives you must know for this component: ddx(ex)=ex, ddx(lnx)=1x, ddx(sinx)=cosx, ddx(cosx)=−sinx, ddx(tanx)=sec2x and ddx(tan−1x)=11+x2. Together with the powers you met in Pure 1, that is the whole toolkit.

Two of the inverse trigonometric functions are deliberately left out. The syllabus states that the derivatives of sin−1x and cos−1x are not required, so do not learn them and do not expect a question on them. tan−1x is the exception, and it is worth remembering that its derivative is not a trigonometric function at all: it is the rational function 11+x2.

Constant multiples, sums and differences work term by term, exactly as they did for polynomials: ddx(3ex−2lnx)=3ex−2x, and ddx(4sinx+5cosx)=4cosx−5sinx. The only sign to watch is the one in front of the cosine: the derivative of cos carries a minus, so a minus in front of cos becomes a plus after differentiating.

ydydxWhat to notice
exexthe only function that is its own derivative
lnx1xdefined only for x>0, and the gradient is always positive
sinxcosxsine differentiates to cosine
cosx−sinxthe minus is part of the answer
tanxsec2xsec2x=1+tan2x, which is sometimes tidier
tan−1x11+x2an inverse function with a rational derivative
Radians only. The derivatives of sinx, cosx and tanx above are correct when x is in radians; in this component angles are always in radians unless a question says otherwise. A question written in degrees would need a factor of π180, and Cambridge does not set one.

Composite functions and the chain rule

A composite function is one function inside another, such as e3x2−1 or ln(2x+1). The chain rule is dydx=dydu×dudx, which in words is: differentiate the outside function, leave the inside alone, then multiply by the derivative of the inside. Write u for the inside when the chain is long enough that you might lose track.

Four patterns cover almost every question. For a power, ddx(2x+1)5=5(2x+1)4×2=10(2x+1)4. For an exponential, ddx(e3x2−1)=e3x2−1×6x=6xe3x2−1. For a logarithm, ddx(ln(2x+1))=12x+1×2=22x+1. For a trigonometric function, ddx(sin3x)=3cos3x and ddx(tan2x)=2sec22x.

The most common lost mark in this topic is a missing inner derivative. ddx(e3x) is 3e3x, not e3x, and ddx(ln5x) is 1x, because ln5x=ln5+lnx and the constant ln5 differentiates away. Whenever you differentiate a composite, ask yourself what the inside would contribute.

ShapeDerivativeThe inner factor
(ax+b)nan(ax+b)n−1a
ef(x)f′(x)ef(x)f′(x)
lnf(x)f′(x)f(x)f′(x)
sinf(x)f′(x)cosf(x)f′(x)
cosf(x)−f′(x)sinf(x)f′(x), and the minus
tanf(x)f′(x)sec2f(x)f′(x)
The derivative of lnf(x) is worth memorising as a single fact: the top differentiated over the bottom, unchanged. It turns ln(sinx) into cosxsinx=cotx in one line.

Products: the product rule

When two functions of x are multiplied, the product rule is ddx(uv)=udvdx+vdudx. Write down u, v, dudx and dvdx on four separate lines before you substitute anything; the algebra is then mechanical, and the examiner can see which marks you have earned.

For y=x2lnx, take u=x2 and v=lnx, so dudx=2x and dvdx=1x. Then dydx=x2×1x+lnx×2x=x+2xlnx, which is also written x(1+2lnx). The first term collapses because x2×1x=x, and that simplification is often a mark of its own.

For y=xe1−x2, take u=x and v=e1−x2. Here dvdx needs the chain rule: dvdx=−2xe1−x2. So dydx=x(−2xe1−x2)+e1−x2=(1−2x2)e1−x2, and taking the common factor e1−x2 out at the end is what turns a two-term answer into the single neat product Cambridge expects.

  • The order of the two terms does not matter, but both must be there
  • The product rule applies to xsinx, x2ex, lnxcosx and any other product of two functions of x
  • If one factor is a constant, the rule is not needed: ddx(5lnx)=5x
  • If one factor is a power of x, check whether multiplying out is quicker: x2×x3 is x5 before you differentiate
The product rule is not the product of the derivatives. ddx(x2lnx) is not 2x×1x=2; the correct answer is 2xlnx+x. Testing your answer at x=1, where ln1=0, gives 1 for the correct answer and 2 for the wrong one.

Quotients: the quotient rule

When one function is divided by another, the quotient rule is ddx(uv)=vdudx−udvdxv2. Read the numerator in order: bottom times the derivative of the top, minus top times the derivative of the bottom, all over the bottom squared. Reversing those two terms gives the negative of the correct answer, so the order is not cosmetic.

For y=x+12x−3, take u=x+1 and v=2x−3, so dudx=1 and dvdx=2. Then dydx=(2x−3)×1−(x+1)×2(2x−3)2=2x−3−2x−2(2x−3)2=−5(2x−3)2. Notice how much cancels: the 2x terms disappear, which is why the answer is so simple.

For y=lnxx, take u=lnx and v=x, giving dudx=1x and dvdx=1. Then dydx=x×1x−lnx×1x2=1−lnxx2, because x×1x=1. The quotient rule is also the quickest way to prove that ddx(tanx)=sec2x, by writing tanx=sinxcosx.

Sometimes the quotient rule is the slow way. 2x+1x2 is better split as 2x−1+x−2, which differentiates to −2x2−2x3; and 3x2+1 is 3(x2+1)−1, a one-line chain rule. Rewriting first is a legitimate and often faster method.

Choosing the right rule

Read the expression's structure before you start. If the pieces are added or subtracted, differentiate term by term. If there is a function inside another function, you need the chain rule. If two functions are multiplied, you need the product rule. If one function is divided by another, you need the quotient rule - unless rewriting as a product of powers makes it easier.

Most exam expressions need two rules at once, and the trick is to decide the order. In x2ln(3x), the product rule is the outer structure and the chain rule appears inside dvdx. In e2xx, the quotient rule is the outer structure and the chain rule appears inside dudx. Write the outer rule down first with u, v and their derivatives as blanks, then fill the blanks using the chain rule.

One shortcut is worth knowing: a product rule where one factor is an exponential or a logarithm is usually the place to start, because ef(x) and lnf(x) both differentiate to something containing the original function, which then factors out at the end.

ExpressionOuter ruleAnything else needed
3x4−2x+1term by termnothing
e5xchain rulenothing
x2lnxproduct rulethe derivative of lnx
x+12x−3quotient rulenothing
xe1−x2product rulechain rule for e1−x2
ln(sinx)chain rulethe derivative of sinx

Parametric curves: finding the gradient from t

A curve given parametrically has x and y both written in terms of a third variable t, the parameter. The gradient is still dydx, but neither derivative is available directly, so you find both with respect to t and divide: dydx=dydt÷dxdt. Both derivatives go through the chain rule, because every term contains t.

Take the syllabus's own example, x=t−e2t and y=t+e2t. Differentiating gives dxdt=1−2e2t and dydt=1+2e2t, so dydx=1+2e2t1−2e2t. At t=0 both exponentials are 1, so the gradient is 1+21−2=−3. The answer is a number, and the question that asks for 'the gradient at the point where t=0' wants exactly that number.

If a question asks for the tangent, you need the point as well as the gradient. Substitute t into the expressions for x and y to get the coordinates - for the curve above at t=0, x=0−1=−1 and y=0+1=1 - then use y−y1=m(x−x1). Only the first derivative is required in this component: you are not asked for d2ydx2 of a parametric curve.

  • Find dxdt and dydt separately, then divide dydt by dxdt
  • Never write dydx=dydt×dxdt, and never write dydx=dxdt÷dydt
  • The gradient at a point is found by substituting the value of t, not the value of x
  • If dxdt=0 at the point, the tangent is vertical and dydx is undefined there
A parametric curve can pass through the same point twice with different gradients. That is why 'the gradient at the point where t=2' is a complete instruction, while 'the gradient at (3,4)' may not be - always work from the given value of t.

Implicit differentiation

Some curves are not given as y=f(x) at all, but as an equation linking x and y, such as the syllabus's own example x2+y2=xy+7. To differentiate, treat y as a function of x and differentiate both sides with respect to x, term by term. Every term containing y produces a factor of dydx, because of the chain rule: ddx(y2)=2ydydx, ddx(y3)=3y2dydx, and ddx(siny)=cosydydx.

A product such as xy needs the product rule as well, with u=x and v=y: ddx(xy)=xdydx+y. That single line is the step students most often get wrong, usually by writing xdydx and forgetting the y.

Apply it to x2+y2=xy+7. Differentiating both sides gives 2x+2ydydx=y+xdydx. Collect the dydx terms on one side: 2ydydx−xdydx=y−2x, so dydx(2y−x)=y−2x and dydx=y−2x2y−x. The answer is in terms of both x and y, and that is normal: to find a gradient you substitute both coordinates of the point.

  • Differentiate every term with respect to x, remembering that y is a function of x
  • A y term differentiates to its ordinary derivative times dydx
  • An xy term needs the product rule: xdydx+y
  • Collect, factorise out dydx, then divide - do not try to move terms one at a time
  • Substitute both coordinates to get a numerical gradient, and check the point really does satisfy the original equation
Never differentiate a y term as if y were the variable x. ddx(y2) is 2ydydx, not 2y; dropping the dydx leaves an equation that cannot be solved for the gradient at all.

Tangents and normals

Three of the four marks in a typical tangents and normals question are for getting the derivative and the point right, and only the last one is for the line itself. Find the gradient by differentiating and substituting the value given - x for an explicit curve, t for a parametric one, both x and y for an implicit one - and find the point by substituting into the equation of the curve (or into the parametric expressions for x and y).

The tangent at a point with gradient m is y−y1=m(x−x1). The normal is perpendicular to the tangent, so its gradient is −1m, and its equation is y−y1=−1m(x−x1). If the question asks for the answer in a particular form, such as ax+by+c=0, rearrange at the very end and keep the coefficients whole numbers.

For y=ln(2x+1) at the point where x=0: the derivative is 22x+1, which is 2 at x=0, and the point is (0,ln1)=(0,0). The tangent is y=2x. The normal has gradient −12 and passes through the same point, so it is y=−x2. One special case: if m=0 the tangent is horizontal and the normal is the vertical line x=x1.

Check the point is on the curve before you write the line. If the question says 'at the point where x=2', substituting x=2 into the curve gives the y-coordinate; guessing it is the commonest way to lose the final mark of an otherwise perfect answer.

Logarithms and exponentials: simplify before you differentiate

The two composite derivatives f′(x)f(x) for lnf(x) and f′(x)ef(x) for ef(x) do most of the work in this section. ln(x3+1) differentiates to 3x2x3+1, and ecosx differentiates to −sinxecosx. In both cases the inside derivative is the only new ingredient.

The logarithm laws are worth using first. ln(x3)=3lnx, so its derivative is 3x; differentiating ln(x3) with the chain rule gives 3x2x3=3x, which is the same answer by a longer route. lnx=12lnx, so its derivative is 12x. ln(x2ex)=2lnx+x, so its derivative is 2x+1 - and here the split is much easier than the product rule.

One further rewriting trick: any exponential with a different base can be written in terms of e. Since ax=exlna, its derivative is lna×ax. This is not a new rule, just the chain rule applied to a base you have rewritten, and it is a useful escape if a question uses 2x rather than ex.

  • ln(ab)=lna+lnb turns a product inside a logarithm into a sum you can differentiate term by term
  • ln(an)=nlna turns a power inside a logarithm into a multiple
  • ef(x) is never zero, so a factor of it can always be taken out of an answer
  • A constant inside a logarithm disappears when you differentiate: ln(7x) and lnx have the same derivative

Key terms you must be able to define

Derivative
The gradient function dydx, giving the gradient of the curve at each value of x.
Chain rule
dydx=dydu×dudx, used when one function is inside another.
Composite function
A function applied to the output of another, such as e3x or ln(2x+1).
Product rule
ddx(uv)=udvdx+vdudx, used when two functions of x are multiplied.
Quotient rule
ddx(uv)=vdudx−udvdxv2, used when one function is divided by another.
Parametric equations
A pair of equations giving x and y separately in terms of a third variable t.
Parameter
The third variable t in a pair of parametric equations. A value of t fixes one point of the curve.
Implicit differentiation
Differentiating an equation linking x and y term by term, treating y as a function of x so that each y term produces a factor of dydx.
Gradient of a curve
The gradient of the tangent at that point, equal to the value of dydx there.
Tangent
The straight line that touches the curve at a point and has the same gradient as the curve there.
Normal
The straight line through a point on a curve, perpendicular to the tangent there, with gradient −1m.
Natural logarithm
lnx, the logarithm to base e. Its derivative is 1x.
Inverse tangent
tan−1x, the angle whose tangent is x. Its derivative is 11+x2.
Radian measure
The angle unit in which the standard derivatives of sinx, cosx and tanx are valid without any extra factor.

Applied

At AS & A Level the marks sit in the setup: choosing the model, stating the variable and writing the equation before any working. These show the shape of a full-mark answer, then you do the algebra yourself.

Chain rule with an exponential

Differentiate y=e3x2−1. The outside function is the exponential, which differentiates to itself, and the inside is 3x2−1, whose derivative is 6x. So dydx=6xe3x2−1. Leaving out the 6x is the standard error, and it costs the whole mark.

Product rule

Differentiate y=x2lnx. With u=x2 and v=lnx, dudx=2x and dvdx=1x. So dydx=x2×1x+2xlnx=x+2xlnx=x(1+2lnx). The answer is defined only for x>0, because lnx is.

Quotient rule

Differentiate y=x+12x−3. With u=x+1 and v=2x−3, dudx=1 and dvdx=2. So dydx=(2x−3)−2(x+1)(2x−3)2=−5(2x−3)2. The numerator is a constant here, which is a good sign that the algebra has been done correctly.

Parametric gradient

A curve has x=t−e2t and y=t+e2t. Then dxdt=1−2e2t and dydt=1+2e2t, so dydx=1+2e2t1−2e2t. At t=0 the gradient is 3−1=−3, and the point is (−1,1).

Implicit differentiation

A curve has equation x2+2xy−y2=4. Differentiating every term gives 2x+2y+2xdydx−2ydydx=0, so dydx(2x−2y)=−2x−2y and dydx=x+yy−x. At the point (2,0), which satisfies the equation since 4=4, the gradient is 2−2=−1.

Flashcards

Click a card to flip it. Mark honestly — the tracker uses this.

Q1What is ddx(ex)?
ex. The exponential function is its own derivative.
Q2What is ddx(lnx)?
1x, for x>0.
Q3Give the derivatives of sinx, cosx and tanx.
cosx, −sinx and sec2x. Only the cosine carries a minus.
Q4What is ddx(tan−1x), and which inverse derivatives are not required?
11+x2. The derivatives of sin−1x and cos−1x are not required at 9709.
Q5State the chain rule.
dydx=dydu×dudx: differentiate the outside, then multiply by the derivative of the inside.
Q6State the product rule.
ddx(uv)=udvdx+vdudx.
Q7State the quotient rule.
ddx(uv)=vdudx−udvdxv2. The bottom times the derivative of the top comes first.
Q8Differentiate (2x+1)5.
10(2x+1)4. The power comes down, the bracket stays, and the 2 from the inside multiplies the 5.
Q9What is ddx(lnf(x))?
f′(x)f(x): the derivative of the inside over the inside unchanged.
Q10How do you find dydx for a parametric curve?
Find dxdt and dydt, then dydx=dydt÷dxdt.
Q11How do you differentiate y2 with respect to x?
As 2ydydx, because y is a function of x and the chain rule applies.
Q12How do you differentiate the product xy with respect to x?
With the product rule: xdydx+y.
Q13How do you find the gradient of a normal?
Take the negative reciprocal of the tangent's gradient: if m is the gradient of the curve, the normal has gradient −1m.
Q14What does dydx mean geometrically at a point?
The gradient of the tangent to the curve at that point.
0 of 14 marked as known

Exam-style questions

8 questions, 35 marks. Write your answer, then reveal the mark scheme and tick each point you actually made. Answering honestly here is what makes the rest of the site useful.

CalculateAO13 marks
Differentiate y=x2lnx with respect to x.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • A12xlnx+x, or the equivalent x(1+2lnx)not checked yet
Examiner tip: The first term simplifies to x before you write the answer, and the examiner expects to see it simplified. An answer left as x2×1x+2xlnx has not been finished.
CalculateAO24 marks
Differentiate y=xe1−x2 with respect to x, giving your answer as a product of two factors.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • A1
  • A1(1−2x2)e1−x2not checked yet
Examiner tip: The chain rule is needed inside the product rule, and both derivatives have to appear before you combine them. Taking e1−x2 out as a common factor at the end is what produces the single product the question asks for.
DetermineAO24 marks
Determine dydx when y=x+12x−3.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • A1
  • A1−5(2x−3)2not checked yet
Examiner tip: Swapping the two terms in the numerator gives +5(2x−3)2, which is wrong. A quick check: the function is decreasing everywhere it is defined, since the denominator grows, so the derivative must be negative.
CalculateAO35 marks
A curve is defined by the parametric equations x=t−e2t and y=t+e2t. Calculate the gradient of the curve at the point where t=0.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • M1
  • M1
  • A13−1=−3not checked yet
Examiner tip: Both derivatives are needed before anything can be divided. The exponentials are the only place a factor of 2 can come from, and it appears in dxdt with a minus sign.
CalculateAO35 marks
A curve has equation x2+2xy−y2=4. Calculate the gradient of the curve at the point (2,0).
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • M1
  • M1
  • A1gradient =−1not checked yet
Examiner tip: The 2xy term is where most of the marks sit: it needs the product rule, giving a 2y term as well as a dydx term. Write the general result dydx=x+yy−x down before substituting, so that an arithmetic slip at the last step still leaves the method marks, and check the point does satisfy the equation, since 4+0−0=4.
DetermineAO25 marks
The curve C has parametric equations x=t2 and y=2t3. Determine the equation of the tangent to C at the point where t=1.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • M1
  • M1
  • A1y=3x−1not checked yet
Examiner tip: The point has to come from the parametric equations, not from the gradient: substituting t=1 into x=t2 and y=2t3 gives (1,2). An answer of just 3 is the gradient, not the equation of the tangent.
CalculateAO25 marks
The curve C has equation y=ln(2x+1). Calculate the equation of the normal to C at the point where x=0.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • A1
  • M1
  • M1
  • A1y=−x2not checked yet
Examiner tip: The normal question needs four things: the derivative, its value at x=0, the negative reciprocal, and the point. Because ln1=0, the point is the origin, which is why the equation has no constant term.
Show (that)AO24 marks
Show that ddx(lnxx)=1−lnxx2 for x>0.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • M1
  • A1
Examiner tip: The x×1x in the numerator is what makes this work: it is 1, not 1x. Write the numerator before simplifying so the examiner can see the substitution.

Exam technique for this topic

  • Write u, v, dudx and dvdx as four separate lines before using the product or quotient rule. The method marks are for identifying them correctly, and the layout stops the sign errors that lose the accuracy mark.
  • In a parametric question, find dxdt and dydt first and write down which is which. The most common slip is dividing the wrong way round, which gives the reciprocal of the gradient.
  • For a tangent or a normal, work in three steps and label them: gradient, point, line. For the normal, the gradient is −1m, and if the question wants the answer as ax+by+c=0 you should only rearrange at the end.
  • In an implicit question, put a box around every term containing dydx as you produce it. When you come to collect the terms, the boxed ones go on one side and everything else on the other, and nothing gets lost.
  • Check your derivative at a value of x you can evaluate easily. For y=x2lnx at x=1, the curve is 0 and the gradient is 1, which rules out the tempting wrong answer of 2 from differentiating the factors separately.

Why students lose marks here

A student wroteddx(ln2x)=12x.
Why it loses marksThe chain rule was applied to the outside function and then forgotten. ln2x=ln2+lnx, and ln2 is a constant, so the derivative is 1x. The chain rule gives the same thing: 12x×2=1x.
The answer that scoresddx(ln2x)=1x. More generally ddx(lnax)=1x for any positive constant a.
A student wroteddx(e3x)=e3x.
Why it loses marksThe exponential differentiates to itself only when the exponent is exactly x. Here the inside function is 3x, whose derivative is 3, and the chain rule requires that factor.
The answer that scoresddx(e3x)=3e3x. Check it numerically: at x=0 the gradient of e3x is 3, not 1.
A student wroteddx(x2lnx)=2x×1x=2.
Why it loses marksThe derivatives of the two factors have been multiplied. The product rule adds two terms, each of which keeps one original factor: udvdx+vdudx. The wrong answer also happens to be constant, which is impossible for a curve that is clearly not a straight line.
The answer that scoresddx(x2lnx)=x2×1x+lnx×2x=x+2xlnx.
A student wroteDifferentiating x2+y2=9 to get 2x+2y=0.
Why it loses marksThe y2 term was differentiated as though y were the variable of differentiation. Because y is a function of x, the chain rule contributes a factor of dydx, and without it the equation cannot give a gradient at all.
The answer that scores2x+2ydydx=0, so dydx=−xy. At the point (3,0) on x2+y2=9 the tangent is vertical, and −xy correctly has no value there.
A student wroteThe normal to a curve at a point where the gradient is 3 has gradient 3.
Why it loses marksThe normal is perpendicular to the tangent, so its gradient is the negative reciprocal, −13. Writing the tangent's gradient again gives a line that lies along the curve's direction instead of across it.
The answer that scoresIf the tangent has gradient m, the normal has gradient −1m. For m=3 the normal has gradient −13, and 3×(−13)=−1, which is the test for perpendicular lines.