Watch on Instagram

Math Bytes · Calculus · Episode 14 · Analyzing functions

Concavity

A curve is concave up where it bends like a smile and concave down where it bends like a frown. The second derivative tells you which: f″ > 0 means concave up, f″ < 0 means concave down. For f(x) = x³, f″(x) = 6x changes sign at x = 0, so (0, 0) is an inflection point.

Posted · About a 1 minute watch, 3 minute read · Take the quiz

Smiling or frowning?

The first derivative tells you whether a graph goes up or down. Concavity is about something else: which way the graph bends.

  • Concave up (∪): the curve bends upward, like a smile or a cup that holds water.
  • Concave down (∩): the curve bends downward, like a frown or an upside-down cup.

A curve can rise while it frowns, or fall while it smiles. Concavity is about the bend, not the direction.

The second derivative tells you which

  • f″(x) > 0 → concave up (smiling)
  • f″(x) < 0 → concave down (frowning)

Why? f″ is the derivative of f′, the slope. If f″ is positive, the slope keeps going up. Slide a tangent line along the bottom of a cup and its slope ticks up: −2, −1, 0, 1, 2. A slope that keeps rising makes the curve keep bending upward. If f″ is negative, the slope keeps falling and the curve bends downward.

A worked example: f(x) = x³

Take the derivative twice with the power rule:

f(x) = x³

f′(x) = 3x²

f″(x) = 6x

  • Left of zero (x < 0), 6x is negative: the graph is concave down, frowning.
  • Right of zero (x > 0), 6x is positive: the graph is concave up, smiling.

The concavity switches at x = 0, so the point (0, 0) is an inflection point.

Finding inflection points

  1. Find f″(x).
  2. Find where f″(x) = 0 (or where it doesn't exist).
  3. Check that the sign of f″ really changes there. Only then is it an inflection point.

Try it yourself

  1. f(x) = x³ − 6x². Where is it concave up, where is it concave down, and where is the inflection point?
  2. Is f(x) = x² concave up or concave down? Does it have an inflection point?

(Answers: 1. f′(x) = 3x² − 12x, f″(x) = 6x − 12. That's negative for x < 2 (concave down) and positive for x > 2 (concave up), so the inflection point is at x = 2, the point (2, −16). 2. f″(x) = 2, which is always positive, so x² is concave up everywhere and has no inflection point.)

Good to know

  • Strictly, concave up on an interval means f′ is increasing there, and concave down means f′ is decreasing. f″ > 0 and f″ < 0 are the quick tests for that.
  • An inflection point is a point where f is continuous and the concavity changes.
  • f″ = 0 alone isn't enough. f(x) = x⁴ has f″(0) = 0, but f″(x) = 12x² is never negative, so the graph is concave up on both sides and x = 0 is not an inflection point. Always check the sign change.
  • "Smile" and "frown" are a memory aid, not the definition.

Answer to the comment question

f(x) = x³ − 9x². At what x is the inflection point? x = 3. The first derivative is f′(x) = 3x² − 18x, and the second is f″(x) = 6x − 18, which is 0 at x = 3. f″ is negative before 3 (concave down) and positive after 3 (concave up), so the concavity really does switch: the inflection point is at x = 3, the point (3, −54).

Test your knowledge

Quick quiz: Concavity

4 multiple-choice questions. Pick one answer for each, then check how you did.

1What does f″(x) > 0 on an interval tell you about the graph of f?
2For f(x) = x³, what is f″(x)?
3What is an inflection point?
4f(x) = x⁴ has f″(0) = 0. Is x = 0 an inflection point?

Sources

Video transcript

Is this curve smiling or frowning?

Concave up means the curve bends like a smile. Concave down means it bends like a frown.

The second derivative tells you which. Positive means smiling. Negative means frowning.

Why? A positive second derivative means the slope keeps going up, so the curve keeps bending upward.

Try f(x) = x³. The first derivative is 3x². The second is 6x.

Left of 0, 6x is negative: frowning. Right of 0, it's positive: smiling. Where it switches, at 0, is an inflection point.

Your turn. f(x) = x³ − 9x². At what x is the inflection point? Comment your answer below!

That's your byte.

More from Calculus

All Calculus lessons