Slope Fields with Mathematica - Exercise 2.4

Making Slope Fields by Yourself

Ìý

A Post Exercise Discussion of

dy/dxÌý=Ìýey, on the region -1 ≤ÌýxÌý≤ 1, and -1 ≤ÌýyÌý≤ 1

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

Assuming that you worked the problem correctly, you should have produced a picture similar to this:

Slope Field Graph
Slope Field forÌýdy/dxÌý=Ìýey

The horizontal isoclines are evident once again in this picture. Obviously we're seeing a common theme running through all slope fields of equations of this general type.

But do we recognize the slope field trend? Let's go for the analytic solution right away and see if we can spot a connection.

Starting with:

dy/dxÌý=Ìýey

We first divide both sides byÌýey, to get:

1/(ey) (dy/dx) = 1

Which can be rewritten as:

e-yÌý(dy/dx) = 1

Now we integrate both sides individually to get:

-e-yÌý=ÌýxÌý+ÌýC

A little basic algebra allows us to isolate theÌýyÌýhere to give:

yÌý= -ln|xÌý+ÌýC|

This describes a family of upside down natural logarithm functions each shifted horizontally from the others by the movement resulting from changing the value ofÌýC. The picture does seem to agree with this analysis. If you don't quite see the agreement yourself, try returning toÌýMathematicaÌýand experimenting further with the bounds of the plot, and maybe even the number of vectors being plotted.

Well, we're done with the discussion of this problem, so 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.