1. Home
  2. Explore
  3. Mathematics
  4. Calculus Optimization Problems

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Calculus Optimization Problems

Single-Variable Calculus Optimization

Optimization problems ask for the largest or smallest possible value of a quantity subject to one or more conditions. The quantity being maximized or minimized is the objective function; the conditions are expressed by constraints.

A general strategy

  1. Identify the objective. Decide what quantity must be maximized or minimized, such as area, volume, perimeter, or material used.

  2. Write the constraint. Translate the given relationships into an equation.

  3. Reduce to one variable. Use the constraint to express the objective using a single variable.

  4. Determine the domain. Keep only values that make sense in the physical situation, such as positive lengths.

  5. Find critical numbers. Differentiate the objective and solve where its derivative is zero or undefined.

  6. Verify the optimum. Use the second derivative test, the first derivative test, or compare values at endpoints when appropriate.

  7. Answer the question asked. Include the requested dimensions, maximum or minimum value, and units.

A critical number is a candidate for an optimum, not automatically proof of one. In applied problems, it is also important to check physical restrictions and possible endpoint cases.


1. Rectangle with fixed area and minimum perimeter

A rectangle has area of 1000 m21000\text{ m}^21000 m2. Find its dimensions so that its perimeter is as small as possible.

Let the side lengths be xxx and yyy. The constraint is the fixed area:

xy=1000xy=1000xy=1000

The quantity to minimize is the perimeter:

P=2x+2yP=2x+2yP=2x+2y

Solve the constraint for yyy:

y=1000xy=\frac{1000}{x}y=x1000​

Substitute this into the perimeter to obtain a function of one variable:

P(x)=2x+2000xP(x)=2x+\frac{2000}{x}P(x)=2x+x2000​

Differentiate and find the critical number:

P′(x)=2−2000x2P'(x)=2-\frac{2000}{x^2}P′(x)=2−x22000​
P′(x)=0⟹2=2000x2⟹x2=1000P'(x)=0 \quad\Longrightarrow\quad 2=\frac{2000}{x^2} \quad\Longrightarrow\quad x^2=1000P′(x)=0⟹2=x22000​⟹x2=1000

Since a length must be positive,

x=1000=1010x=\sqrt{1000}=10\sqrt{10}x=1000​=1010​

The second derivative is

P′′(x)=4000x3P''(x)=\frac{4000}{x^3}P′′(x)=x34000​

It is positive for positive xxx, so the perimeter function is concave up and the critical point gives a minimum. The other side is

y=10001010=1010y=\frac{1000}{10\sqrt{10}}=10\sqrt{10}y=1010​1000​=1010​

Thus the rectangle is a square.

For a fixed area, the rectangle with minimum perimeter is a square.

Dimensions: 1010 m10\sqrt{10}\text{ m}1010​ m by 1010 m10\sqrt{10}\text{ m}1010​ m.


2. Rectangular field beside a river

A farmer uses fencing to enclose a rectangular field beside a straight river. Because the river forms one side of the field, fencing is needed on only three sides. The goal is to maximize the field’s area.

Let xxx be the length of each side perpendicular to the river, and let yyy be the side parallel to the river that requires fencing. Using the stated calculation of 240024002400 feet of fencing, the constraint is

2x+y=24002x+y=24002x+y=2400

The area is

A=xyA=xyA=xy

Solve the constraint for yyy:

y=2400−2xy=2400-2xy=2400−2x

Then express the area in terms of xxx:

A(x)=x(2400−2x)=2400x−2x2A(x)=x(2400-2x)=2400x-2x^2A(x)=x(2400−2x)=2400x−2x2

Differentiate and set the derivative equal to zero:

A′(x)=2400−4xA'(x)=2400-4xA′(x)=2400−4x
A′(x)=0⟹x=600A'(x)=0 \quad\Longrightarrow\quad x=600A′(x)=0⟹x=600

