Slope Fields with Mathematica - Exercise 1.2

Making Slope Fields by Yourself

A Post Exercise Discussion of

dy/dxÌý= sinÌýx, on the region -2Ï€ ≤ÌýxÌý≤ 2Ï€, and -5 ≤ÌýyÌý≤ 5

Once again, I hope you actuallyÌýdidÌýdo the exercise inÌýMathematicaÌýbefore you came here to see the discussion. If you didn't do it yet ,Ìýgo backÌýand do the exercise now!

Assuming that you did the exercise correctly, you should have produced a picture that was very much like the following:

Slope Field Graph
Ìý
Slope Field forÌýdy/dxÌý= sinÌýx

Here too, you should have noticed that the isoclines for this slope field are vertical lines, (just like the last example.) Do you recognize the general trend of the field this time? It's harder to see than the one with the parabolas, but if you really think about it, those little waves should look a bit familiar. Hmmm, symmetry about theÌýy-axis, like the cosine function, but upside down. That would make it the negative of the cosine function, wouldn't it? A whole family of them shifted vertically from one another!

Again, this makes sense if you think about solving this differential equation using integration. If you simply integrated:

dy/dxÌý= sinÌýx?

You'd get:

yÌý= -cosÌýxÌý+ÌýC.

This would make a whole family of upside down cosine functions, depending upon what value you give to the constantÌýC, which would match what the slope field is telling us too. Are you starting to make the connection between slope fields and analytic solutions?

That's the end of my discussion—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.