Transcript

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 visit MIT open courseware at ocw.mit.edu so we're we're we're through with techniques of integration which is really the most technical thing that we're going to be doing and now we're uh just clearing up a few loose ends about calculus and the one that we're going to talk about today will allow us to deal with infinity and it's what's known as lal's rule so here's lal's rule that's what we're going to do today lal's rule is also known as lital R that's the same name since the circumflex is what you put in French to um to uh omit the S so it's the same thing it's still pronounced lital even if it's got an s in it all right so that's the first thing you need to know about it and what this method does is it's a convenient way to calculate limits um uh including some new ones so it'll be convenient for the old ones so there are going to be some new ones and uh as an example um you can calculate X log X as X goes to Infinity uh you could whoops that's not a very interesting one let's try X Goes To Zero from the positive side and uh you can calculate for example x eus x as X goes to Infinity and well maybe maybe I should include a few others um maybe something like um log X overx as X goes to Infinity so these are some examples of things which in fact if you plug into your calculator you can see what's happening with these but if you want to understand them systematically it's much better to have this tool of lal's rule and certainly there isn't a proof just based on a calculation in a calculator all right so now here's the idea I'll illustrate the idea first with an example and then we'll make it systematic and then we're going to generalize it we'll make it much more so when it when it includes these new libbit there are some little pieces of trickiness that you have to understand so let's just take an example that you could have done in the very first unit of this class the the limit as X goes to 1 of x to the 10th - 1 / x^2 minus 1 all right so that's a limit that we could have handled and the thing that's interesting I mean this is if you if you like this is in this category that we mentioned at the beginning of the course of interesting limits what's interesting about it is that if you do this silly thing which is just plug in xal 1 you're going to get at xal 1 you're going to get 0 over 0 and that's what we call an indeterminate form it's just unclear what it is from that plugging in you just can't get it now on the other hand there's a trick for doing this and this is the trick that we did uh at the beginning of the class and the idea is uh I can divide in the numerator and denominator by xus one okay so this limit is unchanged if I try to cancel the the hidden Factor xus one in the numerator and denominator now we can actually carry out these uh ratios of pols and calculate them by long division in algebra that's a very very long we want to do this with Calculus and we already have we already know that this ratio is what's called a difference quotient and then in the limit it tends the to the derivative of this function so the idea is that this is actually equal to in the limit let's just study one piece of it so if I have a function f ofx which is X 10th - 1 and the value at one happens to be equal to zero then this expression that we have which is in Disguise this this is in Disguise the difference quotient all right TS to as X goes to one the derivative which is frime of one that's what it is so we know what the numerator goes to and similarly we'll know what the denominator goes to but what is that well fime of X is equal to 10 x 9th power so we know what the answer is in the numerator it's 10 x 9th in the denominator it's going to be 2x that's the derivative of x^2 - 1 and then we're going to have to evaluate that at x = 1 and so it's going to be 10 Hales which is five all right so the answer is five and it's pretty easy to get from our techniques and knowledge of derivatives using this rather clever algebraic trick this business of dividing by x - one what I want to do now is just carry this method out systematically and that's going to give us uh uh the approach to what's known as lal's rule what I'm my my main subject for today so here's the idea suppose we're considering in general a limit as X goes to some number a of f ofx / G ofx and suppose it's the bad case where we can't decide so it's indeterminant F of a is equal to G of a is equal to Z so it would be 0 over Z now we're just going to do exactly the same thing we did over here namely we're going to divide in numerator and denominator and we're going to repeat that argument so we have here F ofx / xus A and G of x / G uh xus a also all right I've haven't changed anything yet and now I'm going to write it in this suggestive form namely I'm going to take separately the LI in the numerator and the denominator and I'm going to make one more shift so I'm going to take the limit as X goes to a in the numerator but I'm going to write it as f ofx - F of a / x - A so that's the way I'm going to write the numerator and I've got to draw a much longer line here so why am I allowed to do that that's because F of a is zero so I didn't change this this numerator of the numerator any by subtracting that F of a is equal to zero and I'll do the same thing in the denominator again G of a is zero so this is okay and lo and behold I know what these limits are this is fime of a / G Prime of a so that's it that's the technique and this evaluates the limit and it's not so difficult the formula is pretty straightforward here and it works provided that g Prime of a is not zero Yeah question this work in more of an intuitive sense that that the limits can be found using their der I just don't really understand I see the this proof of it is there a more intuitive way to understand uh the question is is there a more intuitive way of understanding this this uh procedure and I think uh the the only I I can't the answer the short answer is that there are other similar ways I don't consider them to be more intuitive uh I will be mentioning one of them which is the idea of linearization which goes back to what we did in unit 2 uh if that if that's I mean I think it's very important to understand all of these more or less at once but I don't I wouldn't claim that any of these methods is more intuitive one than the other all right but basically what's happening is we're looking at the linear approximation to F at a and the linear approximation to G at a that's what underlies this all right so now I get to formulate for you lal's rule at least in the what's what I will call the easy version or if you like version one so here's lal's role um version one it's not going to be quite the same as what we just did it's going to be much much better and more useful all right and what it's going to take care of is this problem that the denominator is not zero all right so now here's what we're going to do we're going to say that it turns out that the limit as X goes to a of f ofx / G ofx is equal to the Limit as X goes to a of frime of x / G Prime of X now that looks practically the same as what we said before I have to make sure that I that you understand when it works so it works provided uh this this is one of these undefined uh expressions in other words F of a is equal to G of a is equal to zero so we're having we have a z over Z expression in determinant and also we need one more uh assumption and um the right hand side the right hand limit limit exists all right now this is practically the same thing as what I said over here namely I took the the the the ratio of these functions x 10us 1 and x^2 - 1 I took their derivatives which is what I did right here right I just differentiated them and I took the ratio this is way easier than the quotient Rule and is nothing like the quotient rule all right don't think quotient rule don't think quotient rule all right so we differentiate the the numerator and denominator separately and then I take the limit as X goes to one and I get five all right so that's what I'm claiming over here I take these functions I replace them with this ratio of derivatives and then I take the limit instead over here and it turned out that the functions got much simpler when I differentiated them I started with this messy object and I got this much easier object that I could easily evaluate right so that's the big gain that's happening here it works if this if this limit makes sense and this limit exists now notice I didn't claim that g that the denominator had to be nonzero so that's what's going to help us a little bit in a few examples well so let me give you a couple examples and then we'll go further this is only version one but first we have to understand how this one works so here's another example uh take the limit as X goes to 0 of sin 5x / sin 2x this is another kind of uh example of a a limit that we uh discussed in in the first part of the course unfortunately now we're reviewing stuff so this should reinforce what you did there this will be an easier way of thinking about it so by lal's rule so here's the the step we're going to take one of these steps this is the limit as as X goes to 1 of the derivatives here so that's 5 cosine 5x / 2 cosine 2X liit is oh whoops thank you it was the limit was one over there now it's zero a is zero in this case right this is the the number a thank you all right so the limit as X goes to zero is the same as the limit of the derivative and that's easy to evaluate cosine of 0 is 1 right this is equal to 5 * the cosine of 5 * 0 and this is that's a that's a multiplication sign there maybe I should just write this as zero divided by twice the cosine of 0o but you know that that's uh five halves all right so this is how lal's method works it's pretty painless I'm going to give you another example which shows that it works a little better than the method that I started out with here's what happens if we consider the function cine X - 1 / x^2 all right that was a little harder to deal with and again this is one of these 0 over Z things near x equals 0 as X tends to zero this goes to an indeterminant form here now according to our method this is this is equivalent to now I'm going to use this little wiggle because I don't want to write limit limit limit limit limit million times so I'm going to use a little wiggle here so as X goes to zero this is going to behave the same way as differentiating numerator denominator so again this is going to be minus sinx in the numerator in the denominator it's going to be 2x now notice that we've still haven't won yet because this is still of 0 over z type when you plug in x equals 0 you still get zero but that doesn't damage the method that doesn't make the method fail this is 0 over Z we can apply lal's rule a second time okay and as X goes to zero this is the same thing as again differentiating the numerator and denominator so here I get minus cine X in the numerator and I get two in the denominator again this is way easier than differentiating ratios of functions we're only differentiating the numerator and the denom minator separately and now uh it's it's this is the end as X goes to 0 this is minus cosine of 0 / 2 which is minus a half and that's the all right now the justification for this comes only when you win in the end and get the limit because what the theorem says is that if one of these limits exists then the preceding one exists and once the preceding one exists then the one before it exists so once we know that this one exists that works backwards it applies to the preceding limit which then applies to the to the very first one and The Logical structure here is a little subtle which is that if the right side exists then the left side will also exist Yeah question why does the right hand limit have ex isn't it just the derivative that has to exist um why does the right hand limit have to exist isn't it just the derivative that has to exist no the derivative of the numerator has to exist the derivative of the denominator has to exist and this limit has to exist the what doesn't have to Exist by the way I've never said that fpre of a has to exist in fact it's much much more subtle I'm not claiming that fime of a exists because in order to evaluate this limit fime of a need not exist exist what has to happen is that nearby for X not equal to a these things exist and then the limit has to exist so there's no requirement that the limits exist in fact that's exactly the going to be the point when we evaluate these limits here is is we don't have to evaluate it right at the end well so why must the right hand limit exists as opposed to any liit um so uh the question that you're asking is why is this the hypothesis of the theorem in other words why does this why does this work well the answer is that this is a theorem that's true if you drop this hypothesis it's totally false and if you don't have this hypothesis you can't use the theorem and and you will get the wrong answer I mean it's hard to to express it any further than that so look in many cases we we tell you formulas and in many cases it's so obvious when they're true that we don't have to worry about what we say all right and indeed there's something implicit here I'm saying well you know if I wrote this symbol down it must mean that the thing exists so that's a subtle point but what I'm emphasizing is that you don't need to know in advance that this one exists you do need to know in advance that that one exists essentially yeah so that's that's that's what that's the direction that it goes you you can't get away with with uh not having this exist and still have the statement be true all right all right yeah another question thank you doesn't exist or uh it's just that it's just that okay so so I'm getting a little ahead of myself but let me let me just say in these situations here when X is going to Z and X is going to Infinity for instance here when X goes to Z the logarithm is undefined at xals 0 nevertheless this theorem applies and we'll be able to use it over here as X goes to Infinity neither of these well actually come to think of it e to the minus X if you like it's equal to zero at Infinity if you want to say that it has a value but in fact you know these Expressions don't necessarily have values at the at the ends and nevertheless the the applies but you but you don't I mean it can exist it's it's perfectly okay for it to exist it's no problem it just doesn't need to exist doesn't forced to exist all right okay all right so here's uh uh a calculation which we just did and we evaluated this now I want to make a comparison with the method of approxim in the method of approximations this example two which was the example with the S function would be we would use the following uh property we would use S U as approximately U we would use that linear approximation and then what we would have here is that s of 5x / s of 2x is approx approximately 5x / 2x which is of course 5ves and this is true When U is approximately zero and this is true certainly as X goes to zero it's going to be a valid limit all right so that's very similar to example two in example three we managed to look at this expression cine X - 1 / x^2 and for this one you have to remember the approximation near xal 0 to to the cosine function and that's 1 - x^2 / 2 all right so that was the approximation the quadratic approximation to the cosine function and now sure enough this simplifies this becomes - x^2 / 2 / x^2 which is - a half so we get the same answer which is a good thing because both of these methods are valid they're they're consistent you can see that that that neither of them is particularly a lot longer you may have trouble remembering this property but uh in fact it's uh it's something that you can easily derive and indeed it's related to the second derivative of the cosine as is this calculation here they're almost the same uh amount of numerical content to them all right so now what I'd like to do is uh is explain to you why lal's rule works better in some cases and the real value that it has is in handling these other more exotic limits so let me just now we're going to do the ly tell rule over again and I'll handle these functions but I'll I'll I'll have to rewrite them but we'll just do that all right so here's the property that the limit as X goes to a of f ofx / G ofx is equal to the Limit as X goes to a of frime of X ID G Prime of X that's the property and this is what we'll always be using very convenient thing and it remember it was true provided that F of a was equal to G of a was equal to zero and that the right hand side exists all right but I claim that it works better and I'll get rid of these but I'll I'll write them again to show you that those it works for these so there are other cases and the other cases that are allowed are this first of all as indicated by what I just erased you can allow a to be equal to plus or minus infinity it's also okay all right so you can take the limit uh going to the far ends of the universe both left and right and then the other thing that you can do is you can allow F of A and G of a to be plus or minus infinity is okay all right so now the point is that we can handle not just the Z over zero case but also the Infinity over Infinity case all right that's a very powerful tool and quite different from the other cases and the third thing is that the right hand side doesn't really quite have to exist in the ordinary sense or it could be plus or minus infinity that's also okay that's still information so if we can see where it goes then we're still good all right if it goes to plus infinity if it goes to zero if it goes to a finite number if it goes to minus infinity all of that will be okay it's just if it oscillates wildly that we'll be lost and those uh calculations will never encounter so this basically handles everything that you could possibly hope for and it's a very convenient process so let me let me carry out a few examples and let's see I guess the first one that I wanted to do was X log X right so what what example are we up to example three so example four is coming up example four this is one of the ones that I wrote at the beginning of the lecture X log X this one was on a homework problem in the in the limits of uh some uh calculation but okay so this one you have to look at it first to think about what it's doing it's an indeterminant form but it sort of looks like it's the wrong type so why is in an indeterminate form this one goes to zero and this one goes to minus infinity so excuse me this is a product it's 0 times minus infinity so that's an indeterminate form because we don't know whether the zero wins or the infinity wins this could be getting smaller and smaller and smaller and this getting bigger and bigger and bigger than the product could be anything in between we just don't know so the first step is to write this as a ratio of things rather than a product of things and it turns out that the way to do that is to use the logarithm in the numerator and the 1 /x in the denominator so this is a choice that I'm making here now I've just converted it to a limit of the type minus infinity / infinity because the numerator is going to minus infinity as X goes to 0 plus and the denominator 1 /x is going to plus infinity again there's a competition but now it's one of the forms to which lal's rule applies and now I'm just going to apply lal's Rule and what it says is that I differentiate here so I just differentiated numerator and denominator applying lel's rule is right you just differentiate differentiate and now it just simplifies and we're done this is the limit as X goes to 0 plus of well the X s's cancel this is the same as just minus x x sorry X factors cancel and so that's zero the answer is that it's zero right so X goes to zero faster than log n goes to uh minus infinity this zero was the winner something you can't necessarily predict in advance all right let's do the other uh two examples that I wrote down I'm going to do them in slightly more generality because they're the most fundamental uh Rate Property that you're going to need to know for the next section which is improper integrals and also they're just very important as for physical math and any any other kind of thing basically so here we'll let's just do these so let's see which one do I want to do first uh so I wrote down the limit of x e to the x e to Theus X but I'm going to make it even more General I'm going to make it any negative power here where p is some positive con constant now again this is a product of functions not a quotient a Rao of functions and so I need to rewrite it and I'm going to write it as x / e to PX and now I'm going to apply well so it's of this form Infinity over infinity so we're okay okay with that and now that's the same as the limit as X goes to Infinity of 1 / p e to PX so where does that go as X goes to Infinity now we can decide the one stays where it is and this as X goes to Infinity goes to goes to Infinity all right so the answer is zero and the conclusion is that um X grows more slowly than e to the PX as X goes to Infinity remember p is positive here of course it's the increasing exponentials not the decreasing ones all right let's do a variant of this I'll do it the the opposite way so this is I'm going to call this example five prime it really doesn't give us any more information but it gives you just a little bit more practice so suppose I look at things the other way x uh e to the PX / by x to the 100 power all right now this is an Infinity over infinity example again and you can work out what it's doing but there are two ways of thinking about this there's the slow way and the fast way the slow way is to differentiate this uh 100 times that is right apply lal's rule over and over and over over over again all the way down it's clear that you could do it but it's kind of a nuisance so there's a much clever trick here which is to change this to the Limit as X goes to Infinity of the e^ PX / 100 /x to the 100th power all right so if you do that then we just have one lital rule step here and that one is that this is the same as um as X goes to Infinity of well it's p over 100 e to the p x over 100 / 1 all to the 100th power all right that's our lital step and of course that's Infinity over one right to the 100th power which is infinity now again I did this in a slightly different way to show you that it works with infinity as well so that was this other case the right hand side can exist or it can be plus or minus infinity and that applies to this limit and therefore to the original limit and the conclusion here is that e to the PX P greater than Z grows faster than any power of X I picked x to the 100 but obviously it didn't matter what power I picked the exponentials beat all the powers all right so we have one more of the ones that I gave at the beginning to take care of and that one is the logarithm and it's Behavior at Infinity so I'll do a slightly a slight variant on that one too so we have example six which is log X and I'm instead of dividing by X I'm going to divide by x to the 1/3 I could divide by any positive power of X we'll just do this example here so now this as X goes to uh infinity is uh of the form Infinity divided infinity and so it's equivalent to what happens when I differentiate numerator and denominator separately and that's 1/x and here I have A3 x to the - 23 all right 1/x and then 1/3 x- 2/3 now when the dust settles here and you get your exponents right we have an X the minus1 and this is an X the + 2/3 and that's a 1/3 becomes a three so it's this is what it is all right and that's equal to 3 uh xus A3 which we can decide it goes to zero as X goes to Infinity all right and so the conclusion is that log X grows more slowly as X goes to Infinity than um X the 1/3 or any positive power of X okay so any x to the p p positive will work so log is really slow going to Infinity it's very very gradual Yeah question um the question is how many hypotheses do you need here so I said that that um and I I think what you were asking is if I have this hypothesis can I can I also have this hypothesis that's okay I can have this hypothesis combined with this one I I need something about F of A and G of a I can't assume nothing about F of A and G of a so in other words I have to be faced with either an Infinity over infinity or a 0 over Z situation so so let's see the the rule applies in the 0 over Z or Infinity over Infinity case these are the only two cases that it applies in okay and X can be a can be anything including infinity plus or minus infinity okay the rule applies in this in these two cases so in other words this is the this is what F of a over G of a is either one of these and in fact it can be plus or minus and the right hand side has to be something it has to be either finite or plus or minus infinity okay so you you you need something you need a specific value of a you need to decide whether it's an inder form and you need the right hand limit to exist it it's not hard to to impose this the because when you look at the right hand side you'll want to be calculating it so you'll want to know what it is so you'll never never have problems confirming this hypothesis okay all right I need to uh well let let me give you let me give you one more uh example here which is just slightly trickier which involves um so here's another indeterminate form that's going to be 0 to the zero power so I mean there there lots of these things where you just don't know what to do and they come out in various different ways now the simplest example of this is the limit as X Goes To Zero from above of x to the X all right now in order to to work out what's happening with this one we have to use a trick and the trick is that this is a moving exponent and so it's appropriate to use base e this is something that we did way back in the first unit so since this we have a moving exponent we're going to use base e that's the good base to use whenever you have a moving exponent and so we rewrite this as X to X is equal to e to X log X and now in order to figure out what's happening we really only have to know what's going on with the exponent all right so remember actually we already did this but I'm going to do it once more for you this is log X over 1X and that's equivalent as X goes to zero to using lal's rule to 1 /x and this is - 1x^2 which is min - x which goes to zero as X goes to zero and so what we have here is that this one is going to be equivalent to um well it's going to tend to what we got over here it's e to the zero right that exponent is what we want as X goes to zero all right so that's the answer this limit happens to be one it's actually relatively easy to do given all of the power that we have at our hands now all right now let me give you one more example suppose you're trying to understand the limit of sinx over x^2 if you apply lal's rule as X goes to zero you're going to get cine x/ 2X and if you apply lal's rule again as X goes to zero you're going to get minus sinx over two and this as X goes to zero goes to zero right on the other hand if you look at the linear approximation method the linear approximation says that sinx is approximately X near zero right so that should be X over X2 which is 1 /x which goes to Infinity as X goes to zero at least from one side minus infinity the other side so there's something fishy going on here all right so this is fishy or maybe this is fishy I don't know so tell me what what what's wrong here yeah that your your second L tal wasn't applied correctly because cosine x/ 2X isn't indeterminant as X approaches zero because cosine X is just one okay all right so the statement the claim is that the second application of lal's rule this one is wrong okay and that's correct and this is where you have to watch out with lal's rule this is exactly where you have to let out you have to apply the test here it's an indeterminate form it's 0 over Z before I applied the rule but in order to apply the rule the second time it still has to be 0 over 0 but this one isn't this one is 1/ Z all right it's no longer an indeterminate form it's actually infinite either plus or minus depending on the sign of the denominator which is just what this answer is so so the linear approximation is safe and we just applied lal's rule wrong all right so the moral of the story here is look before you all right now let me say one more thing I I need to pile it on just a little bit sorry uh I I I I don't so so don't don't use don't use it a as a crutch okay that's right we we don't want to just get ourselves so weak after being in the hospital for all this time that we can't use I'm sorry um so remember remember that you shouldn't have lost your senses if you have something like this so we'll do this one here all right suppose you're trying to understand what this does as X goes to Infinity now you could apply lal's rule five times or four times and get the answer here all right but really you should realize that the main terms are sitting there right in front of you and that there's some algebra that you can do to simplify this namely it's the same as 1 + 2 overx + 1X 5th power all right and then in the denominator well let's see uh it's uh X so this would be dividing by 1/x to 5th in both numerator and denominator and here you have um 1 /x + 2 over sorry I overshot but that's okay 2 overx 5th here so these are the main terms if you like and it's the same as 1 over 1/x which is the same as X and it goes to Infinity as X goes to infinity or if you like much more simply just X 5th x 4th is the main term which is X which goes to Infinity so don't forget your basic algebra when you're when you're doing this kind of stuff use these things and don't use lal's rule okay see you next time

Seek backward 5s ←
Longer seek (10s) Shift ←
Play Space Seek forward 5s →
Longer seek (10s) Shift →
0:00 Auto-scroll A Copy link at current time S

Lec 35 | MIT 18.01 Single Variable Calculus, Fall 2007