Graph
Initial point \((x_0,y_0)\) and the evaluated point at \(x^\*\) are labeled with coordinates.
Math Calculus • Differential Equations
Initial point \((x_0,y_0)\) and the evaluated point at \(x^\*\) are labeled with coordinates.
A first-order ODE is separable if it can be written as y' = f(x) g(y), where the x-dependence and y-dependence appear as a product. This allows rewriting it as (1/g(y)) dy = f(x) dx and integrating both sides.
Single RHS mode attempts to factor the right-hand side into an x-only part times a y-only part. It succeeds only when the expression is literally a product of those independent parts.
After integrating, the constant of integration is determined by substituting x=x0 and y=y0 into the integrated equation. This produces an IVP-specific implicit solution and supports evaluating y at x*.
Many separable solutions are implicit or require solving for y numerically, which can be difficult to plot reliably for all cases. RK4 provides a stable numerical solution curve over the chosen x-interval.