SlideShare a Scribd company logo
1 of 98
Applications in Optimization
Applications in Optimization 
In this section, we solve various extrema problems 
in real world applications. These problems are 
referred to as “optimization problems” in 
mathematics, and derivatives play a major role in 
such problems.
Applications in Optimization 
In this section, we solve various extrema problems 
in real world applications. These problems are 
referred to as “optimization problems” in 
mathematics, and derivatives play a major role in 
such problems. We begin with an 
extrema-existence–problem.
Applications in Optimization 
In this section, we solve various extrema problems 
in real world applications. These problems are 
referred to as “optimization problems” in 
mathematics, and derivatives play a major role in 
such problems. We begin with an 
extrema-existence–problem. 
Let y be a function defined over an 
interval V, y may or may not have 
any extremum in V.
Applications in Optimization 
In this section, we solve various extrema problems 
in real world applications. These problems are 
referred to as “optimization problems” in 
mathematics, and derivatives play a major role in 
such problems. We begin with an 
extrema-existence–problem. 
Let y be a function defined over an 
interval V, y may or may not have 
any extremum in V. Here are two 
examples of well behaved functions 
that don’t have extrema.
Applications in Optimization 
In this section, we solve various extrema problems 
in real world applications. These problems are 
referred to as “optimization problems” in 
mathematics, and derivatives play a major role in 
such problems. We begin with an 
extrema-existence–problem. 
Let y be a function defined over an 
interval V, y may or may not have 
any extremum in V. Here are two 
examples of well behaved functions 
that don’t have extrema. 
Let y = tan(x) over the interval 
V = (–π/2, π/2) as shown. 
y=tan(x) 
x 
y 
–π/2 π/2
Applications in Optimization 
In this section, we solve various extrema problems 
in real world applications. These problems are 
referred to as “optimization problems” in 
mathematics, and derivatives play a major role in 
such problems. We begin with an 
extrema-existence–problem. 
Let y be a function defined over an 
interval V, y may or may not have 
any extremum in V. Here are two 
examples of well behaved functions 
that don’t have extrema. 
Let y = tan(x) over the interval 
V = (–π/2, π/2) as shown. There is no 
extremum in V because V is open. 
y=tan(x) 
x 
y 
–π/2 π/2
Applications in Optimization 
Even if we close the interval V, 
it’s still not enough to guarantee 
the existence of an extremum.
Applications in Optimization 
Even if we close the interval V, 
it’s still not enough to guarantee 
the existence of an extremum. 
x 
y=g(x) 
For example, let y = g(x) be the 
function over the closed interval 
U = [–π/2, π/2] as shown. 
y 
(0, 1) 
–π/2 π/2 
(0, –1)
Applications in Optimization 
Even if we close the interval V, 
it’s still not enough to guarantee 
the existence of an extremum. 
x 
y=g(x) 
For example, let y = g(x) be the 
function over the closed interval 
U = [–π/2, π/2] as shown. Note that 
even though g(x) is bounded between 
y 
(0, 1) 
–π/2 π/2 
(0, –1) 
1 and –1, it still doesn’t have any extremum in U.
Applications in Optimization 
Even if we close the interval V, 
it’s still not enough to guarantee 
the existence of an extremum. 
x 
y=g(x) 
For example, let y = g(x) be the 
function over the closed interval 
U = [–π/2, π/2] as shown. Note that 
even though g(x) is bounded between 
y 
(0, 1) 
–π/2 π/2 
(0, –1) 
1 and –1, it still doesn’t have any extremum in U. 
(Extrema Theorem for Continuous Functions)
Applications in Optimization 
Even if we close the interval V, 
it’s still not enough to guarantee 
the existence of an extremum. 
x 
y=g(x) 
For example, let y = g(x) be the 
function over the closed interval 
U = [–π/2, π/2] as shown. Note that 
even though g(x) is bounded between 
y 
(0, 1) 
–π/2 π/2 
(0, –1) 
1 and –1, it still doesn’t have any extremum in U. 
(Extrema Theorem for Continuous Functions) 
Let y = f(x) be a continuous function defined over a 
closed interval V = [a, b], then both the absolute max. 
and the absolute min. exist in V.
Applications in Optimization 
Even if we close the interval V, 
it’s still not enough to guarantee 
the existence of an extremum. 
x 
y=g(x) 
For example, let y = g(x) be the 
function over the closed interval 
U = [–π/2, π/2] as shown. Note that 
even though g(x) is bounded between 
y 
(0, 1) 
–π/2 π/2 
(0, –1) 
1 and –1, it still doesn’t have any extremum in U. 
(Extrema Theorem for Continuous Functions) 
Let y = f(x) be a continuous function defined over a 
closed interval V = [a, b], then both the absolute max. 
and the absolute min. exist in V. Furthermore, the 
absolute extrema must occur where f '(x) = 0,
Applications in Optimization 
Even if we close the interval V, 
it’s still not enough to guarantee 
the existence of an extremum. 
x 
y=g(x) 
For example, let y = g(x) be the 
function over the closed interval 
U = [–π/2, π/2] as shown. Note that 
even though g(x) is bounded between 
y 
(0, 1) 
–π/2 π/2 
(0, –1) 
1 and –1, it still doesn’t have any extremum in U. 
(Extrema Theorem for Continuous Functions) 
Let y = f(x) be a continuous function defined over a 
closed interval V = [a, b], then both the absolute max. 
and the absolute min. exist in V. Furthermore, the 
absolute extrema must occur where f '(x) = 0, or where 
f'(x) is UDF, or they occur at the end points {a, b}.
Applications in Optimization 
Here are examples of each type of extrema.
Applications in Optimization 
Here are examples of each type of extrema. 
A. 
a 
x 
c b
Applications in Optimization 
Here are examples of each type of extrema. 
A. 
a 
x 
b 
In A. The absolute maximum 
occurs at x = c where 
f '(c) = 0, and the absolute 
minimum occurs at the end 
point x = b. 
c 
A f'=0 ab. max. 
An end–point 
ab. min.
Applications in Optimization 
Here are examples of each type of extrema. 
A. 
a 
An end–point 
ab. min. 
x 
A f'=0 ab. max. 
b 
B. 
a b x 
In A. The absolute maximum 
occurs at x = c where 
f '(c) = 0, and the absolute 
minimum occurs at the end 
point x = b. 
c 
c d
Applications in Optimization 
Here are examples of each type of extrema. 
A. 
a 
x 
b 
B. 
a b x 
In A. The absolute maximum 
occurs at x = c where 
f '(c) = 0, and the absolute 
minimum occurs at the end 
point x = b. 
c 
c d 
In B. The absolute maximum 
occurs at x = c where 
f '(c) is UDF, and the absolute 
minimum occurs at x = d 
where f '(d) = 0. 
A f'=0 ab. max. 
An end–point 
ab. min. 
A UDF– f' ab. max. 
A f'=0 
ab. min.
Applications in Optimization 
Here are examples of each type of extrema. 
A. 
a 
x 
b 
B. 
a b x 
In A. The absolute maximum 
occurs at x = c where 
f '(c) = 0, and the absolute 
minimum occurs at the end 
point x = b. 
c 
c d 
In B. The absolute maximum 
occurs at x = c where 
f '(c) is UDF, and the absolute 
minimum occurs at x = d 
where f '(d) = 0. 
A f'=0 ab. max. 
An end–point 
ab. min. 
A UDF– f' ab. max. 
A f'=0 
ab. min. 
Hence we have to consider 
points of all three cases when 
solving for extrema.
Applications in Optimization 
Example A. Let y be defined as the following. 
x2 for 1 > x 
y = 
2 – x for 1 ≤ x
Applications in Optimization 
Example A. Let y be defined as the following. 
x2 for 1 > x 
y = 
2 – x for 1 ≤ x 
(1, 1) 
x 
y
Applications in Optimization 
Example A. Let y be defined as the following. 
x2 for 1 > x 
y = 
2 – x for 1 ≤ x 
(1, 1) 
x 
y 
Find the extrema of y over the 
interval [–1 , ½ ].
Applications in Optimization 
Example A. Let y be defined as the following. 
x2 for 1 > x 
y = 
2 – x for 1 ≤ x 
(1, 1) 
x 
y 
Find the extrema of y over the 
interval [–1 , ½ ]. 
The end–point values are 
f(–1) = 1 and f(½) = ¼.
Applications in Optimization 
Example A. Let y be defined as the following. 
x2 for 1 > x 
y = 
2 – x for 1 ≤ x 
(1, 1) 
x 
y 
Find the extrema of y over the 
interval [–1 , ½ ]. 
x 
y 
The end–point values are 
f(–1) = 1 and f(½) = ¼. 
(–1, 1) 
–1 ½ 
(½, ¼ )
Applications in Optimization 
Example A. Let y be defined as the following. 
x2 for 1 > x 
y = 
2 – x for 1 ≤ x 
(1, 1) 
x 
y 
Find the extrema of y over the 
interval [–1 , ½ ]. 
x 
y 
The end–point values are 
f(–1) = 1 and f(½) = ¼. 
y' = 0 at x = 0 so that (0, 0) 
is an f'=0–type minimum. 
(–1, 1) 
–1 ½ 
(½, ¼ )
Applications in Optimization 
Example A. Let y be defined as the following. 
x2 for 1 > x 
y = 
2 – x for 1 ≤ x 
(1, 1) 
x 
y 
Find the extrema of y over the 
interval [–1 , ½ ]. 
x 
y 
The end–point values are 
f(–1) = 1 and f(½) = ¼. 
y' = 0 at x = 0 so that (0, 0) 
is an f'=0–type minimum. 
Within the interval [–1 , ½ ], there 
is no point of the f'–UDF–type. 
Hence the ab. max. is at (–1, 1) 
and the ab. min is at (0, 0). 
(–1, 1) 
–1 ½ 
(½, ¼ )
Applications in Optimization 
The key here is that if we are to find extrema of a 
given continuous function over a closed interval 
we have to obtain all three types of points described 
above, then select the correct solutions.
Applications in Optimization 
x 
The key here is that if we are to find extrema of a 
given continuous function over a closed interval 
we have to obtain all three types of points described 
above, then select the correct solutions. 
For instance, within [–½, 3], y 
x = 0 is an f'=0–type solution. 
The point (1, 1) at x = 1 is an 
f'–UDF–type solution. 
(1, 1) 
–½ 3
Applications in Optimization 
x 
The key here is that if we are to find extrema of a 
given continuous function over a closed interval 
we have to obtain all three types of points described 
above, then select the correct solutions. 
For instance, within [–½, 3], y 
x = 0 is an f'=0–type solution. 
The point (1, 1) at x = 1 is an 
f'–UDF–type solution. 
The end–point values are 
f(–½) = ¼ and f(3) = –1. 
(1, 1) 
–½ 3 
(3, –1)
Applications in Optimization 
x 
The key here is that if we are to find extrema of a 
given continuous function over a closed interval 
we have to obtain all three types of points described 
above, then select the correct solutions. 
For instance, within [–½, 3], y 
x = 0 is an f'=0–type solution. 
The point (1, 1) at x = 1 is an 
f'–UDF–type solution. 
The end–point values are 
f(–½) = ¼ and f(3) = –1. 
By inspection, the ab. max. is at 
(1, 1) and the ab. min is at (3, –1). 
(1, 1) 
–½ 3 
(3, –1)
Applications in Optimization 
x 
The key here is that if we are to find extrema of a 
given continuous function over a closed interval 
we have to obtain all three types of points described 
above, then select the correct solutions. 
For instance, within [–½, 3], y 
x = 0 is an f'=0–type solution. 
The point (1, 1) at x = 1 is an 
f'–UDF–type solution. 
The end–point values are 
f(–½) = ¼ and f(3) = –1. 
By inspection, the ab. max. is at 
(1, 1) and the ab. min is at (3, –1). 
(1, 1) 
–½ 3 
(3, –1) 
In the applied problems below, make sure all such 
relevant points are considered.
Applications in Optimization 
Distance Problems
Applications in Optimization 
Distance Problems 
The distance formula is a square–root formula whose 
radicand is always nonnegative. To find the extrema 
of a distance relation in the form of “√u(x)”, 
we drop the square–root and look for the extrema of 
u(x) instead.
Applications in Optimization 
Distance Problems 
The distance formula is a square–root formula whose 
radicand is always nonnegative. To find the extrema 
of a distance relation in the form of “√u(x)”, 
we drop the square–root and look for the extrema of 
u(x) instead. 
Example B. Find the coordinate of the point on the 
line y = 2x that is closest to the point (1, 0).
Applications in Optimization 
Distance Problems 
The distance formula is a square–root formula whose 
radicand is always nonnegative. To find the extrema 
of a distance relation in the form of “√u(x)”, 
we drop the square–root and look for the extrema of 
u(x) instead. 
Example B. Find the coordinate of the point on the 
line y = 2x that is closest to the point (1, 0). 
x 
y=2x 
(1, 0) 
y 
D
Applications in Optimization 
Distance Problems 
The distance formula is a square–root formula whose 
radicand is always nonnegative. To find the extrema 
of a distance relation in the form of “√u(x)”, 
we drop the square–root and look for the extrema of 
u(x) instead. 
Example B. Find the coordinate of the point on the 
line y = 2x that is closest to the point (1, 0). 
x 
y=2x 
(1, 0) 
y 
(x, 2x) 
A generic point on the line is (x, 2x) 
and its distance to the point (1, 0) 
is D = [(x – 1)2 + (2x – 0 )2]½. 
D
Applications in Optimization 
Distance Problems 
The distance formula is a square–root formula whose 
radicand is always nonnegative. To find the extrema 
of a distance relation in the form of “√u(x)”, 
we drop the square–root and look for the extrema of 
u(x) instead. 
Example B. Find the coordinate of the point on the 
line y = 2x that is closest to the point (1, 0). 
x 
y=2x 
(1, 0) 
y 
(x, 2x) 
A generic point on the line is (x, 2x) 
and its distance to the point (1, 0) 
is D = [(x – 1)2 + (2x – 0 )2]½. 
We want to find the x value that 
gives the minimal D. Note that D is 
defined for all numbers. 
D
Applications in Optimization 
x 
(1, 0) 
(x, 2x) 
We minimize the radicand 
u = D2 = (x – 1)2 + (2x – 0 )2 
= 5x2 – 2x + 1 instead. 
y 
D
Applications in Optimization 
x 
(1, 0) 
(x, 2x) 
We minimize the radicand 
u = D2 = (x – 1)2 + (2x – 0 )2 
= 5x2 – 2x + 1 instead. 
Set u' = 10x – 2 = 0. We get x = 1/5, 
and the point is (1/5, 2/5). 
y 
D
Applications in Optimization 
x 
(1, 0) 
(x, 2x) 
We minimize the radicand 
u = D2 = (x – 1)2 + (2x – 0 )2 
= 5x2 – 2x + 1 instead. 
Set u' = 10x – 2 = 0. We get x = 1/5, 
and the point is (1/5, 2/5). 
From the geometry it’s obvious 
(1/5, 2/5) is the closest point to (1, 0). 
y 
D
Applications in Optimization 
x 
(1, 0) 
(x, 2x) 
We minimize the radicand 
u = D2 = (x – 1)2 + (2x – 0 )2 
= 5x2 – 2x + 1 instead. 
Set u' = 10x – 2 = 0. We get x = 1/5, 
and the point is (1/5, 2/5). 
From the geometry it’s obvious 
(1/5, 2/5) is the closest point to (1, 0). 
½ 
y 
D 
Similarly if we wish to find the extrema of eu(x) or 
In(u(x)), we may find the extrema of u(x) instead. 
This is true because like sqrt(x), eu(x) and In(u(x)) are 
increasing functions, i.e. if s < t, then es < et, 
so the extrema of eu(x) are the same as u(x).
Applications in Optimization 
x 
(1, 0) 
(x, 2x) 
We minimize the radicand 
u = D2 = (x – 1)2 + (2x – 0 )2 
= 5x2 – 2x + 1 instead. 
Set u' = 10x – 2 = 0. We get x = 1/5, 
and the point is (1/5, 2/5). 
From the geometry it’s obvious 
(1/5, 2/5) is the closest point to (1, 0). 
½ 
y 
D 
Similarly if we wish to find the extrema of eu(x) or 
In(u(x)), we may find the extrema of u(x) instead. 
This is true because like sqrt(x), eu(x) and In(u(x)) are 
increasing functions, i.e. if s < t, then es < et, 
so the extrema of eu(x) are the same as u(x). 
In fact, if f(x) is an increasing function, then the 
extrema of f(u(x)) are the same as the ones of u(x).
Applications in Optimization 
(What is the corresponding statement about the 
extrema of f(u(x)) and u(x) if f(x) is a decreasing 
function? Hint, consider f(x) = –x and f(u(x)) = –u(x).)
Applications in Optimization 
(What is the corresponding statement about the 
extrema of f(u(x)) and u(x) if f(x) is a decreasing 
function? Hint, consider f(x) = –x and f(u(x)) = –u(x).) 
Area Problems 
In area optimization problems, the main task is to 
express the area in question in a single well chosen 
variable x as A(x).
Applications in Optimization 
(What is the corresponding statement about the 
extrema of f(u(x)) and u(x) if f(x) is a decreasing 
function? Hint, consider f(x) = –x and f(u(x)) = –u(x).) 
Area Problems 
In area optimization problems, the main task is to 
express the area in question in a single well chosen 
variable x as A(x). 
If x represents a specific measurement, as opposed to 
a coordinate, then x must be nonnegative (often it’s 
also bounded above).
Applications in Optimization 
(What is the corresponding statement about the 
extrema of f(u(x)) and u(x) if f(x) is a decreasing 
function? Hint, consider f(x) = –x and f(u(x)) = –u(x).) 
Area Problems 
In area optimization problems, the main task is to 
express the area in question in a single well chosen 
variable x as A(x). 
If x represents a specific measurement, as opposed to 
a coordinate, then x must be nonnegative (often it’s 
also bounded above). In such cases consider the 
significance when x = 0 (or it’s other boundary value). 
Often one of the extrema is at the boundary, and we 
are looking for the other extremum. 
A drawing is indispensable in any geometric problem.
Applications in Optimization 
Example C. Farmer Fred wants 
to raise chickens, ducks and 
pigs. He has 120 yards of fence 
to build rectangular regions as 
shown to separate the animals. 
What is the maximal enclosed 
area that is possible? x 
x/2 
y
Applications in Optimization 
Example C. Farmer Fred wants 
to raise chickens, ducks and 
pigs. He has 120 yards of fence 
to build rectangular regions as 
shown to separate the animals. 
What is the maximal enclosed 
area that is possible? 
The enclosed area is A = xy. 
x 
x/2 
y
Applications in Optimization 
Example C. Farmer Fred wants 
to raise chickens, ducks and 
pigs. He has 120 yards of fence 
x/2 
to build rectangular regions as 
y 
shown to separate the animals. 
What is the maximal enclosed 
area that is possible? 
x 
The enclosed area is A = xy. The total linear length 
is 120, that is, 3y + 2½ x = 120
Applications in Optimization 
Example C. Farmer Fred wants 
to raise chickens, ducks and 
pigs. He has 120 yards of fence 
x/2 
to build rectangular regions as 
y 
shown to separate the animals. 
What is the maximal enclosed 
area that is possible? 
x 
The enclosed area is A = xy. The total linear length 
is 120, that is, 3y + 2½ x = 120 or that y = 40 – 5x/6.
Applications in Optimization 
Example C. Farmer Fred wants 
to raise chickens, ducks and 
pigs. He has 120 yards of fence 
x/2 
to build rectangular regions as 
y 
shown to separate the animals. 
What is the maximal enclosed 
area that is possible? 
x 
The enclosed area is A = xy. The total linear length 
is 120, that is, 3y + 2½ x = 120 or that y = 40 – 5x/6. 
So A(x) = x(40 – 5x/6) = 40x– 5x2/6.
Applications in Optimization 
Example C. Farmer Fred wants 
to raise chickens, ducks and 
pigs. He has 120 yards of fence 
x/2 
to build rectangular regions as 
y 
shown to separate the animals. 
What is the maximal enclosed 
area that is possible? 
x 
The enclosed area is A = xy. The total linear length 
is 120, that is, 3y + 2½ x = 120 or that y = 40 – 5x/6. 
So A(x) = x(40 – 5x/6) = 40x– 5x2/6. 
At the boundary values x = 0, 48 (why?) we have the 
absolute minimal A = 0.
Applications in Optimization 
Example C. Farmer Fred wants 
to raise chickens, ducks and 
pigs. He has 120 yards of fence 
x/2 
to build rectangular regions as 
y 
shown to separate the animals. 
What is the maximal enclosed 
area that is possible? 
x 
The enclosed area is A = xy. The total linear length 
is 120, that is, 3y + 2½ x = 120 or that y = 40 – 5x/6. 
So A(x) = x(40 – 5x/6) = 40x– 5x2/6. 
At the boundary values x = 0, 48 (why?) we have the 
absolute minimal A = 0. Setting A'(x) = 40 – 5x/3 = 0, 
we get x = 24
Applications in Optimization 
Example C. Farmer Fred wants 
to raise chickens, ducks and 
pigs. He has 120 yards of fence 
x/2 
to build rectangular regions as 
y 
shown to separate the animals. 
What is the maximal enclosed 
area that is possible? 
x 
The enclosed area is A = xy. The total linear length 
is 120, that is, 3y + 2½ x = 120 or that y = 40 – 5x/6. 
So A(x) = x(40 – 5x/6) = 40x– 5x2/6. 
At the boundary values x = 0, 48 (why?) we have the 
absolute minimal A = 0. Setting A'(x) = 40 – 5x/3 = 0, 
we get x = 24 which yields y = 20. 
So 20×24 = 480 yd2 must be the maximum area.
Applications in Optimization 
In fact for any specified partition of the rectangle, the 
maximal area always occurs when the total–vertical– 
fence–length is equal to the total–horizontal–fence– 
length. That is, using half of the fence for vertical 
dividers and the other half for the horizontal dividers 
will give the maximum enclosed area. 
Hence if farmer Joe is to 
build an enclosure with 120 
yd of fence as shown, 
x/2 
then the answer is 
y 
x = 60/3½ = 120/7, 
y = 60/3 = 20 
with the maximum possible 
area of 120/7×20 ≈ 343 yd2. x
Applications in Optimization 
Example D. Farmer Joe wishes to build an open 
cylindrical water tank made from sheet–metal that 
will hold 120π yd3 of water. What is the least amount 
of sheet–metal (in yd2) needed? 
120 yd3 
h 
r
Applications in Optimization 
Example D. Farmer Joe wishes to build an open 
cylindrical water tank made from sheet–metal that 
will hold 120π yd3 of water. What is the least amount 
of sheet–metal (in yd2) needed? 
120 yd3 
h 
r 
The volume of a cylinder is V = Bh 
where B = area of the base 
and h = height
Applications in Optimization 
Example D. Farmer Joe wishes to build an open 
cylindrical water tank made from sheet–metal that 
will hold 120π yd3 of water. What is the least amount 
of sheet–metal (in yd2) needed? 
120 yd3 
h 
r 
The volume of a cylinder is V = Bh 
where B = area of the base 
and h = height so we have120π = πr2h 
or h = 120/r2.
Applications in Optimization 
Example D. Farmer Joe wishes to build an open 
cylindrical water tank made from sheet–metal that 
will hold 120π yd3 of water. What is the least amount 
of sheet–metal (in yd2) needed? 
120 yd3 
h 
r 
The volume of a cylinder is V = Bh 
where B = area of the base 
and h = height so we have120π = πr2h 
or h = 120/r2. The surface area of the 
cylinder consists of a circular 
base and the circular wall.
Applications in Optimization 
Example D. Farmer Joe wishes to build an open 
cylindrical water tank made from sheet–metal that 
will hold 120π yd3 of water. What is the least amount 
of sheet–metal (in yd2) needed? 
The volume of a cylinder is V = Bh 
where B = area of the base 
120 yd3 
and h = height so we have120π = πr2h 
or h = 120/r2. The surface area of the 
cylinder consists of a circular 
base and the circular wall. The base area is πr2. 
h 
r
Applications in Optimization 
Example D. Farmer Joe wishes to build an open 
cylindrical water tank made from sheet–metal that 
will hold 120π yd3 of water. What is the least amount 
of sheet–metal (in yd2) needed? 
The volume of a cylinder is V = Bh 
where B = area of the base 
120 yd3 
h 
and h = height so we have120π = πr2h 
or h = 120/r2. The surface area of the 
r 
cylinder consists of a circular 
base and the circular wall. The base area is πr2. 
Unroll and flatten the wall, it is an h x 2πr rectangular 
sheet.
Applications in Optimization 
Example D. Farmer Joe wishes to build an open 
cylindrical water tank made from sheet–metal that 
will hold 120π yd3 of water. What is the least amount 
of sheet–metal (in yd2) needed? 
The volume of a cylinder is V = Bh 
where B = area of the base 
120 yd3 
h 
and h = height so we have120π = πr2h 
or h = 120/r2. The surface area of the 
r 
cylinder consists of a circular 
base and the circular wall. The base area is πr2. 
Unroll and flatten the wall, it is an h x 2πr rectangular 
sheet. Hence the total surface is S = πr2+ 2πrh, 
or S = πr2 + 2πr( 1 2 0 ) 
r2
Applications in Optimization 
Example D. Farmer Joe wishes to build an open 
cylindrical water tank made from sheet–metal that 
will hold 120π yd3 of water. What is the least amount 
of sheet–metal (in yd2) needed? 
The volume of a cylinder is V = Bh 
where B = area of the base 
120 yd3 
h 
and h = height so we have120π = πr2h 
or h = 120/r2. The surface area of the 
r 
cylinder consists of a circular 
base and the circular wall. The base area is πr2. 
Unroll and flatten the wall, it is an h x 2πr rectangular 
sheet. Hence the total surface is S = πr2+ 2πrh, 
or S = πr2 + 2πr( 1 2 0 ) = πr2 + 240π/r = π(r2 + 240/r) 
r2
Applications in Optimization 
120 yd3 
h 
r 
Setting S' = 2π(r – 120/r2) = 0, 
dividing both sides by 2π and clearing 
the denominator yields r3 – 120 = 0
Applications in Optimization 
120 yd3 
h 
r 
Setting S' = 2π(r – 120/r2) = 0, 
dividing both sides by 2π and clearing 
the denominator yields r3 – 120 = 0 
or that r = 1201/3, which gives the 
absolute minimal (why?) surface
Applications in Optimization 
120 yd3 
h 
r 
Setting S' = 2π(r – 120/r2) = 0, 
dividing both sides by 2π and clearing 
the denominator yields r3 – 120 = 0 
or that r = 1201/3, which gives the 
absolute minimal (why?) surface 
of π(1202/3 + ) = π 360/120 240 1/3 
1201/3 yd2.
Applications in Optimization 
120 yd3 
h 
r 
Setting S' = 2π(r – 120/r2) = 0, 
dividing both sides by 2π and clearing 
the denominator yields r3 – 120 = 0 
or that r = 1201/3, which gives the 
absolute minimal (why?) surface 
of π(1202/3 + ) = π 360/120 240 1/3 
1201/3 yd2. 
If the geometric object has a variable angle θ, then θ 
may be utilized as the independent variable.
Applications in Optimization 
120 yd3 
h 
r 
Setting S' = 2π(r – 120/r2) = 0, 
dividing both sides by 2π and clearing 
the denominator yields r3 – 120 = 0 
or that r = 1201/3, which gives the 
absolute minimal (why?) surface 
of π(1202/3 + ) = π 360/120 240 1/3 
1201/3 yd2. 
If the geometric object has a variable angle θ, then θ 
may be utilized as the independent variable. 
Example E. 
Find the isosceles triangle 
4 
having two sides of length 
4 
4 with the largest area as 
shown.
Applications in Optimization 
There are two observations that 
will make the algebra cleaner. 4 
4
Applications in Optimization 
There are two observations that 
will make the algebra cleaner. 
First let’s take advantage of the 
symmetry. Draw a perpendicular 
line as shown, it cuts the triangle 
4 
4 
into two mirror image right 
triangles.
Applications in Optimization 
There are two observations that 
will make the algebra cleaner. 
First let’s take advantage of the 
symmetry. Draw a perpendicular 
line as shown, it cuts the triangle 
4 
4 
into two mirror image right 
triangles. We may maximize one 
of the right triangles instead, 
i.e. to find the largest area 
possible of a right triangle with 
hypotenuse equal to 4. 
4 
a 
b A
Applications in Optimization 
There are two observations that 
will make the algebra cleaner. 
First let’s take advantage of the 
symmetry. Draw a perpendicular 
line as shown, it cuts the triangle 
4 
4 
into two mirror image right 
triangles. We may maximize one 
of the right triangles instead, 
i.e. to find the largest area 
possible of a right triangle with 
hypotenuse equal to 4. 
4 
a 
b 
A 
θ 
Second, instead of expressing the area A in terms of 
the measurements of the legs a and b, 
we express A in terms of the angle θ as shown.
Applications in Optimization 
A = ½ ab 
so in terms of θ we have 
4 
a 
θ 
b A 
A = ½ 4sin(θ) 4cos(θ) 
= 8 sin(θ) cos(θ)
Applications in Optimization 
A = ½ ab 
so in terms of θ we have 
Note that 0 ≤ θ ≤ π/2. 
4 
a 
θ 
b A 
A = ½ 4sin(θ) 4cos(θ) 
= 8 sin(θ) cos(θ)
Applications in Optimization 
A = ½ ab 
so in terms of θ we have 
Note that 0 ≤ θ ≤ π/2. 
Set A'(θ) = 8(cos2(θ) – sin2 (θ)) = 0 
4 
a 
θ 
b A 
A = ½ 4sin(θ) 4cos(θ) 
= 8 sin(θ) cos(θ)
Applications in Optimization 
A = ½ ab 
so in terms of θ we have 
Note that 0 ≤ θ ≤ π/2. 
Set A'(θ) = 8(cos2(θ) – sin2 (θ)) = 0 
4 
a 
θ 
b A 
A = ½ 4sin(θ) 4cos(θ) 
= 8 sin(θ) cos(θ) 
Hence cos(θ) = ±sin (θ) 
However, the only solution with 0 ≤ θ ≤ π/2 is θ = π/4
Applications in Optimization 
A = ½ ab 
so in terms of θ we have 
Note that 0 ≤ θ ≤ π/2. 
Set A'(θ) = 8(cos2(θ) – sin2 (θ)) = 0 
4 
a 
b 
Hence cos(θ) = ±sin (θ) 
which must be a maximum (why?). 
So the largest possible isosceles 
triangle in question is the right 
isosceles triangle as shown with 
area 2A = ½ (4 ×4) = 8. 
A 
θ 
A = ½ 4sin(θ) 4cos(θ) 
= 8 sin(θ) cos(θ) 
However, the only solution with 0 ≤ θ ≤ π/2 is θ = π/4 
4 
4 π/2
Applications in Optimization 
Example F. A duck can walk 3 ft/sec and swim 
2 ft/sec at its top speed. It sees a piece of bread 
across the pool as shown. What is the path it should 
take to get to the bread as soon as possible? 
40 ft 
pool 
30 ft
Applications in Optimization 
Example F. A duck can walk 3 ft/sec and swim 
2 ft/sec at its top speed. It sees a piece of bread 
across the pool as shown. What is the path it should 
take to get to the bread as soon as possible? 
40 ft 
pool Select the x as shown in the 
picture. 
30 ft 
x
Applications in Optimization 
Example F. A duck can walk 3 ft/sec and swim 
2 ft/sec at its top speed. It sees a piece of bread 
across the pool as shown. What is the path it should 
take to get to the bread as soon as possible? 
40 ft 
pool Select the x as shown in the 
picture. (The selection of the 
correct x is important. The wrong 
choice leads to tangled algebra 
as is often the case in these 
problems.) 
30 ft 
x
Applications in Optimization 
Example F. A duck can walk 3 ft/sec and swim 
2 ft/sec at its top speed. It sees a piece of bread 
across the pool as shown. What is the path it should 
take to get to the bread as soon as possible? 
40 ft 
pool Select the x as shown in the 
picture. (The selection of the 
correct x is important. The wrong 
choice leads to tangled algebra 
as is often the case in these 
problems.) 
30 ft 
Hence if your choice of x 
leads to nowhere, 
try another choice. 
x
Applications in Optimization 
Example F. A duck can walk 3 ft/sec and swim 
2 ft/sec at its top speed. It sees a piece of bread 
across the pool as shown. What is the path it should 
take to get to the bread as soon as possible? 
40 ft 
pool 
30 ft 
x 
Select the x as shown in the 
picture. (The selection of the 
correct x is important. The wrong 
choice leads to tangled algebra 
as is often the case in these 
problems.) 
Note that 0 ≤ x ≤ 40, where x = 0 
means the duck walks around 
the pool and x = 40 means the duck swims all the way.
Applications in Optimization 
40 ft 
pool 
30 ft 
x 
(x2 + 900)½ 
For x ≠ 0, the duck swims a 
distance of (x2 + 900)½
Applications in Optimization 
40 ft 
pool 
30 ft 
x 
(x2 + 900)½ 
40 – x 
For x ≠ 0, the duck swims a 
distance of (x2 + 900)½ and 
walks a distance of (40 – x),
Applications in Optimization 
40 ft 
pool 
30 ft 
x 
For x ≠ 0, the duck swims a 
distance of (x2 + 900)½ and 
walks a distance of (40 – x), 
and the total time t it takes is 
(x2 + 900)½ 
40 – x 
t(x) = (x2 + 900)½ 
2 + 
(40 – x) 
3 
swimming time walking time
Applications in Optimization 
40 ft 
pool 
30 ft 
x 
For x ≠ 0, the duck swims a 
distance of (x2 + 900)½ and 
walks a distance of (40 – x), 
and the total time t it takes is 
(x2 + 900)½ 
40 – x 
t(x) = (x2 + 900)½ 
2 + 
(40 – x) 
3 
x – 
Set t'(x) = 2(x2 + 900)½ 
1 
3 
= 0
Applications in Optimization 
40 ft 
pool 
30 ft 
x 
For x ≠ 0, the duck swims a 
distance of (x2 + 900)½ and 
walks a distance of (40 – x), 
and the total time t it takes is 
(x2 + 900)½ 
40 – x 
t(x) = (x2 + 900)½ 
2 + 
(40 – x) 
3 
x – 
Set t'(x) = 2(x2 + 900)½ 
1 
3 
= 0 
We have x = 3 1 
2(x2 + 900)½
Applications in Optimization 
40 ft 
pool 
30 ft 
x 
For x ≠ 0, the duck swims a 
distance of (x2 + 900)½ and 
walks a distance of (40 – x), 
and the total time t it takes is 
(x2 + 900)½ 
40 – x 
t(x) = (x2 + 900)½ 
2 + 
(40 – x) 
3 
x – 
Set t'(x) = 2(x2 + 900)½ 
1 
3 
= 0 
We have x = 3 1 
2(x2 + 900)½ 
3x = 2(x2 + 900)½
Applications in Optimization 
40 ft 
pool 
30 ft 
x 
For x ≠ 0, the duck swims a 
distance of (x2 + 900)½ and 
walks a distance of (40 – x), 
and the total time t it takes is 
(x2 + 900)½ 
40 – x 
t(x) = (x2 + 900)½ 
2 + 
(40 – x) 
3 
x – 
Set t'(x) = 2(x2 + 900)½ 
1 
3 
= 0 
We have x = 3 1 
2(x2 + 900)½ 
3x = 2(x2 + 900)½ 
9x2 = 4(x2 + 900)
Applications in Optimization 
40 ft 
pool 
30 ft 
x 
For x ≠ 0, the duck swims a 
distance of (x2 + 900)½ and 
walks a distance of (40 – x), 
and the total time t it takes is 
(x2 + 900)½ 
40 – x 
t(x) = (x2 + 900)½ 
2 + 
(40 – x) 
3 
x – 
Set t'(x) = 2(x2 + 900)½ 
1 
3 
= 0 
We have x = 3 1 
2(x2 + 900)½ 
3x = 2(x2 + 900)½ 
9x2 = 4(x2 + 900) 
5x2 = 3600  x = ±12√5 
Discarding the negative answer, x =12√5 ≈ 26.8 ft.
Applications in Optimization 
When x = 0, the time it takes is not t(0) because t(x) 
assume the duck swims at least 30 ft,
Applications in Optimization 
When x = 0, the time it takes is not t(0) because t(x) 
assume the duck swims at least 30 ft, as it would be 
the case if the duck is across a river from the bread 
instead of a pool.
Applications in Optimization 
When x = 0, the time it takes is not t(0) because t(x) 
assume the duck swims at least 30 ft, as it would be 
the case if the duck is across a river from the bread 
instead of a pool. Let’s examine the three points.
Applications in Optimization 
When x = 0, the time it takes is not t(0) because t(x) 
assume the duck swims at least 30 ft, as it would be 
the case if the duck is across a river from the bread 
instead of a pool. Let’s examine the three points. 
When x = 0, the duck walks 70 ft and it takes 
70/3 = 23 1/3 seconds. 
When x = 40 the duck swims all the way and it 
takes t(40) = 50/2 = 25 seconds. 
At the critical point, t(12√5) ≈ 24.5 seconds.
Applications in Optimization 
When x = 0, the time it takes is not t(0) because t(x) 
assume the duck swims at least 30 ft, as it would be 
the case if the duck is across a river from the bread 
instead of a pool. Let’s examine the three points. 
When x = 0, the duck walks 70 ft and it takes 
70/3 = 23 1/3 seconds. 
When x = 40 the duck swims all the way and it 
takes t(40) = 50/2 = 25 seconds. 
At the critical point, t(12√5) ≈ 24.5 seconds. 
Therefore the duck should walk around the pool.
Applications in Optimization 
When x = 0, the time it takes is not t(0) because t(x) 
assume the duck swims at least 30 ft, as it would be 
the case if the duck is across a river from the bread 
instead of a pool. Let’s examine the three points. 
When x = 0, the duck walks 70 ft and it takes 
70/3 = 23 1/3 seconds. 
When x = 40 the duck swims all the way and it 
takes t(40) = 50/2 = 25 seconds. 
At the critical point, t(12√5) ≈ 24.5 seconds. 
Therefore the duck should walk around the pool. 
Remarks 
1. As noted that if the duck is across a river instead 
of a pool, then indeed x = 12√5 is the absolute 
minimum because t(0) = swim + walk = 28 1/3 sec.
Applications in Optimization 
2. Just because the duck walks faster does not 
automatically means it should always walk around 
the pool. We may think about this by imagining the 
duck is slightly faster in walking, say at 2.01 ft/sec, 
than swimming at 2 ft/sec. Then of course the duck 
should swim toward the bread instead of wasting 
time walking around. In fact the closer the walking 
speed is to the swimming speed, the more the duck 
should swim toward the bread. 
Back to math–265 pg

