An ordinary differential equation (ODE) is a Differential equation involving derivatives with respect to a single independent variable. The “ordinary” distinguishes it from a partial differential equation (PDE), which involves multiple independent variables and partial derivatives.

The general form:

where is the unknown function and is its -th derivative.

Order

The order of an ODE is the order of its highest derivative.

  • — first-order.
  • — second-order.
  • — fourth-order.

Higher-order ODEs need more side conditions to specify a unique solution. A first-order ODE with pins down a unique solution; a second-order needs both and .

Examples by application

  • — exponential growth/decay (population, radioactive decay).
  • — damped mass-spring oscillator. See Mechanical and electrical vibrations.
  • — RL circuit with applied voltage.

Each is an ODE because the unknown function depends on a single variable (time, position, etc.).

Linear vs nonlinear

An ODE is linear if every term involving or its derivatives is first-degree linear in those quantities together: each such term is a (function of ) times a single one of . Equivalently:

  1. appear only to the first power. (This rule alone implies the second.)
  2. No products like — these are quadratic in the tuple even though each factor appears only to the first power. The condition is “first-degree as a polynomial in jointly,” which forbids products as well as squares.
  3. Coefficients can depend on but not on .

A linear ODE of order has the form:

Linear ODEs have well-developed solution theory, the Superposition principle, and predictable behavior. Nonlinear ODEs (like ) are harder — many can’t be solved in closed form.

Confirming a solution

A function is a solution of an -th order ODE on some interval if:

  1. is -times differentiable on .
  2. The equation holds for every .

Example: is a solution of on ?

Compute: , .

Substitute: .

So yes — satisfies the ODE on .

The general principle: confirming a candidate solution means taking the derivatives and plugging in. Don’t trust a printed claim — check.

Solving ODEs

Different ODE types have different solution methods. The systematic ones, in roughly increasing order of complexity:

For systems of ODEs (multiple unknowns), see System of first-order linear ODEs.

For when a solution is guaranteed to exist, see Existence and uniqueness theorem.