Mathematical modeling with ODEs is the systematic process of translating a physical, biological, or engineering system into a differential equation. Once you have the equation, you can analyze it (find equilibria, study stability) and solve it (analytically or numerically) to predict the system’s behavior.

The general workflow:

  1. Choose dependent and independent variables, set a frame of reference.
  2. Choose convenient units of measurement.
  3. Identify the underlying principle governing the system: Newton’s laws, conservation, rate laws, etc.
  4. Express that principle as an equation in your chosen variables.
  5. Solve by integrating both sides (or applying a solution method).
  6. Apply side conditions (initial values, boundary conditions) to pin down constants.

The modeling step (3–4) is often the hardest. The mathematics (5–6) is mechanical once the equation exists.

Worked example: falling object

Model a falling object’s position over time.

Step 1: Variables. Let = height above ground at time . Independent variable: . Dependent: .

Step 2: Units. SI: meters, seconds.

Step 3: Principle. Newton’s second law: . The only force (ignoring air resistance) is gravity, (negative because we measure height upward). The acceleration is .

Step 4: Equation:

Step 5: Integrate twice.

Step 6: Apply initial conditions. Suppose (m), (released from rest). Then , :

The object falls. At time s, (reaches the ground).

Common modeling principles

Each domain has its standard principles:

  • Mechanics: (Newton). For damped oscillators: .
  • Heat transfer: Newton’s law of cooling, .
  • Population dynamics: = (birth rate − death rate) × . See Malthusian model and Logistic model.
  • Chemical kinetics: rate of reaction proportional to reactant concentrations. First-order: .
  • Electric circuits: Kirchhoff’s voltage law, .
  • Compound interest (continuous): , exponential growth.
  • Radioactive decay: , exponential decay.

Choosing the right model

Modeling involves trade-offs:

  • Simpler models are easier to solve and interpret but capture less detail. The simplest population model (Malthusian model) ignores environmental limits.
  • More complex models capture more reality but are harder to solve. The Logistic model adds carrying capacity.
  • Even more complex models add competition, predation, age structure, spatial variation — eventually requiring PDEs or stochastic equations.

Start simple. Add complexity only when the simple model fails to match observations.

What a model gives you

Once you have an ODE describing the system:

  • Predict the future by solving the ODE.
  • Find equilibria by setting derivatives to zero — these are the long-term states.
  • Analyze stability — see Stability of autonomous systems — to know whether equilibria are physical or sensitive.
  • Compute response to inputs via Laplace transform, Convolution integral, etc.
  • Identify parameters by fitting model output to data.

Limitations

ODE models are deterministic — same initial conditions always give same future. Real systems often involve randomness (use stochastic differential equations) or spatial variation (use PDEs). They also assume continuity — population sizes, for example, are integers but ODEs treat them as real numbers, which is a fine approximation only when populations are large.

For real engineering practice, ODE models are the starting point — useful for initial analysis, then refined or replaced when accuracy demands it.