Aplicación-derivada-optimizacion
Aplicación-derivada-optimizacion
To optimize something means to maximize or minimize some aspect of it. What are the di-
mensions of a rectangle with fixed perimeter having maximum area? What is the least ex-
pensive shape for a cylindrical can? What is the size of the most profitable production
run? The differential calculus is a powerful tool for solving problems that call for maxi-
x mizing or minimizing a function. In this section we solve a variety of optimization prob-
lems from business, mathematics, physics, and economics.
12
Examples from Business and Industry
EXAMPLE 1 Fabricating a Box
x
An open-top box is to be made by cutting small congruent squares from the corners of a
x x
12 12-in.-by-12-in. sheet of tin and bending up the sides. How large should the squares cut
from the corners be to make the box hold as much as possible?
(a)
Solution We start with a picture (Figure 4.32). In the figure, the corner squares are x in.
on a side. The volume of the box is a function of this variable:
Vsxd = xs12 - 2xd2 = 144x - 48x 2 + 4x 3 . V = hlw
x
12 2x Since the sides of the sheet of tin are only 12 in. long, x … 6 and the domain of V is the in-
12 terval 0 … x … 6.
12 2x A graph of V (Figure 4.33) suggests a minimum value of 0 at x = 0 and x = 6 and a
x
x maximum near x = 2. To learn more, we examine the first derivative of V with respect to x:
(b) dV
= 144 - 96x + 12x 2 = 12s12 - 8x + x 2 d = 12s2 - xds6 - xd.
dx
FIGURE 4.32 An open box made by
cutting the corners from a square sheet of Of the two zeros, x = 2 and x = 6, only x = 2 lies in the interior of the function’s domain
tin. What size corners maximize the box’s and makes the critical-point list. The values of V at this one critical point and two end-
volume (Example 1)? points are
Critical-point value: Vs2d = 128
Maximum
Endpoint values: Vs0d = 0, Vs6d = 0.
y 3
The maximum volume is 128 in. . The cutout squares should be 2 in. on a side.
y x(12 – 2x)2,
0x6
Volume
2r How can we interpret the phrase “least material”? First, it is customary to ignore the thickness
of the material and the waste in manufacturing. Then we ask for dimensions r and h that make
the total surface area as small as possible while satisfying the constraint pr 2h = 1000.
To express the surface area as a function of one variable, we solve for one of the vari-
ables in pr 2h = 1000 and substitute that expression into the surface area formula. Solving
h for h is easier:
1000
h = .
pr 2
Thus,
FIGURE 4.34 This 1-L can uses the least A = 2pr 2 + 2prh
material when h = 2r (Example 2).
= 2pr 2 + 2pr a b
1000
pr 2
2000
= 2pr 2 + r .
Our goal is to find a value of r 7 0 that minimizes the value of A. Figure 4.35 suggests
that such a value exists.
Tall and
thin can
Short and
wide can
A 2r 2 2000
—— , r 0
r
Tall and thin
min
r
0 3 500
Short and wide
Notice from the graph that for small r (a tall thin container, like a piece of pipe), the
term 2000>r dominates and A is large. For large r (a short wide container, like a pizza
pan), the term 2pr 2 dominates and A again is large.
Since A is differentiable on r 7 0, an interval with no endpoints, it can have a mini-
mum value only where its first derivative is zero.
dA 2000
= 4pr -
dr r2
2000
0 = 4pr - Set dA>dr = 0 .
r2
4pr 3 = 2000 Multiply by r 2 .
The derivative
dA -2x 2
= + 224 - x 2
dx 24 - x 2
is not defined when x = 2 and is equal to zero when
-2x 2
+ 224 - x 2 = 0
24 - x 2
-2x 2 + 2s4 - x 2 d = 0
8 - 4x 2 = 0
x2 = 2 or x = ; 22.
Of the two zeros, x = 22 and x = - 22, only x = 22 lies in the interior of A’s do-
main and makes the critical-point list. The values of A at the endpoints and at this one crit-
ical point are
Critical-point value: A A 22 B = 22224 - 2 = 4
Endpoint values: As0d = 0, As2d = 0.
The area has a maximum value of 4 when the rectangle is 24 - x 2 = 22 units high and
2x = 222 unit long.
HISTORICAL BIOGRAPHY
Willebrord Snell van Royen EXAMPLE 4 Fermat’s Principle and Snell’s Law
(1580–1626)
The speed of light depends on the medium through which it travels, and is generally slower
in denser media.
Fermat’s principle in optics states that light travels from one point to another along a
path for which the time of travel is a minimum. Find the path that a ray of light will follow
in going from a point A in a medium where the speed of light is c1 to a point B in a second
medium where its speed is c2 .
Solution Since light traveling from A to B follows the quickest route, we look for a path
that will minimize the travel time. We assume that A and B lie in the xy-plane and that the
line separating the two media is the x-axis (Figure 4.37).
y
In a uniform medium, where the speed of light remains constant, “shortest time”
means “shortest path,” and the ray of light will follow a straight line. Thus the path from A
Angle of
A to B will consist of a line segment from A to a boundary point P, followed by another line
incidence
1 Medium 1 segment from P to B. Distance equals rate times time, so
a 1
P distance
x Time = rate .
0 x d
Angle of
b 2 refraction The time required for light to travel from A to P is
Medium 2
dx
B AP 2a 2 + x 2
t1 = c1 = c1 .
This equation expresses t as a differentiable function of x whose domain is [0, d]. We want
to find the absolute minimum value of t on this closed interval. We find the derivative
dt x d - x
= - .
dx c1 2a + x
2 2
c2 2b + sd - xd2
2
The marginal revenue, marginal cost, and marginal profit when producing and selling x
items are
dr
= marginal revenue,
dx
dc
= marginal cost,
dx
dp
= marginal profit.
dx
The first observation is about the relationship of p to these derivatives.
If r(x) and c(x) are differentiable for all x 7 0, and if psxd = rsxd - csxd has a
maximum value, it occurs at a production level at which p¿sxd = 0. Since p¿sxd =
r¿sxd - c¿sxd, p¿sxd = 0 implies that
r¿sxd - c¿sxd = 0 or r¿sxd = c¿sxd.
Therefore
Cost c(x)
Dollars
Revenue r(x)
Break-even point
Maximum profit, c'(x) r'(x)
B
FIGURE 4.39 The graph of a typical cost function starts concave down and later turns concave up. It
crosses the revenue curve at the break-even point B. To the left of B, the company operates at a loss. To
the right, the company operates at a profit, with the maximum profit occurring where c¿sxd = r¿sxd .
Farther to the right, cost exceeds revenue (perhaps because of a combination of rising labor and
material costs and market saturation) and production levels become unprofitable again.
Local maximum for loss The possible production levels for maximum profit are x L 0.586 thousand units or x L
x 3.414 thousand units. The second derivative of psxd = rsxd - csxd is p–sxd = -c–sxd
0 2 兹2 2 2 兹2
NOT TO SCALE
since r–sxd is everywhere zero. Thus, p–sxd = 6s2 - xd which is negative at x = 2 + 22
and positive at x = 2 - 22. By the Second Derivative Test, a maximum profit occurs at
FIGURE 4.40 The cost and revenue about x = 3.414 (where revenue exceeds costs) and maximum loss occurs at about
curves for Example 5. x = 0.586. The graph of r(x) is shown in Figure 4.40.
the material be delivered to minimize her average daily cost in the production cycle be-
tween deliveries?
y 5000
x
Solution If she asks for a delivery every x days, then she must order 5x units to have
enough material for that delivery cycle. The average amount in storage is approximately
x
x min one-half of the delivery amount, or 5 x>2. Thus, the cost of delivery and storage for each
Cycle length cycle is approximately
FIGURE 4.41 The average daily cost c(x) Cost per cycle = delivery costs + storage costs
is the sum of a hyperbola and a linear
a b
5x # #
function (Example 6). Cost per cycle = 5000 + x 10
()* 2 ()* ()*
delivery ()* number of storage cost
cost average days stored per day
amount stored
We compute the average daily cost c(x) by dividing the cost per cycle by the number of
days x in the cycle (see Figure 4.41).
5000
csxd = x + 25x, x 7 0.
c A 2200 B =
5000
+ 25 2200 = 50022 L $707.11.
2200
We note that c(x) is defined over the open interval s0, q d with c–sxd = 10000>x 3 7 0.
Thus, an absolute minimum exists at x = 2200 L 14.14 days.
The cabinetmaker should schedule a delivery of 5s14d = 70 units of the exotic wood
every 14 days.
In Examples 5 and 6 we allowed the number of items x to be any positive real number.
In reality it usually only makes sense for x to be a positive integer (or zero). If we must
round our answers, should we round up or down?
Solution The average daily cost will increase by about $0.03 if we round down from
14.14 to 14 days:
5000
cs14d = + 25s14d = $707.14
14
and
cs14d - cs14.14d = $707.14 - $707.11 = $0.03.
On the other hand, cs15d = $708.33, and our cost would increase by $708.33 -
$707.11 = $1.22 if we round up. Thus, it is better that we round x down to 14 days.