Understanding the Shape of Functions
A sphere rolling in a concave up (convex) bowl settles at the minimum point
A sphere rolling off a concave (down) surface demonstrates instability at the maximum
The tangent always lies below the curve. The slope of the tangents increase from negative, through zero, to positive.
The tangent always lies above the curve. The slope of the tangents decrease from positive, through zero, to negative.
When the graph curves upward like a smile
A function y = f(x) is concave up (or convex) on an interval if the graph of the function lies above all of its tangent lines on that interval. Visually, the graph curves upward, resembling the shape of a bowl or the letter "U".
For a concave up (convex) region of a curve the gradient of the curve/tangent changes from negative to positive. For this region the graph of the gradient (derivative) is increasing (from negative to positive). Hence the gradient curve has itself a positive gradient, that is, the second derivative is positive.
The primary mathematical test for concavity uses the second derivative:
The second derivative f''(x) measures the rate of change of the first derivative f'(x). When f''(x) is positive, the slope is increasing, creating the upward curve.
First derivative: f'(x) = 2x
Second derivative: f''(x) = 2
Since f''(x) = 2 > 0 for all x, the parabola y = x² is concave up (convex) everywhere. The vertex at (0,0) represents a minimum point.
Think of the concave up (convex) bowl in the animation. When the sphere is placed anywhere in the bowl, gravity pulls it toward the lowest point. This represents a stable equilibrium—any small displacement results in a force that returns the object to the minimum.
In calculus terms, at a critical point where f'(x) = 0, if f''(x) > 0, then that point is a local minimum. The concave up shape ensures that nearby points have higher function values.
The key differences between concave up (convex) and concave (down) functions:
• Graph curves upward (∪ shape)
• Slope is increasing
• Critical points are local minima
• Stable equilibrium in physical systems
• Graph lies above tangent lines
• Graph curves downward (∩ shape)
• Slope is decreasing
• Critical points are local maxima
• Unstable equilibrium in physical systems
• Graph lies below tangent lines
A function changes from concave up (convex) to concave (down) (or vice versa) at an inflection point. At these points:
First derivative: f'(x) = 3x²
Second derivative: f''(x) = 6x
• When x < 0: f''(x) < 0 (concave (down))
• When x > 0: f''(x) > 0 (concave up (convex) )
The point (0,0) is an inflection point where concavity changes.
When the graph curves downward like a frown
A function y = f(x) is concave (down) on an interval if the graph of the function lies below all of its tangent lines on that interval. Visually, the graph curves downward, resembling an upside-down bowl or the letter "∩".
For a concave (down) region of a curve as as point moves from left on x-axis (negative) to right (positive) the gradient of the curve/tangent changes from positive to small positive to zero to increasing negative (or any part of that change in gradient if there is not a turning point along the interval). << visual examples here >> Alternatively, for this region the graph of the gradient (derivative) its value is decreasing (from positive to negative). << visual examples here >> Hence the gradient curve has itself a negative gradient, that is, the second derivative is negative.
The mathematical test for concave (down) behaviour uses the second derivative:
When f''(x) is negative, the first derivative f'(x) is decreasing. This means the slope of the function is getting less positive and/or more negative, causing the "cave" to point downward.
First derivative: f'(x) = -2x
Second derivative: f''(x) = -2
Since f''(x) = -2 < 0 for all x, the inverted parabola y = -x² is concave (down) everywhere. The vertex at (0,0) represents a maximum point.
Consider the concave (down) bowl in the animation (opening downward). When the sphere is placed on top, any slight disturbance causes it to roll away. This represents an unstable equilibrium—the sphere cannot remain at the peak and will naturally move toward lower positions.
In calculus, at a critical point where f'(x) = 0, if f''(x) < 0, then that point is a local maximum. The concave (down) shape ensures that nearby points have lower function values, making the critical point a peak rather than a valley.
Maximum, minimum or something else?
Concavity is essential for classifying critical points:
This test provides a quick way to classify extrema without analyzing the first derivative on both sides of the critical point.
If the value of f '(c) is not zero but f ''(c) = 0 we can still deduce valuable information about the graph at x = c. See page: Summary of f ''(x) and curvature
An overview of second derivatives, concavity, and inflection points
The second derivative f''(x) tells us about the curvature or concavity of a function. It measures how the rate of change (first derivative) is itself changing.
An inflection point occurs where the curve changes from concave up to concave down (or vice versa).
| Condition | f'(a) | f''(a) | Classification |
| Standard minimum | = 0 | > 0 | Local minimum |
| Standard maximum | = 0 | < 0 | Local maximum |
| Flat minimum (x⁴) | = 0 | = 0 | Local minimum (check f⁽⁴⁾ > 0) |
| Flat maximum (-x⁴) | = 0 | = 0 | Local maximum (check f⁽⁴⁾ < 0) |
| Horizontal inflection (x³) | = 0 | = 0 | Inflection point (f'' changes sign) |
| Sloped inflection | ≠ 0 | = 0 | Inflection point (f'' changes sign) |
| Concave up region | any | > 0 | Curve bends upward |
| Concave down region | any | < 0 | Curve bends downward |