James Ashton MathsFREE MATHEMATICS. OPEN TO EVERYONE.
HomeIB DiplomaA levelAbout
IB Diploma › Maths AI HL › Calculus › The second derivative

The second derivative

The second derivative tells you how the gradient is changing. It sorts maxima from minima, shows whether a curve bends up or down, and finds points of inflexion: in context, the moment a quantity is growing fastest.

AHL 5.10HL onlyPaper 1Paper 2GDC allowed≈ 40 min to work through
Before you start: derivatives of standard functions and the rules (Further differentiation) and stationary points (Stationary points & optimisation).

1What you need to know

Tick these off as you go. By the end of the page you should be able to do all of them without notes.

  • Find the second derivative, written d2ydx2 or f′′(x)AHL 5.10
  • Use the second derivative test to tell a maximum from a minimumAHL 5.10
  • Use the words concave-up (f′′(x)>0) and concave-down (f′′(x)<0)AHL 5.10
  • Find points of inflexion, checking that the concavity changesAHL 5.10
  • Interpret a point of inflexion in context, for example where growth is fastestAHL 5.10

2Notes & worked examples

Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.

The big idea

f′ says which way the curve is going; f′′ says which way it is bending. A curve that bends upwards like a bowl is concave-up (f′′>0); one that bends downwards like a hill is concave-down (f′′<0). A point of inflexion is where the bending changes direction.

2.1 The second derivative test

At a stationary point (f′(x)=0): if f′′(x)<0 it is a maximum; if f′′(x)>0 it is a minimum. If f′′(x)=0 the test tells you nothing: check the sign of f′ either side instead.

Worked example 1Paper 1
Find and classify the stationary points of f(x)=x3−6x2+9x+1.
f′(x)=3x2−12x+9=3(x−1)(x−3)=0⇒x=1, 3
f′′(x)=6x−12
f′′(1)=−6<0: maximum at (1,5)
f′′(3)=6>0: minimum at (3,1)

2.2 Concavity and points of inflexion

Points of inflexion are found where f′′(x)=0 and changes sign. Checking the sign change matters: y=x4 has f′′(0)=0, but f′′(x)=12x2≥0 on both sides, so there is no inflexion at 0 (it is a minimum).

Worked example 2Paper 1
Find the point of inflexion of f(x)=x3−6x2+9x+1.
6x−12=0⇒x=2
f′′ is negative for x<2 and positive for x>2, so the concavity changes.
Point of inflexion (2,3)
Worked example 3Paper 1
For f(x)=xe−x, find where the curve is concave-up and concave-down.
f′(x)=e−x−xe−x=(1−x)e−x
Product rule.
f′′(x)=−e−x−(1−x)e−x=(x−2)e−x
e−x>0, so concave-down for x<2, concave-up for x>2; inflexion at (2, 0.271)
Worked example 4 (faded)Paper 1
Find d2ydx2 for y=sin(3x).
dydx=3cos(3x), so d2ydx2= −9sin(3x)  ← you work this out

2.3 Inflexion in context

If S(t) is a quantity, S′(t) is its rate of growth and S′′(t) tells you whether that rate is increasing. At a point of inflexion the rate of growth is at a maximum (or minimum). Sales of a new product, the spread of a rumour and logistic populations all grow fastest at their point of inflexion.

Worked example 5Paper 2
Sales of a new game, S thousand, t weeks after launch are modelled by S=501+49e−0.5t. Find when sales are increasing most quickly.
Graph S′(t) on the GDC and find its maximum, or find the zero of S′′(t).
t=7.78 weeks, when S=25 thousand
This is the point of inflexion: before it sales accelerate, after it they slow down.
For a logistic model the inflexion is always at half the limit.
On your TI-Nspire Calculator tricks →

On the TI-Nspire Graphs page, enter f as f1, then type f2(x)=d/dx(f1(x)) and f3(x)=d/dx(f2(x)) using the template from menu → Calculus (or the derivative template key). The zeros of f3 are candidates for inflexion; menu → Analyze Graph → Inflection also finds them directly on f1. Check the sign of f3 either side.

3Explore it

The curve is y = x³ + ax² + bx. Change a and b. The curve is shaded green where it is concave-up and red where it is concave-down; the dot marks the point of inflexion, at x = −a/3.

4Common mistakes & exam tips

