Tutorials › Calculus I › Concavity and Monotonicity of the First Derivative

Concavity and Inflection · Tutorial 788 of 1495

Concavity and Monotonicity of the First Derivative

Use the monotonicity of the first derivative to identify concavity, including when a second derivative cannot be used.

Intermediate 10 min read

What You'll Learn

  • Define concavity through the positions of chords and the ordering of secant slopes
  • Relate concavity on an interval to a nondecreasing or nonincreasing first derivative
  • Distinguish a positive first derivative from an increasing first derivative
  • Handle intervals where the first derivative is monotone but the second derivative does not exist
  • Use the Mean Value Theorem to justify the first-derivative criterion
  • Recognize why non-strict monotonicity gives non-strict concavity

Introduction

The first derivative describes how a function changes. Its sign tells us whether the function is increasing or decreasing, but there is another question: is its rate of change itself increasing or decreasing?

That question leads to concavity. When \(f'\) increases as \(x\) increases, the slopes of \(f\) become larger, and the graph bends upward. When \(f'\) decreases, those slopes become smaller, and the graph bends downward. This connection is especially useful when finding or interpreting \(f''\) is difficult, or when \(f''\) does not exist.

Concavity and Chord Slopes

Let \(f\) be defined on an interval \(I\). For two distinct points \(a,b\in I\), the secant slope is

$$ \frac{f(b)-f(a)}{b-a}. $$

It measures the average change in \(f\) between the two points. For \(a<b<c\), the chord-slope description of concavity compares the slopes over the two adjacent intervals.

Definition: The function \(f\) is concave up on \(I\) if, for every \(a<b<c\) in \(I\), $$ \frac{f(b)-f(a)}{b-a} \le \frac{f(c)-f(b)}{c-b}. $$ It is concave down on \(I\) if the inequality is reversed. Equivalently, concavity up means each chord between two points lies on or above the graph; concavity down means each such chord lies on or below the graph.

The inequalities are not required to be strict. A function can be concave up while being linear on part of its domain, for example. This distinction matters when we connect concavity to monotonicity: the relevant derivative condition is nondecreasing or nonincreasing, not necessarily strictly increasing or strictly decreasing.

The First-Derivative Criterion

Here is the key relationship. Assume \(I\) is an open interval and \(f\) is differentiable throughout \(I\). If \(f'\) is nondecreasing on \(I\), then \(f\) is concave up there. If \(f'\) is nonincreasing, then \(f\) is concave down. In fact, under these assumptions the implications work in reverse too.

Theorem: Let \(f\) be differentiable on an open interval \(I\). Then \(f\) is concave up on \(I\) if and only if \(f'\) is nondecreasing on \(I\). Likewise, \(f\) is concave down on \(I\) if and only if \(f'\) is nonincreasing on \(I\).

A function \(g\) is nondecreasing on \(I\) if \(g(x)\le g(y)\) whenever \(x<y\) in \(I\); nonincreasing means \(g(x)\ge g(y)\) whenever \(x<y\). The theorem compares values of \(f'\), not the sign of \(f'\). Its justification uses the Mean Value Theorem: for a function continuous on a closed interval and differentiable in its interior, some interior derivative equals the secant slope across the interval.

Why the Criterion Works

First suppose that \(f'\) is nondecreasing. Choose any three points \(a<b<c\) in \(I\). Apply the Mean Value Theorem separately on \([a,b]\) and \([b,c]\). There are points \(u\in(a,b)\) and \(v\in(b,c)\) such that

$$ \frac{f(b)-f(a)}{b-a}=f'(u), \qquad \frac{f(c)-f(b)}{c-b}=f'(v). $$

Because \(u<v\) and \(f'\) is nondecreasing, \(f'(u)\le f'(v)\). The left secant slope is therefore no larger than the right secant slope, which is precisely the chord-slope condition for concavity up.

For the reverse implication, suppose \(f\) is concave up. Fix \(x<y\) in \(I\). For any \(h>0\) small enough that \(x+h<y\), the chord-slope condition gives

$$ \frac{f(x+h)-f(x)}{h} \le \frac{f(y)-f(x)}{y-x}. $$

Let \(h\) decrease to zero. Since \(f\) is differentiable at \(x\), the left side tends to \(f'(x)\), so \(f'(x)\le [f(y)-f(x)]/(y-x)\). Applying the same chord-slope condition to \(x<y-h<y\), and then letting \(h\) decrease to zero, gives \([f(y)-f(x)]/(y-x)\le f'(y)\). Combining these inequalities yields

$$ f'(x) \le \frac{f(y)-f(x)}{y-x} \le f'(y). $$

In particular, \(f'(x)\le f'(y)\). Since this holds for every \(x<y\) in \(I\), \(f'\) is nondecreasing. Reversing the inequalities proves the concave-down case as well. This establishes both directions of the criterion.

Worked Examples

Worked Example: A Cubic with Different Concavity on Either Side of Zero

Determine the concavity of \(f(x)=x^3\) using the monotonicity of \(f'\).

Differentiate:

$$ f'(x)=3x^2. $$

Take \(x<y\le 0\). Then \(x^2>y^2\), except when \(x=y=0\), which is excluded by \(x<y\). Thus \(3x^2>3y^2\), so \(f'\) is decreasing on \((-\infty,0]\). The criterion shows that \(f\) is concave down there.

Now take \(0\le x<y\). Then \(x^2<y^2\), so \(3x^2<3y^2\). Thus \(f'\) is increasing on \([0,\infty)\), and \(f\) is concave up there.

As a check, the adjacent chord slopes obey the corresponding inequalities on each interval by the theorem. The result is concave down to the left of zero and concave up to the right; the derivative’s direction of change, rather than its sign, determines this classification.

Worked Example: Concavity When the Second Derivative Fails to Exist

Let

$$ f(x)= \begin{cases} 0, & x\le 0,\\ -\dfrac{x^2}{2}, & x>0. \end{cases} $$

Find its concavity, including at the join \(x=0\). For \(x<0\), \(f'(x)=0\). For \(x>0\), \(f'(x)=-x\). At zero, the left difference quotient is \(0\), and the right difference quotient is \(-h/2\) for \(h>0\), which tends to \(0\). Hence \(f'(0)=0\), and overall

$$ f'(x)= \begin{cases} 0, & x\le 0,\\ -x, & x>0. \end{cases} $$

This derivative is nonincreasing: it is constant for \(x\le0\), decreases as \(x\) increases on \(x>0\), and its values on the right are at most its value \(0\) at the join. Therefore \(f\) is concave down on the whole real line.

The second derivative cannot be used at zero. On the left, the derivative \(f'\) has slope \(0\); on the right, it has slope \(-1\). Thus \(f''(0)\) does not exist. The first-derivative criterion still applies because \(f\) itself is differentiable and \(f'\) is nonincreasing. As a check, on \(x\le0\) the function is constant, and on \(x>0\) its derivative becomes more negative, consistent with slopes that do not increase.

Worked Example: A Positive Derivative Does Not Mean Concave Up

Determine the concavity of \(f(x)=\arctan x\) on \((0,\infty)\), and explain why the sign of \(f'\) alone is not enough.

The derivative is

$$ f'(x)=\frac{1}{1+x^2}. $$

For \(0<x<y\), we have \(x^2<y^2\), so \(1+x^2<1+y^2\). Both denominators are positive; taking reciprocals reverses the inequality:

$$ \frac{1}{1+x^2}>\frac{1}{1+y^2}. $$

Therefore \(f'\) is decreasing on \((0,\infty)\), and \(f\) is concave down there. At the same time, \(f'(x)>0\), so \(f\) is increasing. These are compatible conclusions: the function rises while its slopes get smaller. Checking the derivative formula confirms the distinction: positivity describes the direction of change of \(f\), whereas the decrease of \(f'\) determines concavity.

A Common Mistake: Confusing Derivative Sign with Concavity

A common error is to conclude that a function is concave up whenever \(f'(x)>0\). That condition says the function is increasing; it says nothing by itself about whether the slopes increase or decrease.

Pitfall: For \(f(x)=\arctan x\) with \(x>0\), \(f'(x)=1/(1+x^2)>0\). The incorrect conclusion “\(f'\) is positive, so \(f\) is concave up” confuses positivity with monotonicity. In fact, if \(0<x<y\), then \(1/(1+x^2)>1/(1+y^2)\), so \(f'\) is decreasing and \(f\) is concave down.

A separate mistake is to demand strict increase of \(f'\) before concluding concavity up. The criterion requires only that \(f'\) be nondecreasing. A constant derivative on an interval is allowed; it corresponds to a linear part of the function, which satisfies the non-strict chord inequality.

How to Apply the Criterion

When \(f''\) is awkward to calculate or does not exist, work directly with \(f'\). The following sequence keeps the reasoning focused on the relevant condition.

1
Choose the interval.
State where \(f\) is differentiable and where you want to determine its concavity.
2
Find or identify \(f'\).
Use the derivative formula, including the value at any join if the function is piecewise defined.
3
Compare derivative values.
Show that \(f'\) is nondecreasing or nonincreasing on the interval. An algebraic comparison, a graph, or a known monotonicity argument may be useful.
4
State the concavity conclusion.
Nondecreasing \(f'\) gives concavity up; nonincreasing \(f'\) gives concavity down. Include the interval and do not require strict monotonicity.

Why This Viewpoint Matters

The first-derivative criterion describes concavity through the behavior of slopes, which is exactly what the chord definition measures. It also works when the derivative has a corner or another failure of differentiability: the second derivative may be unavailable at such a point even though the first derivative remains monotone.

The key distinction is simple but important: \(f'\) being positive or negative describes whether \(f\) rises or falls. The first derivative being increasing or decreasing describes whether the slopes rise or fall, and therefore determines concavity. Keep these questions separate, and use non-strict inequalities unless strict behavior has actually been established.

Check Your Understanding

For each question, focus on whether the first derivative is increasing or decreasing, not merely on its sign.

  1. If \(f'\) is nondecreasing on an interval, what concavity does the first-derivative criterion guarantee?
  2. Why does \(f'(x)>0\) alone not determine whether \(f\) is concave up or concave down?
  3. For \(f(x)=x^3\), compare \(f'\) at two negative inputs to determine concavity on the negative half-line.
  4. Can a function be concave down on an interval where its first derivative is constant? Explain using the non-strict criterion.
  5. What feature of the piecewise example shows that the second derivative is unavailable at zero, and why can the first-derivative criterion still be applied?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): 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