We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > Calculus Volume 1

Applied Optimization Problems

Learning Objectives

  • Set up and solve optimization problems in several applied fields.

One common application of calculus is calculating the minimum or maximum value of a function. For example, companies often want to minimize production costs or maximize revenue. In manufacturing, it is often desirable to minimize the amount of material used to package a product with a certain volume. In this section, we show how to set up these types of minimization and maximization problems and solve them by using the tools developed in this chapter.

Solving Optimization Problems over a Closed, Bounded Interval

The basic idea of the optimization problems that follow is the same. We have a particular quantity that we are interested in maximizing or minimizing. However, we also have some auxiliary condition that needs to be satisfied. For example, in (Figure), we are interested in maximizing the area of a rectangular garden. Certainly, if we keep making the side lengths of the garden larger, the area will continue to become larger. However, what if we have some restriction on how much fencing we can use for the perimeter? In this case, we cannot make the garden as large as we like. Let’s look at how we can maximize the area of a rectangle subject to some constraint on the perimeter.

Maximizing the Area of a Garden

A rectangular garden is to be constructed using a rock wall as one side of the garden and wire fencing for the other three sides ((Figure)). Given 100 ft of wire fencing, determine the dimensions that would create a garden of maximum area. What is the maximum area?

A drawing of a garden has x and y written on the vertical and horizontal sides, respectively. There is a rock wall running along the entire bottom horizontal length of the drawing. Figure 1. We want to determine the measurements xx and yy that will create a garden with a maximum area using 100 ft of fencing.

Answer:

Let xx denote the length of the side of the garden perpendicular to the rock wall and yy denote the length of the side parallel to the rock wall. Then the area of the garden is

A=xyA=x·y.

We want to find the maximum possible area subject to the constraint that the total fencing is 100100 ft. From (Figure), the total amount of fencing used will be 2x+y2x+y. Therefore, the constraint equation is

2x+y=1002x+y=100.

Solving this equation for yy, we have y=1002xy=100-2x. Thus, we can write the area as

A(x)=x(1002x)=100x2x2A(x)=x \cdot (100-2x)=100x-2x^2.

Before trying to maximize the area function A(x)=100x2x2A(x)=100x-2x^2, we need to determine the domain under consideration. To construct a rectangular garden, we certainly need the lengths of both sides to be positive. Therefore, we need x>0x>0 and y>0y>0. Since y=1002xy=100-2x, if y>0y>0, then x<50x<50. Therefore, we are trying to determine the maximum value of A(x)A(x) for xx over the open interval (0,50)(0,50). We do not know that a function necessarily has a maximum value over an open interval. However, we do know that a continuous function has an absolute maximum (and absolute minimum) over a closed interval. Therefore, let’s consider the function A(x)=100x2x2A(x)=100x-2x^2 over the closed interval [0,50][0,50]. If the maximum value occurs at an interior point, then we have found the value xx in the open interval (0,50)(0,50) that maximizes the area of the garden. Therefore, we consider the following problem:

Maximize A(x)=100x2x2A(x)=100x-2x^2 over the interval [0,50][0,50].

As mentioned earlier, since AA is a continuous function on a closed, bounded interval, by the extreme value theorem, it has a maximum and a minimum. These extreme values occur either at endpoints or critical points. At the endpoints, A(x)=0A(x)=0. Since the area is positive for all xx in the open interval (0,50)(0,50), the maximum must occur at a critical point. Differentiating the function A(x)A(x), we obtain

A(x)=1004xA^{\prime}(x)=100-4x.

Therefore, the only critical point is x=25x=25 ((Figure)). We conclude that the maximum area must occur when x=25x=25. Then we have y=1002x=1002(25)=50y=100-2x=100-2(25)=50. To maximize the area of the garden, let x=25x=25 ft and y=50y=50 ft. The area of this garden is 1250ft21250 \, \text{ft}^2.

The function A(x) = 100x – 2x is graphed. At its maximum there is an intersection of two dashed lines and text that reads “Maximum area is 1250 square feet when x = 25 feet.” Figure 2. To maximize the area of the garden, we need to find the maximum value of the function A(x)=100x2x2A(x)=100x-2x^2.

Determine the maximum area if we want to make the same rectangular garden as in (Figure), but we have 200 ft of fencing.

Answer:

The maximum area is 5000ft25000 \, \text{ft}^2.

Hint

We need to maximize the function A(x)=200x2x2A(x)=200x-2x^2 over the interval [0,100][0,100].

Now let’s look at a general strategy for solving optimization problems similar to (Figure).

