John Travis
Mississippi College
This worksheet deals with simple autonomous differential equations of the form $y' = f(y)$. In sage, one can obtain an entire slope field using builtin functions but this page is focused on creating the "phase line" for autonomous DEs. The user is allowed to utlize one parameter ($C$ is reserved for that use), determine which value(s) for $C$ may yield possible bifurcations and exhibit these possible bifurcations visually.
Finally, a complete bifurcation diagram is created showing the nature of solutions for varying values of the parameter.
First, one will need to enter the differential equation by specifying $f(y)$ below. To see a different result throughout this worksheet, one should change $f(y)$ here.

(y  1)*y  C (y  1)*y  C 
Equilibria occur when a solution $y(t)$ for the DE remains constant. If so, then
$y'=0$ and hence $f(y) = 0$.
Since once can determine whether an equilibrium is a sink or source using the sign of $f _y(y)$, the nature of the collection of equilibria will only change (under reasonable assumptions) when $f _y(y)$ is also zero.
System of Equations to solve for C is Possible Bifurcations may occur at the following parameter values: 1/4 System of Equations to solve for C is Possible Bifurcations may occur at the following parameter values: 1/4 
Since the DE is autonomous, we can determine the qualitative nature of all solutions by plotting the "phase line". Experiment with various values of the parameter and look for dramatic changes as you pass through the possible bifurcation values indicated above.
Click to the left again to hide and once more to show the dynamic interactive window 
The complete bifurcation diagram is given below. This could use a bit of work to make it look prettier automatically when you have widely varying equilibria for various $C$ values. Oh well, the secret is to only assign problems that look good in what has been written! :)

or with the regions smoothly drawn...


