9.9 Using Second Derivatives
A-level Maths Year 2 · Edexcel 9MA0 · Chapter 9: Differentiation
A free A-level Maths Year 2 lesson for Pearson Edexcel A level Mathematics (9MA0) from OBA School: concave and convex sections of curves, points of inflection, and the nature of stationary points. Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.
What you will learn
- Understand f ''(x) as the rate of change of the gradient
- Find where a curve is concave (f ''(x) ≤ 0) or convex (f ''(x) ≥ 0)
- Find points of inflection, checking that f ''(x) changes sign
- Prove that a function is concave or convex on an interval
Key words
- Second derivative: f ''(x) or (d²y)/dx²: the derivative of the gradient function.
- Convex: A section of curve where the gradient is increasing: f ''(x) ≥ 0. Every chord lies above the curve.
- Concave: A section of curve where the gradient is decreasing: f ''(x) ≤ 0. Every chord lies below the curve.
- Point of inflection: A point where the curve changes from concave to convex or the other way. f ''(x) changes sign there.
- Stationary point of inflection: A point of inflection where the gradient is also zero, such as the origin on y = x³.
Concave and convex
The first derivative tells you the gradient. The second derivative tells you how fast the gradient is changing. If the gradient is increasing, the curve bends upwards like a bowl (convex). If it is decreasing, the curve bends downwards like a cap (concave).
Key fact: f(x) is convex on an interval if f ''(x) ≥ 0 there, and concave if f ''(x) ≤ 0 there.
Worked example: intervals
Find where f(x) = x³ − 6x² + 9x + 1 is concave and where it is convex
f '(x) = 3x² − 12x + 9, f ''(x) = 6x − 12
6x − 12 ≥ 0 when x ≥ 2
Answer: convex for x ≥ 2, concave for x ≤ 2
The second derivative also tells you the nature of a stationary point: if f ''(a) > 0 it is a minimum, and if f ''(a) < 0 it is a maximum. Here f '(x) = 3(x − 1)(x − 3); f ''(1) = −6 gives a maximum and f ''(3) = 6 gives a minimum.
Points of inflection
At a point of inflection the curve changes from concave to convex, or from convex to concave. So f ''(x) must be zero and change sign.
Worked example: finding and checking
For y = x³ − 6x² + 9x + 1: f ''(x) = 6x − 12 = 0 when x = 2, and y = 8 − 24 + 18 + 1 = 3
f ''(1.9) = −0.6 < 0 and f ''(2.1) = 0.6 > 0: the sign changes
Answer: point of inflection at (2, 3)
Worked example: f ′′(x) = 0 is not enough
For y = x⁴: (d²y)/dx² = 12x² = 0 at x = 0
But 12x² ≥ 0 on both sides, so the curve is convex either side of the origin
Answer: no point of inflection (the origin is a minimum)
If f '(x) = 0 as well, it is a stationary point of inflection. For y = x³, f '(0) = 0, f ''(x) = 6x changes sign at 0, so the origin is a stationary point of inflection.
Exponential and trig curves
Use the product, quotient and chain rules to find the second derivative. Factorise it to see where its sign changes.
Worked example: the curve y = xeˣ
dy/dx = xeˣ + eˣ = (x + 1)eˣ
(d²y)/dx² = (x + 1)eˣ + eˣ = (x + 2)eˣ
eˣ > 0, so the sign of (d²y)/dx² is the sign of x + 2: it changes at x = −2
Answer: inflection at (−2, −2e⁻²); convex for x ≥ −2
Worked example: a trig curve
Find where f(x) = x + cos x, 0 ≤ x ≤ 2π, is convex
f ''(x) = −cos x ≥ 0 when cos x ≤ 0
Answer: convex for π/2 ≤ x ≤ 3π/2
Proving concavity or convexity
To prove a function is convex on an interval, show that f ''(x) ≥ 0 for every x in it. Explain each step: why a square, an exponential or a reciprocal is positive.
Worked example: a proof
Prove that f(x) = x ln x is convex for all x > 0
f '(x) = ln x + 1, f ''(x) = 1/x
For x > 0, 1/x > 0, so f ''(x) > 0
Answer: f(x) is convex for all x > 0
Common mistakes
- Stating a point of inflection from f ''(x) = 0 alone, without checking the sign change.
- Mixing up the words: convex is bowl shaped (gradient increasing), concave is cap shaped.
- Giving the x-coordinate only when the question asks for the point of inflection.
- Losing a factor such as eˣ when it is positive: say why it does not affect the sign.
Revision questions
Try these, then check your answers below each one.
Question 1. For which values of x is f(x) = x³ − 6x² convex? (Choose from: x ≥ 2; x ≤ 2; x ≥ 0; x ≥ 4.)
Answer: x ≥ 2
Working: f ′′(x) = 6x − 12 ≥ 0 when x ≥ 2.
Question 2. Find the x-coordinate of the point of inflection of y = x³ + 6x² + 1.
Answer: -2
Working: (d²y)/dx² = 6x + 12 = 0 at x = −2, and 6x + 12 changes sign there.
Question 3. Is the origin a point of inflection on the curve y = x⁴?
Answer: No
Working: (d²y)/dx² = 12x² ≥ 0 on both sides of 0, so there is no change from concave to convex. The origin is a minimum.
Related lessons
- Previous lesson: 9.8 Implicit Differentiation
- Next lesson: 9.10 Rates of Change
- In this chapter: 9.1 Differentiating sin x and cos x
- In this chapter: 9.2 Differentiating Exponentials and Logarithms
- In this chapter: 9.3 The Chain Rule
Continue in the full course
This lesson is section 9.9 of our free A-level Maths Year 2 course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved. Go to the full A-level Maths Year 2 course.