Transcript

Use with ChatGPT / Claude Auto-scroll A

1. Chapter 1 (0:00)

0:00 - 0:18
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 one correction from last time sorry to say I forgot a very important factor when I was telling you what an average value is if you if you don't put in that factor it's only half off on theuh exam problem that will be given on this so I would have gotten half off for missing out on this Factor too all right so remember you have to divide by n here certainly when you're integrating over 0to n the remon sum is the numerator here then if I divide by n on that side I've got to divide by n on the other side This was meant to illustrate this idea that we're dividing by thetotal here and we are going to be talking about average value uh in more detail uh not not today though all right so this has to do with average
value and we'll discuss it in considerable detail um in a couple of days I guess all right nowtoday I want to continue I didn't have time to finish my discussion of the um fundamental theorem of calculus 2 in anyway it's very important to write it down on the board twice because you want to see itat least twice many more times as well so let's just remind you the second version of the fundamental theorem of calculus says the following it says that the derivative of an integral gives you the function back again sohere's the here's the the theorem and the way I'd like to use it today I started this discussion last time but we didn't get uh into it and this is something that's on your problem set along with severalother examples is is that we can use this to solve differential equations and in particular for example um we can solve the equation Y Prime is equal to 1 /x with this formula namely uh using an integral L
of X is the integral from 1 to X of DT / T the function f of t uh is just 1 overt now that formula can be taken to be the starting place for uh the derivation of allthe properties of the logarithm function so what we're going to do right now is we're going to take this to be the

2. Chapter 2 (3:21)

definition of the
logarithm and if we do that then I claim that we can read off the properties of the logarithm just about as easily as we could before and so I'll illustrate that now and uh there are a few otherexamples of this where somewhat more unfamiliar functions come up this one is one with that in theory we we we know something about the first property of this function is the one that's already given namely its derivative is1 /x and we get a lot of information just out of the fact that its derivative is 1 /x the other thing that we need in order to nail down the function besides its derivative is one value ofthe function because it's really not defined uh specified by this equation only specified up to a constant by this equation but we nailed down that constant when we evaluate it at this one place L of one and there
we're getting the integral from 1 to one of DT / T which is zero and that's the case with all these definite integrals if you evaluate them at their starting places the value will be zero and together thesetwo properties specify this function L ofx
uniquely now the next step is to uh try to think about what its properties are and the first uh approach to that and this is the approach that we always take is to maybe graph the function to geta feeling for it and so I'm going to take the second derivative now notice that when you you have a function which is given as an integral its first derivative is really easy to compute and then its secondderivative well you have to differentiate whatever you get so it may or may not be easy but anyway it's a lot harder uh in the case when I start with a function to get to the second derivative hereit's relatively easy and these are the the properties that I'm going to use I won't really use very much more about it uh than that and qualitatively uh the conclusions that we can draw from this are first of
all from this for example we see that that this thing is concave down every place all right and then to get started with the graph since I see I have a value here which is L of one isequal to zero I'm going to throw in the value of the slope so L Prime of one which I know is one over one that's reading off from this equation here so that's one and now I'm ready tosketch at least a part of the curve so so here's a sketch of the

3. Chapter 3 (6:06)

graph here's the point uh 1 that is x = 1 yal 0 and the tangent line I know has slope one and the uh curve is concave down so it's going to look something like
this incidentally it's also increased and uh that's an important property it's strictly increasing that's because L Prime of X is is positive and so we can get from this the the following important definition which again is working backwardsfrom this definition we can get to where we started with the log in our previous discussion namely if I take the level here which is y = 1 then that crosses the axis some some place and this pointis what we're going to Define as e so the definition of
e is that it's the value such that L of e is equal to

4. Chapter 4 (7:19)