More Related Content

What's hot

1.1 review on algebra 1
1.1 review on algebra 11.1 review on algebra 1
1.1 review on algebra 1math265
 
4.4 review on derivatives
4.4 review on derivatives4.4 review on derivatives
4.4 review on derivativesmath265
 
1 review on derivatives
1 review on derivatives1 review on derivatives
1 review on derivativesmath266
 
1.5 algebraic and elementary functions
1.5 algebraic and elementary functions1.5 algebraic and elementary functions
1.5 algebraic and elementary functionsmath265
 
2.2 limits ii
2.2 limits ii2.2 limits ii
2.2 limits iimath265
 
1.6 slopes and the difference quotient
1.6 slopes and the difference quotient1.6 slopes and the difference quotient
1.6 slopes and the difference quotientmath265
 
1.2 review on algebra 2-sign charts and inequalities
1.2 review on algebra 2-sign charts and inequalities1.2 review on algebra 2-sign charts and inequalities
1.2 review on algebra 2-sign charts and inequalitiesmath265
 
1.3 review on trig functions
1.3 review on trig functions1.3 review on trig functions
1.3 review on trig functionsmath265
 
1.4 review on log exp-functions
1.4 review on log exp-functions1.4 review on log exp-functions
1.4 review on log exp-functionsmath265
 
