Transcript

The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high-quality educational resources for free. To make a donation or to view additional materials from hundreds of MIT courses, visit MIT OpenCourseWare at ocw.mit.edu. Now, today we're continuing with this last unit, unit five continued. The informal title of this unit is dealing with with infinity. That's really the the extra little piece that we're putting in to our discussions of things like limits and integrals. To start out with today, I'd like to recall for you L'Hôpital's rule.

And in keeping with the spirit here, we're just going to do the infinity divided by infinity case. I stated this a little differently last time, and I want to state it again today, uh just to make clear what the hypotheses are and what the conclusion is. We start out with really three hypotheses. Two of them are kind of obvious. The The three hypotheses are that f of x tends to infinity, g of x tends to infinity. that's what it means to be in this infinity over infinity case. And then the last assumption is that f prime of x divided by g prime of x tends to a limit l. And this is all as x tends to some a, some limit a.

All right? And then the conclusion is that f of x divided by g of x also tends to l as x goes to a. All right? Now, so that's the way it is. So it's it's three limits, but presumably these are obvious and this one is exactly what we were going to check anyway. Uh gives us gives us this this one limit. All right? So that's the statement. And then the other little interesting point here, which is consistent with this idea of dealing with infinity, is that uh a equals plus or minus infinity and l equals plus or minus infinity are okay. That is the numbers capital l, the limit capital l, and the number a can also be infinite.

Now, in recitation yesterday, you should have discussed something about rates of growth, which follow from what I said in lecture last time and also maybe from some more detailed discussions that you had in recitation. And I'm going to introduce a notation to compare functions. Namely, we say that f of x is a lot less than g of x if So this means that the limit as F of as it goes to infinity this tends to zero, all right? As X goes to infinity in this way. As X goes to infinity. All right, so this is a notation, a new notation for us. F is a lot less than G. And it's meant to be read only asymptotically.

It's only in the limit as X goes to infinity that this happens. And implicitly here I'm always assuming that these are positive quantities. F and G are positive. What you saw in recitation was that you can make a systematic comparison of all the standard functions that we know about. For example, the log function goes to infinity but a lot more slowly than X to a power. A lot more slowly than e to the X, a lot more slowly than say e to the X squared. All right, so this one is slow. This one is moderate. And this one is fast. And this one is very fast. Going to infinity. Right, tends to infinity and this is of course as X goes to infinity.

All of them go to infinity but at but but quite different rates. And analogous to this and today we're going to be doing this uh needing to to do this uh quite a bit is rates of decay, which are more or less the opposite of rates of growth. So, rates of decay are rates at which things tend to zero. So, the rate of decay And for that I'm just going to take reciprocals of these numbers. So, 1 over log X tends to zero but rather slowly. It's much bigger than 1 over X to the power P. Oh, I didn't mention that this exponent P is meant to be positive. That's a convention that I using without saying.

I should have told you that. So, think X to the 1/2, X X to the first power, X squared. They're all in this sort of moderate intermediate range. And then that in turn is goes to zero, but much more slowly than um 1 over e to the X, also known as e to the minus X. And that in turn Well, this guy here goes to zero incredibly fast. All right? e to the minus X squared vanishes really, really fast. All right, so this is a review of the L'Hopital's rule, what we said last time, and the application of it, which is to rates of growth and tells us uh what these rates of growth are. Today, I want to talk about improper integrals.

And improper integrals, we've already really seen one or two of them on your exercises, and we mentioned them a little bit briefly. I'm just going to go through them more carefully, more systematically now, and we want to get just exactly what's going on with these rates of decay and their relationship with improper integrals. So, I need to to understand for you to understand on the spectrum of the range of functions like this, which ones are are suitable for um integration as X goes to infinity. All right, let's start out with the definition. The integral from A to infinity of f of x dx is by definition the limit as n goes to infinity of the ordinary definite integral up to some fixed finite level.

Well, that's the definition. And there's a word that we use here which is that we say the integral So, this is terminology for it. Converges uh if the limit exists. And diverges if not. Well, these are the the key words for today. So, here's the issue that we're going to be addressing, which is whether the limit exists or not. In other words, whether the integral converges or diverges. These notions have a geometric analog, which you should always be thinking of at the same time in the back of your head. I'll draw a picture of the function. Here it's starting out at A. And maybe it's going down like this.

