Free Fall and Differential Equations
Transcript
hi everyone what's your fine day of differential equations in linear algebra is going to mostly be an in depth mathematical analysis of a very important model from physics free fall under the influence of the Earth's gravity both with and without air resistance we're going to talk about one-dimensional up-down motion you're not side to side two-dimensional projectile motion because we want to keep things as simple as possible here in our initial model we'll also talk about slope fields and Euler's method to review those topics from the last couple lectures as they seem helpful for our analysis it's going to be very important here this is a real big deal to pay attention to to keep track of what quantities what letters represent constants and what letters quantities represent variables when we were doing our mathematical analysis but another important
thing to keep in mind is that later on we're gonna change our perspective with some of the constants and allow them to be very versed now that seems kind of contradictory how can a constant be a variable but I'm gonna tell you it's first of all very useful and secondly it's certainly something you can do whether a letter represents a constant or variables all of your hands on how you are thinking about it and it's important to be flexible it's going to help us solve into the infinitely many problems at once in fact it electrified bfv linear algebra topics we're going to talk about the important idea of a projection of one vector along another and we'll talk about another physics application actually for that projections are essentially applications of dot products and normalization from lecture four beep then we'll look at systems of linear equations in two dimensions an example or to talk about the method of elimination and try to summarize the
main things that happen with such systems but let's get on to our physical model or free fall under gravity without air resistance okay to keep things as simple as possible here initially it's important to define your quantities your letters y is going to be the height of some object above the ground say in meters it's going to be positive when you're above ground and in fact if you go higher it's going to get more positive if we drill the hole in the ground and let it go under ground then Y could be negative so Y could be positive or negative but mostly we're going to think of it as positive here in the earth it's an object of mass in the in kilogram so we're not saying what kind of object it is here could be Iraq could be a feather hmm assuming no air resistance doesn't sound like a good idea for a feather unless it were in a vacuum but we want to keep
things simple here and start with and there were resistance and T is time in seconds what's the goal the goal is to find how Y depends on T y is a function of T what is that function why do we want to do that because it helps us solve problems practical problems in physical situations and we'll look at such examples here we need to make an assumption that is borne out by experiments and that assumption is that the force of due to gravity is approximately constant now that's not precisely true to tell you the truth it gets more pronounced and is not true the further you go away from the surface of the earth like you're appear in space for example but near the surface of the earth the force due to gravity is approximately constant and that constant is typically written in this way the force due to gravity is negative M G where G is the acceleration due to gravity
near the surface the earth which is approximately 9.8 meters per second per second which is often called meters per second squared okay so we're assuming this is true I'm not proving this is true this is something you have to verify with experiments why is there a negative sign you the reason is because why the positive direction for the height is upward but the force due to gravity is downward it's directional it really is in a sense a one-dimensional vector though I won't say any more about that at the moment it's got a direction to it the opposite direction as the positive direction so we need the minus sign there its magnitude its size were just the M times G without a minus sign but the force itself includes the minus M if a is the acceleration of the object as an upward acceleration so positive if you are speeding up as you go up or slowing down as you go down Newton's second law into the physics which says F equals MA becomes this
equation in this situation here's the part where F equals MA force equals mass times acceleration this part over here is essentially the nature of the force that I was talking about you it's the constant that can be written as the negative energy okay so this is our equation of motion that comes through Newton's second law what can we do with it well we can cancel the MC now what that's going to say right away is that when there's no air resistance the mass doesn't
matter if you're letting a rock fall in the vacuum or a feather fall in a vacuum the model says they fall out the same rate Y is the same function of T if the initial conditions are the same if the initial height and initial velocity are the same so our equation simplifies the acceleration due to gravity is this negative constant negative feet that thing really is a differential equation why because a the acceleration is a derivative of Y with respect to T is in fact
a second derivative of Y with respect to T if this here is our differential equation modeling the situation it's called a second-order differential equation because the highest degree of a derivative is a second derivative there's no third derivatives or fourth derivatives etc that's called a second-order differential equation how could we solve it we want to find how Y depends on T we're saying the second derivative is a constant I hope you know even from calc
1 and count to that you should just integrate that constant twice I guess to figure out how Y depends on T and that is the strategy and that is what will work here however initially I'm going to think of this as a first-order equation how by introducing a new quantity B which is dy DT V is the velocity also positive going upward in other words if the object is moving upwards the velocity is positive and if the object is moving downwards the velocity is negative just replace that second derivative of Y with respect to T with a first derivative of B with respect to T it's an equivalent equation these two equations even though they are technically different looking equations because they involve different dependent variables Y versus V or equivalently mean the same thing because the first derivative of e is the second derivative of Y all with respect to time
T its first order because the highest degree of a derivative in this equation is a first true again keep in mind the goal the goal is to find Y as a function of T initially we're going to find V as a function of T once again just by integrating this is what I called a pure energy derivative problem in this case it's DV DT well that's this constant negative G you could think that as a function of
time T although it's a constant function of time you don't see any teeth there we also could think of it as a constant the dependent variable and call in an autonomous equation as well but it's going to be more natural better to think of it as a constant function of T in this case we can just integrate to find a general solution V is going to be the integral of negative G with respect to T which is going to give you in general negative G T plus C where C is an arbitrary
constant this is again called a general solution what that means is that well first of all it is a solution of the differential equation no matter what C is C can be anything that's pretty obvious if you differentiate this with respect to T if you find DV DT you're gonna get negative G no matter what C is and in fact no matter what T is it also represents all possible solutions any solution of this differential equation can be put in this form for some value C I'm going to
change my perspective here and now imagine why I call an IEP or initial value problem with initial velocity V of 0 equal to some specific number V sub 0 that's another of subtle point years sometimes our constants are arbitrary sometimes our constants are imagined to be specific so here I'm imagining C to be arbitrary here I'm imagining v-0 to be something specific I'm not saying what it is it could be anything I'm just imagining it to be something specific because it's going
to give us a unique solution of the initial value problem and that can be found by just solving for C if you replace V would be 0 and T with 0 and solve for C that you see that C equals v-0 we need to choose C to be the initial velocity in order to get the unique solution of the initial value program imagine this is representing infinitely many answers and imagining this representing one specific answers though again he could be anything but imagining it's fixed this
equation does give us the velocity as a function of time it's actually also a differential equation because V is dy DT that V right there is dy DT it's a first-order differential equation that can be solved by direct integration again it's also a period derivative now you really see a function of T over here and there's no plane fees it does not involve the dependent variable unlike some of the other differential equations that we looked at so integrate negative GT plus v-0 to get
Y is a function of T and the general solution is that y equals this where C can be anything right integrate this you're going to get negative G over 2t squared plus V 0 times T plus some arbitrary constant C once again I can add an initial condition in there to think about initial value problem now I'm imagining the initial height Y 0 to be fixed and the unique solution turns out to equal this the C actually equals y 0 in this case ok doesn't always happen that C is the initial value in fact an example we looked at in lecture 4 a it did not happen that was the logistic model C was not the same as the initial population there but in this model it does happen to be hitter is how Y depends on T this is the unique solution not only of this differential equation but also the original second-order equation and then this can be used to solve practical problems although
different people highlight different use of what's practical so this is your turn this is where you want to pause the video try to solve this problem on your own you could certainly solve it using the numbers that you see there a mass of one kilogram a initial upward velocity of 20 meters per second so you're throwing the object upwards straight upwards at the start from a height of 1.5 meters which is you know about this high from my floor here close to 2 meters high so you can certainly plug in those numbers right away to find the maximum height of the ball and here I'm saying it's a ball okay if the object is a ball the maximum height of the ball and the time to come back down and hit the ground so go ahead and pause the video to work on that I can assure you if you're swimming you're back now I'm going to show you that if you think about this in the right way
you can solve infinitely many problems at once if you treat things as constants and then ultimately even treat those constants as variables you get some insight some interesting and informative insight into stuff so here I'm just emphasizing we could plug numbers in right away but we can also solve infinitely many problems at once it's amazing how powerful by doing the general case before plugging in numbers and then again we'll gain more insight excited by thinking of those
constants as being variables and you're making graphs related to it you'll see what I mean once we get there well it off from the max height the maximum height occurs when the velocity 0 okay so you throw this ball upward with an initial velocity of 20 years per second it reaches the peak at the moment in time when the velocity is 0 okay because it's going up at first with positive velocity then it reaches the peak at some instant in time and then it comes back down and has a
negative velocity so set the velocity equal to 0 and solve for t and i get t t sub max I'm labeling and just emphasize that it's the time where the maximum occurs the subscript max is optional here it's really just a label don't let it bother you is v-0 over G right because you add GT to both sides to cancel on the left side you get a GT on the right then you divide both sides by G to solve for T again I'm just calling it t max it turns out to be two point zero four seconds you shall be calculate around and check these numbers as well when you plug in these rows 20 + g is 9.81 i could think of this as a function of these are all if I wanted to and graph it as a function of e zero I could even think of G is a variable and that might be useful if I'm thinking about throwing
the same ball on the moon or on Mars or something like that the maximum height is found by plugging the time where the maximum height occurs into the height function and again I'm calling it Y max the max is up optional okay I'm just emphasizing it is the y coordinate to the maximum point the graph of y versus time is going to be some downward-opening parabola I hope you that makes sense that that's
what the graph of y versus time looks like T Max is the specific number right here where you reach the peak and the second coordinate of that point would be Y max this right here would be Y max plug it in simplify if you double-check that it simplifies to this right here which I can combine into one fraction but there's really no reason to and keeping it like this also emphasizes that when
the initial height is zero if you are shooting the upward from ground level of the start the maximum height is just this which is a simpler looking expression if you plug the number then you get 21.9 or meters but once again I could think of is a function of e 0 I could think of it as a to the Y zero and they could graph those functions and get some insight but the time to hit the ground we need to set the height equal to zero the ground is height zero so set that equal to zero and solve for t t hit i couldn't maybe it would be better to call that t ground by hit i mean hit the ground it's a quadratic function of t I need the quadratic formula T is equal to negative B the B would be V zero negative of that is this thing right there plus or minus I purposely did not put a plus or minus there why not why would I put a minus sign there would this make the time negative
no actually because there's a minus sign down here that putting the minus sign there makes this positive I could have put a plus or minus at the beginning and deciding which one to take at the end though I knew it was gonna be the minus sign so that's they're gonna be - in this case square root of b squared minus 4ac a is coefficient of T squared negative T over to C the constant term is y zero all over 2 times a and is the negative G over two so I get a negative G over to there and again the negative signs cancel out leaving it with plus signs this is how the the time when it hits the ground depends on V 0 + G + y 0 and again y 0 0 this term would go away and the square root of these 0 squared because V 0 is positive or at least if these are as positive as it would be if
you're going upward from the ground is going to be V 0 itself and this would simplify to 2 V 0 over G zero Y zero is zero shooting it upward from ground level the T hit is going to simplify to 2 these are all over G this term is going to go away the square root of e zero squared in general is the absolute value of e zero but V zero is positive here so that would be V zero itself if another be zero there you can get to V 0 over G in the case where that happens but that's not
the situation here the situation is y 0 is 1.5 so you plug the numbers in you should get four point one six seconds yeah this benefit solving into many problems at once you can graph how the solutions depend on these cousins but they're no longer constants in your mind at least it might be interesting and informative to plot the time at the ground T hit either as a function of V 0 or wiser if I want to do as a function of y 0 I need to pick something specific for V 0
like 20 but then keep y 0 arbitrary now to get this graph notice how the axes are labeled the horizontal axis is y 0 the brutal axis is T hinton our particular example is when y 0 is 1.5 way down here Teagan is just barely above 4 I forgot where it was just a little bit about 4 but the interesting thing to think about here is that while you could use this equation and this graph to make other predictions for how long it's going to take the at the ground based on the
same initial akward velocity but different initial rates for example at initial height of 60 and an initial upward velocity of 20 meters per sec it's going to take about close to six six seconds hit the ground okay I'm not cleaning my dryer throwing it's perfect it's also interesting to note that the graphs not straight it's not a linear function and in fact it's it's increasing concave down what would that mean the fact that it's concave down the fact that it's increasing means the higher you go the longer it's going to take to the ground that's pretty obvious physically well what's the practical meaning on the fact that this is concave down it means for any given change in the initial height when they height is small the corresponding change in time to head the ground is going to be relatively large on the other hand for the same change in height when the height is large we have a smaller change in the time that should make some intuitive
sense to this ball it doesn't really go up much before it starts coming back down and so changing the height when your height is already pretty high to begin with is the not going to change the time when it hits the ground very much on the other hand we can think of this as a function of these are all set wise or equal to something specific and get this thing that one looks linear careful it's not I mean the aquarium itself is obviously seemingly nonlinear and if you look carefully at the graph you can see it curves here in fact the graph is not straight looks are deceiving even over here the graph is not exactly straight this graph is actually always increasing and concave up just the concavity the positive concavity is very close to zero over here but it's almost straight you might say and if there were straight and went through the origin air would be a direct
proportionality so in effect once the initial velocity is supposed to be of easier later they can't quite see once that initial velocity is high enough essentially the time to hit is proportional to it if you double the height velocity the time it hit the ground will essentially double it's not exactly here it's more pronounced near the bottom in our example v-0 was 20 and again the Titans ground was a little bit bigger than 4 all right now let's bring our resistance into
into play this does make it harder for one thing it's harder right at the start linking how do you bring air resistance into play and for another thing it's harder after the start because it's the differential equations more complicated harder to solve assume there is air resistance first question what is the nature of the force due to air resistance sometimes called drag hmmm we might have to hypothesize a form to the air resistance force and then match it with
experiment and see how well it matches and it doesn't match very well we need to modify our assumed force due to air resistance but we might as well start simple in general it can be complicated partially because objects like feathers are not shaped like balls are this can be complicated as a first approximation let's assume the force - the air resistance is proportional to the velocity and in the opposite direction if it's a positive velocity that objects moving
upward the four students is going to be downward and the bigger the velocity is the more when the object feels so to speak the bigger the air resistance should be on the other hand if the velocity is down negative arizim should point in the positive direction and once again these larger magnitude the velocity is larger magnitude and small philosophy is small in magnitude so we're going to assume the force to any resistance is a negative constant times the blossom for some
K that's positive then the negative K is the constant of proportionality okay itself is positive I didn't have to do it that way this came up in another example in the black lecture two or three as well I could just call this K times V where K is negative but I kind of trying to emphasize that if they get it by writing it this way so what's our model we need Newton's second law again F equals MA and we need to realize that forces distinct forces and that actually works whether you're thinking of the force as a scalar quantity or a vector quantity they add we've been talking about vectors recently talk about it more today electro beat
they add so I get something like this the force that's total force is the sum of the gravitational force than the force degree resistance which since both F grab and half era have negative signs involved is negative mg minus kV that must equal MA that's Newton's second law that right there he is in 2/4 Newton's second law but we want to relate this to differential equations as well so that's m times dv/dt hmm and does not cancel if you assume there's air resistance at least
effusively resistance is of this form the mass does matter the shape also matters and that's where it can get extra complicated but we won't get into that a more standard way to write this is to divide both sides by M though it doesn't completely cancel cancels on the left and the right you get negative G minus K over m times V on the left you're left with DV DT this is our first order differential equation you see of the end the right side the dependent variable not T I want to
think of this as an F of the function I want to think of this differential equation is autonomous it's a very different kind of situation it's not a pure antiderivative we can't just integrate so what do we do you can separate variables here we talked about separation and variables before pretend DV DT is a fraction get all of these on the one side and the T's on the other side get all the B's on the left there's just a V right there and a DV up there get all the T's on the
right the DT on the right in other words divide both sides by negative G minus camera MV and also quote-unquote multiply both sides by DT that's not rigorous math I did we're fully justified a couple lectures ago if you do that and if you then multiply the resulting fraction on the left the top and bottom by Ellen you'll see that it gets to this one initially I would've have a a 1 over negative G minus K over m V down here but then I can multiply the top of the bottom by M so they
don't have fractions within fractions and then you can integrate both sides to solve this and it is doable not too hard the right side is easy to do T plus C 1 the left sides a bit more complicated but it actually can be solved by guessing the guess that you should guess is a negative M over K natural log of the absolute value of negative energy minus K V and that's gonna equal T plus C
1 gets all funny over here I don't know why t plus C 1 that's a V in there um I'm gonna stop at that step I will tell you that it is advantageous not absolutely necessary but advantageous to replace the minus signs in here with plus signs which you can do because there's absolute value Center in it you would want to multiply both sides by a negative K over m give it on the right and maybe instead of calling that C 1 you'd call it C 2 after that point and then you'd want
to get rid of the longer than my exponentiation and you'd want to solve for V I'll leave this steps to you here's the answer you should get if you replace this in here with mg plus kV if you get this V as a function of T if this function of T I'm using an extra label in here V sub V 0 of T is the solution function named thesis of these are I have done this in recent lectures it's not necessary to do that but we will find it helpful it emphasizes the initial condition the initial
velocity is V Sub Zero and also emphasizes it's a function of T I also am remarking that it does equal dy DT and this dy DT equals this would be at another differential equation that would be appearing to derivative property I don't see any Y's over here I could solve for y as a function of T by integrating just integrating I'm not going to because it's gonna be messy but it could be done I'd rather do something else I'd rather now use this model to also predict when the object
would hit the ground based on this model and well I was gonna do the work on the board but I think for the sake of time I want to this could be a good exercise for you if you want to pause the video right now I'm gonna imagine setting this equal to zero and solving for T to figure out the maximum height time time when it reaches the maximum then I could plug it into Y to figure out the actual mass with maximum height which I'm not going to do so I'm just going to focus on the time when it mean reaches the maximum height so set this equal to zero solve for T I'd add mg over K to both sides I'd divide both sides by this I take the natural log of both sides in the end if you do that you should check that you're going to get this thing right here the time of the maximum height is this and again the max label subscript is optional don't let it confuse you know I'm
just using it to emphasize hey this is the time when the maximum rate is reached according to this model nkg and these are all constants but I could go ahead and change my perspective and think of them as variables if I want and in fact I'm going to do that I'm going to think of these zero the initial velocity as a variable IANA set em to be one and K to be 1 1 kilogram for the mass the units for K turned out to be Newtons per meter per second don't worry about the meaning of that we could think more abot as a function of D zero and here's the graph that you would get in blue the blue graph is the graph of this function right here there's an extra graph in there as well I'll explain in a minute here the time to reach the maximum height for this model as a function of e zero the initial upward velocity positive if you throw it upward negative if you throw it downward to begin with but we are only thinking about where these are greater than or equal to zero
here it is this function of the initial velocity it's an increasing function meaning the bigger v-0 is the faster you throw upward the longer it takes to the ground or to reach the maximum and hit the ground but it's a concave down function diminishing returns when V is V zero is small a given increase in the initial velocity like a doubling of it will cause a relatively large change increase in the time to reach the maximum height on the other hand these are as large that
same change in these are all don't think of it as doubling but think of it it's the same change like add 1/2 it will produce a smaller change in the time to reach the maximum height if it's already going upward fast to begin with increasing the speed a little bit more doesn't change the maximum create much more according to this model this point right there 21.1 1 turns out to be our prediction in the situation where the initial awkward velocity is 20 meters per second
we predicted to reach the maximum height one point one second one second this point right there was the prediction for the based on the initial velocity for when you reach the maximum height for the model with no air resistance two point zero four seconds this expression V zero Virgie was that thing that I mentioned about 15 minutes ago that you could imagine to be a function of V zero in it one divided by nine point eight is about point one zero two this would be point
one zero to V zero a linear function in fact up proportionately when there's no air resistance vastly different predictions really which one's right you'd have to compare perhaps neither of the men of this right though I would venture a guess that maybe especially for a feather the this would be more likely to be right though for a feather K is not necessarily one it could be something else in the nowh air resistance case we got T to be two point zero four seconds checked
up again okay so this is solving infinitely many problems all at once because you've got a function that you can use infinitely many times if you have the time and you can think about this behavior it's really cool I think okay maybe you don't think it's cool I think it's really cool conceivably very useful if you're thinking about projectile motion for some reason mmm like if you work for the military or something one dimensional freefall under gravity with air resistance again
we're continuing but now we're going to think about the slope field do the solutions for the various initial velocities make sense if we think in terms of the slope field all the autonomous ori and codeine is ordinary differential equation here again is the differential equation is autonomous because the right-hand side depends just on the dependent variable no tease of the right and if you plug in G's 9.8 and K and M R 1 you get this simplification what would the slope
field of that looked like how could you make it remember what we said about slope fields for any given point in the slope field whose axes you want to label T and V here take the point for example whose coordinates are oh I long to 5 plug that point into the right hand side function f of V in other words plug 5 in we don't need to plug 2 in because there is no T in the right hand side
and that would give you F of 5 would be negative 9.8 minus 5 which is negative 14 point 8 and then draw a little line segment through through that point centered on that point with that slope it's going to be pretty steep do that for all points in the plane of course you can't do it for all points in the plane but you can do it for some points and you can get technology to do it for more and this is a typo here it's the time constant slope cylindrical lens it has constant slopes along horizontal lines change that right away that's what happens for autonomous equations
along any horizontal line the slope of the line segments and the slope you are going to be constants when V is 20 the slopes are all negative twenty nine point eight maybe is ten they're all negative nine point teen point eighty when V is zero they're all negative nine point eight B is negative twenty they're all eight and that negative nine point eight plus 20 is positive ten point two or the slopes of these little line segments down here and why do they plug in 10 negative 10 here instead of negative nine point eight because if you plug in negative 9.8 into this function you get 0 if f of B is negative nine point eight minus B if I plug in negative 9.8 into that I get negative nine point eight minus the negative nine point eight which is plus nine point eight which is zero the slope field has horizontal line segments with a slope of zero along the horizontal line at V equals negative nine point eight and in fact that line
is what I called an equilibrium solution I've mentioned that before it's a constant function notice the notation here this is a piece of 20 of T meaning the initial velocity is 20 the graph of our problems velocity is a function of time looks like this it's an exponential decay down to this horizontal line I'm living the labeling this V sub negative 9.8 of T when the initial velocity is negative 9 or name in other words they if you are throwing it downward with that initial
velocity it stays at that same velocity the whole time it's reached its terminal velocity now of course if it's gonna fall for very long you'd have to be a PI to begin with I'm going to show you another way to think about this this other way that I'm going to show you to think about it is very very important but confusing interest okay so pay good attention here I'm gonna graph the right hand side function of the difference equation as a function of V can I do such a thing
of course if I want why not or why should I do it because we'll see it's useful here it is via is the horizontal axis in this graph over here in the slope field it's the vertical axis here I want to make it the horizontal axis not that I couldn't make it the vertical axis I could but then it would be drawing the graph in an unusual way if I did the vertical axis is that T no it's not to you well what is it it's I'm labeling it with the function I probably could label
it DV DT we're I'm thinking of DV DT is just one quantity maybe it'd be better to call it D prime instead the prime is probably the best label for that accident graphing V prime versus V the derivative of solutions the slopes of solutions as functions of the current velocity so to speak now the velocity is always changing right except to figure out the equilibrium solution the velocity is always changing but I think given moment in time the velocity is of a particular number this
graph is telling you the corresponding slope for example when the velocity is five this graph is telling you the slope of the solution curve is around negative 13 or 14 or so when the velocity is five along this horizontal line all the slope marks have a slope of negative negative 9.8 minus five which would be negative fourteen point eight that's what the crabs tell you notice it's zero at negative 9.8 no that looks like it's at 10 negative 10 actually named them that bringing
that's the negative 9.8 right there that's where it crosses the horizontal axis in this graph it's the negative over here and positive over here slopes of solutions are negative when these above negative 9.8 and positive wouldn't be is below negative equity say that again this graph is negative over here where the D is bigger than negative 9.8 and positive over here when P is less than negative membrane slopes of solutions are negative up here when you are
above B is negative 9.8 and positive down here when you were below B is negative that printing and 0 when D equals negative 3 printing just like this is zero there this could be very important in coming sections of our differential equations working a lot of--there's method is there a last name thing to do for lecture two five eight let's review that I'm gonna go pretty quick I get a quick overview of why there's method in for B gonna go pretty quick here still as well my students you should certainly read about this and and check my calculations what if we prefer just approximating the solution rather than funding its formula because you just you just don't like separation of variables you always make mistakes with it Koby just approximate it it's done yes you could though it's not guaranteed to be a good approximation unless you did a lot of steps or
use the computer we can use Euler's method on this in the Trevelyan problem DT is negative 9.8 minus V this autonomous differential equation V of 0 is 20 the initial condition to approximate the unique solution which we do know the formula for and we can simplify the formula for so I am telling you the answer this function right here is the unique solution of this IDP here where I pick these are over 20 G is still negative G's till 9:20 a.m. is still 1 K is still 1 you should double-check it simplifies to this which makes sense as T goes to infinity here this part goes to 0 this function does a person they get at 9.8 that horizontal asymptote as the its larger and larger that equilibrium solution is stable the solutions approach it it's attracting them how do you do it let's just do two steps because it's too tiring otherwise over the time interval
from 0 to 1 this is a time interval I maybe should have written that in there I would bother retyping it what's the step size Delta T it's the length of the interval B minus a all over the number of steps so we get 1 minus 0 over 2 which is 1/2 or 0.5 then the mesh points just like with numerical integration can be found by continually adding delta T first a and then 2 T 1 then 2 t 2 etc this is it a right here this is a plus delta T this is a plus 2 times delta T which is the same as B for this example because what we'll be doing through steps let's start interval here I'll draw this it could be helpful a line segment 0 a 1 and breaking need involve into two pieces of equal length my mesh points are 0.5 and 1 I'm not numerically integrating don't because there's no readable you it's it's sort of an integration because I'm kind of solving a difference grading
in a sense approximately what what's that called what the corresponding values of you want to eat you and what would be 1 in B to be approximating there would be a products meaning the function values at 0.5 and 1 if I need the difference equation for others method Euler's method is a difference equation we've talked about difference equations to be one is the starting value of EB zero plus the change in the the zero here is not meant to say that this is a constant so
to speak it's meant to say in a sense that's the starting change in B the change in B is found by multiplying the rate of change of B with respect to T times the change in T this is essentially distance if you will change in V equals rate times time linear approximation one of the main things to know from calc 1 replace V 0 with 20 replace delta T with 0.5 do the math you get about 5.1 double-check my numbers here I she did not take the time to double-check these numbers
there could be mistakes do it again v2 would be the previous value of V be 1 plus the change in me which I'm labeling with a 1 just to emphasize that it's occurring at the next step or we use a 1 there this once again this change in V is the rate of change times the treaty distance as a distance changing V that don't think too literally of the word distance there equals rate times time
plug the numbers and you get this again double check my work if I do make mistake I think as I posted before I push this whole mistakes negative two point three five how accurate is this how far off are these numbers in other words what are the errors of each step error in all situations that I know of in math is always actual value minus approximate value and it's very fortunate that this goes in alphabetical order ouch actual comes before approximate it's the way I remember
it so the actual value comes from the slope the true solution the fee function the approximate value comes from Euler's method so we know the true solution so we can find the air - here's our true solution plug in t1 which is point five I get about eight point two seven plug in T 2 which is one again about one point one six you should double-check those numbers compared to v1 and v2 that I got from others method the error at step 1 e 1 this is not the number it's not two point seven it's error at step one actual value minus approximate value which is approximately eight point two seven minus five point one three point one seven that to small we'd like it to be smaller than that and the error at step two is even bigger e 2 is actual minus approximate one point one six minus the negative two point three five is positive three point five one it's getting bigger

Ask anything
We've read this whole study set, so questions about it get the best answers.