1.7 derivative
1.7 derivative1.7 derivative
1.7 derivativemath265
 
23 improper integrals send-x
23 improper integrals send-x23 improper integrals send-x
23 improper integrals send-xmath266
 
3.4 derivative and graphs
3.4 derivative and graphs3.4 derivative and graphs
3.4 derivative and graphsmath265
 
2.1 limits i
2.1 limits i2.1 limits i
2.1 limits imath265
 
4.5 continuous functions and differentiable functions
4.5 continuous functions and differentiable functions4.5 continuous functions and differentiable functions
4.5 continuous functions and differentiable functionsmath265
 
25 the ratio, root, and ratio comparison test x
25 the ratio, root, and ratio  comparison test x25 the ratio, root, and ratio  comparison test x
25 the ratio, root, and ratio comparison test xmath266
 
3.5 extrema and the second derivative
3.5 extrema and the second derivative3.5 extrema and the second derivative
3.5 extrema and the second derivativemath265
 
3.1 derivative of a function
3.1 derivative of a function3.1 derivative of a function
3.1 derivative of a functionbtmathematics
 
2 integration and the substitution methods x
2 integration and the substitution methods x2 integration and the substitution methods x
2 integration and the substitution methods xmath266
 
2.7 chain rule short cuts
2.7 chain rule short cuts2.7 chain rule short cuts
2.7 chain rule short cutsmath265
 
