James Ashton MathsFREE MATHEMATICS. OPEN TO EVERYONE.
HomeIB DiplomaA levelAbout
A level Maths › Pure · Differentiation › Stationary points & optimisation

Stationary points & optimisation

The second derivative, maximum and minimum points, points of inflexion, the links between the graphs of f, f′ and f″, and optimisation problems.

Pure 7.3Years 1 & 2≈ 65 min to work through
Before you start: differentiation. See Introduction to differentiation and Differentiation rules.

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 and use it to describe concavityY1/Y2
  • Find stationary points and classify them as maximum or minimumY1/Y2
  • Find points of inflexionY1/Y2
  • Relate the graphs of f, f′ and f″Y1/Y2
  • Solve optimisation problemsY1/Y2

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

At the top of a hill or the bottom of a valley on a curve, the tangent is horizontal, so the gradient is 0. Setting f′(x)=0 finds these points, and that lets you solve real problems where something must be made as large or as small as possible.

2.1 Stationary points

A stationary point is where the gradient is zero: for a moment the curve is neither going up nor going down. There are three types. At a local maximum, the gradient changes from positive to negative (up, flat, down). At a local minimum, it changes from negative to positive (down, flat, up). At a stationary point of inflexion, the gradient is zero but has the same sign on both sides.

  • Stationary points are where f′(x)=0.
  • Second derivative test: f″(x)<0: local maximum. f″(x)>0: local minimum. (If f″(x)=0, use a sign table of f′.)
  • f″(x)>0: concave up. f″(x)<0: concave down.
  • A point of inflexion is where the concavity changes: f″(x)=0 and f″ changes sign.
Why does the second derivative test work?

f′′(x) is the rate of change of the gradient. At a maximum, the gradient goes from positive, through zero, to negative, so it is decreasing: f′′(x)<0. At a minimum, the gradient goes from negative to positive, so it is increasing: f′′(x)>0. If f′′(x)=0, the test gives no answer, so check the sign of f′(x) on either side instead.

The second derivative also describes the shape of the curve. Where f′′(x)>0 the curve is concave up (like a cup), and where f′′(x)<0 it is concave down (like a cap). A point of inflexion is where the concavity changes, so f′′(x)=0 there and changes sign.

Worked example 1No calculator
f(x)=x3−3x2−9x+2. Find and classify the stationary points, and find the point of inflexion.
f′(x)=3x2−6x−9=3(x−3)(x+1)=0, so x=3 or x=−1.
f″(x)=6x−6. f″(3)=12>0: minimum (3,−25). f″(−1)=−12<0: maximum (−1,7).
f″(x)=0 at x=1, and f″ changes sign there: point of inflexion (1,−9).
Check the sign change: f″(0)<0 and f″(2)>0.
Worked example 2No calculator
Find the stationary points of f(x)=x4−4x3 and describe them.
f′(x)=4x3−12x2=4x2(x−3)=0: x=0 or x=3.
f″(x)=12x2−24x. f″(3)=36>0: minimum (3,−27).
f″(0)=0, so test signs: f′(−1)<0 and f′(1)<0. No change of sign: (0,0) is a stationary point of inflexion.
When the second derivative test fails, use the sign of f′ either side.

2.2 Optimisation

Businesses want the largest profit; engineers want the least material; a farmer wants the largest field for a fixed amount of fencing. When the quantity can be written as a function, its maximum or minimum is at a stationary point, so differentiation finds the best possible value.

Write the quantity to be maximised or minimised as a function of one variable (use the constraint to eliminate the other), differentiate, set equal to 0, and check it is a maximum or minimum. Answer the question in context.

Most optimisation questions follow the same plan. Draw a diagram and label the unknowns. Write an equation for the constraint (the fixed amount, such as the fencing) and an expression for the quantity to optimise. Use the constraint to write that quantity in terms of a single variable. Then differentiate, solve dydx=0, and check that you have a maximum or minimum, as required. Finally, answer the question that was asked, with units.

Worked example 3No calculator
An open box is made from a 12 cm by 12 cm sheet by cutting squares of side x cm from each corner. Find the maximum volume.
V=x(12−2x)2, 0<x<6.
V′=(12−2x)2−4x(12−2x)=(12−2x)(12−6x)=0, so x=2 (x=6 gives no box).
V=2(8)2=128 cm³. A sign check (or a sketch) confirms this is a maximum.
Worked example 4No calculator
A farmer has 100 m of fencing to make a rectangular pen against a wall (so only three sides need fencing). Find the maximum area.
Let the sides perpendicular to the wall be x: area A=x(100−2x).
A′=100−4x=0, so x=25. A″=−4<0: a maximum.
A=25×50=1250 m²
Worked example 5 (faded)No calculator
Find the x-coordinate of the point of inflexion of y=2x3+3x2−12x+1.
y″=12x+6=0, so x= −1/2  ← you work this out
On your Casio ClassWiz Calculator tricks →