And it's uh interpreting it geometrically, this would only work if f is positive. Then the the convergent case is the case where the area um is finite. So, the total area is finite under this under this curve. And the other case is the total area is infinite. Now, I I claim that both of these things are possible. Although this thing goes on forever, right? If you If you stop at at one stage n, then of course it's a finite number. But as you go further and further and further, there's more and more and more area. And there are two possibilities. Either as you go all the way out here to infinity, the total that you get is adds up to a finite total, or else maybe there's infinitely much.

For instance, if it's a straight line going across, there's clearly infinitely much area underneath. All right. So, we need to do a bunch of examples, and that's really our main job for the day and and and to make sure that we know exactly what to expect in all cases. The first example is the integral from zero to infinity of e to the minus kx dx, where k is going to be some positive number, some positive constant. This is like the most fundamental by far of the definite integrals. Now, in order to improper integrals. Now, in order to handle this, the thing that I need to do is to check the integral from zero to up to n.

e to the minus kx dx. And since this is an easy integral to evaluate, we're going to do it. It's minus one over k e to the minus kx, that's the antiderivative, evaluated at zero and n. And that, if I plug in these values, is um um minus one over k e to the -k capital N minus and if I evaluate it at zero, I get a -1/k * e to the zero. All right? So, there's the answer and now we have to think about what happens as N goes to infinity. So, as N goes to infinity, what's happening is the the second term here stays uh unchanged, but the first term is e to some negative power and the exponent is getting larger and larger.

That's because K is positive here. You've definitely got to pay attention even though I'm doing this with general variables here. You've got to pay attention to signs of things because otherwise you'll you'll always get the wrong answer. So, you have to pay very close attention here. So, this is if you like e to the minus infinity in the limit, which is zero. And so, in the limit this thing tends to tends to zero and this thing is just equal to 1/k. And so, all told the answer is 1/k. And that's it. Now, we're going to abbreviate this a little bit. This thought process you're going to have to go through every single time you do this, but after a while you also get a good enough at it that you can make it a little bit less cluttered.

So, let me show you a shorthand for the same for this for this same calculation. Namely, I write zero to infinity e to the minus kx dx and that's equal to -1/k e to the -kx zero to infinity. All right? Uh-huh. That was cute. Not small enough, however. Okay. Well. All right. So. So, here we are. We have the same calculations we had before, but now we're thinking really in our minds that this infinity is some very, very enormous number. And we're going to plug it in. And you can either do this in your head or not. You say minus one over K e to the minus infinity. Here's where I've used the fact that K is positive because e to the minus K times a large number is minus infinity.

And then here uh plus one over K, right? Minus a minus one over K. Let me write it the same way I did before. All right? And that's just equal to uh zero plus one over K, which is what we wanted. All right. So, this is the same calculation, just slightly abbreviated. Yeah, question. If the limit converges and the limit exists, does that also include the absolute value of the limit also Good question. Right. The question is what about the case when the limit is infinity? Um I uh I'm distinguishing between something existing and its limit being infinity here. Whenever whenever I make a discussion uh of of limits, I say a finite limit or in this case it works for infinite limits.

So, in other words, I when I say exists, I mean fine exists and is finite. All right? So, here when I say that it converges and I say the limit exists, what I mean is that it's a finite number. And so, that's indeed what I said here, the total area is finite. And similarly over here. I I might add, however, that there is another part of this subject which I'm skipping entirely, which is a little bit subtle, which is the following. If F changes sign, there can be some cancellation and oscillation. And then sometimes the limit exists, but the total area, if you counted it all positively, is actually still infinite.

And we're we're we're going to avoid that case. We're not going to We're just going to treat these positive cases. So, so don't worry about that for now. That's That's the next layer of complexity, which we're not addressing in this class. Another question. I was just wondering would you be okay with us plugging in infinity as the stuff? The question is would this be okay on test? The answer is absolutely yes. I want to encourage you to do this if you can think about it correctly. The subtle point is just you have to plug in infinity correctly. Namely, you have to realize that if that it only this only works if K is positive.

