Calculus and Architecture
Calculus and Architecture
CHAPTER 12
MAXIMA AND MINIMA
OF FUNCTIONS
AND OPTIMIZATION PROBLEMS I
12.1 INTRODUCTION
Derivatives can be used to find the value in the domain of a function at which the
function takes on its largest or smallest value. If the function is smooth, i.e., it is
continuous everywhere and is differentiable (you can calculate its derivative) everywhere
except at all but a finite number of points then calculus can help to find the largest and
smallest point directly without having to use trial and error. In the next Section we will
find the points in any closed interval (intervals which include their endpoints), signified
by square brackets [a,b], where the function takes on its largest and smallest values
referred to as the absolute maximum and absolute minimum We will then extend these
ideas to finding maxima and minima on intervals that do not include their endpoints.
These ideas will be applied to solving problems with realistic contexts known as “word
problems.”
a c e g
d f b x
Fig. 1
For the function shown in Fig. 1, we had the luxury of a graph to help find max and
dy
min. In fact we can fly blind by computing for the function, and then finding the
dx
dy
critical points, i.e., solving 0 , finding the function values at the endpoints and
dx
places where there is no derivative such a cusp. A cusp can only occur at places where
dy 2
the derivative “blows up.” . For example, if y x 2 / 3 then 1 / 3 . When x = 0 the
dx 3 x
function is continuous but the derivative has an infinite value, i.e., x = 0 is a cusp.
Having found these special values of x we can make a table and chose the largest and
smallest values of y = f(x). .
Table 1
x a b c d e f g
y = f(x) f(a) f(b) f(c) f(d) f(e) f(f) f(g)
Example 1:
dy
Solution: = 2x+4 = 0 or x = - 2, a critical point.
dx
The endpoints are: x = -3 and x = 0
Table 2
x -3 -2 0
f(x) 4 3 7
Example 2:
16
f ( x) x 2 ; [1, 3]
x
dy 16
2 x 2 0 or x3 = 8 or x = 2, a critical point.
dx x
Endpoints: x = 1, x = 3
Table 3
x 1 2 3
f(x) 17 12 14 1/3
Max is at x = 1 , Min is at x = 2
In Examples 1,2, and 3 the interval is closed, i.e., it contains its endpoints. We can
also consider intervals signified by curved brackets, (a,b), which do not include their
endpoints as Examples 3 and 4 demonstrate..
Example 3
f ( x) x 3 3 x 1 ; [0, )
Because the function does not exist at the infinite endpoint , we must look at the behavior
of the function as x approaches infinity, As we saw in Chapter 11, the behavior at infinity
is determined by approximating the polynomial by its highest degree term, i.e.,
x 3 3x 1 x 3
so that f (x) as x ., therefore the function does not attain its largest value; it
gets large without bound.. To find the absolute minimum,
dy
= 3x2 – 3.
dx
dy
= 0 when x = -1 and 1 (critical points).
dx
Since x = - 1 is not in the interval being considered we need only consider x = 1. The
endpoint is x = 0 so that the table is,
Table 4
x 0 1
f(x) 1 -1
Therefore, the absolute minimum is at x = 1 and has the value, f(1) = -1.
Example 4
4
f ( x) x , (0, )
x2
Note that 0 and are excluded from the search for maximum and minimum because the
function does not exist at those points. First look at the behavior as x approaches
infinity. As x approaches infinity,
4
x
x
x2
and f (x) as x .
Also f (x) as x 0 . So the function does not have a maximum value. You
can always find a larger value as you approach either 0 or .
dy 8
1 3 0
dx x
x 8 or x = 2, a critical point..
3
Since neither of the endpoints are being considered, the table reduces to a single point,
Table 5
x 2
f(x) 3
Therefore this function has no absolute maximum, but its absolute minimum at x = 2.
Problem 1:
For the following functions over the given intervals, find the absolute maximum and
minimum values,
a) f ( x) x 3 3 x 2 , [-1, 3]
b) f ( x) x 3 3 x 2 9 x 15, [-5,4]
c) f ( x) x 1 / x, x >0
Example 5
A piece of land 36 feet long borders a river.. One hundred feet of fencing is used to
enclose a rectangular plot of land in which the land is surrounded by the fence on three
sides leaving the river unfenced. Find the dimensions of the rectangular fence that
encloses the largest area. What is the maximum area?
We solve this problem by a series of steps. I refer to Steps 1,2, and 3 as the “Entry
Phase,” Steps 3, 4, and 5 as the “Attack Phase,” and Step 6 as the “Review Phase.”
Step 1: Read the problem and place the given information on a diagram or table as
shown in Fig. 2. State any assumptions being made. Define the variables and their units
used..
36 ft River
y y
Perimeter
x
= 100 ft
Fig. 2
Assume that the river is straight. and the plot of land is flat.
Let A = the Area in square feet,
x = the length of the rectangle in feet, and
y = the width of the rectangle in feet.
Step 3: Find an equation involving the quantity that you wish to maximize, and
state other equations involving the variables of the problem.
A = xy (1)
100 = x + 2y (2)
Step 4: If the quantity that you wish to maximize has more than one variable (as in Eq.
1), eliminate one of the variables by solving the other equation for it (as in Eqs. 2 and 3).
Be sure to express the domain of the function to be maximized. (as in Eq. 4).
x
y 50 (3)
2
x2
A 50 x , 0 x 36 (4)
2
Step 5: Forget that you are dealing with a word problem and use the ideas from Section
2 to find the maximum value of A, i.e., the maximum will occur at either the critical point
or the endpoint..
dA
50 x 0
dx
x = 50,
Since x = 50 is not in the interval of interest, we need only consider the endpoints, as
shown in Table 6.
Table 6
x 0 36
y 50 32
A 0 1152
Step 6: We check t he results and see if they make physical sense, i.e., are the
magnitudes reasonable and are the signs correct?
We will solve all max-mim problems by the same procedure. We demonstrate this in
Examples 2 and 3 without comment.
Example 6
A rectangular parallelopiped box with square base has a volume of 108 ft3. Find the
dimensions of the box that has the least exposed surface area. We assume that the bottom
of the box is not exposed, only the top and sides.
3
y V = 108ft
Fig. 3
A = x2 + 4xy
V = x2y = 108
108
y
x2
(4)(108)
A x2 , 0 x
x
Note that there are no endpoints to this interval and that A as x 0 and x
Therefore there is no maximum value. To find the minimum value of A we need only
consider the critical point.
dA 432
2x 2 0
dx x
x 3 216 or x = 6, y = 3.
Table 7
x 6
y 3
A 108
Example 3
Four square corners are cut out of a 5 x 8 rectangular piece of paper. The paper is then
folded into a box with open top. Find the dimension of the cut that maximizes the
volume of the box.
Solution:
x x
x x
x x 5
Fig. 4
V 4 x 3 26 x 2 40 x
dV
12 x 2 52 x 2 40 0
dx
3 x 2 13 x 10 0
(3 x 10)( x 1) 0
x = 3.33…, x = 1
Since x = 3.33…is not in the interval of interest, the only critical point is x = 1 so the
Table is,
Table 8
x 0 1 2.5
V 0 18 0
Problem 2
You must construct a closed rectangular box with volume 576 in3 and with its bottom
twice as long as it is wide (see Fig. 5). Find the dimensions of the box that will minimize
its total surface area.
3
V = 576 in
y
2x
Problem 3
Fig. 5
A landscape architect plans to enclose a 3000 square foot rectangular region in a
botanical garden. She will use shrubs costing $25 per foot along three sides and fencing
costing $10 per foot along the fourth side. Find the total cost and the dimensions of the
rectangle.
Problem 4
Suppose that a post office can accept a package for mailing only if the sum of its length
and its girth (the circumference of its cross section) is at most 100 in. What is the
maximum volume of a rectangular box with square cross section that can be mailed?
Problem 5
A farmer has 600 yd. of fencing with which to build a rectangular corral. Some of the
fencing will be used to construct two interval divider fences, both parallel to the same
two sides of the corral (see Fig 6). What is the maximum possible total area of such a
corral?
x x x
Fig. 6