Problem-Solving Strategy: Solving Optimization Problems

  1. Introduce all variables. If applicable, draw a figure and label all variables.
  2. Determine which quantity is to be maximized or minimized, and for what range of values of the other variables (if this can be determined at this time).
  3. Write a formula for the quantity to be maximized or minimized in terms of the variables. This formula may involve more than one variable.
  4. Write any equations relating the independent variables in the formula from step 3. Use these equations to write the quantity to be maximized or minimized as a function of one variable.
  5. Identify the domain of consideration for the function in step 4 based on the physical problem to be solved.
  6. Locate the maximum or minimum value of the function from step 4. This step typically involves looking for critical points and evaluating a function at endpoints.

Now let’s apply this strategy to maximize the volume of an open-top box given a constraint on the amount of material to be used.

Maximizing the Volume of a Box

An open-top box is to be made from a 24 in. by 36 in. piece of cardboard by removing a square from each corner of the box and folding up the flaps on each side. What size square should be cut out of each corner to get a box with the maximum volume?

Answer:

Step 1: Let xx be the side length of the square to be removed from each corner ((Figure)). Then, the remaining four flaps can be folded up to form an open-top box. Let VV be the volume of the resulting box.

There are two figures for this figure. The first one is a rectangle with sides 24 in and 36 in, with each corner having a square of side length x taken out of it. In the second picture, there is a box with side lengths x in, 24 – 2x in, and 36 – 2x in. Figure 3. A square with side length xx inches is removed from each corner of the piece of cardboard. The remaining flaps are folded to form an open-top box.

Step 2: We are trying to maximize the volume of a box. Therefore, the problem is to maximize VV.

Step 3: As mentioned in step 2, are trying to maximize the volume of a box. The volume of a box is V=LWHV=L \cdot W \cdot H, where L,WL, \, W, and HH are the length, width, and height, respectively.

Step 4: From (Figure), we see that the height of the box is xx inches, the length is 362x36-2x inches, and the width is 242x24-2x inches. Therefore, the volume of the box is
V(x)=(362x)(242x)x=4x3120x2+864xV(x)=(36-2x)(24-2x)x=4x^3-120x^2+864x.

Step 5: To determine the domain of consideration, let’s examine (Figure). Certainly, we need x>0x>0. Furthermore, the side length of the square cannot be greater than or equal to half the length of the shorter side, 24 in.; otherwise, one of the flaps would be completely cut off. Therefore, we are trying to determine whether there is a maximum volume of the box for xx over the open interval (0,12)(0,12). Since VV is a continuous function over the closed interval [0,12][0,12], we know VV will have an absolute maximum over the closed interval. Therefore, we consider VV over the closed interval [0,12][0,12] and check whether the absolute maximum occurs at an interior point.

Step 6: Since V(x)V(x) is a continuous function over the closed, bounded interval [0,12][0,12], VV must have an absolute maximum (and an absolute minimum). Since V(x)=0V(x)=0 at the endpoints and V(x)>0V(x)>0 for 0<x<120<x<12, the maximum must occur at a critical point. The derivative is

V(x)=12x2240x+864V^{\prime}(x)=12x^2-240x+864.

To find the critical points, we need to solve the equation

12x2240x+864=012x^2-240x+864=0.

Dividing both sides of this equation by 12, the problem simplifies to solving the equation

x220x+72=0x^2-20x+72=0.

Using the quadratic formula, we find that the critical points are

x=20±(20)24(1)(72)2=20±1122=20±472=10±27x=\frac{20 \pm \sqrt{(-20)^2-4(1)(72)}}{2}=\frac{20 \pm \sqrt{112}}{2}=\frac{20 \pm 4\sqrt{7}}{2}=10 \pm 2\sqrt{7}.

Since 10+2710+2\sqrt{7} is not in the domain of consideration, the only critical point we need to consider is 102710-2\sqrt{7}. Therefore, the volume is maximized if we let x=1027x=10-2\sqrt{7} in. The maximum volume is V(1027)=640+44871825in3V(10-2\sqrt{7})=640+448\sqrt{7}\approx 1825 \, \text{in}^3 as shown in the following graph.

The function V(x) = 4x3 – 120x2 + 864x is graphed. At its maximum there is an intersection of two dashed lines and text that reads “Maximum volume is approximately 1825 cubic inches when x ≈ 4.7 inches.” Figure 4. Maximizing the volume of the box leads to finding the maximum value of a cubic polynomial.

Watch a video about optimizing the volume of a box.

Suppose the dimensions of the cardboard in (Figure) are 20 in. by 30 in. Let xx be the side length of each square and write the volume of the open-top box as a function of xx. Determine the domain of consideration for xx.

Answer:

V(x)=x(202x)(302x)V(x)=x(20-2x)(30-2x). The domain is [0,10][0,10].

Hint

The volume of the box is LWHL \cdot W \cdot H.

Minimizing Travel Time

An island is 22 mi due north of its closest point along a straight shoreline. A visitor is staying at a cabin on the shore that is 66 mi west of that point. The visitor is planning to go from the cabin to the island. Suppose the visitor runs at a rate of 88 mph and swims at a rate of 33 mph. How far should the visitor run before swimming to minimize the time it takes to reach the island?

Answer:

Step 1: Let xx be the distance running and let yy be the distance swimming ((Figure)). Let TT be the time it takes to get from the cabin to the island.

The cabin is x miles from the shore. From that point on the shore, the island is y miles away. If you were to continue the line from the cabin to the shore (the x miles one) and if you were to draw a line from the island parallel to the shore, then the lines would extend 2 miles from the island and 6 miles from the cabin before intersecting. Figure 5. How can we choose xx and yy to minimize the travel time from the cabin to the island?

Step 2: The problem is to minimize TT.

Step 3: To find the time spent traveling from the cabin to the island, add the time spent running and the time spent swimming. Since Distance == Rate ×\times Time (D=R×T)(D=R \times T), the time spent running is

Trunning=DrunningRrunning=x8T_{\text{running}}=\frac{D_{\text{running}}}{R_{\text{running}}}=\frac{x}{8},
and the time spent swimming is
Tswimming=DswimmingRswimming=y3T_{\text{swimming}}=\frac{D_{\text{swimming}}}{R_{\text{swimming}}}=\frac{y}{3}.

Therefore, the total time spent traveling is

T=x8+y3T=\frac{x}{8}+\frac{y}{3}.

Step 4: From (Figure), the line segment of yy miles forms the hypotenuse of a right triangle with legs of length 22 mi and 6x6-x mi. Therefore, by the Pythagorean theorem, 22+(6x)2=y22^2+(6-x)^2=y^2, and we obtain y=(6x)2+4y=\sqrt{(6-x)^2+4}. Thus, the total time spent traveling is given by the function

T(x)=x8+(6x)2+43T(x)=\frac{x}{8}+\frac{\sqrt{(6-x)^2+4}}{3}.

Step 5: From (Figure), we see that 0x60\le x\le 6. Therefore, [0,6][0,6] is the domain of consideration.

Step 6: Since T(x)T(x) is a continuous function over a closed, bounded interval, it has a maximum and a minimum. Let’s begin by looking for any critical points of TT over the interval [0,6][0,6]. The derivative is

T(x)=1812[(6x)2+4]1/232(6x)=18(6x)3(6x)2+4T^{\prime}(x)=\frac{1}{8}-\frac{1}{2}\frac{[(6-x)^2+4]^{-1/2}}{3} \cdot 2(6-x)=\frac{1}{8}-\frac{(6-x)}{3\sqrt{(6-x)^2+4}}.

If T(x)=0T^{\prime}(x)=0, then

18=6x3(6x)2+4\frac{1}{8}=\frac{6-x}{3\sqrt{(6-x)^2+4}}.

Therefore,

3(6x)2+4=8(6x)3\sqrt{(6-x)^2+4}=8(6-x).

Squaring both sides of this equation, we see that if xx satisfies this equation, then xx must satisfy

9[(6x)2+4]=64(6x)29[(6-x)^2+4]=64(6-x)^2,

which implies

55(6x)2=3655(6-x)^2=36.

We conclude that if xx is a critical point, then xx satisfies

(x6)2=3655(x-6)^2=\frac{36}{55}.

Therefore, the possibilities for critical points are

x=6±655x=6 \pm \frac{6}{\sqrt{55}}.

Since x=6+6/55x=6+6/\sqrt{55} is not in the domain, it is not a possibility for a critical point. On the other hand, x=66/55x=6-6/\sqrt{55} is in the domain. Since we squared both sides of (Figure) to arrive at the possible critical points, it remains to verify that x=66/55x=6-6/\sqrt{55} satisfies (Figure). Since x=66/55x=6-6/\sqrt{55} does satisfy that equation, we conclude that x=66/55x=6-6/\sqrt{55} is a critical point, and it is the only one. To justify that the time is minimized for this value of xx, we just need to check the values of T(x)T(x) at the endpoints x=0x=0 and x=6x=6, and compare them with the value of T(x)T(x) at the critical point x=66/55x=6-6/\sqrt{55}. We find that T(0)2.108T(0)\approx 2.108 h and T(6)1.417T(6)\approx 1.417 h, whereas T(66/55)1.368T(6-6/\sqrt{55})\approx 1.368 h. Therefore, we conclude that TT has a local minimum at x5.19x\approx 5.19 mi.

