Академический Документы
Профессиональный Документы
Культура Документы
Fall 2012
Joseph M. Mahaffy, hmahaffy@math.sdsu.edui
(1/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Outline
1
Introduction
Optimal Solution
Chemical Reaction
Examples
Absolute Extrema of a Polynomial
Crop Yield
Wire Problem
Optimal Production of a Pharmaceutical
(2/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Introduction
Animals are frequently devising optimal strategies to
gain advantage
(3/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Introduction
Animals are frequently devising optimal strategies to
gain advantage
Reproducing more rapidly
(3/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Introduction
Animals are frequently devising optimal strategies to
gain advantage
Reproducing more rapidly
Better protection from predation
(3/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Introduction
Animals are frequently devising optimal strategies to
gain advantage
Reproducing more rapidly
Better protection from predation
(3/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Introduction
Animals are frequently devising optimal strategies to
gain advantage
Reproducing more rapidly
Better protection from predation
(3/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Introduction
Animals are frequently devising optimal strategies to
gain advantage
Reproducing more rapidly
Better protection from predation
(3/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Introduction
Animals are frequently devising optimal strategies to
gain advantage
Reproducing more rapidly
Better protection from predation
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(4/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(4/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(4/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
(5/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Optimal Foraging
Optimal Foraging Northwestern crows (Corvus caurinus)
on Mandarte Island
Reto Zach studied Northwestern crows on Mandarte Island,
British Columbia to learn about foraging for whelks (Thais
lamellosa)
(6/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Optimal Foraging
Optimal Foraging Northwestern crows (Corvus caurinus)
on Mandarte Island
Reto Zach studied Northwestern crows on Mandarte Island,
British Columbia to learn about foraging for whelks (Thais
lamellosa)
Ecologists study these behaviors to give insight into
optimal foraging
(6/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Optimal Foraging
Optimal Foraging Northwestern crows (Corvus caurinus)
on Mandarte Island
Reto Zach studied Northwestern crows on Mandarte Island,
British Columbia to learn about foraging for whelks (Thais
lamellosa)
Ecologists study these behaviors to give insight into
optimal foraging
Northwestern crows
(6/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Optimal Foraging
Optimal Foraging Northwestern crows (Corvus caurinus)
on Mandarte Island
Reto Zach studied Northwestern crows on Mandarte Island,
British Columbia to learn about foraging for whelks (Thais
lamellosa)
Ecologists study these behaviors to give insight into
optimal foraging
Northwestern crows
Perch above beaches, then fly to intertidal zone
(6/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Optimal Foraging
Optimal Foraging Northwestern crows (Corvus caurinus)
on Mandarte Island
Reto Zach studied Northwestern crows on Mandarte Island,
British Columbia to learn about foraging for whelks (Thais
lamellosa)
Ecologists study these behaviors to give insight into
optimal foraging
Northwestern crows
Perch above beaches, then fly to intertidal zone
Select largest whelks
(6/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Optimal Foraging
Optimal Foraging Northwestern crows (Corvus caurinus)
on Mandarte Island
Reto Zach studied Northwestern crows on Mandarte Island,
British Columbia to learn about foraging for whelks (Thais
lamellosa)
Ecologists study these behaviors to give insight into
optimal foraging
Northwestern crows
Perch above beaches, then fly to intertidal zone
Select largest whelks
Fly to the rocky area and drop whelks
Joseph M. Mahaffy, hmahaffy@math.sdsu.edui
(6/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Optimal Foraging
Optimal Foraging Northwestern crows (Corvus caurinus)
on Mandarte Island
Reto Zach studied Northwestern crows on Mandarte Island,
British Columbia to learn about foraging for whelks (Thais
lamellosa)
Ecologists study these behaviors to give insight into
optimal foraging
Northwestern crows
Perch above beaches, then fly to intertidal zone
Select largest whelks
Fly to the rocky area and drop whelks
Eat broken whelks
Joseph M. Mahaffy, hmahaffy@math.sdsu.edui
(6/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Foraging Strategy
Foraging Strategy
Whelk Selection
(7/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Foraging Strategy
Foraging Strategy
Whelk Selection
Crows search intertidal zone for largest whelks
Take whelks to a favorite rocky area
(7/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Foraging Strategy
Foraging Strategy
Whelk Selection
Crows search intertidal zone for largest whelks
Take whelks to a favorite rocky area
Flight Strategy
(7/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Foraging Strategy
Foraging Strategy
Whelk Selection
Crows search intertidal zone for largest whelks
Take whelks to a favorite rocky area
Flight Strategy
Fly to height of about 5 meters
(7/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Foraging Strategy
Foraging Strategy
Whelk Selection
Crows search intertidal zone for largest whelks
Take whelks to a favorite rocky area
Flight Strategy
Fly to height of about 5 meters
Drop whelks on rocks, repeatedly averaging 4 times
(7/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Foraging Strategy
Foraging Strategy
Whelk Selection
Crows search intertidal zone for largest whelks
Take whelks to a favorite rocky area
Flight Strategy
Fly to height of about 5 meters
Drop whelks on rocks, repeatedly averaging 4 times
Eat edible parts when split open
(7/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Foraging Strategy
Foraging Strategy
Whelk Selection
Crows search intertidal zone for largest whelks
Take whelks to a favorite rocky area
Flight Strategy
Fly to height of about 5 meters
Drop whelks on rocks, repeatedly averaging 4 times
Eat edible parts when split open
(7/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Foraging Strategy
Foraging Strategy
Whelk Selection
Crows search intertidal zone for largest whelks
Take whelks to a favorite rocky area
Flight Strategy
Fly to height of about 5 meters
Drop whelks on rocks, repeatedly averaging 4 times
Eat edible parts when split open
(7/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Foraging Strategy
Foraging Strategy
(8/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
(9/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
(9/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
(9/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
(9/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Large Whelks
Large Whelks
Easier to break open larger whelks, so crows selectively
chose the largest available whelks
(10/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Large Whelks
Large Whelks
Easier to break open larger whelks, so crows selectively
chose the largest available whelks
There was a gradient of whelk size on the beach, suggesting
that the crows foraging behavior was affecting the
distribution of whelks in the intertidal zone, with larger
whelks further out
(10/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Large Whelks
Large Whelks
Easier to break open larger whelks, so crows selectively
chose the largest available whelks
There was a gradient of whelk size on the beach, suggesting
that the crows foraging behavior was affecting the
distribution of whelks in the intertidal zone, with larger
whelks further out
Crows benefit by selecting the larger ones because they
dont need as many drops per whelk, and they gain more
energy from consuming a larger one
(10/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Large Whelks
Large Whelks
Easier to break open larger whelks, so crows selectively
chose the largest available whelks
There was a gradient of whelk size on the beach, suggesting
that the crows foraging behavior was affecting the
distribution of whelks in the intertidal zone, with larger
whelks further out
Crows benefit by selecting the larger ones because they
dont need as many drops per whelk, and they gain more
energy from consuming a larger one
Study showed that the whelks broken on the rocks were
remarkably similar in size, weighing about 9 grams
Joseph M. Mahaffy, hmahaffy@math.sdsu.edui
(10/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Number of Drops
Zach Observation Height of the drops and number of drops
required for many crows to eat whelks used a marked pole on
the beach near a favorite dropping location
(11/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Optimization Problem
Optimization Problem
So why do the crows consistently fly to about
5.25 m and use about 4.4 drops to split open a
whelk?
(12/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Optimization Problem
Optimization Problem
So why do the crows consistently fly to about
5.25 m and use about 4.4 drops to split open a
whelk?
Can this be explained by a mathematical model for
minimizing the energy spent, thus supporting an
optimal foraging strategy?
(12/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
(13/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
(13/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
(13/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
(13/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
(13/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
(13/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
(13/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Energy Function
The energy is given by the height (H) times the number of
drops (N ) or
E = kHN
where k is a constant of proportionality
(14/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
Energy Function
The energy is given by the height (H) times the number of
drops (N ) or
E = kHN
where k is a constant of proportionality
Flying higher and increasing the number of drops both
increase the use of energy
(14/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
1.5
56
2
20
3
10.2
4
7.6
5
6
6
5
7
4.3
8
3.8
10
3.1
15
2.5
(15/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
1.5
56
2
20
3
10.2
4
7.6
5
6
6
5
7
4.3
8
3.8
10
3.1
15
2.5
(15/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
1.5
56
2
20
3
10.2
4
7.6
5
6
6
5
7
4.3
8
3.8
10
3.1
15
2.5
(15/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
N (Number of Drops)
50
40
30
20
10
0
0
5
10
H (Height in Meters)
15
(16/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
a
E(H) = kH 1 +
H b
Energy Function
90
80
E(H)
70
60
50
40
30
20
0
5
10
H (Height in Meters)
15
(17/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
a
E(H) = kH 1 +
H b
A minimum energy is apparent from the graph with the
value around 5.6 m, which is close to the observed value
that Zach found the crows to fly when dropping whelks
(18/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
a
E(H) = kH 1 +
H b
A minimum energy is apparent from the graph with the
value around 5.6 m, which is close to the observed value
that Zach found the crows to fly when dropping whelks
The derivative of E(H) is
H 2bH + b2 ab
aH
a
=k
E (H) = k 1 +
H b (H b)2
(H b)2
(18/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
a
E(H) = kH 1 +
H b
A minimum energy is apparent from the graph with the
value around 5.6 m, which is close to the observed value
that Zach found the crows to fly when dropping whelks
The derivative of E(H) is
H 2bH + b2 ab
aH
a
=k
E (H) = k 1 +
H b (H b)2
(H b)2
The optimal energy occurs at the minimum, where
E (H) = 0
Joseph M. Mahaffy, hmahaffy@math.sdsu.edui
(18/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
2
H 2bH + b2 ab
E (H) = k
(H b)2
The derivative is zero if the numerator is zero
(19/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
2
H 2bH + b2 ab
E (H) = k
(H b)2
The derivative is zero if the numerator is zero
The numerator is a quadratic with solution
H = b ab = 1.209 4.394
(19/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
2
H 2bH + b2 ab
E (H) = k
(H b)2
The derivative is zero if the numerator is zero
The numerator is a quadratic with solution
H = b ab = 1.209 4.394
Thus, H = 5.603 is the minimum energy
(H = 3.185 is a maximum, but fails to make sense)
(19/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Introduction
Optimal Foraging
Whelk Size
Mathematical Model for Energy
Number of Drops as Function of Height
Crow Energy Function
Minimize Energy
2
H 2bH + b2 ab
E (H) = k
(H b)2
The derivative is zero if the numerator is zero
The numerator is a quadratic with solution
H = b ab = 1.209 4.394
Thus, H = 5.603 is the minimum energy
(H = 3.185 is a maximum, but fails to make sense)
This computed minimum concurs with the experimental
observations, suggesting an optimal foraging strategy
Joseph M. Mahaffy, hmahaffy@math.sdsu.edui
(19/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Optimal Solution
Optimal Solution
One application of the derivative is to find critical points
where often a function has a relative minimum or
maximum
(20/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Optimal Solution
Optimal Solution
One application of the derivative is to find critical points
where often a function has a relative minimum or
maximum
An optimal solution for a function is when the function
takes on an absolute minimum or maximum over its
domain
(20/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Optimal Solution
Optimal Solution
One application of the derivative is to find critical points
where often a function has a relative minimum or
maximum
An optimal solution for a function is when the function
takes on an absolute minimum or maximum over its
domain
Definition: An absolute minimum for a function f (x) occurs
at a point x = c, if f (c) < f (x) for all x in the domain of f
Joseph M. Mahaffy, hmahaffy@math.sdsu.edui
(20/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Optimal Solution
Optimal Solution
Theorem: Suppose that f (x) is a continuous, differential
function on a closed interval I = [a, b], then f (x) achieves its
absolute minimum (or maximum) on I and its minimum (or
maximum) occurs either at a point where f (x) = 0 or at one of
the endpoints of the interval
(21/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(22/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(23/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(23/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(23/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(23/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(24/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
120 4 x
3
(24/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
120 4 x
3
4 x2
120 4 x
= 40 x
3
3
(24/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
120 4 x
3
4 x2
120 4 x
= 40 x
3
3
(24/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
A(x)
250
200
150
100
50
0
0
10
15
x
20
25
30
(25/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(26/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(26/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(26/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(26/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(26/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(26/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Chemical Reaction
A + B X
(27/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Chemical Reaction
A + B X
Assume the initial concentration of substance A is a and
the initial concentration of B is b
(27/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Chemical Reaction
A + B X
Assume the initial concentration of substance A is a and
the initial concentration of B is b
The law of mass action gives the following reaction rate
R(x) = k(a x)(b x),
0 x min(a, b)
(27/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Chemical Reaction
A + B X
Assume the initial concentration of substance A is a and
the initial concentration of B is b
The law of mass action gives the following reaction rate
R(x) = k(a x)(b x),
0 x min(a, b)
(27/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Chemical Reaction
A + B X
Assume the initial concentration of substance A is a and
the initial concentration of B is b
The law of mass action gives the following reaction rate
R(x) = k(a x)(b x),
0 x min(a, b)
(27/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Chemical Reaction
0x2
(28/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Chemical Reaction
0x2
The derivative is
R (x) = 100 x 400
(28/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Chemical Reaction
0x2
The derivative is
R (x) = 100 x 400
The critical point (where R (x) = 0) is xc = 4
(28/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Chemical Reaction
0x2
The derivative is
R (x) = 100 x 400
The critical point (where R (x) = 0) is xc = 4
This critical point is outside the domain (and produces a
negative reaction rate)
(28/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Chemical Reaction
0x2
The derivative is
R (x) = 100 x 400
The critical point (where R (x) = 0) is xc = 4
This critical point is outside the domain (and produces a
negative reaction rate)
At the endpoints
(28/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Chemical Reaction
0x2
The derivative is
R (x) = 100 x 400
The critical point (where R (x) = 0) is xc = 4
This critical point is outside the domain (and produces a
negative reaction rate)
At the endpoints
At x = 0,the reaction rate is R(0) = 600 (maximum)
Joseph M. Mahaffy, hmahaffy@math.sdsu.edui
(28/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Chemical Reaction
0x2
The derivative is
R (x) = 100 x 400
The critical point (where R (x) = 0) is xc = 4
This critical point is outside the domain (and produces a
negative reaction rate)
At the endpoints
At x = 0,the reaction rate is R(0) = 600 (maximum)
At x = 2,the reaction rate is R(2) = 0 (minimum)
Joseph M. Mahaffy, hmahaffy@math.sdsu.edui
(28/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Chemical Reaction
R(x)
400
300
200
100
0
0
0.5
1
x (Concentration of x)
1.5
(29/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(30/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(30/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(31/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(31/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(31/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(31/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(31/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(31/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(31/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(31/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
20
15
f(x) = x 6x + 9x + 4
25
10
0
0
x
Joseph M. Mahaffy, hmahaffy@math.sdsu.edui
(32/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Crop Yield
(33/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Crop Yield
(33/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Crop Yield
(33/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Crop Yield
N
1 + N2
(33/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Crop Yield
N
1 + N2
Find the nitrogen level that produces the maximum crop yield
Joseph M. Mahaffy, hmahaffy@math.sdsu.edui
(33/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Crop Yield
N
1+N 2
(34/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Crop Yield
N
1+N 2
The derivative is
Y (N ) =
1 N2
(1 + N 2 ) N 2N
=
2
2
(1 + N )
(1 + N 2 )2
(34/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Crop Yield
N
1+N 2
The derivative is
Y (N ) =
1 N2
(1 + N 2 ) N 2N
=
2
2
(1 + N )
(1 + N 2 )2
(34/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Crop Yield
N
1+N 2
The derivative is
Y (N ) =
1 N2
(1 + N 2 ) N 2N
=
2
2
(1 + N )
(1 + N 2 )2
(34/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Crop Yield
N
1+N 2
The derivative is
Y (N ) =
1 N2
(1 + N 2 ) N 2N
=
2
2
(1 + N )
(1 + N 2 )2
(34/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Crop Yield
N
1+N 2
The derivative is
Y (N ) =
1 N2
(1 + N 2 ) N 2N
=
2
2
(1 + N )
(1 + N 2 )2
(34/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Crop Yield
0.5
Y(N)
0.4
0.3
0.2
0.1
0
0
3
N
(35/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
(36/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
(36/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
Solution: The circle has area r2 , and the square has area x2
(37/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
Solution: The circle has area r2 , and the square has area x2
The Objective Function to be optimized is
A(r, x) = r2 + x2
(37/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
Solution: The circle has area r2 , and the square has area x2
The Objective Function to be optimized is
A(r, x) = r2 + x2
The Constraint Condition based on the length of the wire
L = 2r + 4 x
with domain x [0, L4 ]
(37/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
Solution: The circle has area r2 , and the square has area x2
The Objective Function to be optimized is
A(r, x) = r2 + x2
The Constraint Condition based on the length of the wire
L = 2r + 4 x
with domain x [0, L4 ]
L 4x
2
Lecture Notes Optimization
(37/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
(38/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
4+
L
2(L 4x)(4)
+ 2x = 2
x
A (x) =
4
(38/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
4+
L
2(L 4x)(4)
+ 2x = 2
x
A (x) =
4
(38/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
(39/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
8
+2>0
(39/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
(39/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
(39/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
(39/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
(40/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
(40/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
L2
4
(40/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
L2
16
(40/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
L2
16
(40/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
L2
16
L
4
(40/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
L2
16
L
4
(40/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Wire Problem
(1 4 x)2
+ x2
4
0.07
Area
0.06
0.05
0.04
0.03
0
0.05
0.1
0.15
x (Length of Side of Square)
0.2
0.25
(41/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(42/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(42/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(42/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(42/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(43/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(43/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(43/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(43/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
2000
1 + 99 e0.01t
Lecture Notes Optimization
(43/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(44/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(44/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(44/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(44/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(44/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(44/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(45/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(45/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(45/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(45/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Q (Pharmaceutical)
400
300
200
100
0
0
500
1000
B (# Bacteria)
1500
2000
(46/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(47/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(47/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(47/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(47/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Q (Pharmaceutical)
400
300
200
100
0
0
500
1000
B (# Bacteria)
1500
2000
(48/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
1
2000
= 2000 1 + 99 e0.01t
0.01t
1 + 99 e
(49/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
1
2000
= 2000 1 + 99 e0.01t
0.01t
1 + 99 e
(49/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
1
2000
= 2000 1 + 99 e0.01t
0.01t
1 + 99 e
(49/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
1
2000
= 2000 1 + 99 e0.01t
0.01t
1 + 99 e
(49/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
B(t) (# Bacteria)
1500
1000
500
0
0
200
400
600
800
1000
t (min)
Joseph M. Mahaffy, hmahaffy@math.sdsu.edui
(50/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(51/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(51/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(51/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
(52/52)
Introduction
Crow Predation on Whelks
Optimal Solution
Optimal Study Area
Chemical Reaction
Examples
Q(B(t))
300
200
100
0
0
200
400
600
800
1000
t (min)
Joseph M. Mahaffy, hmahaffy@math.sdsu.edui
(52/52)