(*********************************************************************** Mathematica-Compatible Notebook This notebook can be used on any computer system with Mathematica 3.0, MathReader 3.0, or any compatible application. The data for the notebook starts with the line of stars above. To get the notebook into a Mathematica-compatible application, do one of the following: * Save the data starting with the line of stars above into a file with a name ending in .nb, then open the file inside the application; * Copy the data starting with the line of stars above to the clipboard, then use the Paste menu command inside the application. Data for notebooks contains only printable 7-bit ASCII and can be sent directly in email or through ftp in text mode. Newlines can be CR, LF or CRLF (Unix, Macintosh or MS-DOS style). NOTE: If you modify the data for this notebook not in a Mathematica- compatible application, you must delete the line below containing the word CacheID, otherwise Mathematica-compatible applications may try to use invalid cache data. For more information on notebooks and Mathematica-compatible applications, contact Wolfram Research: web: http://www.wolfram.com email: info@wolfram.com phone: +1-217-398-0700 (U.S.) Notebook reader applications are available free of charge from Wolfram Research. ***********************************************************************) (*CacheID: 232*) (*NotebookFileLineBreakTest NotebookFileLineBreakTest*) (*NotebookOptionsPosition[ 4211, 128]*) (*NotebookOutlinePosition[ 4848, 151]*) (* CellTagsIndexPosition[ 4804, 147]*) (*WindowFrame->Normal*) Notebook[{ Cell[CellGroupData[{ Cell["Autonomous ODE's and Equilibrium States", "Subtitle", TextAlignment->Center], Cell[TextData[{ StyleBox[ "The differential equations y' = r y and y' = r y (1 - y/K) are both \ examples of ", FontSize->16], StyleBox["autonomous ", FontSize->16, FontSlant->"Italic"], StyleBox[ "ODE's. That is, the independent variable t does not appear (except \ implicitly through y) in the equation. Consider the direction fields \ associated with these two equations\n(taking, for instance r = 1, K = 2):", FontSize->16] }], "Text", FontSize->14, FontWeight->"Bold"], Cell[BoxData[ \(Needs["\"]\)], "Input"], Cell[BoxData[ \(\(PlotVectorField[{1, \ y}, {t, \(-3\), 3}, {y, \(-3\), 3}, Axes \[Rule] True, ScaleFunction \[Rule] \((1&)\), Ticks \[Rule] None, Frame \[Rule] True, AspectRatio \[Rule] 1]; \)\)], "Input"], Cell["\<\ The constant solution y = 0 is distinguished. Solutions that start close to y=0 diverge rapidly away as t increases.\ \>", "Text", FontSize->16, FontWeight->"Bold"], Cell[BoxData[ \(\(PlotVectorField[{1\ , \ y \((1 - y/2)\)}, {t, \(-3\), 3}, {y, \(-3\), 5}, Axes \[Rule] True, ScaleFunction \[Rule] \((1&)\), Ticks \[Rule] None, Frame \[Rule] True, AspectRatio \[Rule] 1]; \)\)], "Input"], Cell["\<\ Here there are two equilibrium solutions: y = 0 and y = 2. The first is unstable, whereas the second is stable. The general solution to y' = y (1 - y/2) is y = 2 / (1 - C exp(-y)). We now graph this solution for C ranging from -5 to 5:\ \>", "Text", FontSize->16, FontWeight->"Bold"], Cell[BoxData[ \(Plot[ Evaluate[Table\ [\ 2/\((1 - C\ Exp[\(-t\)])\)\ , {C, \(-5\), 5, 1}]], \n \t\t{t, \(-3\), 5}, \ AspectRatio -> 1, \ PlotRange\ -> \ {\(-3\), 5}] \)], "Input"], Cell["\<\ Sometimes an equilibrium arises which is neither stable nor unstable. Consider, for instance, y = 0 for the ODE y' = y^2 sin y:\ \>", "Text", FontSize->16, FontWeight->"Bold"], Cell[BoxData[ \(\(PlotVectorField[{1\ , \ y\ Sin[y]}, {t, \(-4\), 4}, {y, \(-4\), 4}, Axes \[Rule] True, ScaleFunction \[Rule] \((1&)\), Ticks \[Rule] None, Frame \[Rule] True, AspectRatio \[Rule] 1, \ PlotPoints\ -> \ 25]; \)\)], "Input"], Cell[TextData[StyleBox[ "Solutions starting near y = 0 are tend to converge/diverge from \ny=0 only \ fairly slowly.", FontWeight->"Bold"]], "Text", FontSize->16] }, Open ]] }, FrontEndVersion->"X 3.0", ScreenRectangle->{{0, 1280}, {0, 1024}}, WindowSize->{520, 600}, WindowMargins->{{155, Automatic}, {Automatic, 77}} ] (*********************************************************************** Cached data follows. If you edit this Notebook file directly, not using Mathematica, you must remove the line containing CacheID at the top of the file. The cache data will then be recreated when you save this file from within Mathematica. ***********************************************************************) (*CellTagsOutline CellTagsIndex->{} *) (*CellTagsIndex CellTagsIndex->{} *) (*NotebookFileOutline Notebook[{ Cell[CellGroupData[{ Cell[1731, 51, 84, 1, 64, "Subtitle"], Cell[1818, 54, 508, 15, 144, "Text"], Cell[2329, 71, 65, 1, 27, "Input"], Cell[2397, 74, 224, 3, 59, "Input"], Cell[2624, 79, 179, 5, 66, "Text"], Cell[2806, 86, 245, 4, 59, "Input"], Cell[3054, 92, 307, 7, 118, "Text"], Cell[3364, 101, 202, 4, 43, "Input"], Cell[3569, 107, 191, 6, 92, "Text"], Cell[3763, 115, 263, 4, 59, "Input"], Cell[4029, 121, 166, 4, 66, "Text"] }, Open ]] } ] *) (*********************************************************************** End of Mathematica Notebook file. ***********************************************************************)