The second derivative reveals which way the graph of a function bends. If the second derivative is positive, the graph is concave up (holds water); if negative, it is concave down (spills water). A point where the concavity changes direction is called a point of inflection.
| Condition | Conclusion |
|---|---|
| f''(x)>0 on | Graph is concave up on |
| f''(x)<0 on | Graph is concave down on |
| Concavity changes at and continuous there | is an inflection point |
Concavity
The sign of the derivative tells us whether a function is increasing or decreasing, but it does not tell us which way the graph bends. Two increasing functions can look very different depending on whether their graphs bend upward or downward.

When a graph is concave up on an interval, the slope of the tangent line is increasing from left to right. When it is concave down, the slope is decreasing.


Informally:
- A function is concave up on if its graph over "holds water."
- A function is concave down on if its graph "spills water."
Assume is a differentiable function on an interval .
(a) The graph of is concave up if f' is increasing on .
(b) The graph of is concave down if f' is decreasing on .
Since f'' is the derivative of f', the Increasing/Decreasing Test applied to f' gives us:
Let be a function whose second derivative exists at each point of an interval .
(a) If f''(x)>0 for every in , then the graph of is concave up on .
(b) If f''(x)<0 for every in , then the graph of is concave down on .
Examples
Determine where the following functions are concave up and where they are concave down.
(a)
(b)
(c)
Solution
**(a)** f'(x)=4x-5\Rightarrow f''(x)=4. Since f''(x)=4>0 for all , the function is concave up on .


Determine where is concave up and where it is concave down.
Solution
Let : y'=e^{-x^2}(-2x)=-2xe^{-x^2}. Using the product rule with and : \begin{aligned} y'' &= (-2)e^{-x^2}+(-2x)(-2xe^{-x^2}) \\ &= -2e^{-x^2}+4x^2e^{-x^2} \\ &= 4e^{-x^2}\!\left(x^2-\frac{1}{2}\right). \end{aligned} Since , the sign of y'' is determined by:

Concavity and Tangent Lines
If a function is concave up on an interval, its graph lies above all of its tangent lines on that interval. If it is concave down, the graph lies below all of its tangent lines.
Let be differentiable on an open interval and be an arbitrary point of . Show that if is concave up on , the curve lies above the tangent line at , except at itself.
Solution
The tangent line at is L(x)=f(x_0)+f'(x_0)(x-x_0). We need to show for all in . Assume . By the Mean Value Theorem applied to , there exists such that: \frac{f(x)-f(x_0)}{x-x_0}=f'(c). Since is concave up, f' is increasing, and implies f'(c)>f'(x_0). Therefore: f'(x_0)<\frac{f(x)-f(x_0)}{x-x_0}. Multiplying both sides by : f'(x_0)(x-x_0)Points of Inflection
Most curves are concave up on some intervals and concave down on others. A point where the direction of concavity changes is called an inflection point.

We say is an inflection point of the graph of if:
(a) is continuous at ,
(b) the direction of concavity changes (from upward to downward or from downward to upward) at .

At an inflection point, if f''(x_0) is continuous, the sign of f'' changes there, so f''(x_0) must equal zero by the Intermediate Value Theorem. Even without continuity of f'', if f''(x_0) exists it must be zero. However, f''(x_0) may simply not exist at an inflection point.
If is an inflection point of the graph of , then either f''(x_0)=0 or f''(x_0) does not exist.
Caution: The converse is false. Even if f''(x_0)=0, the point need not be an inflection point.
Examples of Inflection Points
Find the inflection points of:
(a)
(b)
(c)
Solution
**(a)** We saw f''(x)=4>0 everywhere, so concavity never changes. The graph has **no inflection points**.


Determine the concavity and find the inflection points of on .
Solution
f'(x)=1+\sin x\Rightarrow f''(x)=\cos x. when , so is concave up on . when or , so is concave down on those intervals. The concavity changes at :
Find the inflection points of .
Solution
f'(x)=\frac{1}{3}x^{-2/3}\Rightarrow f''(x)=-\frac{2}{9}x^{-5/3}=-\frac{2}{9\sqrt[3]{x^5}}. Although f''(0) does not exist: f''(x)>0 when (concave up on ), f''(x)<0 when (concave down on ). Since the concavity changes at and is continuous there, $(0,0)$ is an inflection point.
Find the inflection points of
f(x)=\begin{cases}x^2 & \text{if }x\geq0\\ -x^2 & \text{if }x<0.\end{cases}Solution
f'(x)=\begin{cases}2x & x\geq0\\ -2x & x<0,\end{cases}\qquad f''(x)=\begin{cases}2 & x>0\\ -2 & x<0.\end{cases} is concave down on and concave up on . The function is continuous at , so $(0,0)$ is an inflection point even though f''(0) does not exist.
Determine the inflection points of .
Solution
f'(x)=4x^3\Rightarrow f''(x)=12x^2. f''(x)=12x^2\geq0 for all , with equality only at . The concavity does not change. So even though f''(0)=0, the point $(0,0)$ is **not** an inflection point.
How to Find Inflection Points
To find inflection points of :
- Find f''(x).
- Find all where f''(x_0)=0 or f''(x_0) does not exist.
- Check whether the sign of f'' actually changes at each candidate and whether is continuous there.
- If both conditions hold, is an inflection point.
Note on definitions. Some textbooks require a tangent line to exist at an inflection point. Under the definition used in this book, continuity alone (not differentiability) is required; inflection points with vertical tangents are permitted.