Wednesday, November 14, 2012

Scribe Post. 11/14

Today we began class by listening to a very intriguing piece about struggle and its connection to learning. We learned that "struggling is a chance to show that you have what it takes emotionally to overcome the problem, by having the strength to persist through that struggle" and that "academic success is not as much about whether a student is smart, academic success is about whether a student is willing to work and to struggle". As we listened to this, O'B was suggestively flaunting supercorrections as if there was a method to his madness. In case you're looking to get motivated, that piece by NPR can be found here. If that's not enough motivation, check out one of my personal favorites:
"When you want to breathe as bad as you want to succeed, then you'll be successful". 
"Sleep is those people who are broke. I don't sleep"

It is hard work that makes a calculus student successful, and its hard work that makes math teachers smile


Next we talked a bit about supercorrections. If you didn't get them back today, you will get them back tomorrow. Also, prepare for the follow up test on Friday by using this blank copy of the test.  Mr. O'B had the following words of wisdom for the following test problems to help us prepare for the follow-up:

#1: A derivative is a rate of change in a moment of time. It's the slope of the tangent line at any particular point
#2: Make sure you know the relationship between position, velocity, and acceleration
#3: If you want differentiability, you must have the same derivative from the left and right
#5: Make sure you're substituting in the Y value, not the X value!
#6: On the follow-up test, this question might be non-multiple choice. That means you can leave the answer in an form you'd like. 
For the calculator side, don't forget about nDeriv and solver!
#7: Make sure you know derivatives of logs and inverse trig functions for the follow up
#8: Make sure you're comfortable with the limit definitions
#9: Sometimes you'll have to use the product rule in conjunction with the chain rule! Also know your log properties. They can be found here
#11: Know the derivatives of exponential functions.
#12: The follow up may ask a similar question but with inverse tangent or inverse cosecant
#13: The derivative finds you a slope of the tangent line at ANY point. You have to plug in the value of x to find the slope at a specific point.
#14: This is just simply asking for the derivative of cotangent evaluated at π/4
#15: Remember that with a limit definition, the slope of the tangent line on the top of the fraction divided by the slope of the tangent line on the bottom of the fraction will give you the limit value.

Mr. O'B then proceeded to tell us that the questions on the follow-up test will be completely random. He likened his method of choosing which questions to pick to the method by which George Bush's speeches are put together, as seen in this video: (skip to 1:24)


Now we got down to business.
 Our objective for today: Learn about absolute (global) extrema and relative (local) extrema. 

To begin, we looked at the convoluted and confusing definition of absolute extrema values



So, what this definition is basically saying is that the absolute max is the largest y value for a function, and the absolute min is the smallest y value for a function. 
                            


                  
Let's put this into action by looking at the following functions on the following domains: 
         


a)all reals
b) [0,2]
c) (0,2]
d) (0,2)

First let's look at the function with the domain of all reals:


So, this function has no absolute maximum, because it just keeps on going! However, it does have an absolute minimum. The absolute minimum is 0 when x=0. 

Now let's look on the interval of [0,2]:

This has the same absolute minimum of 0 when x=0, but now there is a absolute maximum! Here the absolute maximum is 4 when x=2.

Now let's look at the interval of (0,2]: 

Okay, so here again we have an absolute maximum of 4 when x=2. However, now that 0 isn't defined in our function, what is the smallest y value? What is the absolute minimum? Maybe it's .001? Or .00001? No no. You could go on and on, but there is always a smaller number you could stick in there, so there is actually NO absolute minimum for this function. 

Now let's look at the interval of (0,2):

The same concept as we just discussed applies here. Since neither 0 nor 2 is defined in this function, what is the largest y value, and what is the smallest y value here? What are the absolute extrema's? Well in this case, there aren't actually any! When a function like this is on a completely open interval, there wont be any absolute extrema. 

This brings us to the extreme value theorem which states that if a function is continuous on a closed interval [a,b], it will have an absolute max and an absolute min. Check out this applet that looks at the theorem. Look at these three graphs–they all are on the closed interval [a,b] and they all have global maximum and global minimum values:






Now it's time to look at relative extrema! To do this first, we looked at the definition on page 193. It is even more convoluted and confusing than the first definition we looked at! Hip hip hooray! Here it is: 

