# Reading: Second Derivative and Concavity

Graphically, a function is**concave up**if its graph is curved with the opening upward (figure 1a). Similarly, a function is

**concave down**if its graph opens downward (figure 1b).

## Example: An Epidemic

Suppose an epidemic has started, and you, as a member of congress, must decide whether the current methods are effectively fighting the spread of the disease or whether more drastic measures and more money are needed. In figure 2,*f*(

*x*) is the number of people who have the disease at time

*x*, and two different situations are shown. In both figure 2a and figure 2b, the number of people with the disease,

*f*(now), and the rate at which new people are getting sick,

*f*′(now), are the same. The difference in the two situations is the concavity of

*f*, and that difference in concavity might have a big effect on your decision. In figure 2a,

*f*is concave down at "now," the slopes are decreasing, and it looks as if it’s tailing off. We can say “

*f*is increasing at a decreasing rate.” It appears that the current methods are starting to bring the epidemic under control. In figure 2b,

*f*is concave up, the slopes are increasing, and it looks as if it will keep increasing faster and faster. It appears that the epidemic is still out of control. The differences between the graphs come from whether the

**derivative**is increasing or decreasing. The derivative of a function

*f*is a function that gives information about the slope of

*f*.

**The derivative tells us if the original function is increasing or decreasing.**Because

*f*′ is a function, we can take its derivative. This second derivative also gives us information about our original function

*f*. The second derivative gives us a mathematical way to tell how the graph of a function is curved.

**The second derivative tells us if the original function is concave up or down.**

## Second Derivative

Let*y*=

*f*(

*x*). The

**second derivative of f**is the derivative of

*y*′

*=*

*f*′(

*x*). Using prime notation, this is

*f*″(

*x*) or

*y″*. You can read this aloud as “y double prime.” Using Leibniz notation, the second derivative is written [latex] \frac{d^2y}{dx^2} [/latex] or [latex] \frac{d^2}{dx^2} [/latex]. This is read aloud as “the second derivative of

*f*. If

*f*″(

*x*) is positive on an interval, the graph of

*y*=

*f*(

*x*) is

**concave up**on that interval

**.**We can say that

*f*is increasing (or decreasing)

**at an increasing rate**. If

*f*″(

*x*) is negative on an interval, the graph of

*y*=

*f*(

*x*) is

**concave down**on that interval

**.**We can say that

*f*is increasing (or decreasing)

**at a decreasing rate.**

### Example

Find*f*″(

*x*) for

*f*(

*x*) = [latex]{3x}^{7}[/latex]

#### Solution

First, we need to find the first derivative: [latex-display]{f'(x)} = {21x}^{7}[/latex-display] Then we take the derivative of that function: [latex-display] f\prime\prime (x) = \frac{d}{dx} (f \prime (x)) = \frac{d}{dx}(21x^6) = 126x^5 [/latex-display] If*f*(

*x*) represents the position of a particle at time

*x*, then

*v*(

*x*) =

*f*′(x) will represent the velocity (rate of change of the position) of the particle and a(x) = v '(x) = f ''(x) will represent the acceleration (the rate of change of the velocity) of the particle.

### **Example**

The height (feet) of a particle at time t seconds is[latex]{t}^{3}-{4t}^{2}+{8t}[/latex]. Find the height,velocity, and acceleration of the particle when t = 0, 1, and 2 seconds.
### **Solution**

[latex]{f(t)}={t}^{3}-{4t}^{2}+{8t}[/latex] so f(0) = 0 feet, f(1) = 5 feet, and f(2) = 8 feet.
The velocity is[latex]{v(t)}={f'(t)}={3t}^{2}-{8t}+{8}[/latex] so v(0) = 8 ft/s , v(1) = 3 ft/s, and v(2) = 4 ft/s. At each of these times the velocity is positive and the particle is moving upward, increasing in height.
The acceleration is a(t) = 6t – 8 so a(0) = –8[latex]\frac{{\text{ft}}}{{{s}^{2}}}[/latex] , a(1) = –2[latex]\frac{{\text{ft}}}{{{s}^{2}}}[/latex] and a(2) = 4[latex]\frac{{\text{ft}}}{{{s}^{2}}}[/latex] .
### Inflection Points

** ****Definition **

An **inflection point**is a point on the graph of a function where the concavity of the function changes from concave up to down or from concave down to up.

**Example**

Which of the labeled points in Fig.2 are inflection points?
**Solution**

The concavity changes at points b and g. At points a and h, the graph is concave up on either side, so the concavity does not change. At points c and f, the graph is concave down on either side. And at point e, even though the graph looks strange there, the graph is concave down on both sides – the concavity does not change.
Inflection points happen when the concavity changes. Because we know the connection between the concavity of a function and the sign of its second derivative, we can use this to find inflection points.
**Working Definition**

An **inflection point**is a point on the graph where the second derivative changes sign. In order for the second derivative to change signs, it must either be zero or be undefined. So to find the inflection points of a function we only need to check the points where f ''(x) is 0 or undefined. Note that it is not enough for the second derivative to be zero or undefined. We still need to check that the sign of f’’ changes sign. The functions in the next example illustrate what can happen.

**Example**

Let[latex]{f(x)}={x}^{3}[/latex] ,[latex]{g(x)}={x}^{4}[/latex] and[latex]{h(x)}={x}^{\frac{{1}}{{3}}}[/latex] (Fig. 20). For which of these functions is the point (0,0) an inflection point?
**Solution**

Graphically, it is clear that the concavity of [latex]{f(x)}={x}^{3}[/latex] and h(x) =[latex]{x}^{\frac{{1}}{{3}}}[/latex] changes at (0,0), so (0,0) is an inflection point for f and h. The function g(x) = x4 is concave up everywhere so (0,0) is not an inflection point of g.
We can also compute the second derivatives and check the sign change.
If [latex]{f(x)}={x}^{3}[/latex] ,
then[latex]{f'(x)}={3x}^{2}[/latex]
and f ''(x) = 6x
The only point at which f ''(x) = 0 or is undefined (f ' is not differentiable) is at x = 0.
If x < 0, then f ''(x) < 0 so f is concave down.
If x > 0 , then f ''(x) > 0 so f is concave up. At x = 0 the concavity changes so the point (0,f(0)) = (0,0) is an inflection point of x3 .
If g(x) = x4 , then g '(x) = 4x3 and g ''(x) = 12x2 . The only point at which g ''(x) = 0 or is undefined is at x = 0. If x < 0, then g ''(x) > 0 so g is concave up. If x > 0 , then g ''(x) > 0 so g is also concave up. At x = 0 the concavity **does not change**so the point (0, g(0)) = (0,0) is

**not an inflection point**of x4 . Keep this example in mind!. If h(x) = x1/3 , then h '(x) = x–2/3 and h ''(x) = – x–5/3 . h'' is not defined if x = 0, but h ''(negative number) > 0 and h ''(positive number) < 0 so h changes concavity at (0,0) and (0,0) is an inflection point of h.

**Example:**Sketch the graph of a function with f(2) = 3, f '(2) = 1, and an inflection point at (2,3) .

**Solution:**Two solutions are given in Fig. 21.

## Licenses & Attributions

### CC licensed content, Shared previously

- Business Calculus.
**Provided by:**Washington State Colleges**Authored by:**Dale Hoffman and Shana Calaway.**Located at:**https://docs.google.com/file/d/0B1lkHWwO61QEM0gwOFhES2N5Tlk/edit.**License:**CC BY: Attribution.