IGCSE Maths · Area 2 · Algebra and Graphs

Differentiation

Differentiation is Extended only, and it is the one technique in 0580 that finds the exact gradient of a curve. You start by estimating a gradient with a drawn tangent, then meet dydx as the exact answer to that same question. From there you find gradients at a point, the equations of tangents and normals, stationary points and whether each one is a maximum or a minimum, and the velocity and acceleration of a particle from its displacement. Marks go missing when only the first term of a sum is differentiated, when a constant is left unchanged, and when the gradient of the tangent is given as the answer to a question that asked for the equation of the tangent.

Not started

Syllabus coverage

  • Extended only: estimate gradients of curves by drawing tangents
  • Extended only: the dydx notation will be expected
  • Extended only: use the derivatives of functions of the form axn, where a is a rational constant and n is a positive integer or zero, and simple sums of not more than three of these
  • Extended only: apply differentiation to gradients and stationary points (turning points)
  • Extended only: discriminate between maxima and minima by any method - an accurate sketch, the second differential, or the gradient either side of the turning point
  • Extended only: candidates are not expected to identify points of inflection
  • The rate-of-change idea is applied to simple kinematics (the graphs in practical situations topic), so a displacement function can be differentiated for velocity and acceleration

Part of the IGCSE Maths syllabus 0580.

The gradient of a curve at a point is the gradient of the tangent123456(4, 4.12)tangent, gradient 1.76curveFor y = ax² the gradient at x is 2ax, so at x = 4 with a = 0.22 the tangent has gradient 1.76.Differentiating gives the gradient exactly; drawing a tangent only estimates it.
The gradient of a curve at a point is the gradient of the tangent at that point. Drawing the tangent estimates the gradient; differentiating gives it exactly.

The gradient of a curve is different at every point

The gradient of a straight line is the same all the way along it: rise divided by run, and it does not matter which two points on the line you choose. A curve is not like that. Take y=x2: at (0,0) it is flat, at (1,1) it is climbing gently, and at (3,9) it is climbing steeply. The gradient of a curve only means anything at a single point, and it is defined as the gradient of the straight line that just touches the curve there.

That line is the tangent. Cambridge's own wording is that a tangent should touch the curve at the required point and stay in contact with the curve for the minimum possible distance, and that it should not cross the curve at that point. So a tangent grazes the curve; it is not a chord that cuts through it at two points.

To estimate a gradient by drawing: mark the point, lay a ruler so the line touches the curve only there, draw the tangent long enough to reach the edges of the grid, then pick two points on your tangent as far apart as possible and work out rise over run. The further apart those two points, the smaller the percentage error in your reading, because a small slip in reading a coordinate matters less over a long run.

  • Gradient of a straight line: rise divided by run, the same everywhere on the line
  • Gradient of a curve: the gradient of the tangent at that one point, and it changes as you move along the curve
  • A positive gradient means the curve is rising, a negative gradient means it is falling, and zero means the tangent is horizontal
  • An estimate from a drawn tangent is always approximate, so read the two points from the grid as accurately as you can
Cambridge expects tangents drawn with a ruler, touching the curve at the point and not crossing it. A tangent that cuts through the curve can lose the accuracy mark even when the arithmetic afterwards is perfect.

dy/dx: what the derivative means

A tangent is drawn by eye, so it can only ever give an estimate. The derivative gives the exact gradient, and the notation Cambridge expects is dydx. Read it as 'the rate of change of y with respect to x', or more simply as 'the gradient of the curve'.

The idea behind the notation is a chord. Take a point P on the curve and a second point Q a little way along it. The gradient of the chord PQ is δyδx, where δy and δx are the small changes in y and x between P and Q. Now slide Q closer and closer to P. The chord pivots about P, gets closer and closer to the tangent, and δyδx gets closer and closer to the gradient of that tangent. The value it settles on as δx tends to zero is written dydx, and that is the whole meaning of the symbol.

You never work that out by hand. There is a rule that turns the idea into one line of algebra, and it works for every power of x you meet in 0580. The table below shows the chord gradients for y=x2 at x=3 as the second point closes in.

Value of δxGradient of the chord δyδx
17
0.56.5
0.16.1
0.016.01
tending to 0tending to 6
For y=x2 at x=3 the chord gradient is always 6+δx. As δx shrinks, the answer closes in on 6, and differentiating gives dydx=2x=6 at x=3. A good estimate from a tangent and the exact derivative should agree to about one decimal place.