7 cavalieri principle-x
7 cavalieri principle-x7 cavalieri principle-x
7 cavalieri principle-xmath266
 

What's hot (20)

1.1 review on algebra 1
1.1 review on algebra 11.1 review on algebra 1
1.1 review on algebra 1
 
4.4 review on derivatives
4.4 review on derivatives4.4 review on derivatives
4.4 review on derivatives
 
1 review on derivatives
1 review on derivatives1 review on derivatives
1 review on derivatives
 
1.5 algebraic and elementary functions
1.5 algebraic and elementary functions1.5 algebraic and elementary functions
1.5 algebraic and elementary functions
 
2.2 limits ii
2.2 limits ii2.2 limits ii
2.2 limits ii
 
1.6 slopes and the difference quotient
1.6 slopes and the difference quotient1.6 slopes and the difference quotient
1.6 slopes and the difference quotient
 
1.2 review on algebra 2-sign charts and inequalities
1.2 review on algebra 2-sign charts and inequalities1.2 review on algebra 2-sign charts and inequalities
1.2 review on algebra 2-sign charts and inequalities
 
1.3 review on trig functions
1.3 review on trig functions1.3 review on trig functions
1.3 review on trig functions
 
1.4 review on log exp-functions
1.4 review on log exp-functions1.4 review on log exp-functions
1.4 review on log exp-functions
 
1.7 derivative
1.7 derivative1.7 derivative
1.7 derivative
 
23 improper integrals send-x
23 improper integrals send-x23 improper integrals send-x
23 improper integrals send-x
 
3.4 derivative and graphs
3.4 derivative and graphs3.4 derivative and graphs
3.4 derivative and graphs
 
2.1 limits i
2.1 limits i2.1 limits i
2.1 limits i
 
