Find the global maximum and the global minimum for f(x)=2x3−6x2−2 on the interval [1,4].
Answer+
Global maximum is f(4)=30, global minimum is f(2)=−10.
Full solution+
We compute f′(x)=6x2−12x=6x(x−2), which means that f(x) has no singular points
(i.e., it is differentiable for all values of x), but it has the two critical points:
x=0 and x=2.
Note, however, 0 is not in the interval [1,4].
c
1
4
2
type
endpoint
endpoint
critical point
f(c)
−6
30
−10
So, the global maximum is f(4)=30 while the global minimum is f(2)=−10.
For Questions 4 and 5, you can decide whether a critical point is a local extremum by considering the derivative of the function.
Consider the function h(x)=x3−12x+4.
What are the coordinates of the local maximum of h(x)? What are the coordinates of the local minimum of h(x)?
Hint+
One way to decide whether a critical point x=c is a local extremum is to consider the first derivative. For example: if f′(x) is negative for all x just to the left of c, and positive for all x just to the right of c, then f(x) decreases up till c, then increases after c, so f(x) has a local minimum at c.
Answer+
Local max at (−2,20), local min at (2,−12).
Full solution+
Since h(x) is a polynomial, it has no singular points. We compute its critical points:
h′(x)0x=3x2−12=3x2−12=±2
Notice as x→∞, h(x)→∞, and as x→−∞h(x)→−∞. So Theorem 8.3.3 doesn't exactly apply. Instead, let's consider the signs of h′(x).
x
(−∞,−2)
(−2,2)
(2,∞)
h′(x)
>0
<0
>0
h(x)
increasing
decreasing
increasing
So, h(x) increases until x=−2, then decreases. That means h(x) has a local maximum at x=−2. The function decreases from −2 until 2, after which is increases, so h(x) has a local minimum at x=2.
We compute f(−2)=20 and f(2)=−12.
Consider the function h(x)=2x3−24x+1.
What are the coordinates of the local maximum of h(x)? What are the coordinates of the local minimum of h(x)?
Hint+
One way to decide whether a critical point x=c is a local extremum is to consider the first derivative. For example: if f′(x) is negative for all x just to the left of c, and positive for all x just to the right of c, then f(x) decreases up till c, then increases after c, so f(x) has a local minimum at c.
Answer+
(−2,33) max, and (2,−31) min
Full solution+
Since h(x) is a polynomial, it has no singular points. We compute its critical points:
h′(x)0x=6x2−24=6x2−24=±2
Notice as x→∞, h(x)→∞, and as x→−∞h(x)→−∞. So Theorem 8.3.3 doesn't exactly apply. Instead, let's consider the signs of h′(x).
x
(−∞,−2)
(−2,2)
(2,∞)
h′(x)
>0
<0
>0
h(x)
increasing
decreasing
increasing
So, h(x) increases until x=−2, then decreases. That means h(x) has a local maximum at x=−2. The function decreases from −2 until 2, after which is increases, so h(x) has a local minimum at x=2.
We compute f(−2)=33 and f(2)=−31.
For Questions 6 through 13, you will have to find an expression for the quantity you want to optimize as a function of a single variable.
You are in a dune buggy at a point P in the desert, 12
km due south of the nearest point A on a straight east-west road. You
want to get to a town B on the road 18 km east of A. If your dune
buggy can travel at an average speed of 15 km/hr through the desert and
30 km/hr along the road, towards what point Q on the road should you
head to minimize your travel time from P to B?
Hint+
Start with a formula for travel time from P to B. You might want to assign a variable to the distance from A where your buggy first reaches the road.
Answer+
Q should be 43 kilometres from A
Full solution+
Suppose that Q is a distance of x from A.
Then it is a distance of 18−x from B.
Using the Pythagorean Theorem, the distance from P to Q is 122+x2 kilometres, and the buggy travels 15 kph over this off-road stretch.
The travel time
from P to Q is 15122+x2 hours.
The distance from Q to B is 18−x kilometres, and the dune buggy travels 30 kph along this road. The travel time from Q
to B is 3018−x hours.
So, the total travel time is
f(x)=15122+x2+3018−x.
We wish to minimize
this for 0≤x≤18. We will test all singular points, critical points, and endpoints to find which yields the smallest value of f(x). Since there are no singular points, we begin by locating the critical points.
A closed three dimensional box is to be constructed in such
a way that its volume is 4500 cm3. It is also specified that the length
of the base is 3 times the width of the base. Find the dimensions of the
box that satisfies these conditions and has the minimum possible
surface area. Justify your answer.
Hint+
A box has three dimensions; make variables for them, and write the relations given in the problem in terms of these variables.
Answer+
10×30×15
Full solution+
Let ℓ,w and h denote the length, width and height
of the box respectively.
We are told that ℓwh=4500 and that
ℓ=3w. Hence h=ℓw4500=3w24500=w21500.
The surface area of the box is
As w tends to zero or to infinity, the surface area approaches infinity.
By Theorem 8.3.3 the minimum surface area must occur at a critical point of
w2+w2000.
A closed rectangular container with a square base is to be made
from two different materials. The material for the base costs $5 per square
metre, while the material for the other five sides costs $1 per square
metre. Find the dimensions of the container which has the largest possible
volume if the total cost of materials is $72.
Hint+
Find a formula for the cost of the base, and another formula for the cost of the other sides. The total cost is the sum of these two formulas.
Answer+
2×2×6
Full solution+
Let the length of the sides of the square base be b metres
and let the height be h metres. The area of the base is b2, the area
of the top is b2 and the
area of each of the remaining four sides is bh so the total cost is
cost of base5(b2)+cost of 5 sides1(b2+4bh)=6b2+4bh=72
Solving for h,
h=4b72−6b2=46(b12−b2)=23(b12−b2)
The volume is
V=b2h=b2⋅23(b12−b2)=18b−23b3.
This is the function we want to maximize.
Since volume is never negative, the endpoints of the functions are the values of b that make the volume 0. So, the maximum volume will not occur at an endpoint, it will occur at a critical point.
The only critical point is b=2:
Find a point X on the positive x–axis and a point Y
on the positive y–axis such that (taking O=(0,0))
The triangle XOY contains the first quadrant portion of
the unit circle x2+y2=1 and
the area of the triangle XOY is as small as possible.
A complete and careful mathematical justification of property (i)
is required.
Hint+
The setup is this:
Answer+
X=Y=2
Full solution+
It suffices to consider X and Y such that the line XY
is tangent to the circle. Otherwise we could reduce the area of the triangle
by, for example, holding X fixed and reducing Y. So let X and Y
be the x– and y–intercepts of the line tangent to the circle at
(cosθ,sinθ). Then X1=cosθ and
$\dfrac{1}{Y}=\cos\left(\dfrac{\pi}{2}-\theta\right)
=\sin\theta$. The area of the triangle is
21XY=2cosθsinθ1=sin(2θ)1
This is a minimum when sin(2θ) is a maximum. That is when
2θ=2π. Hence X=cos(π/4)1 and
Y=sin(π/4)1. That is, X=Y=2.
A rectangle is inscribed in a semicircle of radius R
so that one side of the rectangle lies along a diameter of the semicircle.
Find the largest possible perimeter of such a rectangle, if it exists,
or explain why it does not. Do the same for the smallest possible perimeter.
Hint+
Put the whole system on xy-axes, so that you can easily describe the pieces using (x,y)-coordinates.
Answer+
The largest possible perimeter is 25R and
the smallest possible perimeter is 2R.
Full solution+
For ease of notation, we place the semicircle on a Cartesian plane with diameter along the x-axis and centre at the origin.
If x is the point where the rectangle touches the diameter to the right of the y-axis, then 2x is the width of the rectangle. The origin and the two right corners of the rectangle form a right triangle with hypotenuse R, so by the Pythagorean Theorem,
the upper right hand corner
of the rectangle is at (x,R2−x2). The perimeter of the rectangle is given by the function:
P(x)=4x+2R2−x2
So, this is what we optimize. The endpoints of the domain for this function are x=0 and x=R. To find the critical points, we differentiate:
Note that since our perimeter formula was defined to work only for x in [0,R], we neglect the negative square root, −52R.
Now, we find the size of the perimeter at the critical point and the endpoints:
c
0
R
52R
type
endpoint
endpoint
critical point
P(c)
2R
4R
25R
So, the largest possible perimeter is 25R and
the smallest possible perimeter is 2R.
Remark: as a check on the correctness of our formula for P(x),
when x=0 the rectangle degenerates to the line segment from
(0,0) to (0,R). The perimeter of this “width zero rectangle”
is 2R, agreeing with P(0).
Similarly, when x=R the rectangle degenerates
to the line segment from (R,0) to (−R,0). The perimeter
of this “width zero rectangle” is 4R, agreeing with P(R).
Find the maximal possible volume of a cylinder with surface
area A. (Food is often packaged in cylinders, and companies wouldn't want to waste the metal they are made out of. So, you might expect the dimensions you find in this problem to describe a tin of, say, cat food. Read here about why this isn't the case.)
Hint+
The surface area consists of two discs and a
strip. Find the areas of these pieces.
The volume of a cylinder with radius r and height h is πr2h.
Answer+
36πA3/2
Full solution+
Let the cylinder have radius r and height h. If we imagine popping off the ends, they are two circular disks, each with surface area πr2. Then we imagine unrolling the remaining tube. It has height h, and its other dimension is given by the circumference of the disks, which is 2πr. Then the area of the “unrolled tube" is 2πrh.
So, the surface area is 2πr2+2πrh. Since the area is given as A, we can solve for h:
A2πrhh=2πr2+2πrh=A−2πr2=2πrA−2πr2.
Then we can write the volume as a function of the variable r and the constant A:
V(r)=πr2h=πr2(2πrA−2πr2)=21(Ar−2πr3)
This is the function we want to maximize. Let's find its critical points.
V′(r)V′(r)=0=21(A−6πr2)⟺A=6πr2⟺r=6πA
since negative values of r don't make sense. At this critical point,
We should also check the volume of the cylinder at the endpoints of the function. Since r≥0, one endpoint is r=0. Since h≥0, and r grows as h shrinks, the other endpoint is whatever value of r causes h to be 0. We could find this value of r, but it's not strictly necessary: when r=0, the volume of the cylinder is zero, and when h=0, the volume of the cylinder is still zero. So, the maximum volume does not occur at the endpoints.
Therefore, the maximum volume is achieved at the critical
point, where
Vmax=36πA3/2.
Remark: as a check, A has units m2 and, because of the
A3/2, our answer has units m3, which are the correct
units for a volume.
What is the largest possible area of a window, with perimeter P,
in the shape of a rectangle with a semicircle on top (so the diameter of the
semicircle equals the width of the rectangle)?
Hint+
If the circle has radius r, and the entire window has perimeter P, what is the height of the rectangle?
Answer+
2(π+4)P2
Full solution+
Denote by r the radius of the semicircle, and let h be the height of the recangle.
Since the perimeter
is required to be P, the height, h, of the rectangle must obey
Ph=πr+2r+2h=21(P−πr−2r)
So the area is
A(r)=21πr2+2rh=21πr2+r(P−πr−2r)=rP−21(π+4)r2
Finding all critical points:
0=A′(r)r=P−(π+4)r=π+4P
Now we want to know what radius yields the maximum area. We notice that
A′(r)>0 for r<π+4P and A′(r)<0 for r>π+4P.
So, A(r) is increasing until the critical point, then decreasing after it. That means
the global maximum occurs at the critical point,r=π+4P. The maximum area is
Remark: another way to see that the global maximum occurs at the critical point is to compare the area at the critical point to the areas at the endpoints of the function. The smallest value of r is 0, while the biggest is π+2P (when the shape is simply a half-circle). Comparing A(0), A(π+2P), and
A(π+4P) is somewhat laborious, but certainly possible.
Consider an open-top rectangular baking pan with base dimensions
x centimetres by y centimetres and height z centimetres that is
made from A square centimetres of tin plate. Suppose y=px for some
fixed constant p.
Find the dimensions of the baking pan with the maximum
capacity (i.e., maximum volume). Prove that your answer yields the
baking pan with maximum capacity. Your answer will depend on the value of p.
Find the value of the constant p that yields the baking
pan with maximum capacity and give the dimensions of the resulting
baking pan. Prove that your answer yields the baking pan with maximum
capacity.
Answer+
(a)
x=3pA,
y=3Ap, and
z=3(1+p)Ap
(b) p=1
(The dimensions of the resulting baking pan are
x=y=3A and z=213A.)
Full solution+
(a) The surface area of the pan is
xy+2xz+2yz=px2+2xz+2pxz=px2+2(1+p)xz
and the volume of the pan is xyz=px2z. Assuming that all Acm2
is used, we have the constraint
The derivative V′(x) is 0 when x=3pA. The derivative
is positive (i.e. V(x) is increasing) for x<3pA and
is negative (i.e. V(x) is decreasing) for x>3pA. So
the pan of maximum volume has dimensions x=3pA,
y=p3pA=3Ap and
z=2(1+p)A/(3p)2A/3=3(1+p)Ap.
(b) The volume of the pan from part (a) is
(c)
Since x>0, xx>0. So, the sign of f′(x) is the same as the sign of 1+logx.
For x<e1, logx<−1 and f′(x)<0. That is, f(x)
decreases as x increases, when x<e1.
For x>e1, logx>−1 and f′(x)>0. That is, f(x)
increases as x increases, when x>e1. Hence f(x)
is a local minimum at x=e1.
A length of wire is cut into two pieces, one of which is bent
to form a circle, the other to form a square. How should the wire be cut
if the area enclosed by the two curves is maximized?
How should the wire be cut
if the area enclosed by the two curves is minimized? Justify your answers.
Hint+
When you are finding the global extrema of a function, remember to check endpoints as well as critical points.
Answer+
Maximum area: do not cut, make a circle and no square.
Minimum area: make a square out of a piece that is 4+π4 of the total length of the wire.
Full solution+
Call the length of the wire L units and suppose that it
is cut ℓ units from one end. Make the square from the piece of length ℓ, and make the circle from the remaining piece of length L−ℓ.
The square has perimeter ℓ, so its side length is ℓ/4
and its area is (4ℓ)2.
The circle has circumference L−ℓ, so its radius is
2πL−ℓ and its area is π(2πL−ℓ)2=4π(L−ℓ)2.
The area enclosed by the shapes, when the square is made from a length of size ℓ, is
A(ℓ)=16ℓ2+4π(L−ℓ)2
We want to find the global max and min for this function, given the constraint 0≤ℓ≤L, so we find its derivative:
A′(ℓ)=8ℓ−2πL−ℓ=8ππ+4ℓ−2πL
Now, we find the critical point.
A′(ℓ)8ππ+4ℓℓ=0=2πL=π+44L
ℓ
0
L
...π+44L
type
endpoint
endpoint
critical point
A(ℓ)
...4πL2
16L2
A(π+44L)
It seems obnoxious to evaluate A(π+44L), and the problem doesn't ask for it–but we still have to figure out whether it is a global max or min.
When ℓ<π+44L, A′(ℓ)<0, and when
ℓ>π+44L, A′(ℓ)>0. So, A(ℓ) is decreasing until ℓ=π+44L, then increasing. That means our critical point ℓ=π+44L
is a local minimum.
So, the minimum occurs at the only critical point, which is ℓ=(4+π4)L. This corresponds to Lℓ=4+π4: the proportion of the wire that is cut is 4+π4.
The maximum has to be either at ℓ=0 or at ℓ=L.
As A(0)=4πL2>A(L)=16L2, the maximum has ℓ=0
(that is, no square).