Suppose the island is 1 mi from shore, and the distance from the cabin to the point on the shore closest to the island is 1515 mi. Suppose a visitor swims at the rate of 2.52.5 mph and runs at a rate of 66 mph. Let xx denote the distance the visitor will run before swimming, and find a function for the time it takes the visitor to get from the cabin to the island.

Answer:

T(x)=x6+(15x)2+12.5T(x)=\frac{x}{6}+\frac{\sqrt{(15-x)^2+1}}{2.5}

Hint

The time T=Trunning+TswimmingT=T_{\text{running}}+T_{\text{swimming}}.

In business, companies are interested in maximizing revenue. In the following example, we consider a scenario in which a company has collected data on how many cars it is able to lease, depending on the price it charges its customers to rent a car. Let’s use these data to determine the price the company should charge to maximize the amount of money it brings in.

Maximizing Revenue

Owners of a car rental company have determined that if they charge customers pp dollars per day to rent a car, where 50p20050\le p\le 200, the number of cars nn they rent per day can be modeled by the linear function n(p)=10005pn(p)=1000-5p. If they charge $50 per day or less, they will rent all their cars. If they charge $200 per day or more, they will not rent any cars. Assuming the owners plan to charge customers between $50 per day and $200 per day to rent a car, how much should they charge to maximize their revenue?

Answer:

Step 1: Let pp be the price charged per car per day and let nn be the number of cars rented per day. Let RR be the revenue per day.

Step 2: The problem is to maximize RR.

Step 3: The revenue (per day) is equal to the number of cars rented per day times the price charged per car per day—that is, R=n×pR=n \times p.

Step 4: Since the number of cars rented per day is modeled by the linear function n(p)=10005pn(p)=1000-5p, the revenue RR can be represented by the function

R(p)=n×p=(10005p)p=5p2+1000pR(p)=n \times p=(1000-5p)p=-5p^2+1000p.

Step 5: Since the owners plan to charge between $50 per car per day and $200 per car per day, the problem is to find the maximum revenue R(p)R(p) for pp in the closed interval [50,200][50,200].

Step 6: Since RR is a continuous function over the closed, bounded interval [50,200][50,200], it has an absolute maximum (and an absolute minimum) in that interval. To find the maximum value, look for critical points. The derivative is R(p)=10p+1000R^{\prime}(p)=-10p+1000. Therefore, the critical point is p=100p=100 When p=100p=100, R(100)=$50,000. When p=50p=50, R(p)=$37,500. When p=200p=200, R(p)=$0. Therefore, the absolute maximum occurs at p=$100. The car rental company should charge $100 per day per car to maximize revenue as shown in the following figure.

The function R(p) is graphed. At its maximum there is an intersection of two dashed lines and text that reads “Maximum revenue is 💲50,000 per day when the price charged per car is 💲100 per day.” Figure 6. To maximize revenue, a car rental company has to balance the price of a rental against the number of cars people will rent at that price.

A car rental company charges its customers pp dollars per day, where 60p15060\le p\le 150. It has found that the number of cars rented per day can be modeled by the linear function n(p)=7505pn(p)=750-5p. How much should the company charge each customer to maximize revenue?

Answer:

The company should charge $75 per car per day.

Hint

R(p)=n×pR(p)=n \times p, where nn is the number of cars rented and pp is the price charged per car.

Maximizing the Area of an Inscribed Rectangle

A rectangle is to be inscribed in the ellipse

x24+y2=1\frac{x^2}{4}+y^2=1.

What should the dimensions of the rectangle be to maximize its area? What is the maximum area?

Answer:

Step 1: For a rectangle to be inscribed in the ellipse, the sides of the rectangle must be parallel to the axes. Let LL be the length of the rectangle and WW be its width. Let AA be the area of the rectangle.

The ellipse x2/4 + y2 = 1 is drawn with its x intercepts being ±2 and its y intercepts being ±1. There is a rectangle inscribed in the ellipse with length L (in the x-direction) and width W. Figure 7. We want to maximize the area of a rectangle inscribed in an ellipse.

Step 2: The problem is to maximize AA.

Step 3: The area of the rectangle is A=L×WA=L \times W.

Step 4: Let (x,y)(x,y) be the corner of the rectangle that lies in the first quadrant, as shown in (Figure). We can write length L=2xL=2x and width W=2yW=2y. Since x24+y2=1\frac{x^2}{4}+y^2=1 and y>0y>0, we have y=1x24y=\sqrt{1 - \frac{x^2}{4}}. Therefore, the area is

A=L×W=(2x)(2y)=4x1x24=2x4x2A=L \times W=(2x)(2y)=4x\sqrt{1 - \frac{x^2}{4}}=2x\sqrt{4-x^2}.

Step 5: From (Figure), we see that to inscribe a rectangle in the ellipse, the xx-coordinate of the corner in the first quadrant must satisfy 0<x<20<x<2. Therefore, the problem reduces to looking for the maximum value of A(x)A(x) over the open interval (0,2)(0,2). Since A(x)A(x) will have an absolute maximum (and absolute minimum) over the closed interval [0,2][0,2], we consider A(x)=2x4x2A(x)=2x\sqrt{4-x^2} over the interval [0,2][0,2]. If the absolute maximum occurs at an interior point, then we have found an absolute maximum in the open interval.

Step 6: As mentioned earlier, A(x)A(x) is a continuous function over the closed, bounded interval [0,2][0,2]. Therefore, it has an absolute maximum (and absolute minimum). At the endpoints x=0x=0 and x=2x=2, A(x)=0A(x)=0. For 0<x<20<x<2, A(x)>0A(x)>0. Therefore, the maximum must occur at a critical point. Taking the derivative of A(x)A(x), we obtain

A(x)=24x2+2x124x2(2x)=24x22x24x2=84x24x2\begin{array}{ll} A^{\prime}(x) & =2\sqrt{4-x^2}+2x \cdot \frac{1}{2\sqrt{4-x^2}}(-2x) \\ & =2\sqrt{4-x^2}-\frac{2x^2}{\sqrt{4-x^2}} \\ & =\frac{8-4x^2}{\sqrt{4-x^2}} \end{array}

To find critical points, we need to find where A(x)=0A^{\prime}(x)=0. We can see that if xx is a solution of

84x24x2=0\frac{8-4x^2}{\sqrt{4-x^2}}=0,

then xx must satisfy

84x2=08-4x^2=0.

Therefore, x2=2x^2=2. Thus, x=±2x=\pm \sqrt{2} are the possible solutions of (Figure). Since we are considering xx over the interval [0,2][0,2], x=2x=\sqrt{2} is a possibility for a critical point, but x=2x=−\sqrt{2} is not. Therefore, we check whether 2\sqrt{2} is a solution of (Figure). Since x=2x=\sqrt{2} is a solution of (Figure), we conclude that 2\sqrt{2} is the only critical point of A(x)A(x) in the interval [0,2][0,2]. Therefore, A(x)A(x) must have an absolute maximum at the critical point x=2x=\sqrt{2}. To determine the dimensions of the rectangle, we need to find the length LL and the width WW. If x=2x=\sqrt{2} then

y=1(2)24=112=12y=\sqrt{1-\frac{(\sqrt{2})^2}{4}}=\sqrt{1-\frac{1}{2}}=\frac{1}{\sqrt{2}}.

Therefore, the dimensions of the rectangle are L=2x=22L=2x=2\sqrt{2} and W=2y=22=2W=2y=\frac{2}{\sqrt{2}}=\sqrt{2}. The area of this rectangle is A=L×W=(22)(2)=4A=L \times W=(2\sqrt{2})(\sqrt{2})=4.

Modify the area function AA if the rectangle is to be inscribed in the unit circle x2+y2=1x^2+y^2=1. What is the domain of consideration?

Answer:

A(x)=4x1x2A(x)=4x\sqrt{1-x^2}. The domain of consideration is [0,1][0,1].

Hint

If (x,y)(x,y) is the vertex of the square that lies in the first quadrant, then the area of the square is A=(2x)(2y)=4xyA=(2x)(2y)=4xy.

Solving Optimization Problems when the Interval Is Not Closed or Is Unbounded

In the previous examples, we considered functions on closed, bounded domains. Consequently, by the extreme value theorem, we were guaranteed that the functions had absolute extrema. Let’s now consider functions for which the domain is neither closed nor bounded.

Many functions still have at least one absolute extrema, even if the domain is not closed or the domain is unbounded. For example, the function f(x)=x2+4f(x)=x^2+4 over (,)(−\infty ,\infty ) has an absolute minimum of 4 at x=0x=0. Therefore, we can still consider functions over unbounded domains or open intervals and determine whether they have any absolute extrema. In the next example, we try to minimize a function over an unbounded domain. We will see that, although the domain of consideration is (0,)(0,\infty ), the function has an absolute minimum.

In the following example, we look at constructing a box of least surface area with a prescribed volume. It is not difficult to show that for a closed-top box, by symmetry, among all boxes with a specified volume, a cube will have the smallest surface area. Consequently, we consider the modified problem of determining which open-topped box with a specified volume has the smallest surface area.

Minimizing Surface Area

A rectangular box with a square base, an open top, and a volume of 216in3216 \, \text{in}^3 is to be constructed. What should the dimensions of the box be to minimize the surface area of the box? What is the minimum surface area?

Answer:

Step 1: Draw a rectangular box and introduce the variable xx to represent the length of each side of the square base; let yy represent the height of the box. Let SS denote the surface area of the open-top box.

A box with square base is shown. The base has side length x, and the height is y. Figure 8. We want to minimize the surface area of a square-based box with a given volume.

Step 2: We need to minimize the surface area. Therefore, we need to minimize SS.

Step 3: Since the box has an open top, we need only determine the area of the four vertical sides and the base. The area of each of the four vertical sides is xyx \cdot y. The area of the base is x2x^2. Therefore, the surface area of the box is

S=4xy+x2S=4xy+x^2.

Step 4: Since the volume of this box is x2yx^2 y and the volume is given as 216in3216 \, \text{in}^3, the constraint equation is

x2y=216x^2 y=216.

Solving the constraint equation for yy, we have y=216x2y=\frac{216}{x^2}. Therefore, we can write the surface area as a function of xx only:

S(x)=4x(216x2)+x2S(x)=4x(\frac{216}{x^2})+x^2.

Therefore, S(x)=864x+x2S(x)=\frac{864}{x}+x^2.

Step 5: Since we are requiring that x2y=216x^2 y=216, we cannot have x=0x=0. Therefore, we need x>0x>0. On the other hand, xx is allowed to have any positive value. Note that as xx becomes large, the height of the box yy becomes correspondingly small so that x2y=216x^2 y=216. Similarly, as xx becomes small, the height of the box becomes correspondingly large. We conclude that the domain is the open, unbounded interval (0,)(0,\infty ). Note that, unlike the previous examples, we cannot reduce our problem to looking for an absolute maximum or absolute minimum over a closed, bounded interval. However, in the next step, we discover why this function must have an absolute minimum over the interval (0,)(0,\infty ).

Step 6: Note that as x0+x\to 0^+, S(x)S(x)\to \infty. Also, as xx\to \infty, S(x)S(x)\to \infty. Since SS is a continuous function that approaches infinity at the ends, it must have an absolute minimum at some x(0,)x\in (0,\infty ). This minimum must occur at a critical point of SS. The derivative is

S(x)=864x2+2xS^{\prime}(x)=-\frac{864}{x^2}+2x.

Therefore, S(x)=0S^{\prime}(x)=0 when 2x=864x22x=\frac{864}{x^2}. Solving this equation for xx, we obtain x3=432x^3=432, so x=4323=623x=\sqrt[3]{432}=6\sqrt[3]{2}. Since this is the only critical point of SS, the absolute minimum must occur at x=623x=6\sqrt[3]{2} (see (Figure)). When x=623x=6\sqrt[3]{2}, y=216(623)2=323y=\frac{216}{(6\sqrt[3]{2})^2}=3\sqrt[3]{2} in. Therefore, the dimensions of the box should be x=623x=6\sqrt[3]{2} in and y=323y=3\sqrt[3]{2} in. With these dimensions, the surface area is

S(623)=864623+(623)2=10843in2S(6\sqrt[3]{2})=\frac{864}{6\sqrt[3]{2}}+(6\sqrt[3]{2})^2=108\sqrt[3]{4} \, \text{in}^2
The function S(x) = 864/x + x2 is graphed. At its minimum there is a dashed line and text that reads “Minimum surface area is 108 times the cube root of 4 square inches when x = 6 times the cube root of 2 inches.” Figure 9. We can use a graph to determine the dimensions of a box of given the volume and the minimum surface area.

Consider the same open-top box, which is to have volume 216in3216 \, \text{in}^3. Suppose the cost of the material for the base is $0.20 / \text{in}^2 and the cost of the material for the sides is $0.30 / \text{in}^2 and we are trying to minimize the cost of this box. Write the cost as a function of the side lengths of the base. (Let xx be the side length of the base and yy be the height of the box.)

Answer:

c(x)=259.2x+0.2x2c(x)=\frac{259.2}{x}+0.2x^2 dollars

Hint

If the cost of one of the sides is $0.30 / \text{in}^2, the cost of that side is 0.30xy0.30xy.

Key Concepts

  • To solve an optimization problem, begin by drawing a picture and introducing variables.
  • Find an equation relating the variables.
  • Find a function of one variable to describe the quantity that is to be minimized or maximized.
  • Look for critical points to locate local extrema.

For the following exercises, answer by proof, counterexample, or explanation.

1. When you find the maximum for an optimization problem, why do you need to check the sign of the derivative around the critical points?

