Roboculator
Online CalculatorsCategoriesDate & EventsNews
Get Started
Online CalculatorsCategoriesDate & EventsNewsGet Started
Roboculator

Smart calculators for every challenge. Free, fast, and private.

Categories

  • Finance
  • Health
  • Math
  • Construction
  • Conversion
  • Everyday Life

Popular Tools

  • Date & Events
  • Loan Calculator
  • BMI Calculator
  • Percentage Calc
  • Latest News
  • Search All

Resources

  • Glossary
  • Topic Tags
  • News & Insights

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  • Editorial Policy
  • Disclaimer
© 2026 Roboculator. All rights reserved.
Roboculator

roboculator.com

  1. Home
  2. /Math
  3. /Differential Equations
  4. /First Order DE Calculator

First Order DE Calculator

Last updated: March 15, 2026

Calculator

Results

y(t)

44.816891

dy/dt at t

13.445067

Growth Factor y(t)/y0

4.481689

Change from Initial Value

34.816891

Time Constant 1/|k|

3.333333

time

Doubling Time if k>0

2.310491

time

Half-Life if k<0

0

time

y(1)

13.498588

y(5)

44.816891

y(10)

200.855369

Results

y(t)

44.816891

dy/dt at t

13.445067

Growth Factor y(t)/y0

4.481689

Change from Initial Value

34.816891

Time Constant 1/|k|

3.333333

time

Doubling Time if k>0

2.310491

time

Half-Life if k<0

0

time

y(1)

13.498588

y(5)

44.816891

y(10)

200.855369

The First Order DE Calculator solves the fundamental first-order linear ordinary differential equation $$\frac{dy}{dx} = ky$$ with initial condition $$y(0) = y_0$$. This is the simplest and most important differential equation in all of mathematics, appearing in virtually every branch of science from physics and chemistry to biology and economics.

The equation states that the rate of change of a quantity is proportional to its current value. When $$k > 0$$, this produces exponential growth — the quantity increases faster and faster over time. When $$k < 0$$, the result is exponential decay — the quantity diminishes, approaching zero asymptotically but never quite reaching it.

The solution $$y(t) = y_0 e^{kt}$$ is one of the most fundamental results in mathematics. It can be derived by separation of variables: rearranging to $$\frac{dy}{y} = k\,dt$$, integrating both sides gives $$\ln|y| = kt + C$$, and applying the initial condition yields $$y = y_0 e^{kt}$$.

This equation models an extraordinary range of phenomena. Radioactive decay follows this law with $$k = -\frac{\ln 2}{t_{1/2}}$$ where $$t_{1/2}$$ is the half-life. Compound interest with continuous compounding gives $$A = Pe^{rt}$$ — the same equation with financial variables. Population growth in unlimited environments, bacterial reproduction, atmospheric pressure variation with altitude, and capacitor discharge in electrical circuits all follow this model.

The calculator evaluates the solution at your specified time $$t$$ and also provides values at $$t = 1, 5, 10$$ for comparison, along with the instantaneous rate of change $$\frac{dy}{dt}$$ at time $$t$$. For positive $$k$$, the doubling time is computed; for negative $$k$$, the half-life is given. These characteristic times are independent of the initial value and depend only on the rate constant.

Enter your initial value $$y_0$$, rate constant $$k$$, and the time at which you wish to evaluate the solution. Positive $$k$$ models growth; negative $$k$$ models decay. The magnitude of $$k$$ determines how rapidly the function changes — larger $$|k|$$ means faster growth or decay.

Visual Analysis

How It Works

The first-order ODE $$\frac{dy}{dt} = ky$$ is solved by separation of variables.

Step 1: Separate the variables:

$$\frac{dy}{y} = k\,dt$$

Step 2: Integrate both sides:

$$\ln|y| = kt + C$$

Step 3: Exponentiate:

$$y = Ae^{kt}, \quad A = e^C$$

Step 4: Apply the initial condition $$y(0) = y_0$$:

$$y_0 = Ae^0 = A$$

Therefore the unique solution is:

$$y(t) = y_0 e^{kt}$$

The doubling time (for $$k > 0$$) is found by setting $$y(t_d) = 2y_0$$:

