Loading…

Separable Differential Equation Solver

Math Calculus • Multivariable Calculus

View all topics

Solve separable first-order differential equations of the form \(\displaystyle \frac{dy}{dx}=f(x)g(y)\). The calculator separates variables, integrates both sides, applies an initial condition, estimates \(y(x^*)\), and animates the solution curve.

Separable form \(\displaystyle \frac{dy}{dx}=f(x)g(y)\) Separate \(\displaystyle \frac{1}{g(y)}\,dy=f(x)\,dx\) Integrate \(\displaystyle \int\frac{1}{g(y)}\,dy=\int f(x)\,dx+C\) IVP form \(\displaystyle \int_{y_0}^{y(x)}\frac{1}{g(s)}\,ds=\int_{x_0}^{x}f(t)\,dt\)

Equation and initial condition

Use variables x and y. Supported functions: sin, cos, tan, sqrt, abs, exp, ln, log. Constants: pi, e. Use * for multiplication.
Live preview

Quick examples

Ready
Enter a separable differential equation and click “Solve”.

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 differential equation is separable if it can be written as dy/dx=f(x)g(y), with the x-dependence and y-dependence separated as a product.

How do you solve a separable differential equation?

Move all y-terms to the left and all x-terms to the right, then integrate both sides: integral 1/g(y) dy = integral f(x) dx + C.

How is the initial condition used?

The initial condition y(x0)=y0 determines the constant of integration. A clean IVP form is integral from y0 to y(x) of 1/g(s) ds equals integral from x0 to x of f(t) dt.

Why does the calculator use RK4?

RK4 gives a stable numerical solution curve even when the symbolic equation is implicit or difficult to solve explicitly.

What are equilibrium solutions?

If g(y_e)=0, then y(x)=y_e is a constant solution because dy/dx=f(x)g(y_e)=0.

Why might the auto-split mode fail?

Auto-split only works for simple products of an x-only factor and a y-only factor, such as x*y or sin(x)*y^2. Use product mode for more control.

Is the displayed symbolic solution always explicit?

No. Some separable equations produce implicit solutions. The calculator still plots and evaluates the IVP numerically.