Differentiating powers of x

The rule is short: if y=axn then dydx=naxn−1. Multiply by the index, then reduce the index by one. It applies to each term of a sum separately, because the gradient of a sum is the sum of the gradients of its parts.

Two cases catch people out. A term with no x in it at all is a constant, and a constant is a horizontal line with gradient zero, so it differentiates to 0. A term such as 7x is really 7x1, so the index is 1 and 1×7x0=7.

The syllabus asks for functions of the form axn, where a is a rational constant and n is a positive integer or zero, and for simple sums of not more than three of these. So y=5x4−3x2+8 is exactly the kind of thing you will be asked, and three terms is the most you should expect in one expression.

ydydxWhy
x55x4multiply by the index 5, then take 1 off it
4x312x23×4=12, and the index becomes 2
7x77x=7x1, so 1×7x0=7
120a constant is a horizontal line, gradient 0
5x4−3x2+820x3−6xdifferentiate each term; the 8 gives 0
In 0580 the index n is a positive integer or zero, so the power of x never goes below zero on this course. Negative and fractional indices are not examined in this syllabus and a 0580 question will not ask you to differentiate x−2 or x.

The gradient at a point, and the equation of a tangent

Differentiating gives you a formula for the gradient, not a single number. To get the gradient at one particular point, differentiate and then substitute the x-coordinate of that point. For y=x2−4x+7, dydx=2x−4, so at x=3 the gradient is 2(3)−4=2.

The tangent at that point is the straight line through the point with that gradient. Use the coordinate geometry form y−y1=m(x−x1), where (x1,y1) is the point on the curve and m is the gradient you have just found. You need the y-coordinate, and it comes from the original equation of the curve, never from the derivative.

The normal is the line through the same point perpendicular to the tangent. Perpendicular gradients multiply to give −1, so if the tangent has gradient m then the normal has gradient −1m. Finding the normal is therefore the same calculation with one extra line.

StepWhat to doFor y=x2−4x+7 at x=3
1Differentiatedydx=2x−4
2Substitute the x-value into the derivative: this is the gradient mm=2(3)−4=2
3Substitute the same x-value into the original equation: this is y1y1=9−12+7=4
4Tangent: y−y1=m(x−x1)y−4=2(x−3), so y=2x−2
5Normal: gradient −1m−12, so y=−12x+112
If the tangent is horizontal then m is 0 and the normal is vertical. A vertical line has no gradient, so the rule m1m2=−1 cannot be used there; write the normal as x=a, where a is the x-coordinate of the point.

Stationary points

A stationary point is a point on a curve where the gradient is zero, so the tangent there is horizontal. Cambridge also calls them turning points. They are the places where the curve stops rising and starts falling, or stops falling and starts rising.

To find them: differentiate, set dydx=0, solve for x, then substitute each x back into the original equation of the curve to get the matching y-coordinate. The derivative is always one degree lower than the curve, so a cubic curve has a quadratic derivative and can have up to two stationary points.

For y=2x3−9x2+12x: dydx=6x2−18x+12=6(x−1)(x−2), so dydx=0 when x=1 or x=2. Substituting into the curve gives y=2−9+12=5 at x=1, and y=16−36+24=4 at x=2. The stationary points are (1,5) and (2,4).

  • Stationary point: a point where dydx=0 and the tangent is horizontal
  • Solve dydx=0 for x, then put each x back into the original equation to get y
  • Factorising the derivative is usually the quickest way to solve it, especially when every term shares a common factor
  • A stationary point is not automatically a maximum or a minimum, so read on to the next block
Never substitute the x-value into the derivative to find the y-coordinate. The derivative returns gradients, so at a stationary point it returns 0 for every curve.

Maximum or minimum?

A stationary point can be a maximum, where the curve was rising and now falls; a minimum, where it was falling and now rises; or neither. Cambridge accepts any method, and you should use whichever one the question makes quickest.

Method 1: the second derivative. Differentiate a second time to get d2ydx2, then substitute the x-value of the stationary point. A negative value means a maximum, because the gradient is going from positive towards negative. A positive value means a minimum. For y=2x3−9x2+12x, d2ydx2=12x−18; at x=1 that is −6, so (1,5) is a maximum, and at x=2 it is 6, so (2,4) is a minimum.

