Intro to Optimization May 29, 2023
Today's Question
How can calculus help us solve optimal value problems?
Optimal means "the best". We are looking for the absolute (global) extremum.
Optimization Problems
1. Create a function that models the thing we
are trying to optimize (sometimes need a
secondary relationship to do this)
2. Find the domain restrictions
1
Intro to Optimization May 29, 2023
3. Find critical values
4. Determine which value is optimal
Since the domain restrictions came from the zeros of the function, we don't need to
check the endpoints. Instead, we can do the second derivative test.
5. Answer the question
Minimize the distance. Let x be the time, in hours and s(x) be the
distance, in km between them.
2
Intro to Optimization May 29, 2023
The game League of Legends was the mostplayed PC game, in number of hours played, in
North America and Europe in 2012. In League of Legends, a player's Effective Health when
defending against physical damage is given by
Health costs 2.5 gold per unit, and Armor costs 18 gold per unit. You have 3600 gold, and you
need to optimize the effectiveness E of your health and armor to survive as long as possible
against the enemy team's attacks. How much of each should you buy?
3
Intro to Optimization May 29, 2023
Ten minutes into League of Legends, you have 1080 health and 10 armor. You have only
720 gold to spend, and again Health costs 2.5 gold per unit while Armor costs 18 gold per
unit. Again the goal is to maximize the effective health E. Notice that you don't want to
maximize the effectiveness of what you purchase you want to maximize the
effectiveness E of your resulting health and armor. How much of each should you buy?
4
Intro to Optimization May 29, 2023
Practice:
p. 145 #4, 7, 9, 11, 15