Loading…

Separable Differential Equation Solver

Math Calculus • Differential Equations

View all topics

1. Separable Differential Equation Solver

Solve separable IVPs of the form \(\;y' = f(x)\,g(y)\;\) with an initial condition \(y(x_0)=y_0\). This tool shows the separation steps and uses RK4 for the plotted solution curve.

Equation input
Use x and y. Supports pi, e, sqrt(), sin, cos, exp, etc. Use * for multiplication. In “auto” mode, the tool only succeeds when RHS is literally a product of an x-only part and a y-only part.
Initial condition + evaluation
The “Results” section will include a numerical estimate for \(y(\x\^\*)\) and will show the definite-integral form \(\int_{y_0}^{y}\frac{1}{g(s)}\,ds = \int_{x_0}^{x} f(t)\,dt\).
Graph settings (optional)
Drag to pan; mouse wheel to zoom; double-click resets. Wide outputs scroll horizontally on small screens.
Ready
Enter the functions and click “Solve”.

Graph

RK4 solution curve (pan/zoom) — axes/ticks shown

Initial point \((x_0,y_0)\) and the evaluated point at \(x^\*\) are labeled with coordinates.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What is a separable differential equation?

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.

How does the solver handle Single RHS mode?

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.

How is the initial condition y(x0)=y0 used?

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*.

Why does the graph use RK4 instead of plotting the implicit solution directly?

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.