Optimization Problems

Optimization Problems
We want to find the maximum and minimum values in a real-world application problem.
Strategy
1. Determine what you are minimizing/maximizing and draw a picture if possible
2. Write an equation for the quantity you are trying to maximize or minimize
*If there is more than 1 independent variable, create another equation relating the variables
3. If there is more than 1 independent variable, create another equation relating the variables → combine into one function with 1 independent variable
4. Follow the 3 steps to find the maximum or minimum value required
- Step 1: find the derivative of the function and set to 0
- Step 2: evaluate the function values at the point(s) found in step 1 and the endpoints of the interval (sometimes the endpoints don't exist)
- Step 3: compare the values you found in step 2 and make a conclusion

Example: Optimization
A farmer wishes to create a rectangular fenced enclosure for his animals. He has 600 m of fencing material and will construct the enclosure using a pre-existing fence as one side. Find the dimensions of the fenced area to maximize the enclosure.
1. Determine what you are minimizing/maximizing and draw a picture if possible
We want to MAXIMIZE the area of the rectangle
See video for picture
2. Write an equation for the quantity you are trying to maximize or minimize
*If there is more than 1 independent variable, create another equation relating the variables
The equation for area is A=l×w
We have 2 independent variables (lenght and width), so we need another equation that relates these 2 variables. Since the fence only has to make up 3 of the 4 sides of the rectangle, the equation is: 2l+w=600
3. Combine these to get an equation with an independent and a dependent variable
From the second equation, we have w=600−2l.
Substitute this into the area equation:
A=l(600−2l)
A=600l−2l2
4. Find the max value
Step 1: Find the derivative and set to 0
A′=600−4l
0=600−4l
l=150
Step 2: Evaluate the function at l=150 & w=300 and the endpoints l=0 & w=600 and l=300 & w=0
- A=150×300=45000
- A=0×600=0
- A=300×0=0
Therefore, the dimensions that will maximize the enclosure are l=150m and w=300m.
The maximum area is 150×300=45000m2.
Example: Optimization
Find two positive real numbers whose product is 1600, such that the sum of these two numbers is minimized.
1. No diagram required.
Let x and y be the two positive numbers.
2. We want to minimize the sum:
S=x+y
3. We also know that xy=1600 → x=y1600
So we get S=y1600+y
4. Minimize this function:
S′=−y21600+1
0=−y21600+1
y21600=1
y2=1600
y=1600=40 (we don't have to consider −40 since the real numbers are positive)
Find the sum at y=40 and the endpoints (y=1, y=1600):
- S=401600+40=80
- S=11600+1=1601
- S=16001600+1600=1601
Therefore, the two positive numbers are 40 and 40
Find the dimensions of the rectangle of largest area that has its base on the x-axis, its other two vertices above the x-axis and is laying on the parabola y=20−x2.
Find the minimum vertical distance between the graphs of y1=x2+x+10 and y2=−x2+x+2.

Example: Optimization (Revenue)
A high school committee is selling tickets for a play. When the tickets are $7, they will set 2000 tickets. The Grade 12 math class did some research and found that for every $0.10 increase in ticket price, 40 fewer people will purchase a ticket. If the auditorium capacity for this play is 2600 people, and the play requires a minimum of 1600 people to perform, what price should the school committee set the ticket price at to maximize revenue while meeting these restrictions?
1. No diagram required.
Let x represent the number of $0.10 increases.
2. We want to maximize revenue:
R(x)=(Number of tickets sold)×(Price of each ticket)
R(x)=(2000−40x)×(7+0.10x)
R(x)=14000−280x+200x−4x2
R(x)=14000−80x−4x2
3. We have an equation that only has one independent variable.
4. Maximize this function:
R′(x)=−80−8x
0=−80−8x
x=−10
Evaluate the revenue at x=−10 and at the endpoints (x=−15 and x=10):
- R(−10)=14000−80(−10)−4(−10)2=14400
- R(−15)=14000−80(−15)−4(−15)2=14300
- R(10)=14000−80(10)−4(10)2=12800
Therefore, the committee should set the ticket price to 7+0.10×(−10)= $6 per ticket.
A metal cylinder without a top is made to contain 64π cm3 of glue. Determine the dimensions of the can that will minimize the amount of metal used.