Transcript
Use with ChatGPT / Claude Auto-scroll A
the following content is provided under a Creative Commons license your support will help MIT open courseware continue to offer highquality educational resources for free to make a donation or to view additional materials from hundreds of MIT courses visitMIT open courseware at
ocw.mit.edu okay so I'd like to begin the second lecture by reminding you what you we did last time so last
time last time we uh defined the
derivative as a slope of a tangent line
so that was our geometric point of view and we also did a couple of computations we worked out that the derivative of 1x was - 1x^2 and we also computed the derivative of x to the N power forn = 1 2 Etc and that turned out to be x uh sorry NX to the N minus1 so that's what we did last
time and today I want to finish up with other points of view on uh what a derivative is so this is extremely important it's almost the most important thing I'll be saying in the class but you'll have tothink about it again when you start over and start using calculus in the real world so again we're talking about what is a
derivative and this is just a continuation of last time so as I said last time we talked about geometric interpretations and today what we're going to talk about is rate of change as an interpretation of the
derivative so remember we we drew graphs of functions yal FX and we kept track of the change in X and here the change in y let's say and then from this new point of view a rate of changeuh keeping track of the rate of change of X and the rate of change of Y it's the relative rate of change we're interested in and that's Delta y over Delta X that has another interpretation this is theaverage change and usually we would think of that if if x were measuring time and so the average and that's when this becomes a rate and uh the average is over the time interval Delta X and then thelimiting value is denoted dydx and that is the so this one is the average rate of change and this one is the instantaneous rate
okay so that's the point of view that I'd like to discuss now and give you just a couple of examples so let's
see well first of all uh so maybe some examples from physics here so Q is usually the name for for a a charge and then dqdt is what's known as current so that's one physical example a second examplewhich is probably the most tangible one is uh we could denote the letter s bydistance and then the rate of change is what we call speed so those are the uh two typical examples and and I I I just I want to illustrate uh this second example in a little bit more detailbecause I think it's important to have some visceral sense of of this notion of instantaneous speed and I get to use the example of uh this very building to do that uh probably you know or maybe you don'tthat uh on Halloween uh there's an event takes place in this uh building or really from the top of this building which is called the pumpkin drop so so let's illustrate this idea of rate of change with the
the pumpkin drop so what happens is uh this building well let's see here's the building and here's the here's the dot that's the beautiful grass out on this side of the building okay and then there's some people uphere and very small objects well they're not that small when you're close to them uh that get uh dumped over the side there and they they fall down that's you know everything at MIT or a lot of thingsthat MIT are physics experiments so that's that's the pumpkin drop so uh roughly speaking actually this is the building is about 300 feet high we're we're down here on the um first usable floor and uh so uh we'regoing to use instead of 300 ft just for convenience purposes we'll use um 80 M because that makes the numbers come out Simply Okay so
so we have the height which is starts out at 80 M at time zero and then uh the acceleration due to gravity gives you this formula for H this is the height so at time T equals 0 we'reup at the top H is 80 meters so this is the me the unit units here are meters and at time T = 4 you notice 5 * 4 squ is 80 so uh I picked these numbers convenientlyso that we're down at uh the bottom okay so so this notion of average change here so the average
change or the average speed here maybe we'll call it the average speed since that's
over this uh time that it takes for the pumpkin to drop is going to be the change in h divided by the change in t which is uh it starts out at um what does it start out asuh it starts out as 80 right and it ends at zero so actually we have to do it backwards we have to take 0 minus 80 because the first uh value is the final position and the second valueis the initial position and that's divided 4 - 0 Time 4 seconds minus time 0 seconds and so that of course is- 20 m/s so the average speed of this guy is uh 20 m a second now soso why did I pick this example because of course the average it's although interesting is not really what anybody cares about who actually goes to the event all we really care about is the instantaneous speed when it when
it hits the the pavement and so that's can be calculated at the bottom so what's the instantaneous speed that's the derivative or maybe I should to be consistent with the notation I've been using so far that's d byDT of H all right so that's d by DT of H now remember we have formulas for these things we can differentiate this function now we did that uh yesterday so we're going to take the rate of changeand if you take a look at it it's just uh the rate of change of 80 is zero minus the rate of change for this minus 5T squ that's - 10t all right so that's using the fact thatd by DT of 80 is equal to zero and D by DT of t^2 is equal to 2T the special case well I'm cheating here but there's a special case that's obvious I didn't throw it in over here
the case n equals 2 is that second case there but the case n equals z also works right uh because that's constants the derivative of a constant is zero and then the factor n there is zero and that'sconsistent and actually if you look at the formula above it you'll see that it's the it's the case uh Nal minus1 so we'll we'll get a larger pattern soon enough with the powers okay anyway back over here wehave our rate of change and this is what it is and at the bottom at the point of impact we have t is equal to four and so H Prime which is the derivative is equal to uh- 40
m/s so twice as fast as the average speed uh here and uh if you need to convert that uh that's about 90 miles an hour which is why the police are there uh at midnight on Halloween to makesure you're all safe and also why when you come you have to be prepared to clean up afterwards so anyway that's what happens it's 90 M hour it's actually the building is a little taller but there's air resistanceand I'm sure uh you can do a much more thorough study of this example all right so now I want to give you a couple of more examples because uh time is and and and these kinds of parametersand variables are not the the only ones uh that are uh important for Calculus if it were only this kind of physics that was involved then uh this would be a much more specialized subject than it is and
so I uh want to give you a couple of examples that don't involve time as a variable so the third example I'll give here uh is the letter T often denotes
temperature and then uh D dtdx would be what is known as the temperaturegradient which uh uh we really care about a lot when we're predicting the weather because it's that temperature difference that causes air flows and it causes uh things to change and then there's another theme which is uh throughoutuh the sciences and Engineering which I'm going to uh talk about Under The Heading of
sensitivity of uh
measurements so let me let me explain this I don't want to um be laborate because I I just am doing this in order to introduce you to the ideas on your problem set which are the the first uhcase of this so on problem set one you have an example which is based on a simplified model of GPS sort of the Flat Earth model and in that situation well if the Earth is flat it's just ahorizontal line like this and then you have a satellite which is over here uh preferably above the earth and the the the satellite is ex knows exactly or the the system knows exactly where the point directly below thesatellite is so this point is treated as
known and uh I'm sitting hereokay with my little GPS device and uh I want to know where I am and the way I locate where I am is I communicate with this Satellite by radio signals and I can measure this distance here whichis called H and then the uh system will compute this horizontal distance which is which is L so in other words what's
measured so Hmeasured by radios radio waves in a clock or various clocks and then um L is deduced from from H and what's critical in all of these systems is that you don't know H exactly there's an error in hwhich will denote Delta H there's some uh degree of uncertainty um the main uncertainty in GPS is uh from the ionosphere but uh there are lots of Corrections that are made of all kinds and also if you're insidea building it's a problem to measure it but it's it's an extremely important issue as I'll explain in a second so the idea is we we then get to the uh get at Delta L is estimated
by uh considering this ratio Delta L over Delta H which is going to be approximately the same as the derivative of L with respect to H so this is the thing that's easy because of course it's calculus rightcalculus is the easy part and that allows us to deduce something about the real world that's close by over here so the reason why you should care about this quite a bit is that it's it's used all thetime to land airplanes and so you really do care that they actually know to within a few feet or even closer uh where your plane is and how high up it is and so forth all right so that'sthat's it for the general introduction to what a derivative is I I'm sure you'll be getting used to this in a lot of different contexts throughout the course and now we we have to get back down to uh
to some some uh rigorous details okay is everybody happy with what we've got so far yeah you get that equation for height ah good question the question was how did I get this equation for height I just madeit up because it's the formula from physics that you will learn when you take uh 801 and it has to do with the fact that the um in fact it has to do with the fact that if youthis is speed if you differentiate another time you get acceleration and this is the acceleration due to gravity is 10 m/s which happens to be the second derivative of this but anyway I just pulled it out of ahat from your physics class so you can just say
c801 all right other questions
all right so let's let's go on now now I have to be a little bit more systematic about limits and so let's let's do that
now so now what I'd like to talk about is limits and continuity
and this is a a warm-up for deriving all the rest of the formulas all the rest of the formulas that I'm going to need to differentiate every function you know remember that's our goal and we only have abouta week left so we'd better get started so first of all there's what I will call Easy limits
so what's an easy limit an easy limit is something like the limit as X goes to 4 of x + 3 over x^2 + 1 and with this kind of limit all I have to do to evaluate itis to plug in x = 4 because so so what I get here is 4 + 3 / 4^2 + 1 and that's just 7 / 17 and that's the end of it so those are the easylimits the second kind of limit uh well so this isn't the only second kind of limit but I just want to point this out it's very important is that
derivatives arealways harder than this you can't get away with uh nothing here so why is that well when you take a a derivative you're taking the limit as X goes to x0 of f ofx well uh F ofx uhlet's try yeah we'll write it all out in all itsGlory Here's the the uh formula for a derivative now notice that if you plug in xal
x0 always gives 0 over Z so it just basically never works so we always are going to need some
cancellation to make sense out of the limit
now in order to in order to make things a little easier for myself to to explain what's going on with limits I need to introduce just one more piece of notation what I'm going to introduce here is what'sknown as a leftand and a right hand limit if I take the limit as X tends to x0 with a plus sign here of some function this is what's known as the right hand
limit and I can display it visually so what does this mean it means practically the same thing as x ts to x0 except there's one more restriction which has to do with this plus sign which is we're goingfrom the plus side of x0 that means X is bigger than x0 and I say right hand so there should be a hyphen here right hand limit because on the number line if x0 is over here the xis whoops sorry the x is to the right all right so that's a right hand limit and then this being the left side of the board I'll put on the right side of the board the left limit justto make things confusing so that one has the minus sign here
I'm just a little dyslexic and I hope you're not so I may have gotten that wrong but okay so this is the left hand limit and I'll draw so of course that just means X goes to x0 butX is to the left of x0 and again on the number line here's the x0 and the x is on the other side of it okay so those two notations are going to help us to clarify a bunchof things it's much more convenient to have this extra bit of uh description of of limits than to just consider limits from both
sides okay so I want to give an example of
this and also an examp of how you're going to think about these sorts of problems so I'll take a function which has two different definitions uh say it's uh x + 1 when X is bigger than zero and- x + 2 when X is less than zero all right so maybe put commas there those are uh so when X is greater than zero it's it's x + one
now I can draw a picture of this it's going to be kind of a little small because I'm going to try to fit it down in here but maybe I'll put the axis down below so so uh atheight one I have to the right I have something of slope one so it goes up like this all right and then to the left of zero I have something which has slope Nega one uh but it hitsthe axis at two so it's up here all right so I have this sort of strange antenna figure here which is my graph maybe I could should draw these in another color to depict that all right and thenif I calculate these two limits here what I see is that the limit as x uh Goes To Zero from above of f ofx that's the same as the limit as X goes to zero of the formula here
x + one which turns out to be one and if I take the limit from the so that's the leftand limit that's this sorry that's sorry the yeah I told you I was dyslectic which right this is theright so it's that that right half here we go so now I'm going from the left and it's f of X again but now because I'm on that side the thing I need to plug in is the otherformula - x + 2 and that's going to give us two now notice that the left and right limits and this is one little tiny subtlety and it's almost the only thing that I need you to really payattention to a little bit right now is that this we did not need
need uh xal 0 value in fact I never even told you what F of Zer was here if we stick it in we could stick it in okay let's say we stick it in uh on on uh onthis side let's let's make it be that uh it's on this side so that means that this point is in and uh this point is out so that's a a typical notation this little open circle and this closeddot for when you include the so so in that case the value of f ofx happens to be the same as its right hand limit namely the value is one here and not
two okay so that's the the uh the first kind of example
questions okay so now our next job is to introduce the definition of continuity so that was the other topic here so we're going to Define so f is continuous
at x0 means that the limit of f ofx as x ts to x0 is equal to F of x0 right so so the reason why I spent all this time paying attention to the left and the right andso on and so forth and focusing is that I I want you to pay attention for one moment to what the content of this of this definition is what it's saying is the following so a continuous at uhuh x0 uh has has a a various ingredients here so the first one is that thislimitexists and what that means is that there's an honest limit value both from the left and
right and they also have to be the same all right so that's that's what's going on here and the second property is that F of x0 is defined so I can't be in one of these situations where I'vebeen I haven't even specified what F of x0 is and they're equal
okay so that's the situation now again let me emphasize a tricky part of the definition of a limit this side the left hand side is completely independent is evaluated by a procedure which does not involve the right handside these are separate things this one is to evaluate it you always avoid the limit point so that's if you like a paradox because it's exactly the question is is it true that if you plug in x0 youget the same answer as if you move in the limit that's the issue that we're we're considering here we have to make that distinction in order to say that these are two other otherwise this is just tological itmakes it's a very little uh uh it doesn't have any meaning but in fact it does have a meaning because one thing is evaluated separately with reference to all the other points and the other is evaluated right at
the at the point in question and indeed what these things are are exactly the easy
limits that's exactly what we're talking about here they're the ones that you can evaluate this way so we have to make the distinction and the these other ones are going to be the ones which we can't can't evaluatethat way so these are the the nice ones and that's why we care about them why we have a whole definition associated with them all right so now so now what's next well I need to give you auh uh a little tour a very brief tour of the zoo of what are known as discontinuous functions so sort of everything else that's not continuous so the first example here let let me just write it down hereis is jump
discontinuities so what would a jump discontinuity be well we've actually already seen it the jump discontinuity is the example that we had right there this is when the limit from the leftleft and right exist but are notequal okay so that's that's uh the the uh as in the
example right in this example the two limits one of them was one and one of them was two so that's a jump discontinuity
and this kind of issue of of whether something is continuous or not is uh may seem a little bit technical but but it is true that um that that that people have worried about it a lot the theuh Bob Merton who was a a professor at MIT when he did his work for the Nobel prize in economics was interested in this very issue of whether stock prices of various kinds are continuous from the left orright in a certain model and that was a very serious issue in developing the model that that uh priced uh things that our hedge funds use all the time now so left and right really can mean something verydifferent uh in this case left is the past and right is the future and it makes a big difference whether things are continuous from the left or continuous from the right uh right is it true that the point
is here here somewhere in the middle somewhere else that's a serious issue so uh the next example that I want to give you is a little bit more subtle it's what's known as a removable discontinuity
and so what this means is that the limit from left and right are equal so a picture of that would be you have a function which is coming along like this and there's a hole maybe where who knowseither the function is undefined or maybe it's defined up here and then it just continues on all right so the the two limits are the same and then of course the function is begging to be redefined so thatwe remove that hole and that's why it's called a removable
discontinuity now let me give you an example of this or actually a couple ofexamples
so these are quite important examples which we'll be working with in just a few in in a few minutes uh so so the first is the function G of X which is sinx overx and the second will bethe function h of X which is 1 - cosine
XX so we have a problem at g of0 g of0 is undefined
on the other hand it turns out that this function has what's called a removable Singularity namely the limit as X goes to zero of sin x/x does exist in fact it's equal to one so that's a very importantlimit that we'll work out uh either at the end of this lecture or the beginning of next lecture and similarly uh the limit of 1 - cosine x / x x goes to zero is 0 maybe I'll putthat a little farther away so you can read it okay so these are these are very useful facts that we're going to need later on and what they say is that these things have removable singularities sorry removable discontinuity
at xal
0 all right so as I say we we we'll get to that in a in a in a fewminutes okay so are there any questions before I move on yeah
uh the the um question is uh why is this true is that is that what your question is and the answer is uh it's very very unobvious I haven't shown it to you yet and there's if you werenot surprised by it then that would be very strange indeed so we haven't done it yet you have to stay tuned until we do okay we haven't shown it yet and actually even this this other statement which maybeseems stranger still is also not yet explained okay so we're going to get there uh as I said either at the end of this lecture or at the beginning ofnext other
questions all right so let me um let me just continue my tour of the zoo of
discontinuities and I guess I want to illustrate something with uh the convenience of right and left hand limits so I'll save this board about right and leftand
limits so a third type of discontinuity is what's known as an infinite
discontinuity and we've already encountered one of these uh I'm going to draw them over here uh remember the function y is 1 /x that's this function here but now I'd like to draw also the other branch of theparab of the hyperbola down here and allow myself to consider negative values of X so here's the graph of 1 overx and the convenience here of the distinguishing the left and the right hand limits is very important becausehere I can write down that the limit as X goes to 0 plus of 1 /x well that's coming from the right and it's going up so so this limit is infinity whereas the limit in the other directionfrom the left that one is going down and so it's quite different it's minus infinity now some people say that these limits are undefined but actually they're going in some very definite Direction so you should you should whenever
possible specify what these limits are on the other hand the statement that the limit as X goes to zero of 1 /x is infinity is is simply wrong okay it's not that people don't write this it's just thatit's wrong it's not that they don't write it down I mean in fact you'll probably see it and it's because people are just thinking of the of the right hand Branch it's not that they're making a mistake NEnecessarily but anyway it's sloppy and there's some sloppiness that we'll endure and others that we'll try to avoid so here you want to say this and it does make a difference you know plus infinity is a you knowan infinite number of dollars and minus infinity is an infinite amount of debt they're actually different they're not the same so you know this is sloppy and this is actually more correct okay so now in addition I just
want to point out uh one more thing remember we calculated the derivative and that was minus 1x^2 but I want to so I want to draw the graph of that and make a few comments about it so I'mgoing to draw the graph directly underneath the the graph of the function and notice what this graph is it goes like this it's always negative and it points down so now now this may look a little strange thatthe derivative of this thing is this guy but that's because of something very important and you should always remember this about derivatives the derivative of a function looks nothing like the function necessarily so you should just forget aboutthat as being an idea some people feel like if one thing goes down the other thing has to go down just forget that intuition it's wrong what we're dealing with here if you remember is the slope so if
you have a slope here that's corresponds to just a place over here and as the slope gets a little bit less steep that's why we're approaching the the horizontal axis we're getting a little the number is getting alittle smaller as we close in now over here the slope is also negative it's going down and as we get down here it's getting more and more negative as we go here the slope this function is going upbut its slope is going down all right so the slope is down on both sides and the notation that we use for that is uh well suited to this to this uh left and right
business namely the limit as X goes to 0 of 1x^2 that's going to be equal to minus infinity and that applies to X going to 0 plus and X going to 0 minus so so both
have this property and finally let me just make one last comment about these two graphs uh this function here is an odd function and when you take the derivative of an odd function you always get an even
function and that's closely related to the fact that this 1/x is an odd power in this two uh x to the first first power is an odd power and x^ s is an even power so all of theyour intuition should be reinforcing the the fact that these pictures lookright okay now there's one last uh kind of discontinuity that I want to mention briefly which I will call
other ugly
discontinuities and there are lots and lots of them and uh so uh one example would be the function y is equal to sin 1 /x as X goes to zero and that looks a little bit like this
back and forth and back and forth it oscillates infinitely often as we tend to zero and um there's there's no left or right limit in this case so there is a very large quantity of things like that umfortunately we're not going to deal with them in this in this course um a lot of times in real life there are things that oscillate as time goes to Infinity but but we're not going to worry about thatright now okay so that's our final mention of a discontinuity and and now I need to do just one more piece of groundwork for um our formula next time namely I want to check for you one basic factone limiting tool so this is going to be a theorem but fortunately it's a very short theorem and it has a very short proof so the theorem goes under the name differentiable implies continuous
and what it says is the following it says that if f is differentiable in other words it's the derivative
exists at x0 then f is
continuous at x0
so we're going to need this as a tool a key step in the uh product and quotient rules so uh I'd like to um prove it right now for you so here's the proof fortunately the proof is isjust one line so first of all I want to write in just the right way what it is that we have to check so what we have to check is that the limit as X goes to x0 off ofx minus F ofx 0 is equal to Z so this is what we want to know we don't know it yet but we're trying to check whether this is true or not so that's the same as thestatement that the function is continuous because the limit of f ofx is supposed to be f ofx z and so this difference should have limit Z and now the way this is proved is just by rewriting it by
multiplying and dividing by x - x0 so I'll rewrite the limit as X goes to x0 of f ofx - F of x0 / x - x0 times x - x0 okay so I wrote down the same expressionthat I had here this is just the same limit but I multiplied and divided by x -
x0 and now when I take the limit what happens is the limit of the first factor is fr Prime of x0 that's the thing we know exists by our assumption and the limit of the second factor is zerobecause the limit is X goes to x0 x- x0 is clearly zero so that's it the answer is zero which is what we wanted all right so that's that's the proof now there's something exceedingly fishy looking about thisproof and let me just point to it before we proceed namely you're used in limits to setting x equal to zero and this looks like we're multiplying dividing by zero exactly the thing which makes all proofs wrong inall kinds of algebraic situations and so on and so forth you've been taught that that never works right but somehow these limiting tricks have found a way around this and let me just make explicit what it is in
this limit we never are using xal x0 that's exactly the one value of x that we don't consider in this limit that's how limits are cooked up and that's sort of been the theme so far today is thatwe don't have to consider that and so this multiplication and division by this number is legal it may be small this number but it's always nonzero and so this really works and it's it's really true and we've justchecked that a differentiable function is continuousso I'm going to have to do these uh carry out these limits which are very interesting zero over Z zero limits next time but let's hang on for one second to see if there are any questions before westop yeah there is a question can you go for the proof uh repeat this this proof right here
X okay uh just say say
again okay so there are two steps to the proof and the pro the the step that you're asking about is the first step right and what I'm saying is if you have a number and you multiply it by10/ 10 it's the same number if you multiply it by 3 over3 it's the same number 2 over two 1 over one so on so so it's okay to change this to this it's exactly the same thing that'sthat's the first step
yes the question was how does the proof how does this line yeah where the question mark is so what I checked was that this number which is on the left hand side is equal to this this very longcomplicated number which is equal to this number which is equal to this number and so I've checked that this number is equal to zero because the last thing is zero this is equal to that is equal to thatis equal to zero and that's that's the proof yes
yeah so you're you're that's a that's a different question okay so the the hypothesis of differentiability I use because this limit is equal to this number that that limit exists that's how I use the hypothesis of the theoremthe conclusion of the theorem is the same as this because being continuous is the same as limit as X goes to x0 of FX is equal to fx0 that's the definition of continuity and I subtracted fx0 from bothsides to get this as being the same thing so this claim is continuity and it's the same as this this question here this issue here last question how did we get the Zer how did we get the Zerofrom this so the claim that's being made so the claim is why is this tending to that uh so for example I'm going to have have to erase something to explain that so the claim is that the limit
as X goes to x0 of x - x0 is equal to 0 that's that's what I'm claiming okay does that answer your question okay all right uh ask me else other stuff after lecture