Review of Lecture 5 I I Models could involve just one or two equations (e.g. orbit calculation), or hundreds of equations (as in climate modeling). To model a vertical cannon shot: F = I Expressed in terms of altitude x = r − R, we have mv I dv GMm = −m 2 r dt dv GMm =− dx (R + x)2 Max altitude ξ= I v02 R 2 . 2GM − v02 R Escape velocity r vescape = 2GM R Autonomous equations I The general first-order equation is dy = F (y , t) dt I If F (t, y ) actually depends only on y we have dy = f (y ). dt I Such an equation is called autonomous Autonomous equations I The general first-order equation is dy = F (y , t) dt I If F (t, y ) actually depends only on y we have dy = f (y ). dt I Such an equation is called autonomous I For example the simplest equations for growth or decay: y 0 = ky I Growth with k > 0, decay with k < 0, since y = Ae kt Modeling population growth I With a constant birth rate and constant death rate, we get for the population y , y 0 = ry . I Here r is the difference of the birth rate and the death rate. I With r > 0 the model predicts exponential growth. I In a finite environment, that can’t be right for long. The logistic equation We need a revised model that allows y to be bounded when y grows large. I One such model is the logistic equation: y 0 y y =r 1− K I For y small it’s almost y 0 = ry . I For y large y 0 will be negative, so y will decrease. The logistic equation We need a revised model that allows y to be bounded when y grows large. I One such model is the logistic equation: y 0 y y =r 1− K I For y small it’s almost y 0 = ry . I For y large y 0 will be negative, so y will decrease. I Is there an equilibrium solution? Is there an equilibrium solution? y y y0 = r 1 − K I To find an equilibrium solution, set y 0 = 0: y 0=r 1− y K There are two equilibrium solutions: y = 0 and y = K . Is there an equilibrium solution? y y y0 = r 1 − K I To find an equilibrium solution, set y 0 = 0: y 0=r 1− y K There are two equilibrium solutions: y = 0 and y = K . I K is called the “carrying capacity” of the environment. I Solutions can’t “cross” or “touch” an equilibrium solution, because through each point (t, y ) there is a unique solution. I So if another solution touched or crossed an equilibrium solution, it would have to coincide with that solution. I As engineers you’ll probably take that on authority or faith. I The curious or skeptical can read section 2.8 of the text Graphical investigation In class we will graph the solutions and see that all solutions approach the equilibrium solution y = K for large t. I Solutions with y0 < K increase I Solutions with y > 0 decrease I If you are viewing these slides at another time, refer to pp. 80-81, and use MathXpert Grapher or other software to graph the solutions. Concavity I I Recall from calculus that the second derivative y 00 determines the concavity (upwards or downwards), and the inflection points (where y 00 = 0). We can do some of this analysis for any autonomous equation y 0 = f (y ). y 00 = d 0 y dt Concavity I I Recall from calculus that the second derivative y 00 determines the concavity (upwards or downwards), and the inflection points (where y 00 = 0). We can do some of this analysis for any autonomous equation y 0 = f (y ). y 00 = = d 0 y dt d f (y ) dt Concavity I I Recall from calculus that the second derivative y 00 determines the concavity (upwards or downwards), and the inflection points (where y 00 = 0). We can do some of this analysis for any autonomous equation y 0 = f (y ). d 0 y dt d = f (y ) dt dy = f 0 (y ) dt y 00 = Concavity I I Recall from calculus that the second derivative y 00 determines the concavity (upwards or downwards), and the inflection points (where y 00 = 0). We can do some of this analysis for any autonomous equation y 0 = f (y ). d 0 y dt d = f (y ) dt dy = f 0 (y ) dt = f 0 (y )f (y ) y 00 = Thus the signs of f and f 0 tell us about concavity After-the-lecture viewers, see pages 80-81 to replace graphs done in class. The phase line I If we think of t as time and only use one space dimension, then our graph becomes a moving point on a line. I It is customary to draw that line vertically. I The direction field from the 2-d graph now becomes just an arrow up or down at every point on the line. This line, with arrows, is the “phase line”. I In our case, the arrows point up at points below y = K , and down at points above y = K . I at y = K the arrow has zero length. That is a “critical point.” I There is another critical point at y = 0, so technically the arrow doesn’t point up there, but it does point up at points just below or above there I At the critical point y = K the arrows do change direction. After-lecture viewers, see Fig. 2.5.3. Determining qualitative behavior I We can determine the qualitative behavior of the solutions from the graph of f alone. I We did not need a computer or an explicit solution, although in class a computer was used first. I We could have started with f , found the critical points and the phase line, sketched the direction field and solutions using the concavity information. I This procedure was illustrated at the whiteboard. Solving the logistic equation Since solutions can’t cross equilibrium solutions, if we have a non-equilibrium solution then y is never equal to 0 or K , for any value of t. Therefore we won’t get a zero denominator when we separate the variables: rdt = dy (1 − y /K )y Solving the logistic equation dy (1 − y /K )y Z dy rt = (1 − y /K )y rdt = Solving the logistic equation dy (1 − y /K )y Z dy rt = (1 − y /K )y Z 1 1/K rt = + dy y 1 − y /K rdt = Solving the logistic equation dy (1 − y /K )y Z dy rt = (1 − y /K )y Z 1 1/K rt = + dy y 1 − y /K y rt + c = ln |y | − ln 1 − K rdt = Can we drop the absolute value signs? Solving the logistic equation dy (1 − y /K )y Z dy rt = (1 − y /K )y Z 1 1/K rt = + dy y 1 − y /K y rt + c = ln |y | − ln 1 − K rdt = Can we drop the absolute value signs? Yes, if 0 < y0 < K , since then y stays in this interval. y rt + c = ln y − ln 1 − K So we need to solve this equation for y : y rt + c = ln y − ln 1 − K y = ln 1 − y /K So we need to solve this equation for y : y rt + c = ln y − ln 1 − K y = ln 1 − y /K y e rt+c = since e ln u = u 1 − y /K So we need to solve this equation for y : y rt + c = ln y − ln 1 − K y = ln 1 − y /K y e rt+c = since e ln u = u 1 − y /K y = e c e rt = Ce r t with C = e c 1 − y /K So we need to solve this equation for y : y rt + c = ln y − ln 1 − K y = ln 1 − y /K y e rt+c = since e ln u = u 1 − y /K y = e c e rt = Ce r t with C = e c 1 − y /K It works if y > K too, but then we have a negative sign on the left. Initial condition determines C When t = 0, we have y = y0 . So we put those values into y 1 − y /K = e c e rt = Ce r t with C = e c and we get y0 |1 − y0 /K | = C By putting the absolute value signs in, the equation works for all y0 > 0. Solving for y So put that value for C in, and we get y |1 − y /K | = Ce rt = y0 e rt |1 − y0 /K | Solving for y So put that value for C in, and we get y |1 − y /K | = Ce rt = y0 e rt |1 − y0 /K | But since 1 − y /K has the same sign as 1 − y0 /K we can take the absolute value signs off again. y 1 − y /K = y0 e rt 1 − y0 /K Solving for y So put that value for C in, and we get y |1 − y /K | = Ce rt = y0 e rt |1 − y0 /K | But since 1 − y /K has the same sign as 1 − y0 /K we can take the absolute value signs off again. y y0 e rt = 1 − y /K 1 − y0 /K y (1 − y0 /K ) = y0 e rt (1 − y /K ) Solving for y So put that value for C in, and we get y |1 − y /K | = Ce rt = y0 e rt |1 − y0 /K | But since 1 − y /K has the same sign as 1 − y0 /K we can take the absolute value signs off again. y y0 e rt = 1 − y /K 1 − y0 /K y (1 − y0 /K ) = y0 e rt (1 − y /K ) y0 y0 e rt y 1− + = y0 e rt K K y0 y0 e rt y 1− + = y0 e rt K K y= y0 e rt 1− y0 K + y0 e rt K y0 y0 e rt y 1− + = y0 e rt K K y= y = = y0 e rt 1− y0 K + y0 e rt K y0 e rt y0 K rt + y0Ke Ky0 e rt K − y0 + y0 e rt 1− y = Ky0 e rt K − y0 + y0 e rt Divide numerator and denominator both by e rt : y = Ky0 y0 + (K − y0 )e −rt Qualitative conclusions check out? Now we can confirm our qualitative conclusions: I The limit as t goes to ∞ is K . I Solutions starting in some interval around K converge to K . I Solutions starting near 0 diverge from 0 (well, at least positive ones) Qualitative conclusions check out? Now we can confirm our qualitative conclusions: I The limit as t goes to ∞ is K . I Solutions starting in some interval around K converge to K . I Solutions starting near 0 diverge from 0 (well, at least positive ones) We say y = K is a stable equilibrium and y = 0 is an unstable equilibrium. Growth with a threshold y y 0 = −r 1 − y = f (y ) T Growth with a threshold y y 0 = −r 1 − y = f (y ) T Practice what you learned in the first part of the lecture: I Draw the graph of f . I Draw the phase line. I Sketch the direction field and some solutions.
© Copyright 2026 Paperzz