ForHosting KIT · Developer Utilities

Separable Differential Equation Solver Calculator

This separable differential equation solver handles the standard exponential-growth or exponential-decay equation dy/dx = ky.

● BetaFree · in your browser
Use it from WebAPIEmailTelegramApp soon

Enter the constant k, an initial condition y(x0) = y0, and the point where you need the solution evaluated. The calculator separates the variables, identifies the general exponential family, applies the initial condition, and returns a stable numerical value at the requested point. It is useful for checking coursework and for modeling quantities whose instantaneous rate of change is proportional to their current amount.

Recognize the standard separable equation

The calculator is designed for the common equation dy/dx = ky, where k is a fixed real constant. It appears whenever a quantity changes at a rate proportional to its present value: unrestricted population growth, radioactive decay, continuously compounded balances, first-order removal, and idealized cooling differences are familiar examples. The equation is separable because every factor involving y can be moved to one side and every factor involving x to the other, producing dy/y = k dx when y is nonzero. The zero solution is also retained through the initial condition y0 = 0. This focused form makes the answer exact and deterministic; it is not a numerical step approximation. Supply k directly, including a negative value for decay or zero for a constant solution. Then provide x0 and y0 together as the known point on the solution curve. The solver does not accept an arbitrary derivative expression, variable coefficients, forcing terms, or equations that merely resemble this form after a complicated substitution.

From separation to the particular solution

Integrating the separated equation gives ln|y| = kx plus an integration constant. Exponentiating absorbs the sign and positive exponential factor into a single arbitrary constant C, so the general family is y = C exp(kx). Applying y(x0) = y0 determines C = y0 exp(-kx0). The same result is more clearly written as y(x) = y0 exp(k(x - x0)), which is the particular solution reported by this tool. That shifted form is convenient because substituting x0 immediately makes the exponential equal one and recovers y0. It also avoids separately displaying a potentially awkward value of C. If y0 is zero, the formula correctly returns the equilibrium solution y = 0 even though dividing by y during the informal separation step would exclude it. The calculator reports the separation statement, general family, particular formula, and evaluation so you can follow the reasoning instead of receiving an unexplained number. All computations use JavaScript floating-point arithmetic, followed by presentation rounding at your chosen precision.

Evaluate the solution and interpret the result

Choose the target x independently of the initial point; it may be earlier, equal to, or later than x0. The solver computes the dimensionless exponent k(x - x0), evaluates the exponential, multiplies by y0, and rounds the displayed result from zero through fifteen decimal places. A positive k makes the magnitude grow as x increases, while a negative k makes it decay toward zero. Moving backward from x0 reverses those tendencies. The sign of a nonzero solution is inherited from y0 because an exponential factor is always positive, so this model never crosses zero. Check that the units are consistent: if x is measured in hours, k must have units of inverse hours, and the output y keeps the same units as y0. Extremely large exponents can exceed finite numeric range; the calculator rejects those cases rather than returning a misleading infinity. Use the exact formula for analysis and the evaluated value for a specific prediction, comparison, or answer check. For arbitrary separable functions f(x)g(y), additional symbolic integration would be required and is outside this calculator's deliberately bounded scope.

Check an exponential growth exercise

Apply a supplied initial condition to dy/dx = ky and compare the exact evaluated value with a handwritten solution.

Model first-order decay

Use a negative rate constant to estimate the remaining amount at a specified time without a numerical stepping method.

Verify an initial-value solution

Confirm the general family, particular exponential formula, exponent, and rounded value in one deterministic result.

Which differential equation does this calculator solve?

It solves the separable initial-value problem dy/dx = ky with constant real k and y(x0) = y0.

What is the exact solution?

The particular solution is y(x) = y0 exp(k(x - x0)); the calculator also evaluates it at your requested x.

Can k or y0 be negative?

Yes. A negative k commonly represents decay, and a negative y0 produces a solution that remains negative.

What happens when y0 is zero?

The result is the equilibrium solution y(x) = 0 at every finite x.

Does it solve arbitrary separable equations?

No. It intentionally covers the common constant-rate form dy/dx = ky, not arbitrary products requiring symbolic antiderivatives.

What does it cost?

A request costs $0.002 through the API, and the same deterministic calculation can run free in your browser.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/calculus/separable-ode

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/calculus/separable-ode \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"k":0.5,"x0":0,"y0":2,"x":3}'
{
  "k": 0.5,
  "x0": 0,
  "y0": 2,
  "x": 3
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "calculus.separable_ode",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Read the full KIT documentation →