one and again the fact that there's exactly one such place just comes from the fact that this L Prime is positive so that L is increasing now there's one just one other feature of this graph that I'm goingto emphasize to you um there there's one other thing which I'm not going to check which you would ordinarily do with graphs once it's increasing there are no critical points so the only other interesting thing is the endsand it turns out that the limit as you go down to zero is minus infinity as you go over to the right here it's plus infinity it does get arbitrarily High it doesn't level off but I'm not goingto discuss that here instead I'm going to just remark on one qualitative feature of the graph which is this remark that the part which is to the left of one is below zero so I just want to remark
why is L of x negativefor uh X less than one maybe don't have room for that so I'll just put in here x less than one and I want to give you two reasons again we're only working from very first principles here justthat the property that l Prime is 1 /x and L of one is zero so our first reason is that well I just said it um L of one is zero and L is increasing if you read thatbackwards if it gets up to zero here it must have been negative before zero all right so this is one way of seeing that L of X is negative there's a second way of seeing see it which isequally important and it has to do with just manipulation of integrals here I'm going to start out with L of X and its definition which is the integral from 1 to X DT / T and now I'm going
to reverse the order of integration this is the Same by our definition of our properties of integrals as the integral from X to 1 with a minus sign DT / T all right now I can tell that thisquantity is negative and the reason that I can tell is that this chunk of it here this piece of it is is a positive number right this part is positive and this part is positive because X is lessthan one so the lower limit is less than the upper limit and so this is interpreted the thing in the green box is interpreted as an area it's an area and so negative a positive quantity is is isuh negative minus a positive quantity isnegative all right so both of these work perfectly well uh as uh interpretations and and it's just to illustrate what we can do now there's one more manipulation of integrals that gives us the fanciest property of the log
and that's the last one that I'm going to do and you have a similar thing on your homework so I'm going to prove that this is as I say the fanciest property of the log on your homework bythe way you're going to check that L of 1 /x is equal to minus L of X but we'll do this
one the idea is just to plug in the formula and see what it gives on the left hand side I have 1 to AB DT over T that's L of a Ab and then that's certainly equal to theleft hand side and then on the I'm going to now split this uh into two pieces again this is a property of integrals that if you have an intergral from one place to another you can break it upinto pieces so I'm going to start at one but then go to a and then I'm going to continue from a to AB

5. Chapter 5 (11:34)

so this is the question that we have we don't we haven't proved this well this one is actually true um if we want this to be true we know by definition L of ab is this we know wecan see it that L of a is this so the question that we're uh that this boils down to is we want to know that these two things are equal we want to know that L of B isthat other integral thereso let's check it I'm going to rewrite the integral it's the integral from sorry from lower limit a to upper limit a of DT over T and now again to illustrate properties of integrals the key property here thatwe're going to have to use is change of variables this is a kind of a scaled integral where everything is multiplied by a factor of a from what we want to get to this L of B quantity and
so this suggests that we write down T is equal to a * U that's going to be our trick and if I use that new variable U then the change in t DT is a
d and as a result I can write this is equal to an integral from uh let's see DT is a du and T is is au so I've now substituted in for the integrand but on top of thiswith definite integrals we also have to check the limits and the limits work out as follows when T is equal to a that's the lower limit let's just take a look T is equal to a * U sothat means that U is equal to what it's one because a * 1 is a all right so tals a this is if and only if so this lower limit which really in Disguise was where T is equalto a becomes where U is equal to
1 and similarly when T is equal to a u is equal to B so the upper limit here is B and now if you notice we're just going to cancel these two factors here and now we recognize thatthis is just the same as the definition of uh L of B Because L of X is over here in the box and the fact that I use the letter T there is irrelevant it works equally well withthe letter U so this is just L of B which is what we wanted to toshow

6. Chapter 6 (14:32)

all right so that's an example and you have one on your homework which is a little
similar now the the last example that I'm going to discuss of this type I already mentioned last time which is the function f of x which is the integral from 0 to X of eus t^2 DT this oneis even more exotic because unlike the logarithm it's a new function it really is not uh any function that you can express in terms of the functions that we know already and the approach always to these new functionsis to think of what their properties are and the way we think of functions in order to understand them is to maybe sketch them and so I'm going to do exactly the same thing I did over here sowhat is it that I can get out of this well immediately I can figure out what the derivative is I read it off from the fundamental theorem it's this I also can figure out the value at the starting
place in this case the starting place is zero and the value is
zero and I should check the second derivative which is also not so difficult to to compute the second derivative is -2X e- x^2 and so now I can see that this function is increasing because this uh derivative ispositive it's always increasing and it's going to be concave down when X is positive and concave up when X is negative because there's a minus sign here so the sign is negative right this is less than zero whenX is positive and greater than zero when X is