$$2y_0 = y_0 e^{kt_d} \implies t_d = \frac{\ln 2}{k}$$

The half-life (for $$k < 0$$) is found by setting $$y(t_h) = \frac{y_0}{2}$$:

$$t_h = \frac{\ln 2}{|k|}$$

The instantaneous rate $$\frac{dy}{dt} = ky(t) = ky_0 e^{kt}$$ gives the speed of change at any moment.

Understanding Your Results

y(t) is the value of the function at time $$t$$. For growth models this increases without bound; for decay models it approaches zero.

dy/dt at t is the instantaneous rate of change. For growth ($$k > 0$$), this is positive and increasing; for decay ($$k < 0$$), it is negative with decreasing magnitude.

Doubling Time (shown when $$k > 0$$) is the time required for the quantity to double. It depends only on $$k$$, not on $$y_0$$. A smaller doubling time means faster growth.

Half-Life (shown when $$k < 0$$) is the time for the quantity to decrease by half. Again, this depends only on $$|k|$$.

The values y(1), y(5), y(10) provide a trajectory snapshot, helping you visualize how quickly the function changes over different time horizons.

Worked Examples

Bacterial Growth (k = 0.3)

Inputs

y010
k0.3
t5

Results

yt44.8169
dydt13.4451
doublingTime2.3105
halfLife0
y113.4986
y544.8169
y10200.8554

Starting with 10 bacteria and k = 0.3 per hour, after 5 hours: y(5) = 10·e^(0.3×5) = 10·e^1.5 ≈ 44.82. The population doubles every ln(2)/0.3 ≈ 2.31 hours. By t = 10, the population reaches about 201.

Radioactive Decay (k = -0.1)

Inputs

y0500
k-0.1
t7

Results

yt248.3519
dydt-24.8352
doublingTime0
halfLife6.9315
y1452.4187
y5303.2653
y10183.9397

Starting with 500 g of a radioactive substance with k = -0.1 per year, after 7 years: y(7) = 500·e^(-0.7) ≈ 248.35 g. The half-life is ln(2)/0.1 ≈ 6.93 years, matching the near-halving observed at t = 7.

Frequently Asked Questions

The rate constant k determines the speed and direction of change. When k > 0, the quantity grows exponentially; when k < 0, it decays. The magnitude |k| controls the speed: larger values mean faster change. Units of k are inverse time (e.g., per second, per year).

If you know the half-life t₁/₂, then k = -ln(2)/t₁/₂ for decay, or equivalently |k| = ln(2)/t₁/₂ ≈ 0.6931/t₁/₂. For example, carbon-14 has a half-life of 5,730 years, so k = -0.6931/5730 ≈ -0.000121 per year.

Exponential growth assumes unlimited resources. In reality, populations face constraints like food, space, and predation. The exponential model is accurate only for the early phase of growth. For long-term modeling, the logistic equation (which includes a carrying capacity) is more appropriate.

Mathematically, the formula y(t) = y₀e^(kt) works with negative y₀. Physically, negative initial values may represent quantities like charge deficit or temperature below a reference. The exponential function preserves the sign of y₀.

When k = 0, dy/dt = 0, meaning the function is constant: y(t) = y₀ for all t. There is no growth, no decay — the quantity remains unchanged. The doubling time and half-life are both undefined (infinite).

The Differential Equation Solver handles four different equation types (exponential, cooling, logistic). This First Order DE Calculator focuses exclusively on dy/dt = ky with detailed output including trajectory values at t = 1, 5, and 10, making it ideal for studying the pure exponential model in depth.

Sources & Methodology

Boyce, W.E. & DiPrima, R.C., Elementary Differential Equations, 11th ed., Wiley, 2017. Stewart, J., Calculus: Early Transcendentals, 9th ed., Cengage, 2020. Braun, M., Differential Equations and Their Applications, 4th ed., Springer, 1993.
R

Roboculator Team

The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.

How helpful was this calculator?

Be the first to rate!

Related Calculators

Differential Equation Solver

Differential Equations

Second Order DE Calculator

Differential Equations

Linear DE Calculator

Differential Equations

Separable DE Calculator

Differential Equations