Slope Fields
If you haven't already, visit Introduction to Differential Equations. Slope fields provide a way to visualize first-order differential equations and get a feel for the family of solutions.
Try the following:
- The applet shows the slope field for dy/dx = x. We know that the general solution to this differential equation is y = ½x² + C and one of this family is shown in magenta. You can click-drag the magenta point to move the solution to other members of the family. The gray line segments in the background of the graph represent the slope field. The differential equation tells us the slope of a solution for any given point (x,y) on the plane, so one way to help visualize this is to draw small line segments at regular grid points, each segment having the appropriate slope at that point. In this example, the slope is the same as x, so the farther we get from the y-axis, the steeper the slope becomes and the line segments of the slope field are drawn with steeper slopes. Notice that the segment slopes are positive for x>0 and are negative for x<0, as you would expect. Also notice that, since the right-hand side of our example differential equation only has x in it and no y's, the slopes shown in the slope field do not depend on y. This shows up as having vertical columns of slope segments all with the same slope, as seen in this example. Also notice that the slope field's general shape gives you some idea of the shape of the solution.
- Select the second example from the drop-down menu, showing the differential equation dy/dx = y. The initial solution is the x-axis, but you can click/drag the magenta point to see other members of the solution family. What type of function do the solution curves look like? We will see on a later page how to find the solution and what its form looks like. Also notice that the right-hand side of this differential equation depends on only y, so that the slope field shows horizontal rows of identical slope segments.
- Select the third example, showing dy/dx = x + y. Drag the magenta point around to see various members of the solution family. In this example the slope depends on both x and y, so the slope field is more complicated than the previous examples. You can select the other examples from the drop down menu and explore their solution families. Note that for the fifth example, dy/dx = x/ y, some solutions look nice and smooth while other solutions look all jagged. The jagged solutions are not being graphed correctly, because of limitations in the graphing algorithm when the solution curve is not a function or when the slope field becomes nearly vertical (we will explore this issue more when we discuss Euler's method).
For more information on rights and downloading, refer to http://www.calculusapplets.com/download.html.
© Copyright 2001 David J. Eck
© Copyright 2007 Thomas S. Downey
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
You must cause any files that you modify to carry prominent notices stating that you changed the files and the date of any change, and modified files must be put into a Java package different from edu.hws.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.






