Answer:

The critical points can be the minima, maxima, or neither.

2. Why do you need to check the endpoints for optimization problems?

3. True or False. For every continuous nonlinear function, you can find the value xx that maximizes the function.

Answer:

False; y=x2y=−x^2 has a minimum only

4. True or False. For every continuous nonconstant function on a closed, finite domain, there exists at least one xx that minimizes or maximizes the function.

For the following exercises, set up and evaluate each optimization problem.

5. To carry a suitcase on an airplane, the length + width + height of the box must be less than or equal to 6262 in. Assuming the height is fixed, show that the maximum volume is V=h(31(12)h)2V=h(31-(\frac{1}{2})h)^2. What height allows you to have the largest volume?

Answer:

h=623h=\frac{62}{3} in.

6. You are constructing a cardboard box with the dimensions 2 m by 4 m. You then cut equal-size squares from each corner so you may fold the edges. What are the dimensions of the box with the largest volume?

A rectangle is drawn with height 2 and width 4. Each corner has a square with side length x marked on it.

7. Find the positive integer that minimizes the sum of the number and its reciprocal.

Answer:

1

8. Find two positive integers such that their sum is 10, and minimize and maximize the sum of their squares.

For the following exercises, consider the construction of a pen to enclose an area.

9. You have 400400 ft of fencing to construct a rectangular pen for cattle. What are the dimensions of the pen that maximize the area?

Answer:

100 ft by 100 ft

10. You have 800800 ft of fencing to make a pen for hogs. If you have a river on one side of your property, what is the dimension of the rectangular pen that maximizes the area?

11. You need to construct a fence around an area of 16001600 ft. What are the dimensions of the rectangular pen to minimize the amount of material needed?

Answer:

40 ft by 40 ft

12. Two poles are connected by a wire that is also connected to the ground. The first pole is 2020 ft tall and the second pole is 1010 ft tall. There is a distance of 3030 ft between the two poles. Where should the wire be anchored to the ground to minimize the amount of wire needed?

Two poles are shown, one that is 10 tall and the other is 20 tall. A right triangle is made with the shorter pole with other side length x. The distance between the two poles is 30.

13. [T] You are moving into a new apartment and notice there is a corner where the hallway narrows from 8 ft to 6 ft. What is the length of the longest item that can be carried horizontally around the corner?

An upside L-shaped figure is drawn with the _ part being 6 wide and the | part being 8 wide. There is a line drawn from the _ part to the | part that touches the near corner of the shape to form a hypotenuse for a right triangle the other sides being the the rest of the _ and | parts. This line is marked L.

Answer:

19.73 ft.

14. A patient’s pulse measures 70 bpm, 80 bpm, then 120 bpm. To determine an accurate measurement of pulse, the doctor wants to know what value minimizes the expression (x70)2+(x80)2+(x120)2(x-70)^2+(x-80)^2+(x-120)^2. What value minimizes it?

15. In the previous problem, assume the patient was nervous during the third measurement, so we only weight that value half as much as the others. What is the value that minimizes (x70)2+(x80)2+12(x120)2(x-70)^2+(x-80)^2+\frac{1}{2}(x-120)^2?

Answer:

84 bpm

16. You can run at a speed of 6 mph and swim at a speed of 3 mph and are located on the shore, 4 miles east of an island that is 1 mile north of the shoreline. How far should you run west to minimize the time needed to reach the island?

A rectangle is drawn that has height 1 and length 4. In the lower right corner, it is marked “You” and in the upper left corner it is marked “Island.”

For the following problems, consider a lifeguard at a circular pool with diameter 4040 m. He must reach someone who is drowning on the exact opposite side of the pool, at position CC. The lifeguard swims with a speed vv and runs around the pool at speed w=3vw=3v.

A circle is drawn with points A and C on a diameter. There is a point B drawn on the circle such that angle BAC form an acute angle θ.

17. Find a function that measures the total amount of time it takes to reach the drowning person as a function of the swim angle, θ\theta.

Answer:

T(θ)=40θ3v+40cosθvT(\theta)=\frac{40\theta}{3v}+\frac{40 \cos \theta}{v}

18. Find at what angle θ\theta the lifeguard should swim to reach the drowning person in the least amount of time.

19. A truck uses gas at a rate of g(v)=av+bvg(v)=av+\frac{b}{v}, where vv represents the speed of the truck and gg represents the gallons of fuel per mile. At what speed is fuel consumption minimized?

Answer:

v=bav=\sqrt{\frac{b}{a}}

For the following exercises, consider a limousine that gets m(v)=(1202v)5m(v)=\frac{(120-2v)}{5} mi/gal at speed vv, the chauffeur costs $15/h, and gas is $3.50/gal.

