Tutorials › AP Calculus › What the Sign of the Second Derivative Says Locally

Higher Derivatives and Motion · Tutorial 235 of 999

What the Sign of the Second Derivative Says Locally

Use the sign of the second derivative on an interval to describe concavity and distinguish a possible inflection point from a guaranteed one.

Intermediate 9 min read

What You'll Learn

  • Interpret positive and negative second derivatives as increasing or decreasing slopes.
  • Relate concavity on an interval to the position of the graph relative to a tangent line.
  • Identify why a second derivative’s sign at one point may not describe a whole neighborhood.
  • Explain why a zero second derivative does not by itself guarantee an inflection point.
  • Compare examples where the second derivative is zero with and without a change in concavity.

How the Second Derivative Describes Graph Shape

The first derivative describes how a function’s slope changes from point to point. The second derivative describes how that slope is changing. This gives the second derivative a geometric role: its sign tells us whether slopes are increasing or decreasing, and therefore whether the graph bends upward or downward.

The sign must be interpreted over an interval or neighborhood, not just read at one isolated input. A positive second derivative at a point does not automatically tell us the concavity on either side unless we know enough about nearby values.

Key idea: On an interval where \(f''(x)>0\), the slopes of \(f\) increase and the graph is concave up. Where \(f''(x)<0\), the slopes decrease and the graph is concave down.

Concavity and the Second Derivative

