# Slope Fields with Mathematica

## Making Slope Fields by Yourself

### dy/dx = y (1 - y), on the region 0 ≤ x ≤ 3, and 0 ≤ y ≤ 2

Don't cheat! If you didn't do the exercise in Mathematica before you came here to see the discussion, go back and do it now!

Assuming that you did the exercise correctly, you should have produced a picture that was simply a larger version of the following:

Slope Field for dy/dx = y (1 - y)

Hmmm! Here's another one where the isoclines are horizontal lines.

What about the general trend of the overall flow of the picture this time? At first glance it looks kind of like the previous example with the mirror image exponentials, but if you look very closely you will notice a few important differences:

• The horizontal slope lines are no longer in the vicinity of the x-axis, but seem to be right about the horizontal line y=1.
• The lower half of the graph isn't really exponential! The slopes are small near the x-axis, get steeper for a while, (up to about y=0.5), and then get smaller again as they approach y=1. (This is actually very hard to see with the graph Mathematica produces, and you may wish to play around with the rectangle dimensions being used in order to convince yourself of this trend.)

This kind of slope field is completely new to us! It doesn't fit into any of the categories we've seen before! We might start to wonder at this point whether it's even very important. The answer to that question is a resounding Yes!

This example is a special case of what is called the logistic model or Verhulst model for population growth. It's so important as a classic application of differential equations that we'll be doing an entire laboratory on this model later in the course.

So, we're done with the discussion of this problem for now. Let's go back to the exercises.

 If you're lost, impatient, want an overview of this laboratory assignment, or maybe even all three, you can click on the compass button on the left to go to the table of contents for this laboratory assignment.

ODE Laboratories: A Sabbatical Project by Christopher A. Barker

©2017 San Joaquin Delta College, 5151 Pacific Ave., Stockton, CA 95207, USA
e-mail:
cbarker@deltacollege.edu