标签:
杂谈 |
3.5 MAXIMA AND MINIMA
Let us assume throughout this section that f is a real function whose domain is an interval I, and furthermore that f is continuous on I. A problem that often arises is that of finding the point c where f(c) has its largest value, and also the point c where f(c) has its smallest value. The derivative turns out to be very useful in this problem. We begin by defining the concepts of maximum and minimum.
DEFINITION
Let c be a real number in the domain I of f.
(i) f has a maximum at c if f(c) ≥ f(x) for all real numbers x in I. In this case f(c) is called the
maximum value of f.
(ii) f has a minimum at c if f(c) ≤ f(x) for all real numbers x in I.
f(x) is then called the minimum value of f.
When we look at the graph of a continuous function f on I, the maximum will appear as the hightest peak and the minimum as the lowest valley (Figure 3.5.1).
Figure 3.5.1 Maximum and Minimum
In general, all of the following possibilities can arise:
f has no maximum in its domain I.
f has a maximum at exactly one point in I.
f has a maximum at several different points in I.
However even if f has a maximum at several different points, f can have only one maximum value. Because if f has a maximum at c1 and also at c2, then f(c1) __ f(c2) and f(c2)___ f(c1), and therefore f(c1) and f(c2) are equal.
EXAMPLE 1
Each of the following functions, graphed in Figure 3.5.2, have no maximum and no minimum;
(a) f(x) = 1/x, 0< x.
(b) f(x)= x ², 0< x <1.
Figure 3.5.2 No Maximum or Minimum
EXAMPLE 2 The function f(x) = x² + 1 has no maximum. But f has a minimum at x= 0 with value 1, because for x ≠ 0, we always have x²> 0, x² +1 >1. The graph is shown in Figure 3.5.3.
Figure 3.5.3
The use of the derivative in finding maxima and minima is based on the Critical Point Theorem. It shows that the maxima and minima of a function can only occur at certain points, called critical points. The theorem will be stated now, and its proof is given at the end of this section.
CRITICAL POINT THEOREM
Let f be continuous on its domain I. Suppose that c is a point in I and f has either a maximum or a minimum at c. Then one of the following three things must happen;
(i) c is an endpoint of I,
(ii) f ′(c) is undefined,
(iii) f ′(c) =0.
We shall say that c is a critical point of f if either (i), (ii), or(iii) happens. The three types of critical points are shown in Figure 3.5.4. When I is an open interval, (i) cannot arise since the endpoints are not elements of I. But when I is a closed
Figure 3.5.4 Critical Point Theorem
interval, the two endpoints of I will always be among the critical points. Geometrically the theorem says that if f has a maximum or minimum at c, then either c is an endpoint of the curve, or there is a sharp corner at c, or the curve has a horizontal slope at c. Thus at a maximum there is either an endpoint, a sharp peak, or a horizontal summit.
The Critical Point Theorem has some important applications to economics. Here is one example. Some other examples are described in the problem set.
EXAMPLE 3
Suppose a quantity x of a commodity can be produced at a total cost C(x) and sold for a total revenue of R(x), 0< x < ∞. The profit is defined as the difference between the revenue and the cost,
P(x) = R(x) - C(x).
Show that if the profit has a maximum at x0, then the marginal cost is equal to the marginal revenue at x0,
R′ (x0)= C ′ (x0).
In this problem it is understood that R(x) and C(x) are differentiable functions, so that the marginal cost and marginal revenue always exist. Therefore P′ (x) exists and
P′(x) = R′(x) - C ′(x).
Assume P(x) has a maximum at x0. Since ( 0, ∞ ) has no endpoints and P ′( x0) exists, the Critical Point Theorem shows that P′(x0) =0. Thus
P′(x0 ) = R′(x0 ) - C ′(x0) = 0
and R′(x0 ) = C ′(x0).
DEFINITION
An interior point of an interval I is an element of I which is not an endpoint of I.
For example, if I is an open interval, then every point of I is an interior point of I. But if I is a closed interval [a,b], then the set of all interior points of I is the open interval (a, b) (Figure 3.5.5).
Figure 3.5.5
An interior point of I which is a critical point of f is called a interior critical point. There are a number of tests to determine whether or not f has a maximum at a given interior critical point. Here are two such tests. In both tests we assume that f is continuous on its domain I.
DIRECT TEST
Suppose c is the only interior critical point of f, and u, v are points in I with u<c<v.
(i) If f(c) > f(u) and f(c) > f(v), then f has a maximum at c and nowhere else.
(ii) If f(c) < f(u) and f(c) <f(v), then f has a minimum at c and nowhere else.
(iii) Otherwise, f has neither a maximum nor a minimum at c.
The three cases in the Direct Test are shown in Figure 3.5.6. The advantage of the Direct Test is that one can determine whether f has a maximum or minimum at c by computing only the three values f(u), f(v), and f(c) instead of computing all values of f(x).
Figure 3.5.6
PROOF OF THE DIRECT TEST
We must prove that if two points of I are on the same side of c, their values are on the same side of f(c). Suppose, for instance, that u1< u2< c (Figure 3.5.7). On the closed interval [u1, c] the only
Figure 3.5.7
critical points are the endpoints. Thus when we restrict f to this interval, it has a maximum at one endpoint and a minimum at the other. If the maximum is at c, then f(u1) and f(u2) are both less than f(c); if the minimum is at c, then f(u1) and f(u2) are both greater then f(c). A similar proof works when c< v1 < v2.
SECOND DERIVATIVE TEST
Suppose c is the only interior critical point of f and that f ′(c) = 0.
(i) If f ′′(c) <0, f has a maximum at c and nowhere else.
(ii) If f ′′ (c)>0, f has a minimum at c and nowhere else.
We omit the proof and give a simple intuitive argument instead. (See Figure 3.5.8). Since f ′(c)=0, the curve is horizontal at c. If f ′′(c) is negative the slope is decreasing. This means that the curve climbs up until it levels off at c and then falls down, so it has a maximum at c. On the other hand, if f ′′(c) is positive, the slope is increasing, so the curve falls down until it reaches a minimum at c and then climbs up. This argument makes it easy to remember which way the inequalities go in the test.
The Second Derivative Test fails when f ′′(c) = 0 and when f ′′(c) does not exist. When the Second Derivative Test fails any of the following things can still happen:
(1) f has a maximum at x = c.
(2) f has a minimum at x = c.
(3) f has neither a maximum nor a minimum at x = c.
Figure 3.5.8
In most maximum and minimum problems, there is only one critical point except for the endpoints of the interval. We develop a method for finding the maximum and minimum in that case.
METHOD FOR FINDING MAXIMA AND MINIMA
When to use : f is continuous on its domain I, and f has exactly one interior critical point.
Step 1 Differentiate f .
Step 2 Find the unique interior critical point c of f.
Step 3 Test to see whether f has a maximum or minimum at c.
The Direct Test or the Second Derivative Test may be used.
This method can be applied to an open or half-open interval as well as a closed interval.
The Second Derivative Test is more convenient because it requires only the single computation f ′′(c), while the Direct Test requires the three computations f(u), f(v), and f(c). However, the Direct Test always works while the Second Derivative Test sometimes fails.
We illustrate the use of both tests in the examples.
EXAMPLE 4
Find the point on the line y=2x+3 which is at minimum distance from the origin.
and substituting 2x+3 for y,
This is define on the whole real line.
Step 2
At x=____, 5x+6 = 0 and z >0 so d ²z/dx² = 5/z > 0.
By the Second Derivative Test, z has a minimum at x = ___.
The distance is a minimum at
The minimum distance is
This is shown in Figure 3.5.9.
Figure 3.5.9
EXAMPLE 5 Find the minimum of f (x) = x6 + 10 x4 + 2.
Step 1 f ′(x) = 6x5 + 40 x3 = x3 (6x2+ 40).
Step 2 f ′(x) = 0 only when x= 0.
Step 3 The Second Derivative Test fails, because
f ′′(x) = 30 x4 + 120x2, f ′′(0)=0.
We use the Direct Test. Let u= -1, v=1. Then
f (0)=2, f (-1) = 13, f(1) = 13.
Hence f has a minimum at 0, as shown in Figure 3.5.10.
EXAMPLE 6 Find the maximum of f(x) = 1 - x2/3.
Step 2 f ′(x) is undefined at x=0, and this the only critical point.
Figure 3.5.10
Step 3 We use the Direct Test. Let u = -1, v = 1
f (0)=1, f (-1)=0, f (1) = 0.
Thus f has a maximum at x=0, as shown in Figure 3.5.11.
If f has more than one interior critical point, the maxima and minima can sometimes be found by dividing the interval into two or more parts.
EXAMPLE 7 Find the maximum and minimum of f(x) = x/(x²+ 1).
Step 1
Step 2 f ′(x)=0, when x = -1 and x=1. There are two interior critical points. We divide the
interval (- ∞,∞) on which f is defined into the two subintervals (- ∞,0] and [0,∞).
On each of these subintervals, f has just one interior critical point.
Step 3 We shall use the direct test for the subinterval (- ∞,0] . At the critical point -1, we have f(-1) =____ . By direct computation, we see that f(-2) =___ and f(0)=0. Both of these values are greater than ____. This shows that the restriction of f to the subinterval (- ∞,0] has a minimum at x= -1. Moreover, f(x) is always ≥ 0 for x in the other subinterval [0, ∞]. Therefore f has a minimum at -1 for the whole interval (- ∞, ∞) . In a similar way, we can show that f has a maximum at x =1.
CONCLUSION
f has a minimum at x = -1 with value f(-1)= ____ , and a maximum at x = 1 with value f(1) =____ . (See Figure 3.5.12.)
The Critical Point Theorem can often be used to show that a curve has no maximum or minimum on an open interval I = (a,b) . The theorem shows that:
If y = f(x) has no critical points in (a,b), the curve has no maximum or minimum on(a, b).
If y = f(x) has just one critical point x=c in(a,b) and two points x1 and
Figure 3.5.12
x2 are found where f(x1)<f(c) <f(x2), then the curve has no maximum or minimum on (a,b).
EXAMPLE 8 f(x) = x³ -1. Test for maxima and minima.
Step 1 f ′(x) = 3x²
Step 2 f ′(x) = 0 only when x = 0
Step 3 The Second Derivative Test fails, because f ′′(x) = 6x, f ′′(0) = 0.
By direct computation, f (0) = -1, f (-1)= -2, f(1) = 0.
Therefore f has neither a minimum nor a maximum at x = 0.
CONCLUSION
Since x = 0 is the only critical point of f and f doesn’t have a maximum or minimum there, we conclude that f has no maximum and no minimum as shown in Figure 3.5.13.
Figure 3.5.13
PROOF OF THE CRITICAL POINT THEOREM
Assume that neither (i) nor (ii) holds; that is, assume that c is not an endpoint of I and f ′(c) exists. We must show that (iii) is true; i.e., f ′(c) = 0. We give the proof for the case that f has a maximum at c. Let x=c, and let Δx > 0 be infinitesimal. Then
f(c+ Δx) ≤ f(c), f(c-Δx) ≤ f(c).
( See Figure 3.5.14.) Therefore
Figure 3.5.14 Proof of the Critical Point Theorem
Taking standard parts,
and also,
Therefore f ′(c) = 0.
PROBLEMS FOR SECTION 3.5
In Problems 1-36, find the unique interior critical point and determine whether it is a maximum, a minimum, or neither.
1 f(x) = x² 2 f(x) =1 - x²
3 f(x) = x4 + 2 4 f(x) = x4 + 3x² + 5
5 f(x) = x3 + 2 6 f(x) = x3 _3x² +3x
7 f(x) = 3x² +2x -5 8 f(x) = 2(x -1)4 + (x -1)² + 6
9 f(x) = x4 /5 10 f(x) = 2 - (x+1) 2/3
13 f(x) = x 2/3 +1 14 f(x) = 4 - x 1/5
15 f(x) = x 2- x -1 , x<0 16 f(x) = x 2 - x -1 , x>0
17 f(x) = x -1- ( x -3 )-1 , 0< x< 3 18 f(x) = x + x-1 , 0< x
19
21 y = sin x + x, 0≤ x ≤ 2π 22 y = sin² x , 0 < x ≤ π
23 y=e - x² 24 y=e x² -1
25
26 y =1n (sin x), 0 < x< π
27 y = xex 28 y= x1n x, 0< x < ∞
29 y= x -1n x, 0< x < ∞ 30 y = ex -x
31 f(x) = | x - 3 | 32 f(x) = 3+ | 1 - x |
33 f(x) = 2 - |x| 34 f(x) =2| x | - x
36
37 Find the shortest distance between the line y=1 - 4x and the origin.
38 Find the shortest distance between the curve y=2x and the origin.
39 Find the minimum of the curve f(x) = xm - mx, x > 0, where m is an integer ≥2.
40 Find the minimum of the curve f(x) = xm - mx, x < 0, where m is an integer ≥2.
In Problems 41-44, find the maximum and minimum of the given curve.
41
43