Method 2: the gradient either side. Work out dydx at an x-value just below the stationary point and at one just above it. A gradient that goes from positive to negative means a maximum; from negative to positive means a minimum. For the same curve, dydx is 0.66 at x=0.9 and −0.54 at x=1.1, so x=1 is a maximum.

Method 3: an accurate sketch. If you can see the shape of the curve, you can see which way it turns at each stationary point. This is the fastest method and the easiest to get wrong, so use it only when the shape is obvious.

TestMaximumMinimum
d2ydx2 at the pointnegativepositive
Gradient just before the pointpositivenegative
Gradient just after the pointnegativepositive
Shape of the curve therebending downwardsbending upwards
If d2ydx2=0 the second derivative test does not decide anything, so fall back on the gradient either side. The syllabus does not ask you to identify points of inflection, so every stationary point you are asked about is a maximum or a minimum.

Rate of change, and kinematics

dydx is a rate of change: it says how fast y changes when x changes. That is why the same technique answers questions about speed and acceleration, and why the syllabus applies rate of change to simple kinematics.

If s is the displacement of a particle from a fixed point, measured in metres, and t is the time in seconds, then dsdt is the velocity in metres per second and d2sdt2 is the acceleration in metres per second squared. The gradient of a displacement-time graph is the velocity, and the gradient of a velocity-time graph is the acceleration.

Take s=t3−6t2+9t. Differentiating gives v=dsdt=3t2−12t+9, so at t=4 the velocity is 3(16)−12(4)+9=9 m/s. Differentiating again gives a=dvdt=6t−12, so at t=4 the acceleration is 24−12=12 m/s2.

  • Displacement s in metres and time t in seconds: velocity v=dsdt and acceleration a=dvdt=d2sdt2
  • The particle is instantaneously at rest when v=0, which is a stationary point of the displacement function
  • A negative velocity is a real answer, not a mistake: the particle is moving in the negative sense of s
Units follow the letters. If s is in metres and t is in seconds, then dsdt is in m/s and d2sdt2 is in m/s2. Leave the units off and a correct number can still lose a mark.

Key terms you must be able to define

Gradient of a curve
The gradient of the tangent to the curve at that point. Unlike a straight line, a curve has a different gradient at each point.
Tangent
A straight line that touches a curve at a point and stays in contact with it for the minimum possible distance. It does not cross the curve at that point.
Chord
A straight line joining two points on a curve. The gradient of a chord estimates the gradient of the curve between those points.
δx
A small change in the value of x. δyδx is the gradient of the chord joining two nearby points, and it tends to dydx as δx tends to zero.
Derivative
The exact gradient of a curve, found by differentiating. It is a formula in x, not a single number.
dydx
The notation for the derivative: the rate of change of y with respect to x, that is the gradient of the curve.
Differentiation
The process of finding the derivative. For y=axn the derivative is naxn−1: multiply by the index, then reduce the index by one.
Gradient function
The derivative thought of as a function: put in an x-value and it gives you the gradient of the curve at that point.
Stationary point
A point on a curve where dydx=0, so the tangent there is horizontal.
Turning point
Another name for a stationary point: a point where the curve turns from rising to falling, or from falling to rising.
Maximum point
A stationary point where the curve stops rising and starts falling. The second derivative is negative there.
Minimum point
A stationary point where the curve stops falling and starts rising. The second derivative is positive there.
Second derivative
The derivative of the derivative, written d2ydx2. Its sign at a stationary point decides whether the point is a maximum or a minimum.
Normal
The straight line through a point on a curve perpendicular to the tangent there. If the tangent has gradient m, the normal has gradient −1m.
Point of inflection
A point where a curve changes from bending one way to bending the other. 0580 does not ask you to identify these.
Rate of change
How fast one quantity changes as another changes. dydx is the rate of change of y with respect to x.
Velocity
The rate of change of displacement: v=dsdt, in metres per second when s is in metres and t is in seconds.
Acceleration
The rate of change of velocity: a=dvdt=d2sdt2, in metres per second squared.

In context

Cambridge sets 0580 in real situations - a recipe, a bank statement, a map, a garden, a graph of a car's journey. These show how the mathematics appears in a question, then you write your own working for the numbers you are given.

