Concavity and points of inflection - the second derivative, step by step
· 17 min read
In short
A function is convex (concave up) where its graph bends upwards like a bowl and lies above its tangents, and concave (concave down) where it bends downwards like a cap and lies below them. The sign of the second derivative tells you which - f″ > 0 means convex, f″ < 0 concave. A point of inflection is where the bend changes. There f″ changes sign, and the graph crosses its tangent.
Words to know
- Convex (concave up)
- Bending upwards like a bowl, ∪. The graph lies above its tangents and its slope keeps increasing.
- Concave (concave down)
- Bending downwards like a cap, ∩. The graph lies below its tangents and its slope keeps decreasing.
- Second derivative
- f″, the derivative of the derivative. It tells you how fast the slope f′ changes.
- Point of inflection
- A point of the graph where it changes from convex to concave or the other way round.
- Stationary point of inflection
- A point of inflection with a horizontal tangent (f′ = 0), such as the origin on y = x³. It is neither a maximum nor a minimum.
What do you think?
The tangent to at the point is the -axis itself. Where does the graph lie compared with this tangent?
For the cube is negative, so the graph is below the axis. For it is positive, so the graph is above it. The graph passes through its own tangent: on the left it bends like a cap, on the right like a bowl. That switch is called a point of inflection.
The idea: watch which way the tangent turns
Every curved graph bends one of two ways. Where it bends upwards like a bowl (), it is called convex (or concave up). Where it bends downwards like a cap (), it is concave (or concave down).
You can tell the two apart with a ruler. Lay it along the graph as a tangent. On a bowl, the graph lies above the tangent. On a cap, the graph lies below it.
Now slide the tangent along the graph. On a bowl, it turns anticlockwise: its slope keeps growing. On a cap, it turns clockwise: its slope keeps falling. The slope is the derivative , and how fast it changes is the derivative of - the second derivative . So means a bowl and means a cap.
A point of inflection is where the graph switches from one to the other. There the tangent goes right through the graph.
A car on the graph, step by step
Go through the animation with the buttons or the arrow keys. A small car drives along the graph and always points along the tangent. The cap is red and the bowl is teal.
f(x) = x³ − 3x² + 4
This is the graph of f(x) = x³ − 3x² + 4. Think of it as a road, with a small car driving along it from left to right. The road climbs to a top at (0, 4), drops to a bottom at (2, 0) and climbs again. Up to x = 1 it bends like a cap (∩), after that like a bowl (∪).
Notice what happened to the slope: at , then , and , then back up to and at . The point of inflection is where the slope stops falling and starts rising - the lowest point of the graph of .
Try it yourself: the tangent and the second derivative
Pick a function and move the point . The upper picture shows the graph with the tangent at and the gap between them. The lower one shows the second derivative: teal where , red where .
convex (∪)concave (∩)tangent
The second derivative
f″ > 0f″ < 0
- Slope of the tangent, f′(x₀)
- 0
- f″(x₀) = 6x − 6
- −6
- Near x₀ the graph lies
- below the tangent
- At x₀ the function is
- concave (∩)
What to notice:
- for , the gap is red on one side and teal on the other only at , where crosses zero,
- for , the tangent at is horizontal and still cuts through the graph. That is a stationary point of inflection: neither a maximum nor a minimum,
- for , there are two points of inflection, at and . Between them the graph is concave,
- for , , but the lower graph only touches the axis. The sign does not change, so there is no point of inflection: the graph is convex everywhere, and is its minimum.
Definitions and tests
Convex and concave. Let be differentiable on an interval.
- is convex (concave up) there if its graph lies above each of its tangents on that interval. Then is increasing.
- is concave (concave down) there if its graph lies below each of its tangents. Then is decreasing.
The second derivative test for concavity. If for every in an interval, is convex there. If , it is concave. It does not work the other way round: is convex everywhere, yet .
Point of inflection. A point of the graph, with continuous at , where changes from convex to concave or back. If the graph has a tangent there, it passes from one side of that tangent to the other.
How to find the points of inflection:
- Work out . If exists at a point of inflection, then . So the candidates are the zeros of , and the points where does not exist.
- Check each candidate: if changes sign at , and is in the domain, it is a point of inflection. Many books also use a shortcut: and .
- Work out : a point of inflection is a point, .
The second derivative at a stationary point. If and , the graph is a bowl there, so it has a local minimum. If and , it has a local maximum. If , the test is inconclusive: , and all have , yet they have a minimum, a maximum and a stationary point of inflection.
Names. In the UK, A-level papers say convex and concave. American books say concave up and concave down. They mean the same: concave up is convex, and “concave” on its own means concave down.
Example 1: two points of inflection
Find where is convex and where it is concave, and find its points of inflection.
Step 1. Work out the first derivative
We differentiate each term.
Step 2. Work out the second derivative
We differentiate again.
Step 3. Find the zeros of the second derivative
We set and solve.
Step 4. Check the sign on each side
We substitute one number from each interval into .
The sign changes at and at , so both are points of inflection.
Step 5. Work out the heights
We substitute both values into .
So the points are and .
Answer
is convex for and for , and concave for . Its points of inflection are and : the graph looks like a W with a cap in the middle.
Example 2: when is the news spreading fastest?
is the number of people (in thousands) who have heard a piece of news hours after it came out, for . When is the news spreading fastest?
Step 1. Write down the speed of spreading
How fast the news spreads is the rate of change of , its derivative.
Step 2. Differentiate the speed
The speed is greatest where it stops rising and starts falling, so we look at its derivative.
Step 3. Find where the second derivative is zero
We set .
Step 4. Check the sign
Before , : the news spreads faster and faster. After it, : more and more slowly.
So is the point of inflection of , and the speed is greatest there.
Step 5. Work out the speed and the number of people
We substitute into and into .
Answer
The news spreads fastest 3 hours after it comes out: 27 thousand people an hour. By then 54 thousand have heard it - half of the thousand reached after 6 hours.
Your turn
Find where is convex and where it is concave. Find its point of inflection and the equation of the tangent there.
Hintshow
Work out , solve and check the sign on both sides. For the tangent at , use .
Solutiontry it on your own first
Step 1. Work out both derivatives
We differentiate twice.
Step 2. Find the zero of the second derivative
We set .
Step 3. Check the sign on both sides
We substitute a number from each side of .
So is convex for and concave for , and the sign changes at .
Step 4. Work out the point
We substitute into .
Step 5. Find the tangent
The slope of the tangent is . Then we put it into the equation of the tangent.
Answer
is convex for and concave for . The point of inflection is , and the tangent there is - a line through the origin.
Common mistakes
- “f″(x₀) = 0, so it is a point of inflection.” For , is at but positive on both sides. The graph is convex everywhere, and is a minimum. Always check that changes sign.
- Giving only . A point of inflection is a point of the graph. For the answer is and , not just .
- Mixing up rising and convex. The sign of tells you whether rises or falls. The sign of tells you how it bends. rises everywhere () but is concave (): it rises more and more slowly.
- A sign change where the function does not exist. For , is negative for and positive for . But is not in the domain, so there is no point of inflection.
- Mixing up the names. Concave up means convex, a bowl. If a question just says “concave”, it means a cap.
In exams and at university
In England, A-level Mathematics expects you to use the second derivative as the rate of change of the gradient, and to connect it to convex and concave sections of curves and to points of inflection. The second derivative itself is already AS content. Convex and concave sections and points of inflection come only in the full A level.
In the United States, concavity is part of both AP Calculus AB and AP Calculus BC, in Unit 5, Analytical Applications of Differentiation. Students use the second derivative to find where a graph is concave up or down, to locate points of inflection and to decide whether a critical point is a maximum or a minimum. They also connect the graphs of , and .
At university, concavity is part of first-year calculus. The open textbook Active Calculus, for example, brings it in early, in section 1.6 on the second derivative. Points of inflection and the second derivative test follow in section 3.3, among the uses of derivatives.
Check yourself
Test yourself
Where does the graph of have its point of inflection?
For , . Is a point of inflection?
A quantity is still rising, but more and more slowly. What are the signs of and ?
At , and . What does the graph have at this point?
What does the tangent do at a point of inflection?
Flashcards for review
Flip a card and say whether you knew the answer. The ones you did not know come back at the end of the deck. Why it pays to come back to them in a few days is explained in the guide Spaced repetition.
Flashcards
Question
Answer
What does it mean that is convex (concave up) on an interval?
Its graph bends like a bowl, : it lies above its tangents there, and the slope is increasing.What does it mean that is concave (concave down) on an interval?
Its graph bends like a cap, : it lies below its tangents there, and the slope is decreasing.What does the sign of tell you?
How the graph bends: on an interval means convex, means concave.What is a point of inflection?
A point of the graph where it changes from convex to concave or back. The graph crosses its tangent there.Is enough for a point of inflection?
No. must also change sign at . For , , but the graph is convex everywhere.How do you find the points of inflection of a function?
Work out , solve , check that changes sign at each solution, and work out to get the point.What is the point of inflection of ?
: changes sign at . The tangent there is , and the slope is at its lowest, .What does a point of inflection mean in a growth problem?
The moment of fastest (or slowest) growth: the rate has its maximum or minimum there. For it is , with .and . What is at ?
A local minimum: the tangent is horizontal and the graph is a bowl there. would give a local maximum.Why does have no point of inflection, although changes sign at ?
Because is not in the domain: there is no point of the graph there.
Sources
We checked the facts on this page against these sources. All of them may be reused freely: they carry an open licence or are not covered by copyright.
- Active Calculus (Matthew Boelkins, Grand Valley State University) - 1.6 The second derivative (concave up and down as f′ increasing and decreasing, the sign of f″) · CC BY-SA 4.0
- Active Calculus (Matthew Boelkins, Grand Valley State University) - 3.3 Using derivatives to identify extreme values (the second derivative test, inconclusive when f″ = 0, points of inflection where f″ is 0 or undefined) · CC BY-SA 4.0
- Dale Hoffman - Contemporary Calculus, 3.4 f″ and the Shape of f (the graph above or below its tangent, the f″ test, points of inflection, x³ and x⁴, the second derivative test for extremes) (PDF) · CC BY 3.0 US
- Wikibooks - Calculus/Extrema and Points of Inflection (the second derivative at a stationary point, f″ = 0 is not enough, y = x³ and y = x⁴) · CC BY-SA 4.0
- Wikipedia - Inflection point (the definition, f″ = 0 is necessary but not sufficient, the sign change and the f‴ test, stationary points of inflection, 1/x, f′ has an extremum there) · CC BY-SA 4.0
- Wikipedia - Concave function (concave down, the graph below its tangents) · CC BY-SA 4.0
- Wikipedia - Second derivative (concave up, also called convex) · CC BY-SA 4.0