Educerie

Educerie · AP · Calculus AB and BC

AP Calculus AB and BC 5.11

Solving Optimization Problems

How can the derivative, the rate of change at a point, tell you what a whole function is doing?

What you will learn

  • Understand how to prove that a value found is the best value on its domain.
  • Know to check the endpoints on a closed domain, where a limit can set the best value.
  • Know how to interpret an extremum in context with units.
  • Know how to write a calculator answer with its setup.

You must be able to

  1. Choose the Candidates Test or a single-critical-point argument from the domain
  2. Find a best value with a calculator and write the equation solved
  3. Handle a best value at an endpoint
  4. Write a full sentence in context with units
  5. Justify that a cost is least or an area greatest

In the exam. Section I (multiple choice), Part A and Part B: find the best value of a model, sometimes with a calculator, or say which conclusion is correct. In the free-response section an applied extremum is a justified part: "Find the time at which the concentration is greatest. Justify your answer." Marks go for the derivative, the comparison and a sentence in context with units.

1Which argument to use

The domain isUseWhy it is enough
closed, [a,b][a, b]Candidates TestThe best value is at a critical point or an endpoint (5.5).
open or all x>0x > 0, one critical pointf′′(c)>0f''(c) > 0 or f′′(c)<0f''(c) < 0A single relative extremum is absolute (5.7).
open, several critical pointsSign chart of f′f'It shows where ff rises and falls over the whole domain.

Never use "the derivative is zero here, so this is the best". A critical point is only a candidate.

Why this works. On a closed interval the Candidates Test checks every place the best value could be. On an open interval there are no ends to check, but if ff has only one critical point it cannot turn around anywhere else. If it dips to a relative minimum at that point and has no other flat spot, it must rise on both sides for good, so that dip is the lowest value everywhere on the interval. The second derivative only confirms that the dip is a minimum and not a maximum.

2Example: a can (with a calculator)

A closed cylindrical can holds 1000 cubic centimeters. Its surface area is S=2πr2+2πrhS = 2\pi r^{2} + 2\pi rh, and its volume is V=πr2hV = \pi r^{2}h. Find the radius that uses the least metal.

From the volume, h=1000πr2h = \dfrac{1000}{\pi r^{2}}. Then 2πrh=2000r2\pi rh = \dfrac{2000}{r}, so

