5.10 Second derivative and concavity

5.10 Second derivative and concavity

IB Maths: Applications and Interpretation HL: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • The second derivative d2ydx2\dfrac{d^2y}{dx^2} or f′′(x)f''(x) is the derivative of the derivative.
  • f′′(x)>0f''(x)>0: concave-up. f′′(x)<0f''(x)<0: concave-down.
  • At a stationary point, f′′>0f''>0 gives a local minimum and f′′<0f''<0 a local maximum; f′′=0f''=0 is inconclusive.
  • A point of inflexion is where f′′f'' changes sign: solve f′′(x)=0f''(x)=0 and check the sign either side.
  • For motion, v=dsdtv=\dfrac{ds}{dt} and a=d2sdt2a=\dfrac{d^2s}{dt^2}.

The second derivative

It is the derivative of the derivative, and measures how quickly the gradient is changing.

Two notations: d2ydx2\dfrac{d^2y}{dx^2} or f′′(x)f''(x). For f(x)=x3−6x2+9xf(x)=x^3-6x^2+9x: f′(x)=3x2−12x+9f'(x)=3x^2-12x+9 and f′′(x)=6x−12f''(x)=6x-12.

Use the chain, product and quotient rules to find f′f' first, simplify, then differentiate again. For c(t)=4te−t/2c(t)=4te^{-t/2}, c′(t)=(4−2t)e−t/2c'(t)=(4-2t)e^{-t/2} and c′′(t)=(t−4)e−t/2c''(t)=(t-4)e^{-t/2}.

−112345−10−5510152025xyf″ = 0(1, 4)(3, 0)f(x)f′(x)f″(x)
f(x) = x³ − 6x² + 9x with its derivative f′ and second derivative f″. Where f″ is zero (x = 2), f changes concavity.
  • d2ydx2\dfrac{d^2y}{dx^2}f′′(x)f''(x), the derivative of f′(x)f'(x)

Worked example

Find f′′(x)f''(x) for f(x)=xe−xf(x)=xe^{-x}.

What is f′′(x)f''(x) for f(x)=x4f(x)=x^4?

Concave-up and concave-down

Positive f′′f'' means the gradient is increasing (concave-up); negative means it is decreasing (concave-down).

Concave-up graphs hold water, like a cup; concave-down graphs are like a cap. In context, concave-up means the rate of change is increasing and concave-down that it is decreasing.

A profit graph that is increasing and concave-down is still rising, but more slowly each year.

−3−2−1123−8−6−4−22468xyy = x² (concave-up)y = −x² (concave-down)
y = x² is concave-up; y = −x² is concave-down

A graph is increasing and concave-down. Which is true?

The second derivative test

At a stationary point, positive f′′f'' gives a minimum and negative f′′f'' a maximum.

If f′(x)=0f'(x)=0 and f′′(x)>0f''(x)>0 the point is a local minimum; if f′′(x)<0f''(x)<0 it is a local maximum. If f′′(x)=0f''(x)=0 the test is inconclusive: check the sign of f′f' either side.

Always state the sign of f′′f'' as your reason.

−112345−4−22468xy(1, 4)(3, 0)f(x) = x³ − 6x² + 9x
f(x) = x³ − 6x² + 9x has a maximum at (1, 4) and a minimum at (3, 0)

Worked example

Classify the stationary points of f(x)=x3−6x2+9xf(x)=x^3-6x^2+9x.

For f(x)=x3−3xf(x)=x^3-3x, f′(x)=0f'(x)=0 at x=1x=1. What is this point?

Points of inflexion

It is where the concavity changes, so f′′f'' changes sign.

Solve f′′(x)=0f''(x)=0, then check that f′′f'' has a different sign either side. For f′′(x)=6x−12f''(x)=6x-12: x=2x=2, with f′′<0f''<0 for x<2x<2 and f′′>0f''>0 for x>2x>2. Since f(2)=2f(2)=2, (2,2)(2,2) is a point of inflexion.

f′′(x)=0f''(x)=0 alone is not enough: x4x^4 has f′′(0)=0f''(0)=0 but f′′=12x2≥0f''=12x^2\ge0 on both sides. In a model, the inflexion is where the rate of change is greatest or least.

−112345−6−4−22468xy(2, 2)f(x)f″(x) = 6x − 12
f (solid) has an inflexion at (2, 2), where f″ (dashed) crosses the x-axis

f(x)=x4f(x)=x^4 has f′′(0)=0f''(0)=0. Is there a point of inflexion at x=0x=0?

Context and motion

With displacement s(t)s(t), velocity is dsdt\dfrac{ds}{dt} and acceleration is d2sdt2\dfrac{d^2s}{dt^2}.

Zero acceleration means the velocity is at a maximum or minimum. The second derivative also appears in second order differential equations (5.18).

For context problems: find f′(x)=0f'(x)=0 for turning points, use f′′f'' to classify them, solve f′′(x)=0f''(x)=0 for inflexions, and interpret each result with units.

123456−20−1010203040xyv minimum (3, −3)a = 0va
For s = t³ − 9t² + 24t, velocity v = 3t² − 18t + 24 and acceleration a = 6t − 18 (x is time t). Acceleration is zero at t = 3, where velocity is at its minimum.
  • Velocityv=dsdtv=\dfrac{ds}{dt}
  • Accelerationa=d2sdt2a=\dfrac{d^2s}{dt^2}

Worked example

s=t3−6t2+9ts=t^3-6t^2+9t (metres, seconds). When is the acceleration zero, and what is the velocity then?

What does d2sdt2\dfrac{d^2s}{dt^2} represent?

Try an exam question

The function ff is given by f(x)=x3−3x2f(x)=x^3-3x^2. (a) Find the coordinates of the stationary points and use f′′(x)f''(x) to classify them. (b) Find the coordinates of the point of inflexion.

[6 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Which value of tt gives a local minimum of PP?

1 mark, marked against the mark scheme

Revision notes