This is the step where you're plugging in infinity, and I'm letting you put this infinity up here as a as a as an endpoint value. So, that's the That's In fact, that's exactly the theme. Right? The theme is dealing with infinity here. And I want you to be able to deal with it. That's That's my goal. Yes. Okay, so another question is So, let's be sure here when the limit exists, I say it has to be finite. It can be It That means it's finite, not infinite. Okay? The limit can be zero. It can also be negative one. It can be anything. It doesn't have to be uh a positive number. All right. Other questions?

All right. So, we've had our first example, and now I just want to add one uh one physical interpretation here. This is of example one if you like. And this is something that was on your problem set. Remember that we talked about the probability or the number if you like the number of particles on average um that decay uh in some radioactive substance. Say in time between zero and some capital T. All right? And then that would be this integral zero to capital T some total quantity times this integral here. This is the typical kind of radioactive decay uh uh number that one gets. Now in the limit so this is some number of particles.

If the substance is radioactive then in the limit we have this which is equal to the total number of particles. And that's a something that's going to be important for normalizing and understanding you know what how much does the whole substance how many moles do we have of this stuff? Uh what what is it? And so this is a number that it's going to come up. Now I emphasize that this notion of T going to infinity is just an idealization. We don't really believe that we're going to wait forever for this substance to decay. Nevertheless, as theorists, we write down this quantity and we use it all the time.

Furthermore, there's a other good reasons for using it and why physicists accepted immediately even though it's not really completely physically realistic ever to let time go very very far into the future. And the reason is, if you notice this answer here, look at how much simpler this number is, 1 over K, than the numbers that I got in the intermediate stages here. These are all ugly. The limits are simple. And this is a theme that that I I've been trying to emphasize all semester, namely that the infinitesimal, the things that you get when you do differentiation, are the easier formulas, the algebraic ones, the things in the process of getting to the limit are the ugly ones.

These are the easy ones, these are the hard ones. So, in fact, infinity is basically easier than any finite number. And a lot of appealing formulas come from those kinds of calculations. Another question. Shouldn't the answer to that not involve K? Shouldn't it just be A because the total number of the initial number of particles would be A, right? The question is, shouldn't the answer be A? Well, the answer turns out to be A divided by K. Right? Which means that when you set up your arithmetic and you model this to a collection of particles. So, you said it should be A. But that's because you said you made an assumption, which was that A was the total number of particles.

But that's just false, right? This is the total number of particles. So, therefore, if you want to set it up, you want to set up so that this number is the total number of particles. Right? And And that's how you set up a model is you do all the calculations and you see what it's coming out to be. And that's why you need to do this kind of calculation. Right? Yeah. Okay. So, the main thing is I mean, you shouldn't make assumptions about models. You have to follow what the calculations tell you. They don't They're not lying. All right? Okay. So, now We We We carried this out. There's one other example which we talked about uh earlier in the class and I just wanted to mention it again.

It's probably the most famous uh after this one. Namely, the integral from minus infinity to infinity of e to the minus x squared dx, which turns out amazingly to be able to be evaluated and turns out to be the square root of pi. So, this one is also great. This is the one the the constant which allows you to um compute all kinds of things in probability. So, this is a a key uh number in probability. It basically uh is the key to understanding things like standard deviation and basically any other thing in this in the subject of probability. It's also what's driving these polls that tell you, you know, within 4% accuracy, we know that uh people are going to vote this way or that.

So, in order to interpret all of those kinds of things, you need to know this number. And this number was only calculated numerically starting in the 1700s or so by people who uh well, actually by one guy whose name was De Moivre who was selling uh his services to various royalty who were running lotteries. In those days, they ran lotteries, too. And so, he wanted to he was able to tell them what the chances were of the various games. And he worked out this number. He realized that this was the pattern. Although, he didn't know that it was the square root of pi, he knew it to sufficient accuracy that he could tell them the correct answer to how much money their their lotteries would make.

And of course, we do this nowadays, too. In all kinds of ways, including slightly more legit businesses like insurance. Okay. So. All right. So, now, I'm going to give you some more examples. And and the other examples are much more close to the edge between infinite and finite. This this distinction between convergence and divergence. And let let me just maybe I'll say one more word about why we care about this very gross issue of whether something is finite or infinite. When you're when you're talking about something like this normal curve here, there's there's an issue there's an issue of how far out you have to go before you can ignore the rest.