Estimating a gradient from a graph

The curve y=x2 is drawn from x=0 to x=4 and you are asked to estimate the gradient at (2,4). Draw the tangent there with a ruler, read two points on it as far apart as the grid allows, for example (1,0) and (3,8), and work out 8−03−1=4. Differentiating gives dydx=2x, and at x=2 that is exactly 4, so the estimate and the exact value agree.

Differentiating a sum of three terms

Differentiate y=3x4−5x2+2x. Term by term: 3x4 gives 12x3, −5x2 gives −10x, and 2x gives 2, so dydx=12x3−10x+2. Every term is differentiated, including the one whose index is 1.

Finding where the gradient has a given value

The curve y=x3−3x2+1 has dydx=3x2−6x. To find where the gradient is 9, put 3x2−6x=9, so 3x2−6x−9=0, then x2−2x−3=0, which factorises as (x−3)(x+1)=0. The gradient is 9 at x=3 and at x=−1.

Tangent and normal

For y=x2−4x+7 at x=3, dydx=2x−4 so the gradient is 2, and y=9−12+7=4, so the point is (3,4). The tangent is y−4=2(x−3), that is y=2x−2. The normal has gradient −12, so y−4=−12(x−3), that is y=−12x+112.

Maximum or minimum

y=4x−x2, so dydx=4−2x. Setting dydx=0 gives x=2, and then y=8−4=4, so the only stationary point is (2,4). The second derivative is d2ydx2=−2, which is negative, so (2,4) is a maximum. The curve is an upside-down parabola, which agrees.

Flashcards

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

Q1What does dydx mean?
The gradient of the curve at a point: the exact rate of change of y with respect to x.
Q2How do you estimate the gradient of a curve at a point?
Draw the tangent at that point with a ruler, read two points on the tangent as far apart as possible, and work out rise over run.
Q3Differentiate y=x6.
dydx=6x5. Multiply by the index, then reduce the index by one.
Q4Differentiate y=9x2−4x+7.
dydx=18x−4. The 7 is a constant, so it differentiates to 0.
Q5What is the derivative of a constant?
0. A constant is a horizontal line, and a horizontal line has gradient zero.
Q6What is dydx for y=5x?
5. Write 5x as 5x1, so the answer is 1×5x0=5.
Q7How do you find the gradient of a curve at a given point?
Differentiate to get dydx, then substitute the x-coordinate of the point into it.
Q8How do you find the equation of the tangent to a curve at a point?
Get the gradient m from dydx, get the y-coordinate from the original equation, then use y−y1=m(x−x1).
Q9How are the gradients of a tangent and its normal related?
They are perpendicular, so their gradients multiply to −1. The normal has gradient −1m.
Q10How do you find the stationary points of a curve?
Set dydx=0, solve for x, then substitute each x into the original equation to get the y-coordinate.
Q11What does the sign of the second derivative tell you at a stationary point?
Negative means a maximum; positive means a minimum.
Q12The second derivative at a stationary point is positive. What kind of point is it?
A minimum. The gradient is going from negative to positive, so the curve is bending upwards.
Q13How do you decide maximum or minimum without the second derivative?
Work out the gradient just either side of the point. Positive then negative is a maximum; negative then positive is a minimum.
Q14Displacement is s=t3−6t2+9t. What is the velocity?
v=dsdt=3t2−12t+9, in m/s when s is in metres and t is in seconds.
Q15How is acceleration found from a displacement function?
Differentiate twice: a=d2sdt2, which is the derivative of the velocity.
0 of 15 marked as known

Exam-style questions

7 questions, 19 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.

Write downAO11 mark
Write down the derivative of y=x7.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • B1dydx=7x6, from multiplying by the index 7 and reducing the index by onenot checked yet
Examiner tip: The rule is multiply by the index, then take one off it. 'Write down' means no working is needed, so a slip here is a rule you have not yet made automatic.
CalculateAO23 marks
A curve has equation y=x3−12x+5. Calculate the x-coordinates of the stationary points of the curve.
Give every part of the answer, separated by commas or the word 'or'.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • A1x=2 and x=−2not checked yet
Examiner tip: A square root gives two answers, and both are wanted here. The 5 never appears in the derivative, because a constant differentiates to 0.
Work outAO24 marks
The curve y=x2−4x+7 passes through the point where x=3. Work out the equation of the tangent to the curve at that point. Give your answer in the form y=mx+c.
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
  • A1y=2x−2not checked yet