4.5 continuous functions and differentiable functions
4.5 continuous functions and differentiable functions4.5 continuous functions and differentiable functions
4.5 continuous functions and differentiable functions
 
25 the ratio, root, and ratio comparison test x
25 the ratio, root, and ratio  comparison test x25 the ratio, root, and ratio  comparison test x
25 the ratio, root, and ratio comparison test x
 
3.5 extrema and the second derivative
3.5 extrema and the second derivative3.5 extrema and the second derivative
3.5 extrema and the second derivative
 
3.1 derivative of a function
3.1 derivative of a function3.1 derivative of a function
3.1 derivative of a function
 
2 integration and the substitution methods x
2 integration and the substitution methods x2 integration and the substitution methods x
2 integration and the substitution methods x
 
2.7 chain rule short cuts
2.7 chain rule short cuts2.7 chain rule short cuts
2.7 chain rule short cuts
 
7 cavalieri principle-x
7 cavalieri principle-x7 cavalieri principle-x
7 cavalieri principle-x
 

Viewers also liked

4.2 more derivatives as rates
4.2 more derivatives as rates4.2 more derivatives as rates
4.2 more derivatives as ratesmath265
 
Chpt 3-exercise
Chpt 3-exerciseChpt 3-exercise
Chpt 3-exercisemath265
 
5.4 more areas
5.4 more areas5.4 more areas
5.4 more areasmath265
 
4.4 review on derivatives
4.4 review on derivatives4.4 review on derivatives
4.4 review on derivativesmath265
 
5.5 volumes
5.5 volumes5.5 volumes
5.5 volumesmath265
 
5.1 anti derivatives
5.1 anti derivatives5.1 anti derivatives
5.1 anti derivativesmath265
 
2.4 defintion of derivative
2.4 defintion of derivative2.4 defintion of derivative
2.4 defintion of derivativemath265
 
Difference quotient algebra
Difference quotient algebraDifference quotient algebra
Difference quotient algebramath260
 
5.2 the substitution methods
5.2 the substitution methods5.2 the substitution methods
5.2 the substitution methodsmath265
 
3.7 applications of tangent lines
3.7 applications of tangent lines3.7 applications of tangent lines
3.7 applications of tangent linesmath265
 
2 6 complex fractions
2 6 complex fractions2 6 complex fractions
2 6 complex fractionsmath123b
 

Viewers also liked (12)

Hw2 ppt
Hw2 pptHw2 ppt
Hw2 ppt
 
4.2 more derivatives as rates
4.2 more derivatives as rates4.2 more derivatives as rates
4.2 more derivatives as rates
 
Chpt 3-exercise
Chpt 3-exerciseChpt 3-exercise
Chpt 3-exercise
 
5.4 more areas
5.4 more areas5.4 more areas
5.4 more areas
 
4.4 review on derivatives
4.4 review on derivatives4.4 review on derivatives
4.4 review on derivatives
 
5.5 volumes
5.5 volumes5.5 volumes
5.5 volumes
 
5.1 anti derivatives
5.1 anti derivatives5.1 anti derivatives
5.1 anti derivatives
 
2.4 defintion of derivative
2.4 defintion of derivative2.4 defintion of derivative
2.4 defintion of derivative
 
Difference quotient algebra
Difference quotient algebraDifference quotient algebra
Difference quotient algebra
 
5.2 the substitution methods
5.2 the substitution methods5.2 the substitution methods
5.2 the substitution methods
 
3.7 applications of tangent lines
3.7 applications of tangent lines3.7 applications of tangent lines
3.7 applications of tangent lines
 
2 6 complex fractions
2 6 complex fractions2 6 complex fractions
2 6 complex fractions
 

Similar to 3.6 applications in optimization

Similar to 3.6 applications in optimization (20)

Maxima & Minima
Maxima & MinimaMaxima & Minima
Maxima & Minima
 
Maxima & Minima of Functions - Differential Calculus by Arun Umrao
Maxima & Minima of Functions - Differential Calculus by Arun UmraoMaxima & Minima of Functions - Differential Calculus by Arun Umrao
Maxima & Minima of Functions - Differential Calculus by Arun Umrao
 
Project in Calcu
Project in CalcuProject in Calcu
Project in Calcu
 
Applications of Differentiation
Applications of DifferentiationApplications of Differentiation
Applications of Differentiation
 
Applicationofpartialderivativeswithtwovariables 140225070102-phpapp01 (1)
Applicationofpartialderivativeswithtwovariables 140225070102-phpapp01 (1)Applicationofpartialderivativeswithtwovariables 140225070102-phpapp01 (1)
Applicationofpartialderivativeswithtwovariables 140225070102-phpapp01 (1)
 
Applications of partial differentiation
Applications of partial differentiationApplications of partial differentiation
Applications of partial differentiation
 
3.1
3.13.1
3.1
 
test pre
test pretest pre
test pre
 
Note introductions of functions
Note introductions of functionsNote introductions of functions
Note introductions of functions
 
Introduction to functions
Introduction to functionsIntroduction to functions
Introduction to functions
 
Limit and continuity
Limit and continuityLimit and continuity
Limit and continuity
 
Calculus - Functions Review
Calculus - Functions ReviewCalculus - Functions Review
Calculus - Functions Review
 
Limits and derivatives
Limits and derivativesLimits and derivatives
Limits and derivatives
 
Recursive Compressed Sensing
Recursive Compressed SensingRecursive Compressed Sensing
Recursive Compressed Sensing
 
HIGHER MATHEMATICS
HIGHER MATHEMATICSHIGHER MATHEMATICS
HIGHER MATHEMATICS
 
Unit 1.2
Unit 1.2Unit 1.2
Unit 1.2
 
3. Functions II.pdf
3. Functions II.pdf3. Functions II.pdf
3. Functions II.pdf
 
extremevaluesofafunctionapplicationsofderivative-130905112534-.pdf
extremevaluesofafunctionapplicationsofderivative-130905112534-.pdfextremevaluesofafunctionapplicationsofderivative-130905112534-.pdf
extremevaluesofafunctionapplicationsofderivative-130905112534-.pdf
 
Partial differentiation B tech
Partial differentiation B techPartial differentiation B tech
Partial differentiation B tech
 
function
functionfunction
function
 

More from math265

x2.1Limits I.pptx
x2.1Limits I.pptxx2.1Limits I.pptx
x2.1Limits I.pptxmath265
 
x2.1Limits I.pptx
x2.1Limits I.pptxx2.1Limits I.pptx
x2.1Limits I.pptxmath265
 
Exercise set 4.3
Exercise set 4.3Exercise set 4.3
Exercise set 4.3math265
 
Exercise set 4.2
Exercise set 4.2Exercise set 4.2
Exercise set 4.2math265
 
Exercise set 3.7
Exercise set 3.7Exercise set 3.7
Exercise set 3.7math265
 
Exercise set 3.6
Exercise set 3.6Exercise set 3.6
Exercise set 3.6math265
 
Exercise set 3.5
Exercise set 3.5Exercise set 3.5
Exercise set 3.5math265
 
265 excel-formula-box
265 excel-formula-box265 excel-formula-box
265 excel-formula-boxmath265
 
3.1 higher derivatives
3.1 higher derivatives3.1 higher derivatives
3.1 higher derivativesmath265
 

More from math265 (9)

x2.1Limits I.pptx
x2.1Limits I.pptxx2.1Limits I.pptx
x2.1Limits I.pptx
 
x2.1Limits I.pptx
x2.1Limits I.pptxx2.1Limits I.pptx
x2.1Limits I.pptx
 
Exercise set 4.3
Exercise set 4.3Exercise set 4.3
Exercise set 4.3
 
Exercise set 4.2
Exercise set 4.2Exercise set 4.2
Exercise set 4.2
 
Exercise set 3.7
Exercise set 3.7Exercise set 3.7
Exercise set 3.7
 
Exercise set 3.6
Exercise set 3.6Exercise set 3.6
Exercise set 3.6
 
Exercise set 3.5
Exercise set 3.5Exercise set 3.5
Exercise set 3.5
 
265 excel-formula-box
265 excel-formula-box265 excel-formula-box
265 excel-formula-box
 
3.1 higher derivatives
3.1 higher derivatives3.1 higher derivatives
3.1 higher derivatives
 

Recently uploaded

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 

Recently uploaded (20)

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 