7. Chapter 7 (16:35)

negative and maybe to get started I'll remind you f of0 is0 it's also true that F Prime of 0o that just comes right out of this F Prime of 0 is eus 0^ 2 which is 1 that meansthe tangent line is is again has slope one we do this a lot with functions we normalize them so that their slopes of their tangent lines are one at convenient spots so here's the the tangent line of slopeone we know this thing is concave down to the right and concave up to the left and so it's going to look something like this with an inflection point all
right now I want to say one more make one more remark about this function or maybe two more remarks about this function before we go on really you want to know this graph as well as possible and sothere were just a couple of more features and one is enormously helpful because it cuts in half all of the work that you have and that is the property that turns out that this function is odd namely Fof - x is equal to minus F ofx that's what's known as an odd functionnow the reason why it's odd is that it's the anti-derivative of something that's even this function in here is even and we nailed it down so that it was Zero at zero another way of interpreting that and letme show it to you underneath is the following when we look at its derivative its derivative of course is the function e to the e to the X sorry e- x^2 so that's this shape here all right and
you can see the slope is is is zero but fairly close to zero but positive along here it's getting this is its steepest point this is the highest point here and then it's leveling off again the slope isgoing down always positive this is the graph of fime = e- x^2 now the interpretation of the function that's up above is that the value here is the area from 0 to X so this this is area Fofx maybe I'll color it in decorate it a little bit so this area here is f

8. Chapter 8 (19:24)

ofx now I I want to show you this odd property uh by using this symmetry the the the the graph here is is even so in other words what's back here is exactly the same as what's forward butnow um there's a reversal because we're keeping track of the area starting from zero going forward that's positive if we go backwards it's counted negatively so if we went backwards to minus X we'd get exactly the same asthat green patch over there we'd get a red patch over here but it would be counted neg ly all right and that's the the property that it's odd you can also check this by properties of integrals directly uhthat would be that would be just like this processhere all right so it's completely analogous to checking this uh formula over there all right so that's one of the comments I wanted to make about this and why does this save us a lot of time if we
know this is odd well we know that the shape of this branch is exactly the reverse or the reflection if you like of the the shape of this one what we want to do is flip it under theaxis and then reflect it over that way and that's the uh symmetry property of the of the graph of f
ofx now the last property that I want to mention is what's happening with the ends and at the end there's a there's an ASM toote there's a limit here so this is an ASMtoote and the same thing down here which will be exactly because of the odd feature this will be exactly negative the the the opposite value over here and you might ask yourself what level is this exactly now thatthat level turns out to be very important quantity it's interpreted down here is the area under this whole infinite uh stretch it's all the way out toInfinity so uh let's see what do you think it

9. Chapter 9 (21:47)