So, we're going to ignore what's called the tail here. Somehow, you want to know that this is negligible. You want to know how negligible it is. And this is the job of a mathematician is to know what finite region you have to consider and which one you're going to carefully calculate numerically. And then, the rest you're going to have to take care of by some theoretical reasoning. You're going to have to know that these tails are small enough that they don't matter in your finite calculation. And so, we care very much about the tails because they're the only thing that the machine won't tell us.

So that's the part that we have to know. And these tails are also something which are discussed all the time in financial mathematics. They're very worried about fat tails, that is unlikely events that nevertheless happen sometimes, and they get burned fairly regularly with them as they have recently with the uh um mortgage scandal. So, you know, these things are pretty serious and they really are spending a lot of time on them. Of course, there are lots of other practical issues besides just the mathematics, but you've got to get the math right, too. All right. So, we're going to now talk about some borderline cases for these fat tails.

Just how fat do they have to be before they become infinite and overwhelm the central bump? So we'll save this for just a second. And what I'm saving up here is the borderline case which I'm going to concentrate on, which is this moderate rate, which is x to powers. Here's our our next example. I guess we'll call this example three. It's the integral from 1 to infinity dx over x. That's the power p equals 1. This turns out to be a borderline case. So it's worth carrying out carefully. Now again, I'm going to do it by this by the slower method rather than the shorthand method, but ultimately you can do it by the the short method if you'd like.

I break it up into a an integral that goes up to some large number n. I see that it's the logarithm function is the antiderivative. And so what I get is log n minus logs of 1, which is just zero. So this is just log n. In any case, it tends to infinity as n goes to infinity. So, the conclusion is, since the limit is infinite, that this thing diverges. Now, I'm going to do this systematically now with all powers p to see what happens. I'll look at the integral. Sorry, I'm going to have to start at one here. From one to infinity, dx over x to the pth power and see what happens with these. And you'll see that p equals one is a borderline when I do this calculation.

This time I'm going to do the calculation the hard way, but now you're going to have to think and pay attention to see what it is that I'm doing. First of all, I'm going to take the antiderivative, and that's x This is x to the minus p, so it's minus p plus one divided by minus p plus one. That's the antiderivative of the function x to the uh one over x to the p or x to the minus p. And then I have to evaluate that at one and infinity. So, now I'll write this down, but I'm going to be particularly careful here. I'll write it down. It's It's infinity to the minus p plus one over minus p plus one minus So, I plug in one here, so I get one over minus p plus one.

All right. So, this is what I'm getting. Again, what you should be thinking here is this is a very large number to this power. Now, there are two cases. There are two cases. And they exactly split at P equals 1. When P equals 1, this number is 0. This exponent is 0. And in fact, this expression doesn't make any sense because the denominator is also 0. But for all of the other values, the denominator makes sense. But what's going on is that this is infinite when this exponent is infinity to a positive power, and it's zero when it's infinity to a negative power. All right? So, I'm going to say it here, and you must check this at home because this is exactly what I'm going to ask you about on the exam.

All right? This is it. This type of thing, maybe with a specific value of P here. When P is less than 1, this thing is infinite. On the other hand, when P is greater than 1, this thing is zero. So, when P is greater than 1, this thing is zero. It's just equal to zero. And so, the answer is 1 over P minus 1. Because that's this number minus the quantity 1 over minus P plus 1. All right? This is a finite number here. Notice that the answer would be weird if this thing went away in the uh in the P less than 1 case. Then it would be a negative number. Be a very strange answer to this question. So, in fact, that's not what happens.

What happens is that that the answer doesn't make sense. It's infinite. So, let me just write this down again under here. This is a test in a particular case. And here's the conclusion. Uh Now, I'm sorry. I think I was going to write it over on this board here. So, the conclusion is that the integral from 1 to infinity dx over x to the p diverges if p is less than or equal to 1. And converges if p is greater than 1. And in fact, we can actually evaluate it. It's equal to 1 over p minus 1. It's got a nice clean formula even. All right. Now, let me remind you. So, I didn't spell the word diverges right.