3.6 applications in optimization

  • 2. Applications in Optimization In this section, we solve various extrema problems in real world applications. These problems are referred to as “optimization problems” in mathematics, and derivatives play a major role in such problems.
  • 3. Applications in Optimization In this section, we solve various extrema problems in real world applications. These problems are referred to as “optimization problems” in mathematics, and derivatives play a major role in such problems. We begin with an extrema-existence–problem.
  • 4. Applications in Optimization In this section, we solve various extrema problems in real world applications. These problems are referred to as “optimization problems” in mathematics, and derivatives play a major role in such problems. We begin with an extrema-existence–problem. Let y be a function defined over an interval V, y may or may not have any extremum in V.
  • 5. Applications in Optimization In this section, we solve various extrema problems in real world applications. These problems are referred to as “optimization problems” in mathematics, and derivatives play a major role in such problems. We begin with an extrema-existence–problem. Let y be a function defined over an interval V, y may or may not have any extremum in V. Here are two examples of well behaved functions that don’t have extrema.
  • 6. Applications in Optimization In this section, we solve various extrema problems in real world applications. These problems are referred to as “optimization problems” in mathematics, and derivatives play a major role in such problems. We begin with an extrema-existence–problem. Let y be a function defined over an interval V, y may or may not have any extremum in V. Here are two examples of well behaved functions that don’t have extrema. Let y = tan(x) over the interval V = (–π/2, π/2) as shown. y=tan(x) x y –π/2 π/2
  • 7. Applications in Optimization In this section, we solve various extrema problems in real world applications. These problems are referred to as “optimization problems” in mathematics, and derivatives play a major role in such problems. We begin with an extrema-existence–problem. Let y be a function defined over an interval V, y may or may not have any extremum in V. Here are two examples of well behaved functions that don’t have extrema. Let y = tan(x) over the interval V = (–π/2, π/2) as shown. There is no extremum in V because V is open. y=tan(x) x y –π/2 π/2
  • 8. Applications in Optimization Even if we close the interval V, it’s still not enough to guarantee the existence of an extremum.
  • 9. Applications in Optimization Even if we close the interval V, it’s still not enough to guarantee the existence of an extremum. x y=g(x) For example, let y = g(x) be the function over the closed interval U = [–π/2, π/2] as shown. y (0, 1) –π/2 π/2 (0, –1)
  • 10. Applications in Optimization Even if we close the interval V, it’s still not enough to guarantee the existence of an extremum. x y=g(x) For example, let y = g(x) be the function over the closed interval U = [–π/2, π/2] as shown. Note that even though g(x) is bounded between y (0, 1) –π/2 π/2 (0, –1) 1 and –1, it still doesn’t have any extremum in U.
  • 11. Applications in Optimization Even if we close the interval V, it’s still not enough to guarantee the existence of an extremum. x y=g(x) For example, let y = g(x) be the function over the closed interval U = [–π/2, π/2] as shown. Note that even though g(x) is bounded between y (0, 1) –π/2 π/2 (0, –1) 1 and –1, it still doesn’t have any extremum in U. (Extrema Theorem for Continuous Functions)
  • 12. Applications in Optimization Even if we close the interval V, it’s still not enough to guarantee the existence of an extremum. x y=g(x) For example, let y = g(x) be the function over the closed interval U = [–π/2, π/2] as shown. Note that even though g(x) is bounded between y (0, 1) –π/2 π/2 (0, –1) 1 and –1, it still doesn’t have any extremum in U. (Extrema Theorem for Continuous Functions) Let y = f(x) be a continuous function defined over a closed interval V = [a, b], then both the absolute max. and the absolute min. exist in V.
  • 13. Applications in Optimization Even if we close the interval V, it’s still not enough to guarantee the existence of an extremum. x y=g(x) For example, let y = g(x) be the function over the closed interval U = [–π/2, π/2] as shown. Note that even though g(x) is bounded between y (0, 1) –π/2 π/2 (0, –1) 1 and –1, it still doesn’t have any extremum in U. (Extrema Theorem for Continuous Functions) Let y = f(x) be a continuous function defined over a closed interval V = [a, b], then both the absolute max. and the absolute min. exist in V. Furthermore, the absolute extrema must occur where f '(x) = 0,
  • 14. Applications in Optimization Even if we close the interval V, it’s still not enough to guarantee the existence of an extremum. x y=g(x) For example, let y = g(x) be the function over the closed interval U = [–π/2, π/2] as shown. Note that even though g(x) is bounded between y (0, 1) –π/2 π/2 (0, –1) 1 and –1, it still doesn’t have any extremum in U. (Extrema Theorem for Continuous Functions) Let y = f(x) be a continuous function defined over a closed interval V = [a, b], then both the absolute max. and the absolute min. exist in V. Furthermore, the absolute extrema must occur where f '(x) = 0, or where f'(x) is UDF, or they occur at the end points {a, b}.
  • 15. Applications in Optimization Here are examples of each type of extrema.
  • 16. Applications in Optimization Here are examples of each type of extrema. A. a x c b
  • 17. Applications in Optimization Here are examples of each type of extrema. A. a x b In A. The absolute maximum occurs at x = c where f '(c) = 0, and the absolute minimum occurs at the end point x = b. c A f'=0 ab. max. An end–point ab. min.
  • 18. Applications in Optimization Here are examples of each type of extrema. A. a An end–point ab. min. x A f'=0 ab. max. b B. a b x In A. The absolute maximum occurs at x = c where f '(c) = 0, and the absolute minimum occurs at the end point x = b. c c d
  • 19. Applications in Optimization Here are examples of each type of extrema. A. a x b B. a b x In A. The absolute maximum occurs at x = c where f '(c) = 0, and the absolute minimum occurs at the end point x = b. c c d In B. The absolute maximum occurs at x = c where f '(c) is UDF, and the absolute minimum occurs at x = d where f '(d) = 0. A f'=0 ab. max. An end–point ab. min. A UDF– f' ab. max. A f'=0 ab. min.
  • 20. Applications in Optimization Here are examples of each type of extrema. A. a x b B. a b x In A. The absolute maximum occurs at x = c where f '(c) = 0, and the absolute minimum occurs at the end point x = b. c c d In B. The absolute maximum occurs at x = c where f '(c) is UDF, and the absolute minimum occurs at x = d where f '(d) = 0. A f'=0 ab. max. An end–point ab. min. A UDF– f' ab. max. A f'=0 ab. min. Hence we have to consider points of all three cases when solving for extrema.
  • 21. Applications in Optimization Example A. Let y be defined as the following. x2 for 1 > x y = 2 – x for 1 ≤ x
  • 22. Applications in Optimization Example A. Let y be defined as the following. x2 for 1 > x y = 2 – x for 1 ≤ x (1, 1) x y
  • 23. Applications in Optimization Example A. Let y be defined as the following. x2 for 1 > x y = 2 – x for 1 ≤ x (1, 1) x y Find the extrema of y over the interval [–1 , ½ ].
  • 24. Applications in Optimization Example A. Let y be defined as the following. x2 for 1 > x y = 2 – x for 1 ≤ x (1, 1) x y Find the extrema of y over the interval [–1 , ½ ]. The end–point values are f(–1) = 1 and f(½) = ¼.
  • 25. Applications in Optimization Example A. Let y be defined as the following. x2 for 1 > x y = 2 – x for 1 ≤ x (1, 1) x y Find the extrema of y over the interval [–1 , ½ ]. x y The end–point values are f(–1) = 1 and f(½) = ¼. (–1, 1) –1 ½ (½, ¼ )
  • 26. Applications in Optimization Example A. Let y be defined as the following. x2 for 1 > x y = 2 – x for 1 ≤ x (1, 1) x y Find the extrema of y over the interval [–1 , ½ ]. x y The end–point values are f(–1) = 1 and f(½) = ¼. y' = 0 at x = 0 so that (0, 0) is an f'=0–type minimum. (–1, 1) –1 ½ (½, ¼ )
  • 27. Applications in Optimization Example A. Let y be defined as the following. x2 for 1 > x y = 2 – x for 1 ≤ x (1, 1) x y Find the extrema of y over the interval [–1 , ½ ]. x y The end–point values are f(–1) = 1 and f(½) = ¼. y' = 0 at x = 0 so that (0, 0) is an f'=0–type minimum. Within the interval [–1 , ½ ], there is no point of the f'–UDF–type. Hence the ab. max. is at (–1, 1) and the ab. min is at (0, 0). (–1, 1) –1 ½ (½, ¼ )
  • 28. Applications in Optimization The key here is that if we are to find extrema of a given continuous function over a closed interval we have to obtain all three types of points described above, then select the correct solutions.
  • 29. Applications in Optimization x The key here is that if we are to find extrema of a given continuous function over a closed interval we have to obtain all three types of points described above, then select the correct solutions. For instance, within [–½, 3], y x = 0 is an f'=0–type solution. The point (1, 1) at x = 1 is an f'–UDF–type solution. (1, 1) –½ 3
  • 30. Applications in Optimization x The key here is that if we are to find extrema of a given continuous function over a closed interval we have to obtain all three types of points described above, then select the correct solutions. For instance, within [–½, 3], y x = 0 is an f'=0–type solution. The point (1, 1) at x = 1 is an f'–UDF–type solution. The end–point values are f(–½) = ¼ and f(3) = –1. (1, 1) –½ 3 (3, –1)
  • 31. Applications in Optimization x The key here is that if we are to find extrema of a given continuous function over a closed interval we have to obtain all three types of points described above, then select the correct solutions. For instance, within [–½, 3], y x = 0 is an f'=0–type solution. The point (1, 1) at x = 1 is an f'–UDF–type solution. The end–point values are f(–½) = ¼ and f(3) = –1. By inspection, the ab. max. is at (1, 1) and the ab. min is at (3, –1). (1, 1) –½ 3 (3, –1)
  • 32. Applications in Optimization x The key here is that if we are to find extrema of a given continuous function over a closed interval we have to obtain all three types of points described above, then select the correct solutions. For instance, within [–½, 3], y x = 0 is an f'=0–type solution. The point (1, 1) at x = 1 is an f'–UDF–type solution. The end–point values are f(–½) = ¼ and f(3) = –1. By inspection, the ab. max. is at (1, 1) and the ab. min is at (3, –1). (1, 1) –½ 3 (3, –1) In the applied problems below, make sure all such relevant points are considered.
  • 33. Applications in Optimization Distance Problems
  • 34. Applications in Optimization Distance Problems The distance formula is a square–root formula whose radicand is always nonnegative. To find the extrema of a distance relation in the form of “√u(x)”, we drop the square–root and look for the extrema of u(x) instead.
  • 35. Applications in Optimization Distance Problems The distance formula is a square–root formula whose radicand is always nonnegative. To find the extrema of a distance relation in the form of “√u(x)”, we drop the square–root and look for the extrema of u(x) instead. Example B. Find the coordinate of the point on the line y = 2x that is closest to the point (1, 0).
  • 36. Applications in Optimization Distance Problems The distance formula is a square–root formula whose radicand is always nonnegative. To find the extrema of a distance relation in the form of “√u(x)”, we drop the square–root and look for the extrema of u(x) instead. Example B. Find the coordinate of the point on the line y = 2x that is closest to the point (1, 0). x y=2x (1, 0) y D
  • 37. Applications in Optimization Distance Problems The distance formula is a square–root formula whose radicand is always nonnegative. To find the extrema of a distance relation in the form of “√u(x)”, we drop the square–root and look for the extrema of u(x) instead. Example B. Find the coordinate of the point on the line y = 2x that is closest to the point (1, 0). x y=2x (1, 0) y (x, 2x) A generic point on the line is (x, 2x) and its distance to the point (1, 0) is D = [(x – 1)2 + (2x – 0 )2]½. D
  • 38. Applications in Optimization Distance Problems The distance formula is a square–root formula whose radicand is always nonnegative. To find the extrema of a distance relation in the form of “√u(x)”, we drop the square–root and look for the extrema of u(x) instead. Example B. Find the coordinate of the point on the line y = 2x that is closest to the point (1, 0). x y=2x (1, 0) y (x, 2x) A generic point on the line is (x, 2x) and its distance to the point (1, 0) is D = [(x – 1)2 + (2x – 0 )2]½. We want to find the x value that gives the minimal D. Note that D is defined for all numbers. D
  • 39. Applications in Optimization x (1, 0) (x, 2x) We minimize the radicand u = D2 = (x – 1)2 + (2x – 0 )2 = 5x2 – 2x + 1 instead. y D
  • 40. Applications in Optimization x (1, 0) (x, 2x) We minimize the radicand u = D2 = (x – 1)2 + (2x – 0 )2 = 5x2 – 2x + 1 instead. Set u' = 10x – 2 = 0. We get x = 1/5, and the point is (1/5, 2/5). y D
  • 41. Applications in Optimization x (1, 0) (x, 2x) We minimize the radicand u = D2 = (x – 1)2 + (2x – 0 )2 = 5x2 – 2x + 1 instead. Set u' = 10x – 2 = 0. We get x = 1/5, and the point is (1/5, 2/5). From the geometry it’s obvious (1/5, 2/5) is the closest point to (1, 0). y D
  • 42. Applications in Optimization x (1, 0) (x, 2x) We minimize the radicand u = D2 = (x – 1)2 + (2x – 0 )2 = 5x2 – 2x + 1 instead. Set u' = 10x – 2 = 0. We get x = 1/5, and the point is (1/5, 2/5). From the geometry it’s obvious (1/5, 2/5) is the closest point to (1, 0). ½ y D Similarly if we wish to find the extrema of eu(x) or In(u(x)), we may find the extrema of u(x) instead. This is true because like sqrt(x), eu(x) and In(u(x)) are increasing functions, i.e. if s < t, then es < et, so the extrema of eu(x) are the same as u(x).
  • 43. Applications in Optimization x (1, 0) (x, 2x) We minimize the radicand u = D2 = (x – 1)2 + (2x – 0 )2 = 5x2 – 2x + 1 instead. Set u' = 10x – 2 = 0. We get x = 1/5, and the point is (1/5, 2/5). From the geometry it’s obvious (1/5, 2/5) is the closest point to (1, 0). ½ y D Similarly if we wish to find the extrema of eu(x) or In(u(x)), we may find the extrema of u(x) instead. This is true because like sqrt(x), eu(x) and In(u(x)) are increasing functions, i.e. if s < t, then es < et, so the extrema of eu(x) are the same as u(x). In fact, if f(x) is an increasing function, then the extrema of f(u(x)) are the same as the ones of u(x).
  • 44. Applications in Optimization (What is the corresponding statement about the extrema of f(u(x)) and u(x) if f(x) is a decreasing function? Hint, consider f(x) = –x and f(u(x)) = –u(x).)
  • 45. Applications in Optimization (What is the corresponding statement about the extrema of f(u(x)) and u(x) if f(x) is a decreasing function? Hint, consider f(x) = –x and f(u(x)) = –u(x).) Area Problems In area optimization problems, the main task is to express the area in question in a single well chosen variable x as A(x).
  • 46. Applications in Optimization (What is the corresponding statement about the extrema of f(u(x)) and u(x) if f(x) is a decreasing function? Hint, consider f(x) = –x and f(u(x)) = –u(x).) Area Problems In area optimization problems, the main task is to express the area in question in a single well chosen variable x as A(x). If x represents a specific measurement, as opposed to a coordinate, then x must be nonnegative (often it’s also bounded above).
  • 47. Applications in Optimization (What is the corresponding statement about the extrema of f(u(x)) and u(x) if f(x) is a decreasing function? Hint, consider f(x) = –x and f(u(x)) = –u(x).) Area Problems In area optimization problems, the main task is to express the area in question in a single well chosen variable x as A(x). If x represents a specific measurement, as opposed to a coordinate, then x must be nonnegative (often it’s also bounded above). In such cases consider the significance when x = 0 (or it’s other boundary value). Often one of the extrema is at the boundary, and we are looking for the other extremum. A drawing is indispensable in any geometric problem.
  • 48. Applications in Optimization Example C. Farmer Fred wants to raise chickens, ducks and pigs. He has 120 yards of fence to build rectangular regions as shown to separate the animals. What is the maximal enclosed area that is possible? x x/2 y
  • 49. Applications in Optimization Example C. Farmer Fred wants to raise chickens, ducks and pigs. He has 120 yards of fence to build rectangular regions as shown to separate the animals. What is the maximal enclosed area that is possible? The enclosed area is A = xy. x x/2 y
  • 50. Applications in Optimization Example C. Farmer Fred wants to raise chickens, ducks and pigs. He has 120 yards of fence x/2 to build rectangular regions as y shown to separate the animals. What is the maximal enclosed area that is possible? x The enclosed area is A = xy. The total linear length is 120, that is, 3y + 2½ x = 120
  • 51. Applications in Optimization Example C. Farmer Fred wants to raise chickens, ducks and pigs. He has 120 yards of fence x/2 to build rectangular regions as y shown to separate the animals. What is the maximal enclosed area that is possible? x The enclosed area is A = xy. The total linear length is 120, that is, 3y + 2½ x = 120 or that y = 40 – 5x/6.
  • 52. Applications in Optimization Example C. Farmer Fred wants to raise chickens, ducks and pigs. He has 120 yards of fence x/2 to build rectangular regions as y shown to separate the animals. What is the maximal enclosed area that is possible? x The enclosed area is A = xy. The total linear length is 120, that is, 3y + 2½ x = 120 or that y = 40 – 5x/6. So A(x) = x(40 – 5x/6) = 40x– 5x2/6.
  • 53. Applications in Optimization Example C. Farmer Fred wants to raise chickens, ducks and pigs. He has 120 yards of fence x/2 to build rectangular regions as y shown to separate the animals. What is the maximal enclosed area that is possible? x The enclosed area is A = xy. The total linear length is 120, that is, 3y + 2½ x = 120 or that y = 40 – 5x/6. So A(x) = x(40 – 5x/6) = 40x– 5x2/6. At the boundary values x = 0, 48 (why?) we have the absolute minimal A = 0.
  • 54. Applications in Optimization Example C. Farmer Fred wants to raise chickens, ducks and pigs. He has 120 yards of fence x/2 to build rectangular regions as y shown to separate the animals. What is the maximal enclosed area that is possible? x The enclosed area is A = xy. The total linear length is 120, that is, 3y + 2½ x = 120 or that y = 40 – 5x/6. So A(x) = x(40 – 5x/6) = 40x– 5x2/6. At the boundary values x = 0, 48 (why?) we have the absolute minimal A = 0. Setting A'(x) = 40 – 5x/3 = 0, we get x = 24
  • 55. Applications in Optimization Example C. Farmer Fred wants to raise chickens, ducks and pigs. He has 120 yards of fence x/2 to build rectangular regions as y shown to separate the animals. What is the maximal enclosed area that is possible? x The enclosed area is A = xy. The total linear length is 120, that is, 3y + 2½ x = 120 or that y = 40 – 5x/6. So A(x) = x(40 – 5x/6) = 40x– 5x2/6. At the boundary values x = 0, 48 (why?) we have the absolute minimal A = 0. Setting A'(x) = 40 – 5x/3 = 0, we get x = 24 which yields y = 20. So 20×24 = 480 yd2 must be the maximum area.
  • 56. Applications in Optimization In fact for any specified partition of the rectangle, the maximal area always occurs when the total–vertical– fence–length is equal to the total–horizontal–fence– length. That is, using half of the fence for vertical dividers and the other half for the horizontal dividers will give the maximum enclosed area. Hence if farmer Joe is to build an enclosure with 120 yd of fence as shown, x/2 then the answer is y x = 60/3½ = 120/7, y = 60/3 = 20 with the maximum possible area of 120/7×20 ≈ 343 yd2. x
  • 57. Applications in Optimization Example D. Farmer Joe wishes to build an open cylindrical water tank made from sheet–metal that will hold 120π yd3 of water. What is the least amount of sheet–metal (in yd2) needed? 120 yd3 h r
  • 58. Applications in Optimization Example D. Farmer Joe wishes to build an open cylindrical water tank made from sheet–metal that will hold 120π yd3 of water. What is the least amount of sheet–metal (in yd2) needed? 120 yd3 h r The volume of a cylinder is V = Bh where B = area of the base and h = height
  • 59. Applications in Optimization Example D. Farmer Joe wishes to build an open cylindrical water tank made from sheet–metal that will hold 120π yd3 of water. What is the least amount of sheet–metal (in yd2) needed? 120 yd3 h r The volume of a cylinder is V = Bh where B = area of the base and h = height so we have120π = πr2h or h = 120/r2.
  • 60. Applications in Optimization Example D. Farmer Joe wishes to build an open cylindrical water tank made from sheet–metal that will hold 120π yd3 of water. What is the least amount of sheet–metal (in yd2) needed? 120 yd3 h r The volume of a cylinder is V = Bh where B = area of the base and h = height so we have120π = πr2h or h = 120/r2. The surface area of the cylinder consists of a circular base and the circular wall.
  • 61. Applications in Optimization Example D. Farmer Joe wishes to build an open cylindrical water tank made from sheet–metal that will hold 120π yd3 of water. What is the least amount of sheet–metal (in yd2) needed? The volume of a cylinder is V = Bh where B = area of the base 120 yd3 and h = height so we have120π = πr2h or h = 120/r2. The surface area of the cylinder consists of a circular base and the circular wall. The base area is πr2. h r
  • 62. Applications in Optimization Example D. Farmer Joe wishes to build an open cylindrical water tank made from sheet–metal that will hold 120π yd3 of water. What is the least amount of sheet–metal (in yd2) needed? The volume of a cylinder is V = Bh where B = area of the base 120 yd3 h and h = height so we have120π = πr2h or h = 120/r2. The surface area of the r cylinder consists of a circular base and the circular wall. The base area is πr2. Unroll and flatten the wall, it is an h x 2πr rectangular sheet.
  • 63. Applications in Optimization Example D. Farmer Joe wishes to build an open cylindrical water tank made from sheet–metal that will hold 120π yd3 of water. What is the least amount of sheet–metal (in yd2) needed? The volume of a cylinder is V = Bh where B = area of the base 120 yd3 h and h = height so we have120π = πr2h or h = 120/r2. The surface area of the r cylinder consists of a circular base and the circular wall. The base area is πr2. Unroll and flatten the wall, it is an h x 2πr rectangular sheet. Hence the total surface is S = πr2+ 2πrh, or S = πr2 + 2πr( 1 2 0 ) r2
  • 64. Applications in Optimization Example D. Farmer Joe wishes to build an open cylindrical water tank made from sheet–metal that will hold 120π yd3 of water. What is the least amount of sheet–metal (in yd2) needed? The volume of a cylinder is V = Bh where B = area of the base 120 yd3 h and h = height so we have120π = πr2h or h = 120/r2. The surface area of the r cylinder consists of a circular base and the circular wall. The base area is πr2. Unroll and flatten the wall, it is an h x 2πr rectangular sheet. Hence the total surface is S = πr2+ 2πrh, or S = πr2 + 2πr( 1 2 0 ) = πr2 + 240π/r = π(r2 + 240/r) r2
  • 65. Applications in Optimization 120 yd3 h r Setting S' = 2π(r – 120/r2) = 0, dividing both sides by 2π and clearing the denominator yields r3 – 120 = 0
  • 66. Applications in Optimization 120 yd3 h r Setting S' = 2π(r – 120/r2) = 0, dividing both sides by 2π and clearing the denominator yields r3 – 120 = 0 or that r = 1201/3, which gives the absolute minimal (why?) surface
  • 67. Applications in Optimization 120 yd3 h r Setting S' = 2π(r – 120/r2) = 0, dividing both sides by 2π and clearing the denominator yields r3 – 120 = 0 or that r = 1201/3, which gives the absolute minimal (why?) surface of π(1202/3 + ) = π 360/120 240 1/3 1201/3 yd2.
  • 68. Applications in Optimization 120 yd3 h r Setting S' = 2π(r – 120/r2) = 0, dividing both sides by 2π and clearing the denominator yields r3 – 120 = 0 or that r = 1201/3, which gives the absolute minimal (why?) surface of π(1202/3 + ) = π 360/120 240 1/3 1201/3 yd2. If the geometric object has a variable angle θ, then θ may be utilized as the independent variable.
  • 69. Applications in Optimization 120 yd3 h r Setting S' = 2π(r – 120/r2) = 0, dividing both sides by 2π and clearing the denominator yields r3 – 120 = 0 or that r = 1201/3, which gives the absolute minimal (why?) surface of π(1202/3 + ) = π 360/120 240 1/3 1201/3 yd2. If the geometric object has a variable angle θ, then θ may be utilized as the independent variable. Example E. Find the isosceles triangle 4 having two sides of length 4 4 with the largest area as shown.
  • 70. Applications in Optimization There are two observations that will make the algebra cleaner. 4 4
  • 71. Applications in Optimization There are two observations that will make the algebra cleaner. First let’s take advantage of the symmetry. Draw a perpendicular line as shown, it cuts the triangle 4 4 into two mirror image right triangles.
  • 72. Applications in Optimization There are two observations that will make the algebra cleaner. First let’s take advantage of the symmetry. Draw a perpendicular line as shown, it cuts the triangle 4 4 into two mirror image right triangles. We may maximize one of the right triangles instead, i.e. to find the largest area possible of a right triangle with hypotenuse equal to 4. 4 a b A
  • 73. Applications in Optimization There are two observations that will make the algebra cleaner. First let’s take advantage of the symmetry. Draw a perpendicular line as shown, it cuts the triangle 4 4 into two mirror image right triangles. We may maximize one of the right triangles instead, i.e. to find the largest area possible of a right triangle with hypotenuse equal to 4. 4 a b A θ Second, instead of expressing the area A in terms of the measurements of the legs a and b, we express A in terms of the angle θ as shown.
  • 74. Applications in Optimization A = ½ ab so in terms of θ we have 4 a θ b A A = ½ 4sin(θ) 4cos(θ) = 8 sin(θ) cos(θ)
  • 75. Applications in Optimization A = ½ ab so in terms of θ we have Note that 0 ≤ θ ≤ π/2. 4 a θ b A A = ½ 4sin(θ) 4cos(θ) = 8 sin(θ) cos(θ)
  • 76. Applications in Optimization A = ½ ab so in terms of θ we have Note that 0 ≤ θ ≤ π/2. Set A'(θ) = 8(cos2(θ) – sin2 (θ)) = 0 4 a θ b A A = ½ 4sin(θ) 4cos(θ) = 8 sin(θ) cos(θ)
  • 77. Applications in Optimization A = ½ ab so in terms of θ we have Note that 0 ≤ θ ≤ π/2. Set A'(θ) = 8(cos2(θ) – sin2 (θ)) = 0 4 a θ b A A = ½ 4sin(θ) 4cos(θ) = 8 sin(θ) cos(θ) Hence cos(θ) = ±sin (θ) However, the only solution with 0 ≤ θ ≤ π/2 is θ = π/4
  • 78. Applications in Optimization A = ½ ab so in terms of θ we have Note that 0 ≤ θ ≤ π/2. Set A'(θ) = 8(cos2(θ) – sin2 (θ)) = 0 4 a b Hence cos(θ) = ±sin (θ) which must be a maximum (why?). So the largest possible isosceles triangle in question is the right isosceles triangle as shown with area 2A = ½ (4 ×4) = 8. A θ A = ½ 4sin(θ) 4cos(θ) = 8 sin(θ) cos(θ) However, the only solution with 0 ≤ θ ≤ π/2 is θ = π/4 4 4 π/2
  • 79. Applications in Optimization Example F. A duck can walk 3 ft/sec and swim 2 ft/sec at its top speed. It sees a piece of bread across the pool as shown. What is the path it should take to get to the bread as soon as possible? 40 ft pool 30 ft
  • 80. Applications in Optimization Example F. A duck can walk 3 ft/sec and swim 2 ft/sec at its top speed. It sees a piece of bread across the pool as shown. What is the path it should take to get to the bread as soon as possible? 40 ft pool Select the x as shown in the picture. 30 ft x
  • 81. Applications in Optimization Example F. A duck can walk 3 ft/sec and swim 2 ft/sec at its top speed. It sees a piece of bread across the pool as shown. What is the path it should take to get to the bread as soon as possible? 40 ft pool Select the x as shown in the picture. (The selection of the correct x is important. The wrong choice leads to tangled algebra as is often the case in these problems.) 30 ft x
  • 82. Applications in Optimization Example F. A duck can walk 3 ft/sec and swim 2 ft/sec at its top speed. It sees a piece of bread across the pool as shown. What is the path it should take to get to the bread as soon as possible? 40 ft pool Select the x as shown in the picture. (The selection of the correct x is important. The wrong choice leads to tangled algebra as is often the case in these problems.) 30 ft Hence if your choice of x leads to nowhere, try another choice. x
  • 83. Applications in Optimization Example F. A duck can walk 3 ft/sec and swim 2 ft/sec at its top speed. It sees a piece of bread across the pool as shown. What is the path it should take to get to the bread as soon as possible? 40 ft pool 30 ft x Select the x as shown in the picture. (The selection of the correct x is important. The wrong choice leads to tangled algebra as is often the case in these problems.) Note that 0 ≤ x ≤ 40, where x = 0 means the duck walks around the pool and x = 40 means the duck swims all the way.
  • 84. Applications in Optimization 40 ft pool 30 ft x (x2 + 900)½ For x ≠ 0, the duck swims a distance of (x2 + 900)½
  • 85. Applications in Optimization 40 ft pool 30 ft x (x2 + 900)½ 40 – x For x ≠ 0, the duck swims a distance of (x2 + 900)½ and walks a distance of (40 – x),
  • 86. Applications in Optimization 40 ft pool 30 ft x For x ≠ 0, the duck swims a distance of (x2 + 900)½ and walks a distance of (40 – x), and the total time t it takes is (x2 + 900)½ 40 – x t(x) = (x2 + 900)½ 2 + (40 – x) 3 swimming time walking time
  • 87. Applications in Optimization 40 ft pool 30 ft x For x ≠ 0, the duck swims a distance of (x2 + 900)½ and walks a distance of (40 – x), and the total time t it takes is (x2 + 900)½ 40 – x t(x) = (x2 + 900)½ 2 + (40 – x) 3 x – Set t'(x) = 2(x2 + 900)½ 1 3 = 0
  • 88. Applications in Optimization 40 ft pool 30 ft x For x ≠ 0, the duck swims a distance of (x2 + 900)½ and walks a distance of (40 – x), and the total time t it takes is (x2 + 900)½ 40 – x t(x) = (x2 + 900)½ 2 + (40 – x) 3 x – Set t'(x) = 2(x2 + 900)½ 1 3 = 0 We have x = 3 1 2(x2 + 900)½
  • 89. Applications in Optimization 40 ft pool 30 ft x For x ≠ 0, the duck swims a distance of (x2 + 900)½ and walks a distance of (40 – x), and the total time t it takes is (x2 + 900)½ 40 – x t(x) = (x2 + 900)½ 2 + (40 – x) 3 x – Set t'(x) = 2(x2 + 900)½ 1 3 = 0 We have x = 3 1 2(x2 + 900)½ 3x = 2(x2 + 900)½
  • 90. Applications in Optimization 40 ft pool 30 ft x For x ≠ 0, the duck swims a distance of (x2 + 900)½ and walks a distance of (40 – x), and the total time t it takes is (x2 + 900)½ 40 – x t(x) = (x2 + 900)½ 2 + (40 – x) 3 x – Set t'(x) = 2(x2 + 900)½ 1 3 = 0 We have x = 3 1 2(x2 + 900)½ 3x = 2(x2 + 900)½ 9x2 = 4(x2 + 900)
  • 91. Applications in Optimization 40 ft pool 30 ft x For x ≠ 0, the duck swims a distance of (x2 + 900)½ and walks a distance of (40 – x), and the total time t it takes is (x2 + 900)½ 40 – x t(x) = (x2 + 900)½ 2 + (40 – x) 3 x – Set t'(x) = 2(x2 + 900)½ 1 3 = 0 We have x = 3 1 2(x2 + 900)½ 3x = 2(x2 + 900)½ 9x2 = 4(x2 + 900) 5x2 = 3600  x = ±12√5 Discarding the negative answer, x =12√5 ≈ 26.8 ft.
  • 92. Applications in Optimization When x = 0, the time it takes is not t(0) because t(x) assume the duck swims at least 30 ft,
  • 93. Applications in Optimization When x = 0, the time it takes is not t(0) because t(x) assume the duck swims at least 30 ft, as it would be the case if the duck is across a river from the bread instead of a pool.
  • 94. Applications in Optimization When x = 0, the time it takes is not t(0) because t(x) assume the duck swims at least 30 ft, as it would be the case if the duck is across a river from the bread instead of a pool. Let’s examine the three points.
  • 95. Applications in Optimization When x = 0, the time it takes is not t(0) because t(x) assume the duck swims at least 30 ft, as it would be the case if the duck is across a river from the bread instead of a pool. Let’s examine the three points. When x = 0, the duck walks 70 ft and it takes 70/3 = 23 1/3 seconds. When x = 40 the duck swims all the way and it takes t(40) = 50/2 = 25 seconds. At the critical point, t(12√5) ≈ 24.5 seconds.
  • 96. Applications in Optimization When x = 0, the time it takes is not t(0) because t(x) assume the duck swims at least 30 ft, as it would be the case if the duck is across a river from the bread instead of a pool. Let’s examine the three points. When x = 0, the duck walks 70 ft and it takes 70/3 = 23 1/3 seconds. When x = 40 the duck swims all the way and it takes t(40) = 50/2 = 25 seconds. At the critical point, t(12√5) ≈ 24.5 seconds. Therefore the duck should walk around the pool.
  • 97. Applications in Optimization When x = 0, the time it takes is not t(0) because t(x) assume the duck swims at least 30 ft, as it would be the case if the duck is across a river from the bread instead of a pool. Let’s examine the three points. When x = 0, the duck walks 70 ft and it takes 70/3 = 23 1/3 seconds. When x = 40 the duck swims all the way and it takes t(40) = 50/2 = 25 seconds. At the critical point, t(12√5) ≈ 24.5 seconds. Therefore the duck should walk around the pool. Remarks 1. As noted that if the duck is across a river instead of a pool, then indeed x = 12√5 is the absolute minimum because t(0) = swim + walk = 28 1/3 sec.
  • 98. Applications in Optimization 2. Just because the duck walks faster does not automatically means it should always walk around the pool. We may think about this by imagining the duck is slightly faster in walking, say at 2.01 ft/sec, than swimming at 2 ft/sec. Then of course the duck should swim toward the bread instead of wasting time walking around. In fact the closer the walking speed is to the swimming speed, the more the duck should swim toward the bread. Back to math–265 pg

Editor's Notes

  1. in the form
  2. in the form
  3. in the form
  4. in the form
  5. in the form
  6. in the form
  7. in the form
  8. in the form
  9. in the form
  10. in the form
  11. in the form
  12. in the form
  13. in the form
  14. in the form
  15. in the form
  16. in the form
  17. in the form
  18. in the form
  19. in the form
  20. in the form
  21. in the form
  22. in the form
  23. in the form