On this page we discuss using the second derivative to help determine what the graph of a function looks like. The techniques discussed are concavity, inflection points and the second derivative test.
Concavity
Concavity relates to how the graph is curving, either upward or downward. If a graph is curving upward, then it looks like a cup and it could hold water. The graph of \(y=x^2\) is concave upward.
If the graph is curving downward, then it looks like an arched roof and could keep you dry you in the rain. The graph of \(y=x^2\) is concave downward.
This plot shows several examples of concavity to help you get a feel for what they look like.
The concept of concavity parallels increasing and decreasing intervals. We learned that increasing and decreasing sections of a function change only at critical points. Similarly, concavity is related to the second derivative and changes only at inflection points.
Here is a quick video clip explaining this idea again.
video by PatrickJMT 

Inflection Points
We use inflection points to help us determine the where concavity changes. Basically, concavity will change only at inflection points. To find inflection points, we use a similar procedure as we did for critical points, except we us the second derivative. So we start by taking the derivative twice, set the result to zero and solve for the xvalues. We also look at values where the second derivative is not defined but the points are in the domain of the original function.
The inflection points allow us to determine concavity. We can use the following table format to organize the information. We assume here that we have a function \(g(x)\) with break points at \(x=c_1\), \(x=c_2\) and \(x=c_3\) and the function is defined for \(x < c_1\) and for \(x > c_3 \).
Table Format For Inflection Points  

Interval 
\( \infty < x < c_1 \) 
\( c_1 < x < c_2 \) 
\( c_2 < x < c_3 \) 
\( c_3 < x < \infty \) 
Test xvalue 

Sign of \(g''(x)\) 

Conclusion 
Possible conclusions include concave upward or concave downward.
Note: The break points include points of inflection and discontinuities. Basically, the entire domain needs to be covered by the intervals in the first row.
The test values can be any point in the open interval in each column.
Before we go on, try these practice problems.
Practice
Unless otherwise instructed, find the points of inflection and determine concavity.
\(f(x)=2x^3+6x^25x+1\)
Problem Statement 

Calculate the inflection points of \(f(x)=2x^3+6x^25x+1\) and determine where the function is concave up or concave down.
Solution 

video by Krista King Math 

close solution

Log in to rate this practice problem and to see it's current rating. 

\(\displaystyle{f(x)=\frac{x^2+1}{x^2}}\)
Problem Statement 

Calculate the inflection points of \(\displaystyle{f(x)=\frac{x^2+1}{x^2}}\) and determine where the function is concave up or concave down.
Solution 

video by Krista King Math 

close solution

Log in to rate this practice problem and to see it's current rating. 

\(f(x)=2+3x^2x^3\)
Problem Statement 

Calculate the inflection points of \(f(x)=2+3x^2x^3\) and determine where the function is concave up or concave down.
Solution 

video by PatrickJMT 

close solution

Log in to rate this practice problem and to see it's current rating. 

\(h(x)=(x^21)^3\)
Problem Statement 

Calculate the inflection points of \(h(x)=(x^21)^3\) and determine where the function is concave up or concave down.
Solution 

video by PatrickJMT 

close solution

Log in to rate this practice problem and to see it's current rating. 

\(f(x)=x^2 e^{4x}\)
Problem Statement 

Calculate the inflection points of \(f(x)=x^2 e^{4x}\) and determine where the function is concave up or concave down.
Solution 

video by MIP4U 

close solution

Log in to rate this practice problem and to see it's current rating. 

Second Derivative Test
The second derivative test is interesting in that it tests for the same information as the first derivative test. On the good side it is easier to use. On the bad side, it doesn't always work.
The idea is that you find the second derivative and then plug the critical points in the second derivative. If the result is less than zero, then you have a relative maximum, greater than zero, a relative minimum. If you get zero, the test is inconclusive and you drop back and use the first derivative test. To organize your information, you can use a table in this format.
Table Format For The Second Derivative Test  

Critical Point 
\( x = c_1 \) 
\( x = c_2 \) 
\( x = c_3 \) 
Sign of \(g''(x)\) 

Conclusion 
The possible conclusions in the last row above maximum, minimum or inconclusive. In the last case, we need to use the first derivative test.
Before working practice problems, take a few minutes to watch this quick video clip explaining the second derivative test in more detail.
video by PatrickJMT 

Practice
Unless otherwise instructed, use the second derivative test to determine maximums and minimums.
\(f(x)=x^33x+1\)
Problem Statement 

Use the second derivative test to determine the extrema for \(f(x)=x^33x+1\). If the second derivative test is inconclusive, use the first derivative test.
Solution 

video by Krista King Math 

close solution

Log in to rate this practice problem and to see it's current rating. 

Suppose \(f(x)\) has a critical point at \(x=4\) and \(f''(4) = 3\). What can be said about \(f(x)\) at \(x=4\)?
Problem Statement 

Suppose \(f(x)\) has a critical point at \(x=4\) and \(f''(4) = 3\). What can be said about \(f(x)\) at \(x=4\)?
Solution 

video by PatrickJMT 

close solution

Log in to rate this practice problem and to see it's current rating. 

\(\displaystyle{f(x)=\frac{x}{x^2+4}}\)
Problem Statement 

Use the second derivative test to determine the extrema for \(\displaystyle{f(x)=\frac{x}{x^2+4}}\). If the second derivative test is inconclusive, use the first derivative test.
Solution 

video by PatrickJMT 

close solution

Log in to rate this practice problem and to see it's current rating. 

You CAN Ace Calculus
related topics on other pages 
external links you may find helpful 

To bookmark this page and practice problems, log in to your account or set up a free account.
Single Variable Calculus 

MultiVariable Calculus 

Differential Equations 

Precalculus 

Do you have a practice problem number but do not know on which page it is found? If so, enter the number below and click 'page' to go to the page on which it is found or click 'practice' to be taken to the practice problem.
 
Help Keep 17Calculus Free 

The 17Calculus and 17Precalculus iOS and Android apps are no longer available for download. If you are still using a previously downloaded app, your app will be available until the end of 2020, after which the information may no longer be available. However, do not despair. All the information (and more) is now available on 17calculus.com for free. 