Skip to content

Applied Mathematics · Ch 3 — Differentiation and Its Applications

Maxima and Minima

3.11

Maxima and Minima

Beyond knowing where a function rises or falls, it is often just as important to know where it reaches its highest or lowest value overall — its extreme values.

Let y=f(x)y = f(x) be a real function defined on a set DD. The value f(c)f(c), for some c∈Dc \in D, is called the absolute minimum value of ff on DD if f(x)≥f(c)f(x) \geq f(c) for every x∈Dx \in D — no value the function takes anywhere else in DD is smaller. Likewise, f(c)f(c) is the absolute maximum value of ff on DD if f(x)≤f(c)f(x) \leq f(c) for every x∈Dx \in D — no other value is larger.

Absolute minimum at cc: f(x)≥f(c)f(x) \geq f(c) for all x∈Dx \in D

Absolute maximum at cc: f(x)≤f(c)f(x) \leq f(c) for all x∈Dx \in D

Whenever ff attains either its absolute maximum or its absolute minimum at some point cc in its domain, ff is said to have an absolute extremum at cc; the value f(c)f(c) itself is called an absolute extremum value, and cc is called a point of extremum. Locating these points — and telling maxima apart from minima — is what the rest of this chapter's treatment of maxima and minima builds towards, using exactly the derivative tools (critical points, increasing and decreasing behaviour) developed in the previous two sections.

Local maxima and minima

Absolute extrema describe the single highest and lowest values over the whole domain. Very often, though, a function has several "peaks" and "valleys" — points that are highest or lowest only when compared with their immediate surroundings. On the graph of a continuous function these show up as peak-type points (the curve rises to them, then falls) and valley-type points (the curve falls to them, then rises). A point cc is a local maximum if the curve is increasing just to its left and decreasing just to its right, so f(c)f(c) is the largest value in a small neighbourhood; it is a local minimum if the curve is decreasing just to its left and increasing just to its right. The tangent at every such peak or valley is parallel to the xx-axis, so its slope is zero — these are critical points. But not every critical point is an extremum: h(x)=x3h(x)=x^3 has h′(0)=0h'(0)=0 and yet x=0x=0 is neither a maximum nor a minimum, because the function keeps increasing on both sides (such a point is a point of inflexion).

Formally, let cc be an interior point of the domain of ff. Then:

ff has a local maximum at cc if there is some h>0h>0 with f(c)>f(x)f(c) > f(x) for all x∈(c−h, c+h)−{c}x \in (c-h,\ c+h)-\{c\}; then f(c)f(c) is the local maximum value.

ff has a local minimum at cc if there is some h>0h>0 with f(c)<f(x)f(c) < f(x) for all x∈(c−h, c+h)−{c}x \in (c-h,\ c+h)-\{c\}; then f(c)f(c) is the local minimum value.

First derivative test

Since the sign of f′f' records whether the function is rising or falling, a critical point cc (at which ff is continuous) can be classified by watching how f′f' changes sign as xx passes through it:

Local minimum: f′(x)<0f'(x)<0 for x∈(c−h,c)x\in(c-h,c) and f′(x)>0f'(x)>0 for x∈(c,c+h)x\in(c,c+h) — f′f' changes from negative to positive.

Local maximum: f′(x)>0f'(x)>0 for x∈(c−h,c)x\in(c-h,c) and f′(x)<0f'(x)<0 for x∈(c,c+h)x\in(c,c+h) — f′f' changes from positive to negative.

Point of inflexion: if f′(x)f'(x) does not change sign as xx increases through cc, then cc is neither a maximum nor a minimum.

In words, a sign change from decreasing to increasing marks a valley, a change from increasing to decreasing marks a peak, and no change at all marks an inflexion.

Second derivative test

When the second derivative is easy to compute it gives a quicker test at a critical point cc where f′(c)=0f'(c)=0:

If f′(c)=0f'(c)=0 and f′′(c)>0f''(c)>0, then cc is a point of local minimum and f(c)f(c) is the local minimum value.

If f′(c)=0f'(c)=0 and f′′(c)<0f''(c)<0, then cc is a point of local maximum and f(c)f(c) is the local maximum value.

If f′′(c)=0f''(c)=0 the second derivative test fails, and one falls back on the first derivative test to decide whether cc is a local maximum, a local minimum, or a point of inflexion.

Maximum and minimum values in a closed interval …

Figure 3.20A curve with several local maxima (peaks) and local minima (valleys), where the tangent is horizontal and the derivative is zero
Fig. 3.20 — A curve with several local maxima (peaks) and local minima (valleys), where the tangent is horizontal and the derivative is zero

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your NCERT textbook's own diagram.

At each local maximum (peak) and local minimum (valley) the tangent is horizontal, …

Figure 3.21The first derivative test: at a local maximum f' changes from positive to negative, and at a local minimum from negative to positive
Fig. 3.21 — The first derivative test: at a local maximum f' changes from positive to negative, and at a local minimum from negative to positive

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your NCERT textbook's own diagram.

First derivative test: f' changes + to − at a local maximum and − to + at a …

Figure 3.25Finding the absolute maximum and minimum of a function on a closed interval by comparing the values at the endpoints and the local extrema
Fig. 3.25 — Finding the absolute maximum and minimum of a function on a closed interval by comparing the values at the endpoints and the local extrema

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your NCERT textbook's own diagram.

On a closed interval the absolute max/min is the largest/least among the endpoint and local …