# 4.4: Concavity and Curve Sketching

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

We know that the sign of the derivative tells us whether a function is increasing or decreasing; for example, when \(f'(x)>0\), \(f(x)\) is increasing. The sign of the second derivative \(f''(x)\) tells us whether \(f'\) is increasing or decreasing; we have seen that if \(f'\) is zero and increasing at a point then there is a local minimum at the point, and if \(f'\) is zero and decreasing at a point then there is a local maximum at the point. Thus, we extracted information about \(f\) from information about \(f''\).

We can get information from the sign of \(f''\) even when \(f'\) is not zero. Suppose that \(f''(a)>0\). This means that near \(x=a\), \(f'\) is increasing. If \(f'(a)>0\), this means that \(f\) slopes up and is getting steeper; if \(f'(a) < 0\), this means that \(f\) slopes down and is getting *less *steep. The two situations are shown in Figure \(\PageIndex{1}\). A curve that is shaped like this is called **concave up.**

Now suppose that \(f''(a) < 0\). This means that near \(x=a\), \(f'\) is decreasing. If \(f'(a)>0\), this means that \(f\) slopes up and is getting less steep; if \(f'(a) < 0\), this means that \(f\) slopes down and is getting steeper. The two situations are shown in Figure \(\PageIndex{2}\). A curve that is shaped like this is called **concave down.**

If we are trying to understand the shape of the graph of a function, knowing where it is concave up and concave down helps us to get a more accurate picture. Of particular interest are points at which the concavity changes from up to down or down to up; such points are called **inflection points.** If the concavity changes from up to down at \(x=a\), \(f''\) changes from positive to the left of \(a\) to negative to the right of \(a\), and usually \(f''(a)=0\). We can identify such points by first finding where \(f''(x)\) is zero and then checking to see whether \(f''(x)\) does in fact go from positive to negative or negative to positive at these points. Note that it is possible that \(f''(a)=0\) but the concavity is the same on both sides; \( f(x)=x^4\) at \(x=0\) is an example.

Example \(\PageIndex{1}\)

Describe the concavity of \( f(x)=x^3-x\).

**Solution**

The first dervative is \( f'(x)=3x^2-1\) and the second is \(f''(x)=6x\).

Since \(f''(0)=0\), there is potentially an inflection point at zero. Since \(f''(x)>0\) when \(x>0\) and \(f''(x) < 0\) when \(x < 0\) the concavity does change from down to up at zero, and the curve is concave down for all \(x < 0\) and concave up for all \(x>0\).

Note that we need to compute and analyze the second derivative to understand concavity, so we may as well try to use the second derivative test for maxima and minima. If for some reason this fails we can then try one of the other tests.