The gradient of a curve at a point is the gradient of its tangent. You estimate it from a drawn tangent, and find it with the derivative of ax to the power n. Then you find stationary points and tell a maximum from a minimum. This is the Extended differentiation content of Cambridge IGCSE Mathematics.
about 25 min1 simulation1 practice question
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
This lesson is the Extended differentiation content of Cambridge IGCSE Mathematics. The later Class 11-12 chapters on limits and derivatives give the full theory. Here we use the rules and see what they tell us.
The gradient of a curve
A straight line has the same gradient everywhere. A curve bends, so its gradient changes. The gradient of a curve at a point is the gradient of the tangent there. The tangent is the straight line that just touches the curve at that point and has the same direction.
To estimate a gradient from a drawn curve:
Place a ruler so that it touches the curve at the point and does not cut it.
Draw the tangent.
Make a large right-angled triangle on the tangent. Divide the rise by the run.
For y=x2 at x=2 the tangent passes through (1,0) and (3,8). The rise is 8 and the run is 2, so the gradient is 4.
A graph of y equals x squared for x from minus 0.6 to 3.5, with a red tangent line at the point (2, 4). The tangent passes through (1, 0) and (3, 8). A dashed green triangle under the tangent has a run of 2 along the x-axis from x equals 1 to x equals 3 and a rise of 8, so the gradient is 8 over 2, which is 4.
A drawn tangent only gives an estimate, because it depends on how carefully you draw. The derivative gives the exact value.
The derivative of axn
The derivative of y with respect to x is written dxdy. It gives the gradient at every point. For n a whole number from 0 upwards and a any rational number:
y=axn⟹dxdy=anxn−1.
Multiply by the power, then reduce the power by 1. A constant has derivative 0, and y=x has derivative 1. For a sum of up to three terms, differentiate each term.
y=5x3 gives dxdy=15x2.
y=x4−6x gives dxdy=4x3−6.
y=2x3−9x2+12x−3 gives dxdy=6x2−18x+12.
To find the gradient at a point, put its x-value into dxdy. At x=3 the last curve has gradient 54−54+12=12. To find where the gradient has a given value, set dxdy equal to it and solve.
Stationary points
A stationary point is a point where the gradient is zero, so the tangent is horizontal. To find the stationary points:
Find dxdy.
Set dxdy=0 and solve for x.
Put each x into the equation of the curve to find y.
For y=2x3−9x2+12x−3: dxdy=6x2−18x+12=6(x−1)(x−2). This is zero at x=1 and x=2. Then y=2−9+12−3=2 at x=1, and y=16−36+24−3=1 at x=2. The stationary points are (1,2) and (2,1).
Maximum or minimum?
A stationary point of this kind is a maximum (a top) or a minimum (a bottom). The syllabus allows any method.
A sketch. Draw an accurate sketch and look.
The second derivative. Differentiate dxdy again to get dx2d2y. If it is positive at the point, the point is a minimum. If it is negative, the point is a maximum.
The gradient on either side. Gradient positive, then zero, then negative: a maximum. Negative, then zero, then positive: a minimum.
Here dx2d2y=12x−18. At x=1 it is −6, so (1,2) is a maximum. At x=2 it is 6, so (2,1) is a minimum. Candidates are not expected to identify points of inflection.
A graph of the cubic y equals 2x cubed minus 9x squared plus 12x minus 3. It rises to a maximum at (1, 2), falls to a minimum at (2, 1) and then rises again. Red dashed horizontal lines through the two stationary points show that the gradient is zero there. The gradient is positive before x equals 1, negative between 1 and 2, and positive after 2.
Using it: the greatest value
A rectangle has a perimeter of 40 m. Let one side be x metres. The other side is (20−x) metres, so the area is A=20x−x2 square metres.
dxdA=20−2x.
dxdA=0 gives x=10.
dx2d2A=−2, which is negative, so it is a maximum.
A=10×10=100 square metres.
The greatest area is 100 m2, when the rectangle is a square.
Practise with new numbers
Try it in Python
The program finds the gradient of y=2x3−9x2+12x−3 from the rule and from a very small step, and then finds the stationary points.
Common mistakes
Forgetting to reduce the power. The derivative of x3 is 3x2, not 3x3.
Differentiating a constant to itself. The derivative of a constant is 0.
Giving y when the gradient is asked. The gradient is the value of dxdy.
Stopping at x. For a stationary point, find y as well.
Naming a maximum or minimum without a test. Use the second derivative, the sign of the gradient, or a sketch.
Remember these
Gradient of a curve at a point = gradient of the tangent there.
y=axn gives dxdy=anxn−1. A constant gives 0.
Stationary points: dxdy=0. Then find y.
dx2d2y>0: minimum. dx2d2y<0: maximum.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Differentiate y=4x3−5x2+3x−7.
Find the gradient of y=3x2−2x at x=4.
Find the stationary point of y=x2−8x, and say whether it is a maximum or a minimum.
Find the stationary points of y=x3−27x, and say which is a maximum.
A ball is thrown up. Its height in metres after t seconds is h=20t−5t2. Find the greatest height.