Did I? Oh, no. That's an r. I guess that's right. Okay. Diverges if p is less than or equal to 1. So, really I needed both of these arguments which are sitting above it in order to do it because the second argument all didn't work at all when p was equal to 1 because the formula for the antiderivative is wrong. The formula for the antiderivative is given by the log function when p is equal to 1. So, I had to do this calculation, too. This is the borderline case between p bigger than 1 and p less than 1. When p was bigger than 1, we got convergence. We could calculate the integral. When p was strictly less than 1, we got divergence and we calculated the integral over there.

And here in the borderline case, we got a logarithm. And we also got divergence. So, it failed at the edge. Now, this takes care of all the powers. All right. Now, there are a number of different things that one can deduce from this. And let me carry them out. So, this is more or less the second thing that you'll want to do. And I'm going to emphasize maybe one aspect of it. I guess we'll get rid of this. But, it's still the issue that we're discussing here. Is whether these this area is fat or thin. I'll remind you of that. So, here's the next idea. Something called limit comparison. Limit comparison is what you're going to use when instead of being able to actually to calculate the number, you don't yet know what the number is, but you can make a comparison to something whose convergence properties you already understand.

Well, here's the statement. If a function f is similar to a function asymptotically the same as a function g as x goes to infinity, I'll remind you what that means in a second. Then the integral starting at some point out to infinity of f of x dx and the other one um converge and diverge at the same time. So, both either e- either, sorry, either let's try it the other way. Either both either both converge or both diverge. They behave exactly the same way in terms of whether they're infinite or not. And let me remind you what this what this tilde means. Um this thing means that f of x divided by g of x tends to 1.

So, if you have a couple of functions like that then their behavior is the same. This is more or less obvious is just because um far enough out this is for large A if you like. We're not paying any attention to what happens. It just has to do with the tail and after a while f of x and g of x are comparable to each other so their integrals are comparable to each other. All right, so let's just do a couple of examples here. If you take the integral from 0 to infinity dx over the square root of x squared plus 10 then I claim that the square root of x squared plus 10 resembles the square root of x squared which is just x.

So, this thing is going to be like So, now I'm going to have to do one thing to you here which is I'm going to change this to 1 to infinity. dx over x And the reason is that this x equals zero is extraneous. It doesn't have anything to do with what's going on with this problem. Um this guy here the piece of it from So So we're going to ignore the part integral from zero to one dx over square root of x squared plus 10 which is finite anyway. And unimportant. Whereas unfortunately the integral of dx will have a singularity at x equals zero. So we can't make the comparison there. All right? Anyway, this one is infinite.

So this is divergent. All right, using using uh what I what I knew from before. All right? Yeah. Um the question is um What did Why did we switch from zero to one? So uh I'm going to I'm going to say a little bit more about that later, but let me just make it a warning here. Which is that this guy here is infinite for other reasons. unrelated reasons The comparison that we are trying to make is with the tail as x goes to infinity. So another way of saying this is that I should stick an A here and an A here and get stay away from zero. So say Say A equals one. If I make these both one that would be okay.

If I make them both two, that would be okay. If I make them both 100, that would be okay. So, let's leave it as 100 right now, and it's acceptable. I want you to stay away from the origin here because that's another bad point. And just talk about what's happening with the tail. All right? So, this is a tail And we I also had a different name for it up top, which is emphasizing this, which is limit comparison. It's only what's happening at the very end of the picture that we're interested in. So, again, this is this X goes to infinity. That's the limit we're talking about, the limiting behavior.

And we try not to pay attention to what's happening for small values of X. So, if I if I to be consistent, if I'm going to do it up to 100, I'm ignoring what's happening up to the first 100 values. All right, in any case, this guy diverged. And let me give you another example. This one you could have computed. This one you could have computed, right? Because it's um uh it's a quadratic square root of quadratic, so there's a trig substitution that evaluates this one. The The advantage of this limit comparison method is it makes no difference whether you can compute the thing or not. You can still decide whether it's finite or infinite fairly easily.

So, let me give you an example of that. So, here we have another example. We'll take the integral uh dx square root of x cubed plus three, let's say for the sake of argument. All right, from zero to infinity. Uh let's let's let's leave off. Let's make it 10 to infinity, whatever. All right? Now, this one is problematic for you, uh you're not going to be able to evaluate it, I promise. So, on the other hand, one over the square root of x cubed plus three is similar to one over the square root of x cubed, which is one over x to the three halves. So, this thing is going to resemble this integral here, which is convergent according to our rule.

