Salta al contenuto
Note per Studenti Monotonicity and the Sign of the Derivative Report

Monotonicity and the Sign of the Derivative

In questa pagina 5

Prerequisites: Rolle's and Lagrange's TheoremsRolle: f continuous on [a,b], differentiable in ]a,b[, f(a) = f(b) implies f'(c) = 0 for some c; Lagrange (mean value theorem): without f(a) = f(b), f'(c) equals the slope of the chord. Consequence: on an interval f is constant if and only if f' = 0, while on a non-interval set f is only piecewise constant (arctan x + arctan(1/x)).Rolle's and Lagrange's Theorems →, Local Extrema and Fermat's TheoremA point is a relative minimum or maximum if the value of f there is the lowest or highest among nearby points; candidates are endpoints, non-differentiable points and critical points, and Fermat's theorem says that at an interior differentiable extremum the derivative vanishes, a necessary but not sufficient condition.Local Extrema and Fermat's Theorem →, monotone functions.

This is the most important consequence of Lagrange's theorem and the basic tool of curve sketching: the sign of f′f' tells where ff increases and decreases, hence where it has maxima and minima.

The monotonicity test

Theorem. Let f:[a,b]→Rf: [a, b] \to \mathbb{R} be continuous on [a,b][a, b] and differentiable in ]a,b[]a, b[. Then:

  1. ff is increasing on [a,b][a, b]   ⟺  \iff f′(x)≥0f'(x) \ge 0 for all x∈ ]a,b[x \in \,]a, b[;
  2. ff is decreasing on [a,b][a, b]   ⟺  \iff f′(x)≤0f'(x) \le 0 for all x∈ ]a,b[x \in \,]a, b[;
  3. ff is strictly increasing on [a,b][a, b]   ⟺  \iff f′(x)≥0f'(x) \ge 0 for all x∈ ]a,b[x \in \,]a, b[ and there is no interval on which f′=0f' = 0 (similarly for strictly decreasing).

Here "increasing" means x1<x2⇒f(x1)≤f(x2)x_1 < x_2 \Rightarrow f(x_1) \le f(x_2) and "strictly" uses <<. The same holds on any interval, bounded or not, open or closed, by applying the theorem to closed subintervals.

Example. f(x)=x2−4xf(x) = x^2 - 4x, f′(x)=2x−4≥0f'(x) = 2x - 4 \ge 0 iff x≥2x \ge 2: ff is increasing for x≥2x \ge 2 and decreasing for x≤2x \le 2.

Strictly increasing does not mean f′>0f' > 0

From point 3, if f′>0f' > 0 on ]a,b[]a, b[ then ff is strictly increasing, but not conversely: f(x)=x3f(x) = x^3 is strictly increasing on R\mathbb{R} although f′(x)=3x2f'(x) = 3x^2 vanishes at 00. An isolated point is not an interval. In practice, f′>0f' > 0 except at isolated points gives strict monotonicity.

Proof of points 1 and 3

1, ⇒\Rightarrow. Let ff be increasing and x0∈ ]a,b[x_0 \in \,]a, b[. For x>x0x > x_0, f(x)≥f(x0)f(x) \ge f(x_0): numerator ≥0\ge 0, denominator >0> 0. For x<x0x < x_0, f(x)≤f(x0)f(x) \le f(x_0): numerator ≤0\le 0, denominator <0< 0. The difference quotient is always ≥0\ge 0, so by sign permanence f′(x0)≥0f'(x_0) \ge 0.

1, ⇐\Leftarrow. For x1<x2x_1 < x_2 in [a,b][a, b] Lagrange gives c∈ ]x1,x2[c \in \,]x_1, x_2[ with f(x2)−f(x1)x2−x1=f′(c)≥0.\frac{f(x_2) - f(x_1)}{x_2 - x_1} = f'(c) \ge 0. The denominator is positive, hence f(x2)≥f(x1)f(x_2) \ge f(x_1). ■\blacksquare

2 is analogous with reversed inequalities.

3. An increasing ff is strictly increasing iff it is constant on no interval (if f(x1)=f(x2)f(x_1) = f(x_2) with x1<x2x_1 < x_2, it is constant on [x1,x2][x_1, x_2]); and ff is constant on an interval iff f′=0f' = 0 there.

Sufficient conditions for relative extrema

Corollary. Let ff be continuous on ]x0−δ,x0+δ[]x_0 - \delta, x_0 + \delta[ and differentiable except possibly at x0x_0.

  • If f′>0f' > 0 on ]x0−δ,x0[]x_0 - \delta, x_0[ and f′<0f' < 0 on ]x0,x0+δ[]x_0, x_0 + \delta[, x0x_0 is a strict relative maximum.
  • If f′<0f' < 0 on the left and f′>0f' > 0 on the right, x0x_0 is a strict relative minimum.

At endpoints of [a,b][a, b] (with ff continuous on [a,b][a, b], differentiable in ]a,b[]a, b[):

  • f′>0f' > 0 on ]a,a+δ[]a, a + \delta[ ⇒\Rightarrow aa is a strict relative minimum; f′<0f' < 0 there ⇒\Rightarrow strict relative maximum;
  • f′>0f' > 0 on ]b−δ,b[]b - \delta, b[ ⇒\Rightarrow bb is a strict relative maximum; f′<0f' < 0 there ⇒\Rightarrow strict relative minimum.

Example. f(x)=x3−3xf(x) = x^3 - 3x, f′(x)=3(x2−1)f'(x) = 3(x^2 - 1): positive for x<−1x < -1, negative on ]−1,1[]-1, 1[, so x0=−1x_0 = -1 is a strict relative maximum.

Why. By the test, ff is strictly increasing on ]x0−δ,x0]]x_0 - \delta, x_0] and strictly decreasing on [x0,x0+δ[[x_0, x_0 + \delta[ (continuity at x0x_0 allows including x0x_0), so f(x)<f(x0)f(x) < f(x_0) on both sides.

Sign table of f′f'

xx1x2f′+0−0+f↗max↘min↗\begin{array}{c|ccccc} x & & x_1 & & x_2 & \\ \hline f' & + & 0 & - & 0 & + \\ f & \nearrow & \text{max} & \searrow & \text{min} & \nearrow \end{array}

  • It also works at non-differentiability points (continuity at x0x_0 is enough): ∣x∣|x| at 00 has f′<0f' < 0 on the left and f′>0f' > 0 on the right, so a minimum; and at endpoints.
  • There is no need to compute f(x0)f(x_0) or the sign of ff to conclude.

Only sufficient conditions

A relative minimum may exist without ff being decreasing on the left and increasing on the right. Let f(x)={x2(2+sin⁡1x)x≠00x=0.f(x) = \begin{cases} x^2\left(2 + \sin\frac1x\right) & x \ne 0 \\ 0 & x = 0. \end{cases}

  • 00 is an absolute minimum. From 1≤2+sin⁡1x≤31 \le 2 + \sin\frac1x \le 3 we get x2≤f(x)≤3x2x^2 \le f(x) \le 3x^2, so f(x)>0=f(0)f(x) > 0 = f(0) for x≠0x \ne 0. ff is continuous at 00.
  • But f′f' changes sign infinitely often near 00. For x≠0x \ne 0, f′(x)=2x(2+sin⁡1x)−cos⁡1xf'(x) = 2x\left(2 + \sin\frac1x\right) - \cos\frac1x. On xn=12nπ→0+x_n = \frac{1}{2n\pi} \to 0^+ (sin⁡=0\sin = 0, cos⁡=1\cos = 1) and yn=1(2n+1)π→0+y_n = \frac{1}{(2n + 1)\pi} \to 0^+ (sin⁡=0\sin = 0, cos⁡=−1\cos = -1): f′(xn)=2nπ−1→−1<0,f′(yn)=4(2n+1)π+1→1>0.f'(x_n) = \frac{2}{n\pi} - 1 \to -1 < 0, \qquad f'(y_n) = \frac{4}{(2n + 1)\pi} + 1 \to 1 > 0. So ff is monotone on no interval ]0,δ[]0, \delta[ (nor on the left, ff being even).

Summary table

Information on f′f' on an interval Conclusion on ff
f′≥0f' \ge 0 increasing
f′>0f' > 0 (except isolated points) strictly increasing
f′≤0f' \le 0 decreasing
f′=0f' = 0 constant (on an interval only)
f′f' goes from ++ to −- at x0x_0 (ff continuous) strict relative maximum
f′f' goes from −- to ++ at x0x_0 (ff continuous) strict relative minimum

Common mistakes

  • Saying "strictly increasing implies f′>0f' > 0": x3x^3 at 00.
  • Applying the test on a set that is not an interval: −1x-\frac1x has f′=1x2>0f' = \frac1{x^2} > 0 on R∖{0}\mathbb{R} \setminus \{0\} but is not increasing on the whole domain (f(−1)=1>f(1)=−1f(-1) = 1 > f(1) = -1); it is increasing on each of the two intervals separately.
  • Forgetting continuity at x0x_0 when using a sign change of f′f' at a non-differentiability point.

Versione ripasso

Test. ff continuous on [a,b][a, b], differentiable in ]a,b[]a, b[:

  1. increasing   ⟺  f′≥0\iff f' \ge 0;
  2. decreasing   ⟺  f′≤0\iff f' \le 0;
  3. strictly increasing   ⟺  f′≥0\iff f' \ge 0 and f′f' vanishes on no interval.

f′>0f' > 0 except at isolated points gives strict monotonicity (x3x^3 is strictly increasing with f′(0)=0f'(0) = 0).

Proof. (⇒\Rightarrow) the difference quotient is ≥0\ge 0 on both sides; sign permanence. (⇐\Leftarrow) Lagrange: f(x2)−f(x1)x2−x1=f′(c)≥0\frac{f(x_2) - f(x_1)}{x_2 - x_1} = f'(c) \ge 0.

Extrema. ff continuous at x0x_0, f′f' from ++ to −- gives a strict maximum; from −- to ++ a strict minimum. Valid at non-differentiable points and endpoints (f′>0f' > 0 just right of aa gives a minimum at aa). Example: x3−3xx^3 - 3x has a maximum at −1-1.

Sufficient only. x2(2+sin⁡1x)x^2(2 + \sin\frac1x) has an absolute minimum at 00 (x2≤f≤3x2x^2 \le f \le 3x^2) but f′=2x(2+sin⁡1x)−cos⁡1xf' = 2x(2 + \sin\frac1x) - \cos\frac1x changes sign infinitely often near 00.

f′f' ff
≥0\ge 0 increasing
>0> 0 (isolated zeros ok) strictly increasing
≤0\le 0 decreasing
=0= 0 constant (interval)

Typical mistakes. Strictly increasing does not give f′>0f' > 0; the test fails on non-intervals (−1x-\frac1x); continuity at x0x_0 is needed for a sign-change argument.

Teoria collegata