For a polynomial, solve f′(x)=0 with the Equation app → Polynomial. Check each point with the d/dx template: the gradient should be 0 there, and the sign of the gradient either side tells you whether it is a maximum or a minimum.

3Explore it

Change the cubic f(x)=ax3+bx2+cx. Compare f, f′ and f″: stationary points of f are zeros of f′, and the point of inflexion is the zero of f″.

4Common mistakes & exam tips

Common mistakes

  • Stopping at x-values when the question asks for coordinates.
  • Saying f″(x)=0 proves a point of inflexion: you must show a change of sign.
  • Forgetting to check the answer is a maximum (not a minimum) in an optimisation question.
  • Not using the constraint to write the quantity in one variable.
  • Ignoring the domain (e.g. 0<x<6 for the box).

Exam tips

  • Classify with f″, or with a sign table of f′ if f″=0.
  • On the graph of f′, f is increasing where f′ is above the axis, and f has a stationary point where f′ crosses the axis.
  • In optimisation, the last line should answer the question with units.

5Practice

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

FluencyP1
Find the stationary point of y=x2−6x+1 and state its nature.
y′=2x−6=0: (3,−8), minimum since y″=2>0.
FluencyP2
Find f″(x) for f(x)=x4−2x2.
12x2−4
FluencyP3
f(x)=2x3+3x2−12x+1. Find the stationary points.
f′(x)=6(x+2)(x−1): (−2,21) maximum, (1,−6) minimum.
FluencyP4
Where is y=x3 concave up?
y″=6x>0, so x>0.
Problem solvingP5
A closed cylindrical can has volume 500 cm³. Find the radius that minimises its surface area.
h=500πr2, S=2πr2+1000r. S′=4πr−1000r2=0⇒r=4.30 cm (minimum area 349 cm²).
Problem solvingP6
Two positive numbers add to 20. Find the maximum possible value of their product.
P=x(20−x), P′=20−2x=0, x=10: maximum 100.

6Exam-style questions

Original exam-style questions with full markschemes. Edexcel papers allow a calculator throughout, but questions labelled “No calculator” practise exact working. Allow about 1.2 minutes per mark.

Question 1No calculator[7 marks]

f(x)=2x3+3x2−12x+1.

  • (a)Find the coordinates of the stationary points.[4]
  • (b)Classify each stationary point.[2]
  • (c)Find the x-coordinate of the point of inflexion.[1]
(a)
f′(x)=6x2+6x−12A1
f′(x)=0⇒6(x+2)(x−1)=0M1
(−2,21)A1
(1,−6)A1
(b)
f″(x)=12x+6; f″(−2)<0: maximumA1
f″(1)>0: minimumA1
(c)
x=−12A1
Question 2No calculator[6 marks]

A rectangular sheet 12 cm by 12 cm has a square of side x cm cut from each corner and is folded into an open box.

  • (a)Show that the volume is V=x(12−2x)2.[1]
  • (b)Find the value of x that gives the maximum volume.[4]
  • (c)Find the maximum volume.[1]
(a)
Base (12−2x) by (12−2x), height xR1 AG
(b)
V′=(12−2x)2−4x(12−2x)M1 A1
(12−2x)(12−6x)=0M1
x=2 (x=6 rejected)A1
(c)
128 cm³A1
Question 3Calculator[5 marks]

A closed cylinder has volume 500 cm³.

  • (a)Show that its surface area is S=2πr2+1000r.[2]
  • (b)Find the radius that minimises S, and the minimum surface area.[3]
(a)
πr2h=500⇒h=500πr2M1
S=2πr2+2πr×500πr2A1 AG
(b)
S′=0 or calculator minimumM1
r=4.30 cmA1
S=349 cm²A1

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're scoring well above, try real Edexcel A level questions. Past papers and markschemes are on the Pearson website.

PaperQuestionFocusDifficulty
Nov 2021 · Paper 2Q5Verify a stationary point and show it is a point of inflection★☆☆
June 2025 · Paper 1Q7Quartic with given turning points: where it is increasing★★☆
Specimen · Paper 1Q15Turning points of a trig–exponential quotient★★★
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