S(r)=2πr2+2000rr > 0, in centimetersS(r) = 2\pi r^{2} + \frac{2000}{r} \qquad \textcolor{#838c91}{\text{r > 0, in centimeters}}S′(r)=4πr−2000r2=0sor3=500π, r=500π3≈5.419S'(r) = 4\pi r - \frac{2000}{r^{2}} = 0 \quad\text{so}\quad r^{3} = \frac{500}{\pi}, \ r = \sqrt[3]{\frac{500}{\pi}} \approx 5.419
Figure 1. S(r) = 2 pi r squared + 2000 / r on 0 < r: the surface area of a closed can of volume 1000 cubic centimeters has one low point, at r = 5.42 10 0 S (cm squared) r (cm) 5.42 554
Figure 1 · S(r) = 2 pi r squared + 2000 / r on 0 < r: the surface area of a closed can of volume 1000 cubic centimeters has one low point, at r = 5.42

The domain r>0r > 0 is open and there is one critical point. S′′(r)=4π+4000r3S''(r) = 4\pi + \dfrac{4000}{r^{3}} is positive for every r>0r > 0, so S′′(5.419)>0S''(5.419) > 0. The critical point is the absolute minimum.

The height is h=1000π(5.419)2≈10.839h = \dfrac{1000}{\pi(5.419)^{2}} \approx 10.839, which is twice the radius. The least surface area is S(5.419)≈553.581S(5.419) \approx 553.581 square centimeters.

On a calculator. Use "solve" on S′(r)=0S'(r) = 0 and write the equation. Give three decimal places: r=5.419r = 5.419 cm.

3Example: a cost problem

A rectangular enclosure must have area 400 square meters. Two opposite sides need a fence costing 5 dollars per meter, and the other two sides a fence costing 20 dollars per meter. What dimensions cost least?

Let xx be the length of the cheaper sides and yy the length of the dearer sides, in meters. Then xy=400xy = 400, so y=400xy = \dfrac{400}{x}.

C=2(5x)+2(20y)=10x+40y=10x+16000xcost in dollars, x > 0C = 2(5x) + 2(20y) = 10x + 40y = 10x + \frac{16000}{x} \qquad \textcolor{#838c91}{\text{cost in dollars, x > 0}}C′(x)=10−16000x2=0sox2=1600, x=40C'(x) = 10 - \frac{16000}{x^{2}} = 0 \quad\text{so}\quad x^{2} = 1600, \ x = 40C′′(x)=32000x3C′′(40)>0C''(x) = \frac{32000}{x^{3}} \qquad C''(40) > 0

x=40x = 40 is the only critical point in (0,∞)(0, \infty), and C′′(40)>0C''(40) > 0, so it gives the absolute minimum. Then y=40040=10y = \dfrac{400}{40} = 10, and C(40)=400+400=800C(40) = 400 + 400 = 800.

Answer. The cheaper sides are 40 m and the dearer sides are 10 m. The least cost is 800 dollars.

4Example: a model in context

The concentration of a drug in the blood, in milligrams per liter, is modeled by C(t)=20te−t/2C(t) = 20te^{-t/2}, where tt is the time in hours after a dose, for 0≤t≤80 \le t \le 8. (Invented model.) When is the concentration greatest?

C′(t)=20e−t/2−10te−t/2=10e−t/2(2−t)=0att=2C'(t) = 20e^{-t/2} - 10te^{-t/2} = 10e^{-t/2}(2 - t) = 0 \quad\text{at}\quad t = 2C(0)=0C(2)=40e−1≈14.715C(8)=160e−4≈2.931C(0) = 0 \qquad C(2) = 40e^{-1} \approx 14.715 \qquad C(8) = 160e^{-4} \approx 2.931

CC is continuous on the closed interval [0,8][0, 8]. The candidates are t=0t = 0, 2 and 8, and the largest value is C(2)C(2).

Answer. The concentration is greatest 2 hours after the dose, at about 14.715 milligrams per liter.

5When the best value is at an endpoint

Sometimes the derivative has no zero in the domain, because the situation limits the variable.

Example (invented). A shop's revenue in dollars from selling xx items in a day is R(x)=12x−0.1x2R(x) = 12x - 0.1x^{2}, for 0≤x≤400 \le x \le 40, because it only stocks 40.

R′(x)=12−0.2x=0atx=60outside [0, 40]R'(x) = 12 - 0.2x = 0 \quad\text{at}\quad x = 60 \qquad \textcolor{#838c91}{\text{outside [0, 40]}}

There is no critical point in (0,40)(0, 40). R′(x)>0R'(x) > 0 on the whole interval, so RR is increasing, and the greatest revenue is at the right endpoint: R(40)=480−160=320R(40) = 480 - 160 = 320 dollars.

The reason is the Candidates Test: the only candidates are the endpoints R(0)=0R(0) = 0 and R(40)=320R(40) = 320. The best choice is limited by the stock, not by a derivative that is zero.

6Saying what it means

Write a sentence that names the quantity, the value and the units.

ResultSentence
x=100x = 100, A=15 000A = 15\,000"The area is greatest, 15 000 square meters, when the width is 100 meters."
r=5.419r = 5.419, S=553.581S = 553.581"The can uses the least metal, 553.581 square centimeters, when the radius is 5.419 centimeters."
t=2t = 2, C=14.715C = 14.715"The concentration is greatest, 14.715 milligrams per liter, 2 hours after the dose."

Three habits help.

  • Use the words of the question ("least cost", "greatest concentration").
  • Say whether the answer is the place (the xx) or the best value (the yy), or both.
  • Put the unit on each number.

7A full justification

"CC is continuous on [0,8][0, 8], so its maximum is at a critical point or an endpoint. C′(t)=0C'(t) = 0 at t=2t = 2. C(0)=0C(0) = 0, C(2)≈14.715C(2) \approx 14.715, C(8)≈2.931C(8) \approx 2.931. The greatest is C(2)C(2), so the concentration is greatest 2 hours after the dose."

For an open domain: "x=4x = 4 is the only critical point on (0,∞)(0, \infty) and f′′(4)>0f''(4) > 0, so ff has an absolute minimum at x=4x = 4."

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.