All right. So, those are the um more or less the the main ingredients. Let me just mention one other integral which was the one that we had over here, this one here. Uh if you if you look at this integral, of course, we can compute it, so we know the area is finite, but uh the way that you would actually carry this out, if you just if you didn't know the number, and you wanted to check that this integral were finite, then you would make the following comparison. This one is not so difficult. First of all, you would write it as twice the integral from zero to infinity of e to the minus x squared dx.

So, I'm going to This is a new example here. So, and we're just checking for convergence only. Not evaluation. And now, I'm going to make a comparison here. Rather than a limit comparison, I'm actually just going to make an ordinary comparison. That's because this thing vanishes so fast. It's so favorable that we can only put something on top of it. We can't get something underneath it that exactly balances with it. In other words, this wiggle was something which had the same growth rate as the function involved. This thing just vanishes incredibly fast. It's great. It's too good for us for this comparison.

So, instead what I'm going to make is is the following comparison. E to the minus X squared is less than or equal to E to the minus X. At least for X bigger than or equal to one, right? When X is bigger than or equal to one, then X squared is bigger than or equal to X. And so, minus X squared is less than minus X. And so, E to the minus X squared is less than this. So, this is the the reasoning involved. And so, what we have here is two pieces. We have two the integral from zero to one of E to the minus X squared. That's just a finite part. And then, we have this other part which I'm going to replace with the E to the minus X here.

Two times one to infinity E to the minus X DX. All right. So, so I'm This is If you like, this is ordinary comparison of integrals. It's something that we did way at the beginning of the class or much earlier on when we were dealing with integrals, which is that if you have a larger integrand, then the the integral is is is is gets larger. So, we've replaced the integral. We've got the same integrand on 0 to 1, and then we have a larger integrand on So, this one is larger integrand over here, and this one we know is finite. All right, this one is a convergent integral. So, the whole business is convergent.

So, this is But, of course, we replace it by a much larger thing, so we're not getting the right number out of this. We're just showing that it converges. All right, so these are the the main ingredients. As as I say, once the thing gets really, really fast decaying, it's relatively straightforward. But, there's there's lots of room to show that it converges. All right. Now, there's one last item of business here, which I have to promise you, which is which is a uh which I promised you, which had to do with dealing with this with this bottom piece here. Okay? So, I I I have to deal with what happens when there's this when there's a singularity.

This is known as an improper integral of the second type. And the idea the of these examples is the following. Uh you might have something like this. Something like this. Uh or something like this. All right? These are typical sorts of examples. And uh before actually describing what happens, I just want to mention So, first of all, the key point here is you can just calculate these things and plug in zero and it works and you'll get the right answer. All right? So, you'll determine you'll figure out that it turns out that this one will converge, this one will diverge, and this one will diverge.

That's what will turn out to happen. However, I want to warn you that you that you can fool yourself. And so, let me give you a slightly different example. Let's consider this integral here. All right? The integral from minus one to one dx over x squared. If you carry out this integral without thinking, what will happen is you'll get the antiderivative, which is minus x to the minus one, evaluated at minus one and one. And you plug it in. Okay? And what do you get? You get minus one one to the power minus one minus Uh-oh. Minus minus one to the minus one. It's a lot of minus ones in this problem.

Okay. So, that's minus one. And this one, if you work it all out, as I sometimes don't get the signs right, but I but at this time I really paid attention. All right? It's minus one. I'm telling you that's what it is. All right? So, that comes out to be minus two. Now, this is ridiculous. This function here this function here is looks like this. Okay? It's positive, right? 1 over x squared is positive. How exactly is it that the area between minus one and one came out to be a negative number? All right? That can't be. There was clearly something wrong with this, and this is the kind of thing that you will get regularly if you don't pay attention to convergence of integrals.

So, what's going on here is actually that this area in here is infinite. And this calculation that I made is nonsense. All right? So, it doesn't work. This is wrong because it's divergent. Actually, when you get to imaginary numbers, it'll turn out that there's a way of rescuing it, but that's but still it means something totally different when that integral is thought to be minus two. So, what I want you to do here So, I think we'll have to finish this up very briefly. Next time, we'll do these three calculations, and you'll see that these two guys are diverging. Divergent. And this one converges.

And we'll do that next time.