Slope Fields with Mathematica - Exercise 3.4
Making Slope Fields by Yourself
A Post Exercise Discussion of
dy/dxÌý=Ìýy2Ìý+Ìýy/x, on the region -1 ≤ÌýxÌý≤ 1, and -1 ≤ÌýyÌý≤ 1
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 like this:

It should be clear that there is some kind of origin symmetry evident in the slope field.
Moving more quickly, since we've had so much experience by now, we know the equation of the isocline family is:
which is kind of unrecognizable. ItÌýisÌýpossible to solve this forÌýyÌýusing the quadratic formula, and then make a graph, but that looks like more trouble than it's worth, especially ifÌýMathematicaÌýcan be pressed into service for the task. Doing this, we produce a plot looking much like the following:

Try to verify from this image that as you trace along any particular one of theÌýred isoclines, the slopes of the vectors which intersect it are all the same.
What about finding an analytic solution? This problem is of a class of differential equations referred to asÌýBernoulli equations, (named after Swiss mathematician Jakob Bernoulli.) You may or may not have learned how to solve Bernoulli equations analytically in the lecture part of your course yet.
Using Bernoulli's technique, it can be shown that the actual analytic solution to this problem is:
Again,ÌýMathematicaÌýcan be talked into helping with the plot, producing:

As you can see, theÌýsolution curvesÌýthat we just calculated theoretically fit the slope field that we made earlier quite well.
We're done with the discussion of this problem, so let's go back to theÌýexercises.
Ìý