is ah you're all clueless well maybe not all of you you're just afraid to say so it's obvious it's it's squ < TK of Pi / 2 that was right on the tip of your tongue wasn't it rightso this is actually very unobvious but it's a very important quantity and it's an amazing fact that this thing approaches this number and it's one something that that people worried about for many years before actually nailing down andso what I just claimed here is that the limit as X approaches Infinity of f ofx is equal to the < TK of Pi / 2 and similarly if you do it to minus infinity you'll get minus sPi / 2 and for this reason people introduce a new function because they like the number one and this function is Earth short for error function and it's 2 over the < TK of Pi time the integral from
0 to x eus t ^2 DT in other words it's just our original our previous function multiplied by uh by 2 over the < TK of
Pi and that's a function which gets tabulated quite a lot you'll see it on the internet everywhere and it's a very important function there are other normalizations that are used and those the discussions of the other normalizations arein your problems this is this is one of them and another one is in in your exercises this stand normal distribution now there are tons of functions like this which are new functions that we can get at oncewe have the tool of integrals and I'll write down just one or two more just so that you'll see the variety uh here's one which is called a Felintegral on your problem set next week we'll do the other frel integral we'll look at this one these functions cannot be expressed in elementary terms uh the one on your homework uh for this week was thisone this one comes up in free analysis and uh I'm going to just tell you maybe one more such function there's a function which is called Li ofx logarithmic integral of x which is this guy
the reciprocal of the logarithm the natural log and the significance of this one is that l i of X is approximately equal to the number of primes less thanx and in fact if you can uh make this as precise as possible you will be famous for millennia because this is known as the reman hypothesis whether that exactly how closely this approximation occurs but it's a hardproblem and already a century ago the the prime number theorem which established this connection was uh was extremely important progress in math Yeah question is this stuff you're supposed to understand that's a good question I love that questionuh the answer is this is uh so we we launched off into something here and let me let me just explain it to you I'm going to be talking a fair amount more about this particular function because it's
the associated to the normal distribution and I'm going to let you get familiar with it what I'm doing here is purely cultural well well after this panel what I'm doing is purely cultural just saying there are a lotthere's a lot of other beasts out there in the world all right and one of them is called C of s s of so we'll we'll we'll we'll have a just a very passing familiarity with one or twoof these functions but there L literally dozens and dozens of them the only thing that you'll need to do with such functions is things like understanding the derivative the second derivative and tracking what the function does sketching thesame way you did with with any other tool so that's we're going to do this type of thing with these functions and you know I'll have to lead you through if if if I wanted to ask you a
question about one of these function I have to I have to tell you exactly what I'm aiming for yeah another question yeah I did I called these guys Fel integrals sorry uh the guy's name is frel it's justnamed after a person but and this one L's logarithmic integral it's not named after person logarithm is not somebody's name uh so so look look um in fact this will be mentioned also on a problem set but Idon't expect you to remember these names in particular that you definitely don't want to try to remember yes another

10. Chapter 10 (27:12)

question the question is will we prove this limit and the answer is yes if we have time it'll it'll be in a in a in about a week or so we're not going to do it now it takesus quite a bit of work to do it
okay now I'm going to change gears now I'm going to shift gears and we're going to go back to a more uh a standard thing which is has to do with just setting up integrals and this has todo with understanding where integrals play a role and they play a role in cumulative sums in evaluating things this is much more closely associated with the first fundamental theorem that is Will we'll take today we were talking abouthow integrals are formulas for functions or solutions to differential equations we're going to go back and talk about integrals uh as being the the answer to a question as opposed to uh what we've done now so in otherwords and the the first example most of the examples for now are going to be taken from geometry later on we'll get to probability and the first topic is just areas between
curves here's the idea if you have a couple of curves that look like this and maybe like this and you want to start at a place a and you want to end at a place B
then you can chop it up the same way we did with reman sums and take a chunk that looks like this and I'm going to write the thickness of that chunk well let's give these things names let's saythe top curve is f ofx and the bottom curve is G of X and then this thickness is going to be DX that's the the thickness and what is the height well the height is the difference between thetop value and the bottom value so here we have F ofx minus G ofx time DX this is if you like base times whoops backwards this is height and this is the base of the rectangle and these areapproximately correct but of course only in limit when this is an infinite tmal is it exactly right in order to get the whole area I have to add these guys up so I'm going to integrate from A to
B that's summing them that's adding them up and that's going to be my

11. Chapter 11 (30:20)