The second derivative is

A′′(x)=−4A''(x)=-4A′′(x)=−4

Since it is negative, the area function is concave down, and the critical point gives a maximum. The remaining side length is

y=2400−2(600)=1200y=2400-2(600)=1200y=2400−2(600)=1200

Dimensions: 600 ft600\text{ ft}600 ft perpendicular to the river and 1200 ft1200\text{ ft}1200 ft along the river.

Data note: The source states both 242424 feet and 240024002400 feet, but its equation and calculations use 240024002400 feet. If the intended total were 242424 feet, the same method would give dimensions of 666 feet by 121212 feet.


3. Poster with fixed printing area and margins

A rectangular poster has a printing area of 384 cm2384\text{ cm}^2384 cm2. The top and bottom margins are each 666 cm, while the side margins are each 444 cm. Find the poster dimensions that minimize the poster’s total area.

Let xxx and yyy be the dimensions of the printed region. Its area gives the constraint

xy=384xy=384xy=384

The full poster is wider and taller than the printed region because of the margins:

  • The total width is x+4+4=x+8x+4+4=x+8x+4+4=x+8.

  • The total height is y+6+6=y+12y+6+6=y+12y+6+6=y+12.

Therefore, the total area to minimize is

A=(x+8)(y+12)A=(x+8)(y+12)A=(x+8)(y+12)

Use the constraint to write y=384xy=\frac{384}{x}y=x384​. Then

A(x)=(x+8)(384x+12)A(x)=\left(x+8\right)\left(\frac{384}{x}+12\right)A(x)=(x+8)(x384​+12)

Expanding gives

A(x)=480+12x+3072xA(x)=480+12x+\frac{3072}{x}A(x)=480+12x+x3072​

Differentiate:

A′(x)=12−3072x2A'(x)=12-\frac{3072}{x^2}A′(x)=12−x23072​

Set the derivative equal to zero:

12−3072x2=0⟹x2=25612-\frac{3072}{x^2}=0 \quad\Longrightarrow\quad x^2=25612−x23072​=0⟹x2=256

Since xxx is a length, x=16x=16x=16. The printed height is

y=38416=24y=\frac{384}{16}=24y=16384​=24

The second derivative is

A′′(x)=6144x3A''(x)=\frac{6144}{x^3}A′′(x)=x36144​

It is positive for positive xxx, so the critical point gives a minimum. The dimensions requested are those of the whole poster, including the margins:

width=x+8=24 cm\text{width}=x+8=24\text{ cm}width=x+8=24 cm
height=y+12=36 cm\text{height}=y+12=36\text{ cm}height=y+12=36 cm

Poster dimensions: 24 cm24\text{ cm}24 cm by 36 cm36\text{ cm}36 cm.


4. Largest rectangle under a parabola

A rectangle has its base on the xxx-axis, and its two upper vertices lie on the parabola

y=12−x2y=12-x^2y=12−x2

Find the dimensions of the rectangle with the largest area.

The parabola is symmetric about the yyy-axis, so a maximum-area rectangle is centered on that axis. Let xxx be the horizontal distance from the center to one side of the rectangle. Its full base is therefore 2x2x2x. Its height is the parabola’s value at xxx:

y=12−x2y=12-x^2y=12−x2

The area is

A(x)=2x(12−x2)=24x−2x3A(x)=2x(12-x^2)=24x-2x^3A(x)=2x(12−x2)=24x−2x3

Differentiate:

A′(x)=24−6x2A'(x)=24-6x^2A′(x)=24−6x2

Set the derivative equal to zero:

24−6x2=0⟹x2=424-6x^2=0 \quad\Longrightarrow\quad x^2=424−6x2=0⟹x2=4

The relevant value is x=2x=2x=2, since xxx represents a distance. The second derivative is

A′′(x)=−12xA''(x)=-12xA′′(x)=−12x