Common mistakes

  • Claiming a point of inflexion wherever f′′(x)=0 without checking the sign change.
  • Saying the second derivative test proves a point of inflexion when f′′=0. It is inconclusive.
  • Confusing concave-up (bending upwards, f′′>0) with increasing (f′>0).
  • Forgetting the product or chain rule when differentiating the second time.
  • Giving only the x-coordinate when the question asks for the point.

Exam tips

  • Write the conclusion with the reason: "f′′(3)=6>0, so a minimum".
  • For "justify that it is a point of inflexion", show f′′ has different signs either side.
  • In context, an inflexion is "where the rate of change is greatest (or least)".
  • The GDC finds inflexions quickly, but questions asking "show" need the algebra.

5Practice

Fluency questions build the basics. Problem-solving questions make you think about which method to use.

FluencyP1
Find f′′(x) for f(x)=2x4−3x2+x.
24x2−6
FluencyP2
f′(2)=0 and f′′(2)=−5. What is at x=2?
A local maximum.
FluencyP3
Find the x-coordinates of the points of inflexion of y=x4−6x2.
12x2−12=0⇒x=±1 (sign changes at both)
FluencyP4
State the interval where y=x3−3x is concave-down.
f′′=6x<0: x<0
Problem solvingP5
Show that y=ex is concave-up everywhere.
d2ydx2=ex>0 for all x.
Problem solvingP6
A population P=10001+9e−0.4t. Find the population when it is growing fastest.
At the inflexion, P=500 (when t=ln90.4=5.49).

6Exam-style questions

Original questions in the style of the IB Maths AI HL exam, with full markschemes. Your GDC is allowed throughout: use it, but write down what you entered and what it gave you. Give yourself about 1 minute per mark.

Question 1Paper 1[7 marks]

Let f(x)=x4−4x3.

  • (a)Find f′(x) and f′′(x).[2]
  • (b)Show that the stationary point at x=3 is a minimum.[2]
  • (c)Find the coordinates of the points of inflexion of the graph of f, justifying your answer.[3]
(a)
f′(x)=4x3−12x2A1
f′′(x)=12x2−24xA1
(b)
f′(3)=108−108=0A1
f′′(3)=36>0, so a minimumR1
(c)
12x(x−2)=0⇒x=0, 2(M1)
f′′ changes sign at bothR1
(0,0) and (2,−16)A1
Question 2Paper 2[7 marks]

The number of people, P, who have heard a rumour t hours after it starts is modelled by P(t)=8001+15e−0.3t.

  • (a)Write down the number of people who heard the rumour at the start.[1]
  • (b)Find the time at which the rumour is spreading fastest.[3]
  • (c)Find the number of people who have heard the rumour at this time.[1]
  • (d)Describe how the rate of spread changes before and after this time.[2]
(a)
50A1
(b)
maximum of P′(t), or zero of P′′(t)(M1)(M1)
t=9.03 hoursA1
(c)
400A1
(d)
before: the rate of spread is increasing (concave-up)R1
after: the rate of spread is decreasing (concave-down)R1
Question 3Paper 1[5 marks]

Let f(x)=ex(x2−3).

  • (a)Show that f′′(x)=ex(x2+4x−1).[2]
  • (b)Find the x-coordinates of the points of inflexion.[2]
  • (c)Write down the interval on which the graph of f is concave-down.[1]
(a)
f′(x)=ex(x2−3)+2xex=ex(x2+2x−3)M1
f′′(x)=ex(x2+2x−3)+ex(2x+2)=ex(x2+4x−1)A1AG
(b)
x2+4x−1=0(M1)
x=−4.24, 0.236A1
(c)
−4.24<x<0.236A1

7Check yourself

Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.

8Past-paper practice

Once you are scoring well above, try these real IB Maths AI HL questions on this topic. Your school or teacher will have the papers.

PaperQuestionFocusDifficulty
Nov 2025 · Paper 1Q10Points of inflexion from the derivative★★☆
May 2022 · TZ1 · Paper 1Q8First and second derivatives of y=2x(4−ex); a point of inflexion★★☆
Nov 2023 · Paper 1Q9Modelling waves: derivatives in context★★☆
Spotted a mistake on this page?Tell me and I'll fix it. The button opens an email with this page already named, or write to jamesashtonmaths@gmail.com.
Report a mistake