For a function \(f\) that is twice differentiable on an interval, the second derivative is the derivative of the first derivative: \(f''(x)=(f'(x))'\). In particular, it measures how \(f'(x)\), the slope of the graph, changes as \(x\) changes.

Definition: A function is concave up on an interval when its slopes increase as \(x\) increases. If \(f''(x)>0\) throughout that interval, then \(f\) is concave up there. A function is concave down on an interval when its slopes decrease as \(x\) increases. If \(f''(x)<0\) throughout that interval, then \(f\) is concave down there.

Visually, a concave-up graph bends like a cup, and a concave-down graph bends like an upside-down cup. These descriptions refer to the direction of bending, not whether the function is positive or negative. A graph can lie below the \(x\)-axis and still be concave up.

For a twice-differentiable function, the connection with slope follows from the Mean Value Theorem applied to \(f'\): if \(f''>0\) on an interval, then \(f'\) increases there; if \(f''<0\), then \(f'\) decreases. The next result makes the geometric consequence more precise.

Theorem: Suppose \(f\) is twice differentiable on an interval containing \(a\). If \(f''(x)>0\) throughout that interval, then, for any \(x\ne a\) in the interval, the graph of \(f\) lies above its tangent line at \(a\). If \(f''(x)<0\) throughout the interval, it lies below that tangent line.

Why Concavity Determines the Position Relative to a Tangent

The tangent line at \(x=a\) is the line through \((a,f(a))\) with slope \(f'(a)\). Its equation is \(y=f(a)+f'(a)(x-a)\). To compare the graph with this line, compare the change in \(f\) from \(a\) to \(x\) with the change predicted by the slope at \(a\).

1
Use the Mean Value Theorem on \(f'\).
If \(f''>0\) throughout the interval, then \(f'\) is strictly increasing. Thus, when \(x>a\), any slope \(f'(c)\) with \(a<c<x\) is greater than \(f'(a)\).
2
Apply the Mean Value Theorem to \(f\).
For \(x>a\), some \(c\) between \(a\) and \(x\) satisfies \(f(x)-f(a)=f'(c)(x-a)\). Since \(f'(c)>f'(a)\) and \(x-a>0\), this change is greater than \(f'(a)(x-a)\). Hence \(f(x)>f(a)+f'(a)(x-a)\).
3
Check the other side of \(a\).
For \(x<a\), the point \(c\) between \(x\) and \(a\) has \(f'(c)<f'(a)\). Now \(x-a<0\), so multiplying reverses the comparison: \(f'(c)(x-a)>f'(a)(x-a)\). The same tangent-line inequality follows. If \(f''<0\), the slope comparisons reverse, giving the graph below the tangent instead.

This argument gives a reason for the cup-shaped picture: on a concave-up interval, slopes to the right of \(a\) are larger than the tangent slope, while slopes to the left are smaller. The graph remains above the tangent on both sides.

Worked Example: Positive Second Derivative

Worked Example: Positive Second Derivative

Let \(f(x)=x^2+1\). Determine its concavity and compare its graph with the tangent line at \(x=1\).

First differentiate:

$$ f'(x)=2x,\qquad f''(x)=2. $$

Since \(f''(x)=2>0\) for every real \(x\), the function is concave up everywhere. At \(x=1\), \(f(1)=1^2+1=2\) and \(f'(1)=2(1)=2\). The tangent line is therefore

$$ y=f(1)+f'(1)(x-1) =2+2(x-1) =2x. $$

The difference between the function and the tangent line is

$$ f(x)-2x=x^2+1-2x=(x-1)^2. $$

For \(x\ne1\), \((x-1)^2>0\), so \(f(x)>2x\): the graph lies above the tangent line, as the theorem predicts. At \(x=1\), both sides equal \(2\). Differentiating the tangent equation gives slope \(2\), which agrees with \(f'(1)=2\); the tangent and the graph meet with the required slope.

Worked Example: Negative Second Derivative

Worked Example: Negative Second Derivative

Let \(g(x)=-x^2+4x\). Determine its concavity and compare it with the tangent line at \(x=1\).

Differentiate twice:

$$ g'(x)=-2x+4,\qquad g''(x)=-2. $$

Because \(g''(x)=-2<0\) for every real \(x\), \(g\) is concave down everywhere. At \(x=1\), \(g(1)=-(1)^2+4(1)=3\), and \(g'(1)=-2(1)+4=2\). Thus the tangent line is

$$ y=3+2(x-1)=2x+1. $$

Subtract the tangent expression from the function:

$$ g(x)-(2x+1) =-x^2+4x-2x-1 =-x^2+2x-1 =-(x-1)^2. $$

For \(x\ne1\), \(-(x-1)^2<0\), so \(g(x)<2x+1\). The graph lies below its tangent line, as expected for a concave-down function. At \(x=1\), the difference is zero, and the tangent line’s slope \(2\) agrees with \(g'(1)=2\).

What Does a Zero Second Derivative Mean?

If \(f''(a)=0\), then the second derivative has no positive or negative value at that one input. This fact alone does not determine the concavity on either side of \(a\), and it does not guarantee that concavity changes there. It is necessary to inspect the sign of \(f''\) on intervals to the left and right.

Definition: An inflection point is a point on the graph where the function changes concavity: it is concave up on one side and concave down on the other, or vice versa. A zero value of \(f''\) is a possible place to investigate, not proof that an inflection point occurs.

When \(f''\) is continuous at \(a\), a strictly positive value \(f''(a)>0\) ensures that it remains positive sufficiently close to \(a\); likewise, a strictly negative value ensures it remains negative nearby. But \(f''(a)=0\) gives no such sign information. The sign test must be carried out on each side.

Worked Example: Zero Second Derivative With No Change in Concavity

Worked Example: Zero Second Derivative With No Change in Concavity

Consider \(p(x)=x^4\) at \(x=0\). Compute its second derivative and test whether the concavity changes there.

Differentiate:

$$ p'(x)=4x^3,\qquad p''(x)=12x^2. $$

At \(x=0\), \(p''(0)=12(0)^2=0\). But for every \(x\ne0\), \(12x^2>0\), both to the left and to the right of zero. Thus \(p\) is concave up on both sides; its concavity does not change at zero. The graph and its horizontal tangent line \(y=0\) meet at the origin, and \(p(x)-0=x^4>0\) for \(x\ne0\). Therefore zero second derivative does not guarantee an inflection point.

Worked Example: Zero Second Derivative With a Change in Concavity

Worked Example: Zero Second Derivative With a Change in Concavity

Now consider \(q(x)=x^3\) at \(x=0\). Determine whether the concavity changes there.

Differentiate twice:

$$ q'(x)=3x^2,\qquad q''(x)=6x. $$

At zero, \(q''(0)=6(0)=0\). For \(x<0\), \(6x<0\), so the function is concave down. For \(x>0\), \(6x>0\), so it is concave up. Since concavity changes across zero, the origin is an inflection point. The function is continuous there, with \(q(0)=0\). This example shows that a zero second derivative can occur at an inflection point, but the sign change—not the zero by itself—establishes the change in concavity.

A Reliable Sign-Checking Method

When asked to interpret concavity near a point, organize the reasoning around intervals rather than a single substitution.

1
Find the second derivative.
Differentiate twice and simplify \(f''(x)\).
2
Locate relevant inputs.
Find where \(f''(x)=0\) or where \(f''\) is undefined; these values divide the domain into intervals to check.
3
Check signs on each interval.
Use a test value or a sign analysis to determine whether \(f''\) is positive or negative throughout each interval.
4
State the conclusion.
Positive \(f''\) means concave up; negative \(f''\) means concave down. A change of sign across a point indicates a change in concavity there, provided the graph has the point in question.

Common Mistake: Treating \(f''(a)=0\) as a Conclusion

A frequent error is to find a zero of the second derivative and immediately label it an inflection point. For \(p(x)=x^4\), the incorrect calculation would be: “\(p''(0)=12(0)^2=0\), so \(x=0\) is an inflection point.” The calculation of \(p''(0)\) is correct, but the conclusion does not follow. Since \(p''(x)=12x^2>0\) on both sides of zero, concavity does not change there.

The correction is to check the sign on both sides. For \(q(x)=x^3\), \(q''(x)=6x\) is negative to the left and positive to the right, so its concavity does change at zero. The two examples show why the sign test, not the equation \(f''(a)=0\) alone, is decisive.

Check Your Understanding

Use the sign of the second derivative and, where relevant, compare the graph with a tangent line.

  1. If \(r''(x)>0\) throughout an interval, what happens to the slopes of \(r\) as \(x\) increases, and how is the graph positioned relative to a tangent line on that interval?
  2. For \(s(x)=-3x^2\), find \(s''(x)\) and state the concavity.
  3. For \(t(x)=x^5\), find \(t''(x)\). Does its sign change at zero?
  4. Why does \(f''(a)=0\) fail, by itself, to establish an inflection point?
  5. What sign pattern in \(f''\) on the two sides of a point indicates a change in concavity?

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon