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

Guías de estudio > 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 [latex]x[/latex] and [latex]y[/latex] that will create a garden with a maximum area using 100 ft of fencing.

Answer:

Let [latex]x[/latex] denote the length of the side of the garden perpendicular to the rock wall and [latex]y[/latex] denote the length of the side parallel to the rock wall. Then the area of the garden is

[latex]A=x·y[/latex].

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

[latex]2x+y=100[/latex].

Solving this equation for [latex]y[/latex], we have [latex]y=100-2x[/latex]. Thus, we can write the area as

[latex]A(x)=x \cdot (100-2x)=100x-2x^2[/latex].

Before trying to maximize the area function [latex]A(x)=100x-2x^2[/latex], 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 [latex]x>0[/latex] and [latex]y>0[/latex]. Since [latex]y=100-2x[/latex], if [latex]y>0[/latex], then [latex]x<50[/latex]. Therefore, we are trying to determine the maximum value of [latex]A(x)[/latex] for [latex]x[/latex] over the open interval [latex](0,50)[/latex]. 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 [latex]A(x)=100x-2x^2[/latex] over the closed interval [latex][0,50][/latex]. If the maximum value occurs at an interior point, then we have found the value [latex]x[/latex] in the open interval [latex](0,50)[/latex] that maximizes the area of the garden. Therefore, we consider the following problem:

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

As mentioned earlier, since [latex]A[/latex] 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, [latex]A(x)=0[/latex]. Since the area is positive for all [latex]x[/latex] in the open interval [latex](0,50)[/latex], the maximum must occur at a critical point. Differentiating the function [latex]A(x)[/latex], we obtain

[latex]A^{\prime}(x)=100-4x[/latex].

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

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 [latex]A(x)=100x-2x^2[/latex].

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 [latex]5000 \, \text{ft}^2[/latex].

Hint

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

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 [latex]x[/latex] 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 [latex]V[/latex] 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 [latex]x[/latex] 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 [latex]V[/latex].

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

Step 4: From (Figure), we see that the height of the box is [latex]x[/latex] inches, the length is [latex]36-2x[/latex] inches, and the width is [latex]24-2x[/latex] inches. Therefore, the volume of the box is
[latex]V(x)=(36-2x)(24-2x)x=4x^3-120x^2+864x[/latex].

Step 5: To determine the domain of consideration, let’s examine (Figure). Certainly, we need [latex]x>0[/latex]. 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 [latex]x[/latex] over the open interval [latex](0,12)[/latex]. Since [latex]V[/latex] is a continuous function over the closed interval [latex][0,12][/latex], we know [latex]V[/latex] will have an absolute maximum over the closed interval. Therefore, we consider [latex]V[/latex] over the closed interval [latex][0,12][/latex] and check whether the absolute maximum occurs at an interior point.

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

[latex]V^{\prime}(x)=12x^2-240x+864[/latex].

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

[latex]12x^2-240x+864=0[/latex].

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

[latex]x^2-20x+72=0[/latex].

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

[latex]x=\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}[/latex].

Since [latex]10+2\sqrt{7}[/latex] is not in the domain of consideration, the only critical point we need to consider is [latex]10-2\sqrt{7}[/latex]. Therefore, the volume is maximized if we let [latex]x=10-2\sqrt{7}[/latex] in. The maximum volume is [latex]V(10-2\sqrt{7})=640+448\sqrt{7}\approx 1825 \, \text{in}^3[/latex] 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 [latex]x[/latex] be the side length of each square and write the volume of the open-top box as a function of [latex]x[/latex]. Determine the domain of consideration for [latex]x[/latex].

Answer:

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

Hint

The volume of the box is [latex]L \cdot W \cdot H[/latex].

Minimizing Travel Time

An island is [latex]2[/latex] mi due north of its closest point along a straight shoreline. A visitor is staying at a cabin on the shore that is [latex]6[/latex] 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 [latex]8[/latex] mph and swims at a rate of [latex]3[/latex] mph. How far should the visitor run before swimming to minimize the time it takes to reach the island?

Answer:

Step 1: Let [latex]x[/latex] be the distance running and let [latex]y[/latex] be the distance swimming ((Figure)). Let [latex]T[/latex] 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 [latex]x[/latex] and [latex]y[/latex] to minimize the travel time from the cabin to the island?

Step 2: The problem is to minimize [latex]T[/latex].

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 [latex]=[/latex] Rate [latex]\times[/latex] Time [latex](D=R \times T)[/latex], the time spent running is

[latex]T_{\text{running}}=\frac{D_{\text{running}}}{R_{\text{running}}}=\frac{x}{8}[/latex],
and the time spent swimming is
[latex]T_{\text{swimming}}=\frac{D_{\text{swimming}}}{R_{\text{swimming}}}=\frac{y}{3}[/latex].

Therefore, the total time spent traveling is

[latex]T=\frac{x}{8}+\frac{y}{3}[/latex].

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

[latex]T(x)=\frac{x}{8}+\frac{\sqrt{(6-x)^2+4}}{3}[/latex].

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

Step 6: Since [latex]T(x)[/latex] 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 [latex]T[/latex] over the interval [latex][0,6][/latex]. The derivative is

[latex]T^{\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}}[/latex].

If [latex]T^{\prime}(x)=0[/latex], then

[latex]\frac{1}{8}=\frac{6-x}{3\sqrt{(6-x)^2+4}}[/latex].

Therefore,

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

Squaring both sides of this equation, we see that if [latex]x[/latex] satisfies this equation, then [latex]x[/latex] must satisfy

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

which implies

[latex]55(6-x)^2=36[/latex].

We conclude that if [latex]x[/latex] is a critical point, then [latex]x[/latex] satisfies

[latex](x-6)^2=\frac{36}{55}[/latex].

Therefore, the possibilities for critical points are

[latex]x=6 \pm \frac{6}{\sqrt{55}}[/latex].

Since [latex]x=6+6/\sqrt{55}[/latex] is not in the domain, it is not a possibility for a critical point. On the other hand, [latex]x=6-6/\sqrt{55}[/latex] is in the domain. Since we squared both sides of (Figure) to arrive at the possible critical points, it remains to verify that [latex]x=6-6/\sqrt{55}[/latex] satisfies (Figure). Since [latex]x=6-6/\sqrt{55}[/latex] does satisfy that equation, we conclude that [latex]x=6-6/\sqrt{55}[/latex] is a critical point, and it is the only one. To justify that the time is minimized for this value of [latex]x[/latex], we just need to check the values of [latex]T(x)[/latex] at the endpoints [latex]x=0[/latex] and [latex]x=6[/latex], and compare them with the value of [latex]T(x)[/latex] at the critical point [latex]x=6-6/\sqrt{55}[/latex]. We find that [latex]T(0)\approx 2.108[/latex] h and [latex]T(6)\approx 1.417[/latex] h, whereas [latex]T(6-6/\sqrt{55})\approx 1.368[/latex] h. Therefore, we conclude that [latex]T[/latex] has a local minimum at [latex]x\approx 5.19[/latex] 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 [latex]15[/latex] mi. Suppose a visitor swims at the rate of [latex]2.5[/latex] mph and runs at a rate of [latex]6[/latex] mph. Let [latex]x[/latex] 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:

[latex]T(x)=\frac{x}{6}+\frac{\sqrt{(15-x)^2+1}}{2.5}[/latex]

Hint

The time [latex]T=T_{\text{running}}+T_{\text{swimming}}[/latex].

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 [latex]p[/latex] dollars per day to rent a car, where [latex]50\le p\le 200[/latex], the number of cars [latex]n[/latex] they rent per day can be modeled by the linear function [latex]n(p)=1000-5p[/latex]. If they charge [latex]$50[/latex] per day or less, they will rent all their cars. If they charge [latex]$200[/latex] per day or more, they will not rent any cars. Assuming the owners plan to charge customers between [latex]$50[/latex] per day and [latex]$200[/latex] per day to rent a car, how much should they charge to maximize their revenue?

Answer:

Step 1: Let [latex]p[/latex] be the price charged per car per day and let [latex]n[/latex] be the number of cars rented per day. Let [latex]R[/latex] be the revenue per day.

Step 2: The problem is to maximize [latex]R[/latex].

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, [latex]R=n \times p[/latex].

Step 4: Since the number of cars rented per day is modeled by the linear function [latex]n(p)=1000-5p[/latex], the revenue [latex]R[/latex] can be represented by the function

[latex]R(p)=n \times p=(1000-5p)p=-5p^2+1000p[/latex].

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

Step 6: Since [latex]R[/latex] is a continuous function over the closed, bounded interval [latex][50,200][/latex], it has an absolute maximum (and an absolute minimum) in that interval. To find the maximum value, look for critical points. The derivative is [latex]R^{\prime}(p)=-10p+1000[/latex]. Therefore, the critical point is [latex]p=100[/latex] When [latex]p=100[/latex], [latex]R(100)=$50,000[/latex]. When [latex]p=50[/latex], [latex]R(p)=$37,500[/latex]. When [latex]p=200[/latex], [latex]R(p)=$0[/latex]. Therefore, the absolute maximum occurs at [latex]p=$100[/latex]. The car rental company should charge [latex]$100[/latex] 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 [latex]p[/latex] dollars per day, where [latex]60\le p\le 150[/latex]. It has found that the number of cars rented per day can be modeled by the linear function [latex]n(p)=750-5p[/latex]. How much should the company charge each customer to maximize revenue?

Answer:

The company should charge [latex]$75[/latex] per car per day.

Hint

[latex]R(p)=n \times p[/latex], where [latex]n[/latex] is the number of cars rented and [latex]p[/latex] is the price charged per car.

Maximizing the Area of an Inscribed Rectangle

A rectangle is to be inscribed in the ellipse

[latex]\frac{x^2}{4}+y^2=1[/latex].

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 [latex]L[/latex] be the length of the rectangle and [latex]W[/latex] be its width. Let [latex]A[/latex] 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 [latex]A[/latex].

Step 3: The area of the rectangle is [latex]A=L \times W[/latex].

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

[latex]A=L \times W=(2x)(2y)=4x\sqrt{1 - \frac{x^2}{4}}=2x\sqrt{4-x^2}[/latex].

Step 5: From (Figure), we see that to inscribe a rectangle in the ellipse, the [latex]x[/latex]-coordinate of the corner in the first quadrant must satisfy [latex]0<x<2[/latex]. Therefore, the problem reduces to looking for the maximum value of [latex]A(x)[/latex] over the open interval [latex](0,2)[/latex]. Since [latex]A(x)[/latex] will have an absolute maximum (and absolute minimum) over the closed interval [latex][0,2][/latex], we consider [latex]A(x)=2x\sqrt{4-x^2}[/latex] over the interval [latex][0,2][/latex]. 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, [latex]A(x)[/latex] is a continuous function over the closed, bounded interval [latex][0,2][/latex]. Therefore, it has an absolute maximum (and absolute minimum). At the endpoints [latex]x=0[/latex] and [latex]x=2[/latex], [latex]A(x)=0[/latex]. For [latex]0<x<2[/latex], [latex]A(x)>0[/latex]. Therefore, the maximum must occur at a critical point. Taking the derivative of [latex]A(x)[/latex], we obtain

[latex]\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}[/latex]

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

[latex]\frac{8-4x^2}{\sqrt{4-x^2}}=0[/latex],

then [latex]x[/latex] must satisfy

[latex]8-4x^2=0[/latex].

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

[latex]y=\sqrt{1-\frac{(\sqrt{2})^2}{4}}=\sqrt{1-\frac{1}{2}}=\frac{1}{\sqrt{2}}[/latex].

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

Modify the area function [latex]A[/latex] if the rectangle is to be inscribed in the unit circle [latex]x^2+y^2=1[/latex]. What is the domain of consideration?

Answer:

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

Hint

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

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 [latex]f(x)=x^2+4[/latex] over [latex](−\infty ,\infty )[/latex] has an absolute minimum of 4 at [latex]x=0[/latex]. 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 [latex](0,\infty )[/latex], 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 [latex]216 \, \text{in}^3[/latex] 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 [latex]x[/latex] to represent the length of each side of the square base; let [latex]y[/latex] represent the height of the box. Let [latex]S[/latex] 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 [latex]S[/latex].

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 [latex]x \cdot y[/latex]. The area of the base is [latex]x^2[/latex]. Therefore, the surface area of the box is

[latex]S=4xy+x^2[/latex].

Step 4: Since the volume of this box is [latex]x^2 y[/latex] and the volume is given as [latex]216 \, \text{in}^3[/latex], the constraint equation is

[latex]x^2 y=216[/latex].

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

[latex]S(x)=4x(\frac{216}{x^2})+x^2[/latex].

Therefore, [latex]S(x)=\frac{864}{x}+x^2[/latex].

Step 5: Since we are requiring that [latex]x^2 y=216[/latex], we cannot have [latex]x=0[/latex]. Therefore, we need [latex]x>0[/latex]. On the other hand, [latex]x[/latex] is allowed to have any positive value. Note that as [latex]x[/latex] becomes large, the height of the box [latex]y[/latex] becomes correspondingly small so that [latex]x^2 y=216[/latex]. Similarly, as [latex]x[/latex] becomes small, the height of the box becomes correspondingly large. We conclude that the domain is the open, unbounded interval [latex](0,\infty )[/latex]. 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 [latex](0,\infty )[/latex].

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

[latex]S^{\prime}(x)=-\frac{864}{x^2}+2x[/latex].

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

[latex]S(6\sqrt[3]{2})=\frac{864}{6\sqrt[3]{2}}+(6\sqrt[3]{2})^2=108\sqrt[3]{4} \, \text{in}^2[/latex]
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 [latex]216 \, \text{in}^3[/latex]. Suppose the cost of the material for the base is [latex]$0.20 / \text{in}^2[/latex] and the cost of the material for the sides is [latex]$0.30 / \text{in}^2[/latex] 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 [latex]x[/latex] be the side length of the base and [latex]y[/latex] be the height of the box.)