area so that's the that's the storyhere now let me just say two things about this first of all on a very abstract level before we get uh started with details of more complicated problems the first one is that every problem that I'm going tobe talking about from now on for several days involves the following collection of uh the following goals I want to identify something to integrate that's called an
integrand and I want to identify what are known as the
limits the whole game is simply to figure out what a b and this quantity is here whatever it is and the minute we have that we can calculate the integral if we like we have numerical procedures or maybewe have analytic procedures but anyway we can get at the integral the goal here is to set them up and in order to set them up you must know these three things the lower limit the upper limit andwhat we'reintegrating if you leave one of these out it's like the following thing I ask you what the area of this region is if I left out this end how could I possibly know I don't even know where itstarts so how can I figure out what this area is if I haven't identified what the left side is I can't leave out the bottom it's sitting here in this formula because I need to know where it is
and I need to know the top and I need to know this side those are the four sides of the figure if I don't incorporate them into the information I'll never get anything out so I need to knoweverything and I need to know exactly those things in order to have a formula for the for the area now when this gets carried out in practice as we will do now in our first example it's more complicatedthan itlooks so here's our first example find the area between X =y^2 and Y = X -
2 right this is our our first example let me make sure that I chose the example that I wanted toyeah

12. Chapter 12 (33:12)

now there's a first stepin figuring these things out and this
is that you must draw draw a picture if you don't draw a picture you'll never figure out what this area is because you'll never figure out what's what uh between these curves the first curve yal x^2 is aparabola but it's um X is a function of Y it's pointing this way so it's this Parabola here that's y = x^2 whoops X =
y^2 the second curve is a curve uh is a line of a straight line of slope one starting at x = 2 yal 0 it goes through this place here which is 2 over and it has slope oneso it does
this and this shape in here is what we mean by the area between the curves now that we see what it is we have a better idea of what our goal is if you haven't drawn it you haveno

13. Chapter 13 (34:35)

hope all right now I'm going to describe two ways of getting at this area
here and the first one the first one is motivated by the shape that I just described right here namely I'm going to use it in a in a straightforward way I'm going to chop things up into these verticalPieces Just that as I did right there now here's the difficulty with that the difficulty is that the upper curve here has one formula but the lower curve shifts from being a part of the parabola to being apart of the straight line that means that there are two different formulas for the lower function and the only way to accommodate that is to separate this up into two halves separate it out into two halves I'm goingto have to divide it righthere so we must break it into two pieces and find the integral of one half and the other half
question so you're you're one step ahead of me we'll also be have to be sure to distinguish between the top branch and the bottom branch of the parabola which we're about to do now in order to distinguish what'sgoing on I actually have to use uh multicolors here and so we will do that first there's the top part which is orange all right that's the top part I'll call it top and then there's the bottom partwhich has twohalves uh they are
pink and I guess this is
blue all right so now let's see what's happening the most important two points that I have to figure out uh in order to get started here well really I'm going to have to figure out three points I claimI'm going to have to figure out where this point is where this point is and where that point is if I know where these three points are then I have a chance of knowing where to start where toend and so forth another question

14. Chapter 14 (37:30)

could you could you speakup area uh the question is why do we need to split up the area um and I think in order to answer that question further I'm going to have to go into the details of the of the methodand then you'll see where it's necessary all right so the first step is that I'm going to figure out what these three points are this one is kind of easy it's the 0 0 this point down here andthis point up here are intersections of the two curves I can identify them by the following equation I need to um see where where these curves
intersect at what well if I plug in X is y^2 I get Y = y^ 2us 2 and then I can solve this quadratic equation y^2 - y uh - 2 is equal to 0 so y - 2* y + 1 is equal to Z and the uh this is telling me that Y = 2 or Y =
1 now so I found Y is equal 1 that means this point down here has second entry1 its first entry its x value I can get from this formula here or the other formula if I I have tosquare this 1 squar is one so that's the that's the formula for this point and the other point uh has second entry two and again with this formula yal x^2 I have to square y to get X sothis is four

15. Chapter 15 (39:31)

all right now I claim I have enough data to get started but maybe uh I'll I'll identify one more thing I need the top the bottom left and the bottom right the top is the formula for this branchof xal y^2 which is in the positive y y region and that is y is equal to < TK
X the bottom curve part of the parabola so this is the bottom
left is y = - < TK X that's the other branch of the square root and this is exactly what you were asking before and this is we have to distinguish between these two and the point is theseformulas really are different they're not the same now the last bit is the bottom right chunk here which is this pink part bottom right and that one is the formula for the line and that's yal x - 2now I'm ready to find the

16. Chapter 16 (41:02)

