A-level Mathematics

7.4 The second derivative, convexity and points of inflection — Learn

Prerequisites: differentiating powers, exponentials, trigonometric functions and logarithms from Section 7.3; reading the sign of an expression.

By the end of this section you can: find and use the second derivative; interpret it as the rate of change of the gradient; decide where a curve is convex or concave; and find a point of inflection, checking that the second derivative changes sign.

1. The second derivative

Differentiate a function once and you have its gradient. Differentiate the gradient and you have the second derivative. It measures how fast the gradient itself is changing.

The notation is

f′′(x)ord2ydx2.f''(x) \quad \text{or} \quad \frac{d^2y}{dx^2}.

The square sits on the dd in the numerator and on the xx in the denominator. It is not a power to apply to the function.

Example 1. Find f′′(x)f''(x) for f(x)=x4−6x2f(x) = x^4 - 6x^2.

Differentiate once:

f′(x)=4x3−12x.f'(x) = 4x^3 - 12x.

Differentiate again:

f′′(x)=12x2−12.f''(x) = 12x^2 - 12.

Example 2. Find d2ydx2\dfrac{d^2y}{dx^2} for y=sin⁡2xy = \sin 2x.

dydx=2cos⁡2x,d2ydx2=−4sin⁡2x.\frac{dy}{dx} = 2\cos 2x, \qquad \frac{d^2y}{dx^2} = -4\sin 2x.

2. Convex and concave sections

The sign of the second derivative tells you how the curve bends.

Read the sign of f′′(x)f''(x), not the sign of f(x)f(x). A curve can be above the xx-axis and still be concave.

Example 3. For f(x)=x3−3x2+2xf(x) = x^3 - 3x^2 + 2x, find where the curve is convex and where it is concave.

Differentiate twice:

f′(x)=3x2−6x+2,f′′(x)=6x−6.f'(x) = 3x^2 - 6x + 2, \qquad f''(x) = 6x - 6.

Set f′′(x)=0f''(x) = 0: 6x−6=06x - 6 = 0, so x=1x = 1.

The curve changes from concave to convex at x=1x = 1.

3. Points of inflection

A point of inflection is a point where the curve changes from convex to concave, or from concave to convex. At such a point the second derivative is zero. The reverse is not always true: f′′(x)=0f''(x) = 0 is necessary, but it is not enough.

To prove that a point is a point of inflection, check that f′′(x)f''(x) changes sign as xx passes through it. Find f′′f'' to the left and to the right.

Example 4. For f(x)=x4f(x) = x^4, the second derivative is f′′(x)=12x2f''(x) = 12x^2. At x=0x = 0 this is zero. Is there a point of inflection?

Look at the sign of f′′f'' on each side. For every x≠0x \neq 0, 12x2>012x^2 > 0, so the curve is convex on both sides. The second derivative does not change sign. There is no point of inflection at x=0x = 0; the curve flattens and turns up again.

Example 5. For f(x)=x3−3x2+2xf(x) = x^3 - 3x^2 + 2x from Example 3, find the point of inflection and its coordinates.

We already found f′′(x)=6x−6f''(x) = 6x - 6, which is zero at x=1x = 1. Use the sign table:

xx below 11, say x=0x = 0 x=1x = 1 above 11, say x=2x = 2
f′′(x)=6x−6f''(x) = 6x - 6 −6-6, concave 00 66, convex

The second derivative changes from negative to positive, so x=1x = 1 is a point of inflection. The yy-coordinate is

f(1)=1−3+2=0.f(1) = 1 - 3 + 2 = 0.

The point of inflection is (1,0)(1, 0).

4. Using the second derivative to classify a turning point

The second derivative also distinguishes a maximum from a minimum. At a turning point, f′(x)=0f'(x) = 0. Then:

Section 7.5 uses this test to solve the box problem.

Watch out. Three mistakes are common with the second derivative.

Writing f′′(x)f''(x) as f′(x2)f'(x^2). The double prime marks a second differentiation, not a square. To find f′′(x)f''(x), differentiate f′(x)f'(x) once more.

Assuming that f′′(x)=0f''(x) = 0 always means a point of inflection. The curve y=x4y = x^4 has f′′(0)=0f''(0) = 0 but bends upwards on both sides. Always check the sign of f′′f'' either side of the point.

Confusing convex with above the axis. Convex and concave describe the bending, not the height. The curve y=x2−4y = x^2 - 4 is convex everywhere, even where it dips below the xx-axis. Re-check: pick one point each side of a suspected inflection and compare the signs of the second derivative.

You should now be able to

Settings

Colour scheme

Applies to every book you read here.

Reading theme

Applies to every book you read here.