Examiner tip: Three things have to come out of the question: the gradient, the point, and then the line. The point needs the original equation, not the derivative, because the derivative only gives gradients.
DetermineAO23 marks
The curve y=2x3−3x2−12x+5 has a stationary point where x=2. Determine whether this stationary point is a maximum or a minimum.
Write a short answer in words.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • A1minimumnot checked yet
Examiner tip: A positive second derivative means the gradient is increasing, so the curve is turning upwards: a minimum. Give the reason as well as the word, because the reason carries its own mark.
Show (that)AO12 marks
A curve has equation y=x3−6x2+9x. Show that the curve has stationary points where x=1 and where x=3.

Mark scheme — tick each point you actually made

  • M1
  • A1
Examiner tip: A 'show that' question gives you the answers, so every line of your working has to be visible: the derivative, then the factorisation, then the conclusion. There is no answer box to fill in.
Work outAO23 marks
A particle moves in a straight line. Its displacement, s metres from a fixed point, after t seconds is given by s=t3−6t2+9t. Work out the velocity of the particle when t=4.
Write a number, a fraction such as 3/4, or an expression such as 3x+2. Include the unit (m/s).

Mark scheme — tick each point you actually made

  • M1
  • M1
  • A19 m/snot checked yet
Examiner tip: Velocity is the rate of change of displacement, so it is dsdt, not d2sdt2. Differentiating twice would give the acceleration, which is a different question.
Work outAO13 marks
Differentiate y=5x4−3x2+8.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • B1
  • B1
  • B1dydx=20x3−6xnot checked yet
Examiner tip: Three terms, three differentiations. Leaving the constant unchanged, or losing the minus sign on −3x2, are the two ways this question usually goes wrong.

Exam technique for this topic

  • For an 'estimate the gradient' question, draw the tangent with a ruler so it touches the curve at the marked point and does not cross it, then read two points on the tangent as far apart as the grid allows. The mark is for a sensible tangent and a correct rise over run, not for a calculator value.
  • Always write the differentiation line down. A mark scheme awards a method mark for dydx correct, and a candidate who jumps straight from the curve equation to the gradient at a point has no line to show for it.
  • When a question asks for the coordinates of a stationary point, give both numbers in brackets. Setting dydx=0 produces the x-value only, and the y-value has to come from the original equation.
  • Use the second derivative to decide between a maximum and a minimum unless the question tells you which method to use. It is one extra line, it is unambiguous, and the sentence 'negative, so it is a maximum' picks up the reasoning mark as well as the answer.
  • Check the sense and the units of a kinematics answer. With s in metres and t in seconds the velocity is in m/s and the acceleration in m/s2, and a negative velocity is a perfectly good answer that tells you the particle is moving the other way.

Why students lose marks here

A student wroteThe derivative of y=4x3+5 is 12x2+5.
Why it loses marksThe constant 5 was left unchanged. A constant is a horizontal line and a horizontal line has gradient zero, so the 5 differentiates to 0, not to itself.
The answer that scoresdydx=12x2. Differentiate each term separately: 4x3 gives 12x2 and the 5 gives 0.
A student wroteTo find the y-coordinate of a stationary point, substitute its x-value into dydx.
Why it loses marksThe derivative returns gradients, not points. At a stationary point dydx=0, so this substitution gives 0 for every curve in the paper.
The answer that scoresSubstitute into the original equation. For y=2x3−9x2+12x at x=1: y=2−9+12=5, so the point is (1,5).
A student wroteThe second derivative at a stationary point is −6, so the point is a minimum.
Why it loses marksThe sign has been read the wrong way round. A negative second derivative means the gradient is falling, so the curve is about to turn downwards: that is a maximum.
The answer that scoresNegative second derivative means a maximum, positive means a minimum. −6 at x=1 makes (1,5) a maximum point.
A student wroteThe tangent to y=x2−4x+7 at x=3 is y=2x−6, using y1=0.
Why it loses marksThe y-coordinate was taken as zero instead of being worked out from the curve. The point where x=3 is (3,4), not (3,0), so the tangent line is shifted down by 4.
The answer that scoresy=9−12+7=4 at x=3, so y−4=2(x−3) and the tangent is y=2x−2.