Calculus I Limits, Derivatives, and Integrals

3.6 Practice — Optimization

Problem 1

Find two positive numbers whose sum is \(50\) and whose product is as large as possible.

\[x+y=50,\quad \text{maximize }P=xy\]
Show solution

Substitute y = 50 - x into P = xy.

Differentiate and set P'(x) = 0.

Answer:
\(\boxed{25\text{ and }25}\)

Problem 2

Find two positive numbers whose product is \(100\) and whose sum is as small as possible.

\[xy=100,\quad \text{minimize }S=x+y\]
Show solution

Substitute y = 100/x into S = x + y for x > 0.

Solve for x > 0.

Answer:
\(\boxed{10\text{ and }10}\)

Problem 3

A farmer has \(400\text{ m}\) of fencing to enclose a rectangular paddock along a straight stone wall (no fencing needed along the wall). Find the maximum possible area.

\[2x+y=400,\quad A=xy\]
Show solution

Substitute y = 400 - 2x into A = xy.

Set A'(x) = 0.

Answer:
\(\boxed{20{,}000\text{ m}^2}\)

Problem 4

An open-top box with a square base of side \(x\) and height \(h\) must have a volume of \(32{,}000\text{ cm}^3\). Find the dimensions that minimize the surface area of the box.

\[V=x^2h=32{,}000,\quad S=x^2+4xh\]
Show solution

Substitute h = 32000 / x^2 into the surface area S = x^2 + 4xh.

Differentiate and set S'(x) = 0.

Answer:
\(\boxed{40\text{ cm}\times 40\text{ cm}\times 20\text{ cm}}\)

Problem 5

Find the maximum area of a rectangle inscribed under the parabola \(y=12-x^2\) with its base on the x-axis.

\[A(x)=2xy=2x(12-x^2)\]
Show solution

With right-hand vertex at (x, 12 - x^2) for 0 <= x <= sqrt(12), width is 2x and height is 12 - x^2.

Compute A(2).

Answer:
\(\boxed{32}\)

Problem 6

Find the point on the line \(y=2x+3\) that is closest to the origin \((0,0)\).

\[D(x)=x^2+(2x+3)^2\]
Show solution

Minimize the squared distance D(x) = x^2 + y^2 from (0, 0).

Set D'(x) = 0.

Answer:
\(\boxed{\left(-\frac{6}{5},\frac{3}{5}\right)}\)

Problem 7

A poster must contain \(50\text{ in}^2\) of printed area with \(4\text{-in}\) margins at the top and bottom and \(2\text{-in}\) margins on each side. What overall poster dimensions minimize total paper area?

\[xy=50,\quad A=(x+4)(y+8)\]
Show solution

Let x be the printed width and y = 50/x be the printed height. Total area is A = (x + 4)(y + 8).

Differentiate and set A'(x) = 0.

Add the margins to get overall dimensions: x + 4 = 9 in and y + 8 = 18 in.

Answer:
\(\boxed{9\text{ in}\times 18\text{ in}}\)

Problem 8

A cylindrical can with top and bottom must hold a volume of \(V=16\pi\text{ in}^3\). Find the radius \(r\) and height \(h\) that minimize its total surface area \(S=2\pi r^2+2\pi rh\).

\[\pi r^2 h=16\pi\]
Show solution

From pi*r^2*h = 16*pi, we have h = 16/r^2. Substitute into S.

Set S'(r) = 0.

Answer:
\(\boxed{r=2\text{ in},\;h=4\text{ in}}\)

Problem 9

Find the maximum product of two numbers \(x\) and \(y\) that satisfy \(2x+y=40\).

\[2x+y=40,\quad P=xy\]
Show solution

Substitute y = 40 - 2x into P = xy.

Answer:
\(\boxed{200}\)

Problem 10

Find the positive number \(x\) that minimizes the sum of \(x\) and four times its reciprocal.

\[S(x)=x+\frac{4}{x},\quad x>0\]
Show solution

Set S'(x) = 1 - 4/x^2 = 0 for x > 0.

Answer:
\(\boxed{x=2}\)

Problem 11

A rectangular garden of area \(200\text{ ft}^2\) is to be enclosed by a fence, with an additional fence dividing it into two equal pens parallel to one side. What dimensions minimize the total length of fencing?

\[xy=200,\quad L=3x+2y\]
Show solution

Substitute y = 200/x into L(x) = 3x + 400/x and set L'(x) = 0.

Answer:
\(\boxed{10\sqrt{\frac{4}{3}}\text{ ft}\times 10\sqrt{3}\text{ ft}}\)

Problem 12

Find the minimum value of \(f(x)=x^2+\frac{16}{x}\) for \(x>0\).

\[f(x)=x^2+\frac{16}{x}\]
Show solution

Set f'(x) = 2x - 16/x^2 = 0.

Answer:
\(\boxed{12}\)

Problem 13

A company sells \(x\) items at price \(p(x)=100-0.5x\). What production level \(x\) maximizes total revenue \(R(x)=x\,p(x)\)?

\[R(x)=100x-0.5x^2\]
Show solution

Set marginal revenue R'(x) = 0.

Answer:
\(\boxed{x=100\text{ items}}\)

Problem 14

Find the maximum possible area of a right triangle whose legs \(x\) and \(y\) satisfy \(x+y=12\).

\[A=\frac{1}{2}xy,\quad x+y=12\]
Show solution

Substitute y = 12 - x into A(x) = (1/2)x(12 - x) = 6x - (1/2)x^2.

Answer:
\(\boxed{18}\)

Problem 15

Find the point on the curve \(y=\sqrt{x}\) closest to the point \((3,0)\).

\[D(x)=(x-3)^2+x\]
Show solution

Minimize the squared distance D(x) = (x - 3)^2 + (sqrt(x))^2.

Answer:
\(\boxed{\left(\frac{5}{2},\sqrt{\frac{5}{2}}\right)}\)