At x=2x=2x=2, it is negative, confirming a maximum. The rectangle’s height is

y=12−22=8y=12-2^2=8y=12−22=8

Because xxx is only half the base, the full base is 2x=42x=42x=4.

Dimensions: 444 units by 888 units.
Maximum area: 323232 square units.


5. Largest cylinder inscribed in a sphere

A right circular cylinder is inscribed in a sphere of radius 444. Find the largest possible volume of the cylinder.

The cylinder’s volume is

V=πr2hV=\pi r^2hV=πr2h

Consider a vertical cross-section through the sphere’s center and the cylinder’s axis. Let xxx be the cylinder’s radius and let yyy be the distance from the sphere’s center to the top of the cylinder. The sphere’s radius is 444, so the cross-section gives

x2+y2=42=16x^2+y^2=4^2=16x2+y2=42=16

Thus,

y=16−x2y=\sqrt{16-x^2}y=16−x2​

The cylinder extends equally above and below the sphere’s center, so its height is 2y2y2y. Its volume as a function of xxx is

V(x)=πx2(2y)=2πx216−x2V(x)=\pi x^2(2y)=2\pi x^2\sqrt{16-x^2}V(x)=πx2(2y)=2πx216−x2​

For 0<x<40<x<40<x<4, differentiating and simplifying gives

V′(x)=−6πx3+64πx16−x2V'(x)=\frac{-6\pi x^3+64\pi x}{\sqrt{16-x^2}}V′(x)=16−x2​−6πx3+64πx​

The denominator is positive in the interior of the domain. Setting the numerator equal to zero gives

−6πx3+64πx=0-6\pi x^3+64\pi x=0−6πx3+64πx=0

The nonzero critical value satisfies

3x2=32⟹x=3233x^2=32 \quad\Longrightarrow\quad x=\sqrt{\frac{32}{3}}3x2=32⟹x=332​​

The negative root is not a valid radius, and x=0x=0x=0 produces zero volume. The derivative changes from positive to negative at the positive critical value, so it gives the maximum.

Substituting into the volume function:

y=16−323=43y=\sqrt{16-\frac{32}{3}}=\frac{4}{\sqrt{3}}y=16−332​​=3​4​
Vmax⁡=2π(323)(43)=256π33V_{\max} =2\pi\left(\frac{32}{3}\right)\left(\frac{4}{\sqrt{3}}\right) =\frac{256\pi}{3\sqrt{3}}Vmax​=2π(332​)(3​4​)=33​256π​

Maximum volume: 256π33\frac{256\pi}{3\sqrt{3}}33​256π​ cubic units.


6. Maximum-volume postal package

A rectangular package has a square cross-section with side length xxx and length yyy. The sum of the package’s length and the perimeter of its square cross-section cannot exceed 909090 inches. Find the dimensions that maximize its volume.

The cross-section has four sides of length xxx, so the constraint is

y+4x=90y+4x=90y+4x=90

The volume is the cross-sectional area multiplied by the package length:

V=x2yV=x^2yV=x2y

Solve the constraint for yyy:

y=90−4xy=90-4xy=90−4x

Substitute into the volume:

V(x)=x2(90−4x)=90x2−4x3V(x)=x^2(90-4x)=90x^2-4x^3V(x)=x2(90−4x)=90x2−4x3

Differentiate:

V′(x)=180x−12x2=12x(15−x)V'(x)=180x-12x^2=12x(15-x)V′(x)=180x−12x2=12x(15−x)

The critical values are x=0x=0x=0 and x=15x=15x=15. The value x=0x=0x=0 gives a package with zero volume, so the relevant critical value is x=15x=15x=15.

For values just below 151515, V′(x)>0V'(x)>0V′(x)>0; for values just above 151515, V′(x)<0V'(x)<0V′(x)<0. Thus, the volume increases and then decreases, confirming a maximum. The package length is