So what this is basically saying is that if you look on a little open interval of a function, and you have a point that is the highest, or a point that is the lowest, you have local extrema! Following that logic, we can assert that if you look at all of the local extrema, you will find the global extrema as well! To get a more visual representation of this, we took a look at the figure on the same page:



So, as we can see here, this graph has local minimums, local maximums, absolute maximums, and absolute minimums. So, for example, if we're looking at the open interval of (a,e), the local maximum is indicated where x=c. 

Notice anything about these local extrema? They occur in three places: where the derivative of the function is 0, where the derivative of the function is undefined, and at end points. Where f'(x) is equal to 0 or undefined are known as critical points. So, we can say that extrema only occur at critical points and end points. The derivative of the function is equal to 0 where you have a gradual change, such as at x=c. The derivative of the function is undefined at a cusp or corner such as where x=d. Critical points can be broken down even further into stationary points. Stationary points are where f'(x)=0. They are called this because that's where the function goes up, stops, then goes down, or goes up, stops, then keeps going up. 

One thing to keep in mind is that just because you have critical points, DOESN'T mean you have extrema. Take this functions, for example:

You see, that at x=0, the derivative is equal to zero. Therefore, there is a critical point on this graph. However, this graph has no extrema! There are no values that are the lowest or the highest. 

To finish up class, we took a look at two examples of the application of our newly found knowledge!

The first question asked us to find the extreme values of :
on the closed interval of [-2,3] algebraically, then to confirm graphically. 
So, here's what we have to do: We know that we'll find extrema where the derivative is 0, or undefined, or at end points. So, we need to solve for where the derivative is equal to zero, or undefined, and the endpoints, which are given to us as -2, and 3. With these values, we then need to plug back in to the original equation to see what values are the biggest or smallest to give us our extrema. Look at the following work below: 


So, as you can see, when we find the derivative, it will never be equal to zero, so we must find where it will be undefined (where the denominator is equal to 0), and this occurs when x is zero. When we then plug in the critical points and end points, we can determine which is the smallest, and which is the biggest, which are our local extrema! We can now check this graphically to see if we're right! When we do that, we get the following graph:

Looks like we're spot on!


The next problem we looked at was to find the extreme values for the following function using a graphing calculator:

When you plug this into your calculator, it tricks you! It looks like there is both a global max and a global min. However, there is only a global minimum. This is because there are vertical asymptotes. However, the calculator doesn't show this, so it just looks like the function ends. Here is how you tackle this problem algebraically:

To make the derivative undefined, x has to be 2 or -2. To make the derivative zero, x must be 0. When you plug these values back into the original function, 2 and -2 make the function undefined (the vertical asymptote we already discussed), and 0 makes the function 1/2 which becomes our global minimum.

Update:
Thinking about all of these minimum's and maximum's, what does it all mean? Let's take a quick look at the connection between maximum's, minimum's, functions, first derivatives, and second derivatives. 

So, think about the function x^2... We know what that looks like: a parabola opening upwards. So, we know that the function has a minimum at the very bottom of the curve. And at the bottom of the curve, the parabola flattens out for a second to give us local linearity, such that the slope at the very bottom is 0. That means that at the origin, when we look at our derivative, it will be zero. But what is the graph of the derivative doing before and after that? Well, let's think about to the left of the parabola. The slope is really really negative, and then as it gets closer and closer to zero it becomes less and less negative and begins to flatten out until it is zero, then to the right of the origin, the slope gets bigger and bigger and more positive. So, the derivative will start negative, pass through the origin (so it is equal to zero) then keep going up. It will be a line! In fact, it will be the line of 2x! Now what about the second derivative? The first derivative has a constant slope, which means that the second derivative will just be a line, the line of y=2 to be more exact! So, a graph with an absolute minimum has a derivative with a positive slope, and a second derivative that is a positive horizontal line. What about a graph with just an absolute maximum? Like -x^2. Think about everything we just talked about in reverse. The derivative will now have a negative slope, and the second derivative will be a negative horizontal line. The graph of -x^2 is known as concave down, and the graph of x^2 is known as concave up. These concavities can tell us a lot about the behavior of the first and second derivatives. 








2 comments: