You are here

Applications Maxima and minima

20 January, 2016 - 10:05

When a function goes up and then smoothly turns around and comes back down again, it has zero slope at the top. A place where \dot{x}=0, then, could represent a place where x was at a maximum. On the other hand, it could be concave up, in which case we'd have a minimum. The term extremum refers to either a maximum or a minimum.

Example

Fred receives a mysterious e-mail tip telling him that his investment in a certain stock will have a value given by x=-2t^4+(6.4577\times 10^{10})t, where t\geq 2005 is the year. Should he sell at some point? If so, when?

If the value reaches a maximum at some time, then the derivative should be zero then. Taking the derivative and setting it equal to zero, we have

\begin{align*} 0 &=-8t^3+6.4577\times 10^{10} \\ t&=\left ( \frac{6.4577\times 10^{10}}{8} \right )^{1/3} \\ t&= \pm 2006.0 \end{align*}

Obviously the solution at t=-2006.0 is bogus, since the stock market didn’t exist four thousand years ago, and the tip only claimed the function would be valid for t\geq 2005.

Should Fred sell on New Year’s eve of 2006?

But this could be a maximum, a minimum, or an inflection point. Fred definitely does not want to sell at t=2006 if it’s a minimum! To check which of the three possibilities hold, Fred takes the second derivative:

\ddot{x}=-24t^2

Plugging in t=-2006.0, we find that the second derivative is negative at that time, so it is indeed a maximum.

Implicit in this whole discussion was the assumption that the maximum or minimum occurred where the function was smooth. There are some other possibilities.

In Figure 1.14, the function's minimum occurs at an end-point of its domain.

media/image14.png
Figure 1.14
The function
 
x=\sqrt{t} has a minimum at t=0, which is not a place where \dot{x}=0. This point is the edge of the function’s domain.  
media/image15.png
Figure 1.15
The function
 x=\left | t \right |  has a minimum at t=0, which is not a place where \dot{x}=0. This is a point where the function isn’t differentiable. 

Another possibility is that the function can have a minimum or maximum at some point where its derivative isn't well defined. Figure 1.15 shows such a situation. There is a kink in the function at t=0, so a wide variety of lines could be placed through the graph there, all with different slopes and all staying on one side of the graph. There is no uniquely defined tangent line, so the derivative is undefined.

Example

Rancher Rick has a length of cyclone fence L with which to enclose a rectangular pasture. Show that he can enclose the greatest possible area by forming a square with sides of length L/4.
If the width and length of the rectangle are t and u, and Rick is going to use up all his fencing material, then the perimeter of the rectangle, 2t+2u, equals L, so for a given width, t, the length is u=L/2-t. The area is a=tu=t(L/2-t). The function only means anything realistic for 0\leq t\leq L/2, since for values of t outside this region either the width or the height of the rectangle would be negative. The function a(t) could therefore have a maximum either at a place where \dot{a}=0, or at the endpoints of the function’s domain. We can eliminate the latter possibility, because the areais zero at the endpoints.
To evaluate the derivative, we first need to reexpress a as a polynomial

a=-t^2+\frac{L}{2}t
The derivative is

\dot{a}=-2t+\frac{L}{2}
Setting this equal to zero, we find t=L/4, as claimed. This is a maximum, not a minimum or an inflection point, because the second derivative is the constant \ddot{a}=-2, which is negative for all t, including t=L/4.