y=90−4(15)=30y=90-4(15)=30y=90−4(15)=30

Dimensions: a square cross-section of 15 in15\text{ in}15 in by 15 in15\text{ in}15 in, with length 30 in30\text{ in}30 in.


7. Open-top box from a square sheet

An open-top box is made by cutting equal squares from the corners of a square sheet of cardboard that is 666 feet on each side, then folding up the sides. Find the maximum possible volume.

Let xxx be the side length of each corner square cut out. After folding:

  • The box’s height is xxx.

  • Each side of its square base is 6−2x6-2x6−2x, because a strip of width xxx is removed from both ends.

The volume is

V(x)=x(6−2x)2V(x)=x(6-2x)^2V(x)=x(6−2x)2

The physically possible domain is 0<x<30<x<30<x<3. Expanding and differentiating:

V(x)=36x−24x2+4x3V(x)=36x-24x^2+4x^3V(x)=36x−24x2+4x3
V′(x)=36−48x+12x2=12(x−1)(x−3)V'(x)=36-48x+12x^2 =12(x-1)(x-3)V′(x)=36−48x+12x2=12(x−1)(x−3)

The critical values are x=1x=1x=1 and x=3x=3x=3. The value x=3x=3x=3 is a boundary case that leaves a base with zero side length, so it produces no box. At x=1x=1x=1, the derivative changes from positive to negative, giving a maximum.

The maximum volume is

V(1)=1(6−2)2=16V(1)=1(6-2)^2=16V(1)=1(6−2)2=16

At this value, the base is 444 feet by 444 feet and the height is 111 foot.

Maximum volume: 16 ft316\text{ ft}^316 ft3.
Box dimensions: 4 ft4\text{ ft}4 ft by 4 ft4\text{ ft}4 ft by 1 ft1\text{ ft}1 ft.


8. Open-top box with a fixed volume and minimum material

An open-top box has a square base and a volume of 32,000 cm332{,}000\text{ cm}^332,000 cm3. Find its dimensions so that the amount of material used, represented by its surface area, is minimized.

Let xxx be the side length of the square base and yyy be the height. The volume constraint is

x2y=32,000x^2y=32{,}000x2y=32,000

Solve for yyy:

y=32,000x2y=\frac{32{,}000}{x^2}y=x232,000​

Because the box has no top, its surface area consists of one square base and four rectangular sides:

S=x2+4xyS=x^2+4xyS=x2+4xy

Substituting for yyy gives a one-variable objective:

S(x)=x2+4x(32,000x2)=x2+128,000xS(x)=x^2+4x\left(\frac{32{,}000}{x^2}\right) =x^2+\frac{128{,}000}{x}S(x)=x2+4x(x232,000​)=x2+x128,000​

Differentiate and set the derivative equal to zero:

S′(x)=2x−128,000x2S'(x)=2x-\frac{128{,}000}{x^2}S′(x)=2x−x2128,000​
S′(x)=0⟹2x3=128,000⟹x3=64,000⟹x=40S'(x)=0 \quad\Longrightarrow\quad 2x^3=128{,}000 \quad\Longrightarrow\quad x^3=64{,}000 \quad\Longrightarrow\quad x=40S′(x)=0⟹2x3=128,000⟹x3=64,000⟹x=40

The second derivative is

S′′(x)=2+256,000x3S''(x)=2+\frac{256{,}000}{x^3}S′′(x)=2+x3256,000​

It is positive for positive xxx, so the critical point gives a minimum. The height is

y=32,000402=20y=\frac{32{,}000}{40^2}=20y=40232,000​=20

Dimensions: 40 cm40\text{ cm}40 cm by 40 cm40\text{ cm}40 cm for the base, with height 20 cm20\text{ cm}20 cm.
Minimum surface area: 402+4(40)(20)=4800 cm240^2+4(40)(20)=4800\text{ cm}^2402+4(40)(20)=4800 cm2.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent