1) Direction field (slope field)
For the ODE
\(\dfrac{dy}{dx}=f(x,y)\),
the derivative \(y'\) at a point \((x,y)\) equals the slope of the solution curve through that point.
A direction field draws small arrows (or line segments) at many grid points \((x_i,y_j)\) with direction
proportional to:
When you look at the field, solution curves should “flow” tangent to the arrows everywhere.
This often reveals behaviors like growth/decay regions, turning points, or attraction toward special curves.
2) Nullclines: where the slope is zero
The nullcline is the set of points where
\(f(x,y)=0\).
On the nullcline, the slope is zero, so solution curves have horizontal tangents there.
The tool plots the nullcline as a curve (via a contour method), which is very useful for qualitative reasoning.
3) Equilibria (autonomous case)
If the ODE is autonomous, then it has the form
\(\dfrac{dy}{dx}=g(y)\) (no \(x\) in the right side).
In that case, any constant \(y(x)=y^\*\) is a solution exactly when:
The tool detects these equilibrium values (within the current \(y\)-window) and draws horizontal dashed lines.
For non-autonomous \(f(x,y)\), constant equilibria generally do not exist unless \(f(x,y^\*)=0\) for all \(x\).
4) Sketching solution curves from IVPs
Given an initial value problem (IVP)
\(y(x_0)=y_0\),
the tool sketches the solution by numerically integrating forward and backward in \(x\).
RK4 is recommended for smoother curves; Euler is available as a simpler method.
- Click the graph to place an IVP point \((x_0,y_0)\).
- The solution curve is drawn through that point, tangent to the field.
- Use pan/zoom to inspect local behavior.
5) Example: \(y' = x-y\)
The sample input
\(y' = x-y\)
has a direction field whose solution curves satisfy
\(y=x + C e^{-x}\).
The nullcline is \(x-y=0\), i.e. \(y=x\), where slopes become zero.