20. Find the cost per mile at speed vv.

21. Find the cheapest driving speed.

Answer:

approximately 34.02 mph

For the following exercises, consider a pizzeria that sell pizzas for a revenue of R(x)=axR(x)=ax and costs C(x)=b+cx+dx2C(x)=b+cx+dx^2, where xx represents the number of pizzas.

22. Find the profit function for the number of pizzas. How many pizzas gives the largest profit per pizza?

23. Assume that R(x)=10xR(x)=10x and C(x)=2x+x2C(x)=2x+x^2. How many pizzas sold maximizes the profit?

Answer:

4

24. Assume that R(x)=15xR(x)=15x, and C(x)=60+3x+12x2C(x)=60+3x+\frac{1}{2}x^2. How many pizzas sold maximizes the profit?

For the following exercises, consider a wire 4 ft long cut into two pieces. One piece forms a circle with radius rr and the other forms a square of side xx.

25. Choose xx to maximize the sum of their areas.

Answer:

0

26. Choose xx to minimize the sum of their areas.

For the following exercises, consider two nonnegative numbers xx and yy such that x+y=10x+y=10. Maximize and minimize the quantities.

27. xyxy

Answer:

Maximal: x=5,y=5x=5, \, y=5; minimal: x=0,y=10x=0, \, y=10 and y=0,x=10y=0, \, x=10

28. x2y2x^2 y^2

29. y1xy-\frac{1}{x}

Answer:

Maximal: x=1,y=9x=1, \, y=9; minimal: none

30. x2yx^2-y

For the following exercises, draw the given optimization problem and solve.

31. Find the volume of the largest right circular cylinder that fits in a sphere of radius 1.

Answer:

4π33\frac{4\pi}{3\sqrt{3}}

32. Find the volume of the largest right cone that fits in a sphere of radius 1.

33. Find the area of the largest rectangle that fits into the triangle with sides x=0,y=0x=0, \, y=0 and x4+y6=1\frac{x}{4}+\frac{y}{6}=1.

Answer:

6

34. Find the largest volume of a cylinder that fits into a cone that has base radius RR and height hh.

35. Find the dimensions of the closed cylinder volume V=16πV=16\pi that has the least amount of surface area.

Answer:

r=2,h=4r=2, \, h=4

36. Find the dimensions of a right cone with surface area S=4πS=4\pi that has the largest volume.

For the following exercises, consider the points on the given graphs. Use a calculator to graph the functions.

37. [T] Where is the line y=52xy=5-2x closest to the origin?

Answer:

(2,1)(2,1)

38. [T] Where is the line y=52xy=5-2x closest to point (1,1)(1,1)?

39. [T] Where is the parabola y=x2y=x^2 closest to point (2,0)(2,0)?

Answer:

(0.8351,0.6974)(0.8351,0.6974)

40. [T] Where is the parabola y=x2y=x^2 closest to point (0,3)(0,3)?

For the following exercises, set up, but do not evaluate, each optimization problem.

41. A window is composed of a semicircle placed on top of a rectangle. If you have 20 ft of window-framing materials for the outer frame, what is the maximum size of the window you can create? Use rr to represent the radius of the semicircle.

A semicircular window is drawn with radius r.

Answer:

A=20r2r212πr2A=20r-2r^2-\frac{1}{2}\pi r^2

42. You have a garden row of 20 watermelon plants that produce an average of 30 watermelons apiece. For any additional watermelon plants planted, the output per watermelon plant drops by one watermelon. How many extra watermelon plants should you plant?

43. You are constructing a box for your cat to sleep in. The plush material for the square bottom of the box costs $5 / \text{ft}^2 and the material for the sides costs $2 / \text{ft}^2. You need a box with volume 4ft24 \, \text{ft}^2. Find the dimensions of the box that minimize cost. Use xx to represent the length of the side of the box.

Answer:

C(x)=5x2+32xC(x)=5x^2+\frac{32}{x}

44. You are building five identical pens adjacent to each other with a total area of 1000m21000 \, \text{m}^2, as shown in the following figure. What dimensions should you use to minimize the amount of fencing?

A rectangle is divided into five sections, and each section has length y and width x.

45. You are the manager of an apartment complex with 50 units. When you set rent at $800/month, all apartments are rented. As you increase rent by $25/month, one fewer apartment is rented. Maintenance costs run $50/month for each occupied unit. What is the rent that maximizes the total amount of profit?

Answer:

P(x)=(50x)(800+25x50)P(x)=(50-x)(800+25x-50)

Glossary

optimization problems
problems that are solved by finding the maximum or minimum value of a function

Licenses & Attributions