optimization
overview
Throughout your studies of calculus in highschool, you may encounter optimization problems. These problems involve finding certain values that "optimize" a certain outcome. You will most likely be tested on this through word problems, so we will help you understand how to tackle these types of problems.
Key tips for word problems
Here are some key tips to make it easier for you to solve word problems:
Work backwards: Identify what you need, and what it translates to in mathematical terms
Remember what you learned: derivative rules, derivatives of special functions, and other techniques
Create a plan: Figure out a step by step process on how to get that information
What you may encounter
Typical questions
The most common type of questions are the ones that ask you for a certain value, whether it is from the function itself, its first derivative or its second derivative.
The example below demonstrates one of such questions.
example
The position in meters of a car on a road with respect to time is modelled by the function for all . Its speed is modelled by the function and its acceleration is modelled by the function
a) The car's position at
b) The car's speed at
c) The car's acceleration at
answer
a) This is fairly simply, just plug in into the car's position function :
The position of the car on the road at is .
b) For this question, we need the speed function , which is the derivative of the position function (). Once we have the speed function, we plug in to find the car's speed at that time.
Now, we just plug in into to get the car's speed at that time:
The car's speed at is .
c) The acceleration being the derivative of speed means it is the second derivative of the car's position function .
We must now find the second derivative function:
Finally, just plug in into to get the car's acceleration:
The car's acceleration at is .
example
The spread of a rumor in a certain school is modelled by the equation , where is the total number of students who have heard the rumour days after the rumour forst started tp spread.
a) How many students heard the rumour after day?
b) How fast is the rumour spread after days?
answer
a) To calculate the number of students that heard the rumour after day, simply plug into :
After day around students have heard the rumour.
b) We must find the derivative in order to determine how fast the rumour is spreading after days:
(re-arranged to use chain rule)
The rumour is spreading at a rate of .
Questions about maximizing/minimizing a certain value
These sort of questions require you to obtain the maximum/minimum of a function. As you have learned, you can obtain this by looking at the function's derivative and finding its roots.
There may also be restrictions in these questions that are crucial in helping you determine the right answer.
example
The perimeter of a right-angled triangle with hypotenus is given by the function , where is the angle between the base and the hypotenuse. Calculate the measure of the angle in the triangle that will maximize the perimeter.
answer
First, let's simplify the equation:
Calculate the derivative of :
Now we must determine the critical points in order to find the maximum perimeter:
So, or (invalid because since it is a right angle triangle)
Finally, verify whether the critical point occurs at a maximum and find the value of the perimeter:
Increasing to decreasing indicates a maximum.
Here are the graphs of and for your benefit:
The triangle has a maximum perimeter of at radians.
Questions about maximizing/minimizing rate of change
Some questions may ask at what point the rate of change itself changes the fastest. In these cases, you would want to look at the second derivative. You could treat the first derivative as a "normal" function, and the second derivative as the derivative of that "normal" function.
example
A certain stock fluctuates over the course of months. It's price in dollars is determined by where t is time in months and .
a) If you were to buy one stock at its lowest price, and sell at its highest, how much would you profit off of it?
b) Find the point in time when the stock is most volatile (changes the fastest)
answer
To answer both questions, we will need the first and second derivative of :
a) To calculate the most profit, we need to find where the local minimum occurs (buy) and when the local maximum occurs (sell):
The roots of are and (quadratic formula) which are also the critical points of .
Now, determine which critical points are the minimums and maximums of :
is decreasing then increasing at Local minimum
is increasing then decreasing at Local maximum
Now we must get the stock's price at its minimum and maximum value in order to calculate the maximum profits:
The maximum profit you can earn from one stock is dollars.
b) To find the point at which the stock is most volatile (or changes the fastest), we need to find the critical points of (not to be confused with ) and find the largest absolute maximum/minimum, since the absolute rate of change of the price is greatest at that point.
Let's just verify that this is in fact a maximum/minimum, and not a point of inflection for the first derivative:
The sign of changes, so it is not a point of inflection, but a local maximum.
This means the stock is not only changing the fastest, but it is also increasing.
Just to confirm for yourself, here are the graphs of , and :
The stock changes the most rapidly at months.