Upcoming SlideShare
×

# Troublesome pets.

552 views
439 views

Published on

0 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

• Be the first to like this

Views
Total views
552
On SlideShare
0
From Embeds
0
Number of Embeds
20
Actions
Shares
0
6
0
Likes
0
Embeds 0
No embeds

No notes for slide

### Troublesome pets.

1. 1. Optimization: Cage Building Questions The Calculus Crusaders
2. 2. Optimization (a) <ul><li>Bench: </li></ul><ul><li>We can’t afford to get these animals hurt again. We need to bring them back home and put them in a box. Jamie won’t know. </li></ul><ul><li>Zeph: </li></ul><ul><li>Hey, look! There is a guy over there selling a sheet of plastic that we can use to make a box. We can build a box by cutting squares from the corners. </li></ul>
3. 3. Optimization (a) <ul><li>Bench: </li></ul><ul><li>Cool, the sheet is 4m by 4m, do you think we have enough? </li></ul><ul><li>Zeph: </li></ul><ul><li>I think so, let’s find out how we can maximize the volume of the box. </li></ul><ul><li>Bench: </li></ul><ul><li>Okay, I’ll do the math. </li></ul>
4. 4. Optimization (a) <ul><li>Let’s take a look at what we have: </li></ul>
5. 5. Optimization (a) <ul><li>Let’s take a look at what we have: </li></ul><ul><li>So we must make the box by cutting squares from the corners and folding up the remaining sides. </li></ul>
6. 6. Optimization (a) <ul><li>Let’s take a look at what we have: </li></ul><ul><li>So we must make the box by cutting squares from the corners and folding up the remaining sides. </li></ul><ul><li>What should be the dimensions of the squares to maximize the volume of the box? What is the volume of the box? </li></ul>
7. 7. Optimization (a) <ul><li>Here is the formula used to find the volume of the box: V = l w h </li></ul>
8. 8. Optimization (a) <ul><li>Here is the formula used to find the volume of the box: V = l w h </li></ul><ul><li>So what are the dimensions of the box? </li></ul>
9. 9. Optimization (a) <ul><li>Here is the formula used to find the volume of the box: V = l w h </li></ul><ul><li>So what are our dimensions of the box? </li></ul><ul><li>When we cut the squares out, each side of the sheet was decreased by 2c. </li></ul>
10. 10. Optimization (a) So the volume as a function of c will be: V(c) = c(4 - 2c)² where the length and width are equal to 4 - 2c and the height is equal to c .
11. 11. Optimization (a) So are volume as a function of c will be: V(c) = c(4 - 2c)² Simplified, V(c) looks like so: V(c) = 16c – 16c² + 4c³
12. 12. Optimization (a) So are volume as a function of c will be: V(c) = c(4 - 2c)² Simplified, V(c) looks like so: V(c) = 4c³ – 16c² + 16c This is the volume function. In order to maximize the volume, we need to find the maximum value of the function.
13. 13. Optimization (a) We could use grade 11 pre-calc to find the max or we could use “ Calculus ”.
14. 14. Optimization (a) We could use grade 11 pre-calc to find the max or we could use “ Calculus ” To use Calculus, we can use the First Derivative Test. Finding the max using the test requires finding where the volume function is increasing and then decreasing
15. 15. Optimization (a) So we find the first derivative of the function. This can be done by using the power rule for each term of the polynomial.
16. 16. Optimization (a) So we find the first derivative of the function. This can be done by using the power rule for each term of the polynomial. The power rule says that the derivative of any variable to an exponent can be found by multiplying the term by the exponent and decrease the exponent by 1.
17. 17. Optimization (a) Let’s see how the derivative of the volume function looks like: V’(c) = 16 – 32c + 12c²
18. 18. Optimization (a) Let’s see how the derivative of the volume function looks like: V’(c) = 16 – 32c + 12c² Now we need to find the zeroes of the derivative, because a function has a max or min when its derivative has a zero/root or is undefined. The x-coordinate of the root is called a critical number.
19. 19. Optimization (a) Set the function equal to zero and solve for the variable, in this case, c. 0 = 16 – 32c + 12c² 0 = 4 (4 – 8c – 3c²) 0 = 4 (3c -2) (c -2)
20. 20. Optimization (a) Set the function equal to zero and solve for the variable, in this case, c. 0 = 16 – 32c + 12c² 0 = 4 (4 – 8c – 3c²) 0 = 4 (3c -2) (c -2) Therefore there is a critical number @ c = ⅔ & c = 2
21. 21. Optimization (a) Now we apply an interval analysis to find where the function is increasing or decreasing. ⅔ 2 V’
22. 22. Optimization (a) Now we apply an interval analysis to find where the function is increasing or decreasing. You may remember the Extreme Value Theorem which states that the endpoints of the intervals are candidates for maximums and minimums.
23. 23. Optimization (a) Now we apply an interval analysis to find where the function is increasing or decreasing. You may remember the Extreme Value Theorem which states that the endpoints of the intervals are candidates for maximums and minimums. But we can’t use the endpoints of the interval because that would make the amount of material at the corners being cut out so small that you can’t fold it or too large that there is nothing to fold.
24. 24. Optimization (a) Now we apply an interval analysis to find where the function is increasing or decreasing. Now you can sort of visualize where the volume is increasing or decreasing from this analysis. We want to know where the function is increasing then decreasing and in this case it is at c = ⅔ by the First Derivative Test. ⅔ 2 V’ + + -
25. 25. Optimization (a) Now we know that when the dimensions of the squares being cut out must be ⅔ m by ⅔ m to maximize the volume of the box.
26. 26. Optimization (a) Now we know that when the dimensions of the squares being cut out must be ⅔ m by ⅔ m to maximize the volume of the box. The volume of the box is approximately 4.7407 m ³ which was found by solving for V(⅔).
27. 27. Optimization (b) <ul><li>Bench: </li></ul><ul><li>Okay, we can build the box and I didn’t even use my calculator except for finding the volume. </li></ul><ul><li>Zeph: </li></ul><ul><li>Hey wait!!! Our animals can’t breathe! We need to make holes. How many holes do we need to maximize the rate of Oxygen entering the box and minimize the rate of Carbon dioxide entering the box? There is a maximum of 20 holes. </li></ul><ul><li>Bench: </li></ul><ul><li>Since this box was made using math, the rate of Oxygen and Carbon dioxide entering the box must be mathematic as well. </li></ul><ul><li>Zeph: </li></ul><ul><li>Okay…. Whatever you say… </li></ul>
28. 28. Optimization (b) <ul><li>The rate of Oxygen per hole is modeled by the function: </li></ul><ul><li>in cm ³/ hr/hole. While the rate of Carbon dioxide per hole is modeled by the function: </li></ul><ul><li>in cm ³/ hr/hole. </li></ul>
29. 29. Optimization (b) <ul><li>We need to maximize the rate and we were given the rate per hole. So if we integrate the function, we will find the total rate of Oxygen or Carbon dioxide. </li></ul>
30. 30. Optimization (b) <ul><li>We need to maximize the rate and we were given the rate per hole. So if we integrate the function, we will find the total rate of Oxygen or Carbon dioxide. </li></ul><ul><li>But we do not know how many holes are needed, which means we do not know how far we need to integrate to from zero. </li></ul>
31. 31. Optimization (b) <ul><li>We need to maximize the rate and we were given the rate per hole. So if we integrate the function, we will find the total rate of Oxygen or Carbon dioxide. </li></ul><ul><li>But we do not know how many holes are needed, which means we do not know how far we need to integrate to from zero. </li></ul><ul><li>So we need to create a function that we can optimize that involves an integration from zero to a certain number of holes. </li></ul>
32. 32. Optimization (b) <ul><li>Since we are integrating the Oxygen or Carbon dioxide functions, it will be the integrand as shown below: </li></ul><ul><li>where R(h) is used to find the rate of oxygen and S(h) is used to find the rate of carbon dioxide. These functions represent the rate of gas entering the box, in cm ³/hr, depending on the number of holes drilled into the box </li></ul>
33. 33. Optimization (b) <ul><li>Since we are integrating the Oxygen or Carbon dioxide functions, it will be the integrand as shown below: </li></ul><ul><li>where R(h) is used to find the rate of oxygen and S(h) is used to find the rate of carbon dioxide. These functions represent the rate of gas entering the box, in cm ³/hr, depending on the number of holes drilled into the box </li></ul><ul><li>These functions are called accumulation functions because you are accumulation areas. The “ h ” represents the number of holes. So we need to find what value of h will maximize the rate. </li></ul>
34. 34. Optimization (b) <ul><li>I’ll start with maximizing the rate of oxygen. As shown in making the box, to find the maxima or minima of a function, you can use the First Derivative Test. As a recap, a maximum is found where the derivative goes from positive to negative. </li></ul>
35. 35. Optimization (b) <ul><li>I’ll start with maximizing the rate of oxygen. As shown in making the box, to find the maxima or minima of a function, you can use the First Derivative Test. As a recap, a maximum is found where the derivative goes from positive to negative. </li></ul><ul><li>The derivative of an accumulation function represents the second part of the Fundamental Theorem of Calculus, which states that the derivative of an integral is equal to the integrand. In other words, a derivative and an integral are inverses of each other. </li></ul>
36. 36. Optimization (b) <ul><li>As stated earlier, the derivative of the accumulation functions is the integrand. Just switch the independent variable with the variable of the integral because accumulation functions are composites of functions which means an application of the Chain Rule is required. </li></ul><ul><li>R’(h) = O(h) and S’(h) = C(h) </li></ul>
37. 37. Optimization (b) <ul><li>As stated earlier, the derivative of the accumulation functions is the integrand. Just switch the independent variable with the variable of the integral because accumulation functions are composites of functions which means an application of the Chain Rule is required. </li></ul><ul><li>R’(h) = O(h) and S’(h) = C(h) </li></ul><ul><li>Now just set the functions equal to zero and find the roots. Remember the Extreme Value Theorem. </li></ul>
38. 38. Optimization (b) <ul><li>R’(h) = O(h) and S’(h) = C(h) </li></ul><ul><li>In the context of the question, the two endpoints of the interval can be included. In other words, 0 holes and h holes (what ever it is) must be included in the analysis. </li></ul>
39. 39. Optimization (b) <ul><li>R’(h) has critical numbers at h = -2 , 0, 11, 20 </li></ul><ul><li>h = -2 can be rejected because it is not within the domain. </li></ul>R’(h) 0 11 20 - +
40. 40. Optimization (b) <ul><li>R’(h) has critical numbers at h = -2 , 0, 11, 20 </li></ul><ul><li>h = -2 can be rejected because it is not within the domain. </li></ul><ul><li>h = 11 cannot be a maximum because it is decreasing to the left of 11 and increasing to the right. h = 0 cannot be a maximum because if 0 is used, you will be integrating from 0 to 0 which will produce 0 as an answer. So the only choice left would be h = 20. </li></ul>R’(h) 0 11 20 - +
41. 41. Optimization (b) <ul><li>S’(h) has critical numbers at h = 0, 12, 20 </li></ul><ul><li>There is one more critical number but it is rejected because it is not in the domain. </li></ul>S’(h) 0 12 20 - +
42. 42. Optimization (b) <ul><li>S’(h) has critical numbers at h = 0, 12, 20 </li></ul><ul><li>There is one more critical number but it is rejected because it is not in the domain. </li></ul><ul><li>h = 12 cannot be a minimum because S is increasing on the left of h = 12 and decreasing on the right, making it a maximum. h = 0 cannot be used because of the same reason as h = 0 in R’(h) . Therefore the only choice left is h = 20. </li></ul>S’(h) 0 12 20 - +
43. 43. Optimization (b) <ul><li>Let’s recap our answers. </li></ul><ul><li>Therefore to obtain a maximum rate of oxygen and a minimum rate of carbon dioxide entering the box, there must be 20 holes drilled into the box. </li></ul>
44. 44. Optimization <ul><li>Bench: </li></ul><ul><li>There we go. You guys stay put, while we find the block of wood. </li></ul><ul><li>Zeph: </li></ul><ul><li>Okay, let’s get out of here before Jamie comes and yells at us for caging up our animals. </li></ul>
45. 45. At least the animals won’t get hurt anymore.