area it's going to be in two chunks this is the left part plus the right
part and the left part and I want to set it up as an integral I want there to be a DX and here I want to set up an integral and I want it to be DX I needto figure out what the range of x so first I'm going to whoa let's leave ourselves a little more room than that uh
oh just to be safe okay here's the right okay so here we have our DX now I need to figure out the starting place and the ending place so the starting place is is the leftmost place the leftmostplace is over here and X is equal to zero there so we're going to travel from this vertical line to the green line over here and that's from 0 to one and the difference between the orange curve andthe blue curve is what I call top and bottom left over there so that is < TK x- us < TK
X again this is what I called top and this was this was bottom but only the

17. Chapter 17 (42:47)

left all right I claim that's giving me the the left half of this the left section of this diagram now I'm I'm going to do the right section of the diagram I start at one the lower limit isone and I go all the way to the this point here which is the last bit and that's going to be x equals 4 so the upper limit here isfour and now I have to take the difference between the top and the bottom again the top is square < TK of X all over again but the bottom has changed the bottom is now the quantity xus 2please don't forget your parenthesis there's going to be minus signs and
cancellations all right now this is almost the end of the problem the rest of it is routine we would just have to evaluate these integrals and fortunately I'm going to spare you that okay we're not going to botherto do it that's the easy part we're not going to do it but I'm going to show you that there's a much quicker way with this integral and with this uh area calculation right now the quicker way iswhat you see when you see how long this is and you see that there's another device that you can use that looks similar in principle to this but reverses the roles of X and Y and the other devicewhich I'll draw over here uh schematically now maybe I'll draw it on this Blackboard
here so method two if you like this was method one and we should call it the hard

18. Chapter 18 (45:03)

way method two which is better in this case is to use horizontal
slices let me draw the picture
at least schematically here's our here's our picture that we had before and now instead of slicing it vertically I'm going to slice it horizontally likethis now the dimensions are have different names but the principle is similar the width We Now call Dy because it's the change in y and this distance here from the left end to the right end we have tofigure out what the formulas for those those things are so on the left maybe I'll I'll I'll draw them colorcoded again um so here's a left and whoops I orange is right I guess so here we go sowe have the leftwhich is this green is X = y^2 and the
right which is Orange is y = x - 2 and now in order to use this it's going to turn out that we want to write X's we want to reverse roles so we want to write this asX as a function of Y so we'll write it we'll use it in this

19. Chapter 19 (47:03)

form and now I want to set up the integral for
you this time the area is equal to an integral in the Dyvariable and its starting place is down here and its ending place is up there this is the lowest value of y and this is the top value of y we've already computed those things the lowest level of Yis -1 so this is yal-1 and this Top Value is Y = 2 so this goes from1 to
2 and now the difference is this distance here the distance between the rightmost point and the leftmost point those are the two Dimensions so again it's a rectangle but it's horizontal is long and it's vertical is very shortand what are they it's the difference between the right and the left uh the right hand is y + 2 and the right hand isy^2 all right so this is the the

20. Chapter 20 (48:34)

formula what was the question why is it right minus left why is it right minus left that's a very important why is it right minus left and that's actually the point that I was about to make which isthis that y + 2 which is the right is bigger than y^2 which is the left so that means that y + 2 - y^2 is positive if you do it backwards you'll always get a negative number andyou'll always get the wrong answer right so this is the this is the the the right hand end minus the left hand end gives you a positive number and it's not obvious actually where you are there's another doublecheck by the way when you look at this quantity you see that the ends pinch and that's exactly the crossover points that is when Y is = -1 y + 2 - y^2 is = 0 and when Y
is = 2 y + 2 - y^2 is equal to Z and that's not an accident that's exactly the geometry of the the shape that we picked out there so this is the technique uh now this is amuch more routine uh uh integral I'm not going to carry it out I'll just do one last step which is that this is y^ 2 + 2 y - y Cub over 3 evaluated at -1 and 2 whichif you work it out is nine halves so uh we're done for today and tomorrow we'll do more volumes more things in including three dimensions
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 21 | MIT 18.01 Single Variable Calculus, Fall 2007