The bend changes sides
On the gradient is and the second derivative is 6x. Left of the origin, 6x is negative: the gradient is shrinking, and the curve bends downwards. Right of the origin, 6x is positive: the gradient is growing, and the curve bends upwards.
So at the origin the bend changes sides. A point on a curve where the direction of bending changes is a point of inflection.
Concave up and concave down
The two kinds of bend have names. Where the second derivative is positive, the gradient is increasing and the curve is concave up, bending like the inside of a bowl. Where the second derivative is negative, the gradient is decreasing and the curve is concave down.
So is concave down for x < 0 and concave up for x > 0, and a point of inflection is where a curve passes from one to the other.
The gold curve , with the vertical scale squeezed: concave down to the left of the origin, where the second derivative 6x is negative, and concave up to the right, where it is positive.
Where the second derivative is zero
Where the bend flips, the second derivative passes from negative to positive, or from positive to negative, and so passes through 0. That gives the candidates: the points where , together with any points of the curve where the second derivative does not exist.
Take . Its gradient is and its second derivative is 6x − 6, which is 0 at x = 1. The height there is 1 − 3 = −2, so the candidate is (1, −2).
A zero is not enough
On the second derivative is , which is 0 at x = 0. But is positive on both sides of 0: at x = −1 and at x = 1 it is 12. The curve is concave up on both sides, so its bend never changes, and the origin is not a point of inflection. It is the minimum of .
So marks a candidate, not an inflection.
The gold curve , concave up on both sides of the origin. Its second derivative, , is 0 at the origin without changing sign.
Check the sign on each side
So test the sign of the second derivative on each side of the candidate. For , 6x − 6 is −6 at x = 0 and 6 at x = 2. It runs −, 0, +, so the curve passes from concave down to concave up, and (1, −2) is a point of inflection.
The gradient there is 3 − 6 = −3, not 0: a point of inflection does not have to be a stationary point. The tangent at (1, −2) is y = −2 − 3(x − 1) = −3x + 1. The curve lies below it on the left, by 0.125 at x = 0.5, and above it on the right, by 0.125 at x = 1.5. At a point of inflection the curve crosses its own tangent.
The gold curve and the gold tangent y = −3x + 1 at (1, −2). The curve is below the tangent on the left, where it is concave down, and above it on the right, where it is concave up.
f″ > 0: the curve lies above its tangent on both sides, concave up
Sweep x₀ to where the curve changes side of its tangent
The curve with its tangent at a point you move. The shaded gap shows on which side the curve lies. Slide the point through x = 0: the curve changes sides of the tangent, and there the tangent has gradient −3.
Two inflections
Take . Its second derivative is , which is 0 at x = −1 and x = 1.
At x = −2 it is 36, at x = 0 it is −12, and at x = 2 it is 36. The signs run +, −, +, so the bend changes at both candidates. The heights are 1 − 6 = −5 at each, and the points of inflection are (−1, −5) and (1, −5). Between them the curve is concave down, around the local maximum at the origin; outside them it is concave up.
The gold curve , concave down between its two points of inflection, (−1, −5) and (1, −5), and concave up outside them.
Two cases to watch
A curve can inflect where the second derivative does not exist. On the second derivative is , with no value at x = 0. At x = −1 it is , positive, and at x = 1 it is , negative. So the bend changes at the origin, which is a point of inflection with a vertical tangent.
A sign change at a point not on the curve is no inflection. On the second derivative is : −2 at x = −1 and 2 at x = 1. The concavity changes across x = 0, but the curve has no point there, so it has no point of inflection.
The usual mistakes
Stopping at . has that at the origin, and the origin is a minimum.
Testing the sign of f' instead of the second derivative. f' changing sign marks a peak or a trough; at the inflection of , f' is negative on both sides.
Thinking a point of inflection must be flat. The tangent at (1, −2) on has gradient −3.
Giving only x = 1. A point of inflection is a point: (1, −2).
An outbreak
In the application below, the total number of cases in an outbreak is a cubic in time. New cases appear fastest on the day the curve of totals changes from concave up to concave down.
Worked example: An Outbreak's Case Numbers: the Day the New Cases Stop Climbing
Question In an outbreak, the total number of cases x days after the first is N = 60x2 − 2x3, for 0 ≤ x ≤ 20. (a) Find the day on which new cases are appearing fastest, and the rate at which they appear then. (b) Find the total on that day, and say what the curve of totals is doing there.
1.The new cases in a day are the rate at which the total grows: dNdx = 120x − 6x2 cases a day.
The new cases in a day are the rate the total grows: dNdx = 120x − 6x2, drawn on the right. 2.That rate is greatest where its own derivative is zero, so differentiate once more: d2Ndx2 = 120 − 12x.
That rate peaks where its own derivative is zero, so differentiate again: d2Ndx2 = 120 − 12x. 3.Set it to zero: 120 − 12x = 0, so x = 10.
Setting it to zero gives x = 10, marked on both curves. 4.Check that the bend changes sides. For x < 10, 120 − 12x is positive and the curve of totals bends upwards; for x > 10 it is negative and the curve bends downwards. So x = 10 really is a point of inflection.
Before day 10 the second derivative is positive and the total bends upwards; after it the total bends downwards. 5.(a) The new cases peak on day 10, at dNdx = 1200 − 600 = 600 new cases. Check: day 9 gives 1080 − 486 = 594 and day 11 gives 1320 − 726 = 594, both fewer.
(a) The new cases peak on day 10 at 1200 − 600 = 600; day 9 and day 11 each give 594. 6.(b) The total that day is N = 6000 − 2000 = 4000 cases. The outbreak is still growing, but from day 10 onwards it grows by less each day than the day before: that is what the change of bend means, and by day 20 the total has settled at 8000.
(b) The total that day is 6000 − 2000 = 4000 cases, and the tangent drawn there is the steepest the total curve gets.
Answer: (a) day 10, when new cases are appearing at 600 a day; (b) 4000 cases in total, where the curve stops bending upwards and starts bending downwards
Common mistakes
- Setting dNdx = 0 to find the peak. That gives the day the total stops rising, day 20, when the outbreak is over. The peak in NEW cases is a maximum of the first derivative, so it is the second derivative that is set to zero.
- Calling day 10 the halfway point of the outbreak because 4000 is half of 8000. That the two agree is a feature of this particular curve; the day the bend changes is found from d2Ndx2 = 0, not by halving the final total.