girgit.org

Application of Derivatives

Hills and valleys: maxima and minima

The big ideaA local maximum is the top of a hill and a local minimum the bottom of a valley; at such a point the slope is zero or does not exist, but a zero slope alone does not promise a hill or a valley.

In simple words

Drive over the Western Ghats. You go over many hilltops and down into many valleys. Each hilltop is the highest point near it, even if a taller hill is far away. At the very top of a smooth hill the road is flat for a moment. But a flat bit of road does not always mean a hilltop: sometimes the road goes flat and then keeps climbing.

Maximum and minimum values

Many questions ask for the biggest or smallest value of something: the most profit, the highest point of a thrown ball, the nearest an aircraft comes to a radar. Let f be defined on an interval I.

  • f has a maximum value in I if there is a point c in I with \( f(c) \ge f(x) \) for every x in I. The number f(c) is the maximum value and c is a point of maximum value.
  • f has a minimum value in I if there is a c in I with \( f(c) \le f(x) \) for every x in I.
  • Either one is an extreme value, and c is an extreme point.

Worked examples

  1. \( g(x) = (x - 1)^2 + 2 \) on R. A square is never negative, so \( g(x) \ge 2 \), with g(1) = 2. Minimum value 2 at x = 1. No maximum: g grows without end.
  2. \( h(x) = 4 - |x + 3| \) on R. \( |x + 3| \ge 0 \), so \( h(x) \le 4 \), with h(−3) = 4. Maximum value 4 at x = −3, though h is not differentiable there (a sharp peak). No minimum.
  3. \( x^2 \) on [−2, 1]. Minimum 0 at x = 0, and now a maximum, 4, at the endpoint x = −2.
  4. \( f(x) = 2x \) on the open interval (0, 1). It rises the whole way, so the smallest value "should" sit at the left end and the largest at the right end. But 0 and 1 are not in the interval, and any point you pick has a smaller one to its left. No maximum and no minimum. On [0, 1] it has both: 0 and 2.

Two results stated without proof: a monotonic function (one that is increasing throughout, or decreasing throughout) takes its maximum and minimum at the endpoints of its domain; and, more generally, every continuous function on a closed interval has a maximum and a minimum value.

Local maxima and minima

On a wavy graph, at each turning point the function switches between rising and falling. Each hilltop is highest near itself; each valley floor is lowest near itself. Let c be an interior point of the domain (not an endpoint).

  • c is a point of local maxima if there is some h > 0 with \( f(c) \ge f(x) \) for all x in (c − h, c + h). Then f(c) is a local maximum value.
  • c is a point of local minima if \( f(c) \le f(x) \) for all x in some (c − h, c + h). Then f(c) is a local minimum value.

Older names: relative maximum and relative minimum. "Local maxima" and "local minima" are also used for the values themselves.

Just left of a smooth hilltop f is rising (f′ > 0), just right it is falling (f′ < 0), so at the top f′ must be 0. The same reasoning works for a valley. This gives Theorem 2:

Theorem 2

  • If f, defined on an open interval, has a local maximum or local minimum at c, then either \( f'(c) = 0 \) or f is not differentiable at c.
  • Such points are called critical points: points in the domain where f′ = 0 or f′ does not exist. Every local extreme is a critical point.

Guess first: does f′(c) = 0 mean a hill or a valley?

For \( f(x) = x^3 \), \( f'(0) = 0 \). Guess: is x = 0 a local maximum, a local minimum, or neither?

Guess, then slide a window along the curve and see what "local" means.

See what happens
Neither. Just left of 0, \( x^3 \) is negative; just right, it is positive. So f(0) = 0 is neither the highest nor the lowest value nearby: the graph flattens and carries on upward. Theorem 2 only goes one way: an extreme point is critical, but a critical point need not be an extreme point. The critical points are the candidates; the tests in the next two concepts decide which ones win.

Don't mix these up

  • Local means best in a small neighbourhood; the absolute (overall) maximum is the best on the whole domain.
  • A local maximum can be smaller than a local minimum. For \( f(x) = x + \frac{1}{x} \), the local maximum is −2 (at x = −1) and the local minimum is 2 (at x = 1).
  • A sharp corner, like |x| at 0, can be a local minimum even though f′ does not exist there.

Words to know

Maximum / minimum value
The largest / smallest value f takes on the whole interval.
Local maximum
A value bigger than or equal to all values close by: a hilltop.
Local minimum
A value smaller than or equal to all values close by: a valley floor.
Turning point
Where the graph switches between rising and falling.
Critical point
A point in the domain where f′ = 0 or f′ does not exist.
Extreme point
A point where f has a maximum or a minimum value.

What is the maximum value of \( f(x) = 7 - (x - 2)^2 \) on R?

  1. 2
  2. 7
  3. It has no maximum

Which is true of every critical point of a function?

  1. It is a local maximum or a local minimum
  2. f′ is zero there, or f′ does not exist there
  3. f′ is zero there

Does \( f(x) = x + 5 \) on the open interval (0, 2) have a maximum value?

  1. Yes, 7
  2. Yes, 6
  3. No