Slope Fields with Mathematica

Tweaking The Preliminary Example

(continued fromÌýlast page...)

Your trip toÌýMathematicaÌýshould have given a result like this:

Preliminary Example with Equal Length Vectors
Our preliminary example as drawn by Mathematica,
now with a 20 X 20 grid of vectors, all of equal length.
Ìý

Notice how we now have a much finer array of vectors, and a better feel for how the true solutions to the original differential equation might snake their way across the Cartesian plane.

Now for a little analysis of the above slope field...

Do you notice how the slopes in the slope field you just formed only depend uponÌýx, but not onÌýy? i.e. if you move up or down any vertical line in the plane, all of the slopes along it are identical. Why is this? Well, it has to do with our differential equation. Remember, the slope at any point was given by:

slopeÌý=Ìýx2

So there wasn't anyÌýyÌýin the formula for slope, justÌýx. This dependence of the slope (or the derivative, if you prefer) upon a single variable will not always be the case. As is usual in mathematics, we made the first example an extra easy one!

Now any curve on a slope field diagram along which all of the slope field's slopes are the same is referred to as anÌýisocline. According to this definition, then, for the example we just did withÌýMathematicaÌýanyÌýverticalÌýline through the slope field would be an isocline. It should be noted that, in general, isoclines needÌýnotÌýbe straight lines.

We'll come back and do a little more theory shortly, but now it'sÌýtime to look atÌýwhether you can makeÌýMathematicaÌýplot a slope fieldÌýwithoutÌýme telling you exactly what to type.

Ìý


Compass 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.