Answer:

[latex]c(x)=\frac{259.2}{x}+0.2x^2[/latex] dollars

Hint

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

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 [latex]x[/latex] that maximizes the function.

Answer:

False; [latex]y=−x^2[/latex] has a minimum only

4. True or False. For every continuous nonconstant function on a closed, finite domain, there exists at least one [latex]x[/latex] 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 [latex]62[/latex] in. Assuming the height is fixed, show that the maximum volume is [latex]V=h(31-(\frac{1}{2})h)^2[/latex]. What height allows you to have the largest volume?

Answer:

[latex]h=\frac{62}{3}[/latex] 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 [latex]400[/latex] 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 [latex]800[/latex] 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 [latex]1600[/latex] 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 [latex]20[/latex] ft tall and the second pole is [latex]10[/latex] ft tall. There is a distance of [latex]30[/latex] 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 [latex](x-70)^2+(x-80)^2+(x-120)^2[/latex]. 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 [latex](x-70)^2+(x-80)^2+\frac{1}{2}(x-120)^2[/latex]?

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 [latex]40[/latex] m. He must reach someone who is drowning on the exact opposite side of the pool, at position [latex]C[/latex]. The lifeguard swims with a speed [latex]v[/latex] and runs around the pool at speed [latex]w=3v[/latex].

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, [latex]\theta[/latex].

Answer:

[latex]T(\theta)=\frac{40\theta}{3v}+\frac{40 \cos \theta}{v}[/latex]

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

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

Answer:

[latex]v=\sqrt{\frac{b}{a}}[/latex]

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

20. Find the cost per mile at speed [latex]v[/latex].

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 [latex]R(x)=ax[/latex] and costs [latex]C(x)=b+cx+dx^2[/latex], where [latex]x[/latex] 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 [latex]R(x)=10x[/latex] and [latex]C(x)=2x+x^2[/latex]. How many pizzas sold maximizes the profit?

Answer:

4

24. Assume that [latex]R(x)=15x[/latex], and [latex]C(x)=60+3x+\frac{1}{2}x^2[/latex]. 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 [latex]r[/latex] and the other forms a square of side [latex]x[/latex].

25. Choose [latex]x[/latex] to maximize the sum of their areas.

Answer:

0

26. Choose [latex]x[/latex] to minimize the sum of their areas.

For the following exercises, consider two nonnegative numbers [latex]x[/latex] and [latex]y[/latex] such that [latex]x+y=10[/latex]. Maximize and minimize the quantities.

27. [latex]xy[/latex]

Answer:

Maximal: [latex]x=5, \, y=5[/latex]; minimal: [latex]x=0, \, y=10[/latex] and [latex]y=0, \, x=10[/latex]

28. [latex]x^2 y^2[/latex]

29. [latex]y-\frac{1}{x}[/latex]

Answer:

Maximal: [latex]x=1, \, y=9[/latex]; minimal: none

30. [latex]x^2-y[/latex]

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:

[latex]\frac{4\pi}{3\sqrt{3}}[/latex]

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 [latex]x=0, \, y=0[/latex] and [latex]\frac{x}{4}+\frac{y}{6}=1[/latex].

Answer:

6

34. Find the largest volume of a cylinder that fits into a cone that has base radius [latex]R[/latex] and height [latex]h[/latex].

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

Answer:

[latex]r=2, \, h=4[/latex]

36. Find the dimensions of a right cone with surface area [latex]S=4\pi [/latex] 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 [latex]y=5-2x[/latex] closest to the origin?

Answer:

[latex](2,1)[/latex]

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

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

Answer:

[latex](0.8351,0.6974)[/latex]

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

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 [latex]r[/latex] to represent the radius of the semicircle.

A semicircular window is drawn with radius r.

Answer:

[latex]A=20r-2r^2-\frac{1}{2}\pi r^2[/latex]

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 [latex]$5 / \text{ft}^2[/latex] and the material for the sides costs [latex]$2 / \text{ft}^2[/latex]. You need a box with volume [latex]4 \, \text{ft}^2[/latex]. Find the dimensions of the box that minimize cost. Use [latex]x[/latex] to represent the length of the side of the box.

Answer:

[latex]C(x)=5x^2+\frac{32}{x}[/latex]

44. You are building five identical pens adjacent to each other with a total area of [latex]1000 \, \text{m}^2[/latex], 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:

[latex]P(x)=(50-x)(800+25x-50)[/latex]

Glossary

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

Licenses & Attributions

CC licensed content, Shared previously