Skip to content

Introduction and Classification

1.1 Basic Definitions

A differential equation (DE) is an equation involving an unknown function and its derivatives. An ordinary differential equation (ODE) involves a function of one variable and its ordinary Derivatives. A partial differential equation (PDE) involves a function of several variables and Its partial derivatives.

1.2 Classification of ODEs

An ODE is:

  • Ordinary vs. partial: depends on whether partial derivatives appear.
  • Order: the highest derivative that appears.
  • Linear vs. nonlinear: linear if the unknown function and its derivatives appear linearly.
  • Homogeneous vs. nonhomogeneous: for linear ODEs, homogeneous if the forcing term is zero.

1.3 Initial and Boundary Value Problems

An initial value problem (IVP) specifies the value of the function (and possibly its Derivatives) at a single point. A boundary value problem (BVP) specifies conditions at two or More points.

1.4 Examples from Physics and Biology

Differential equations arise throughout the natural sciences. A few canonical examples:

  1. Newton”s law of cooling. The temperature T(t)T(t) of a body in a medium at temperature TmT_m satisfies dTdt=k(TTm)\frac{dT}{dt} = -k(T - T_m)A first-order linear ODE.

  2. Harmonic oscillator. A mass on a spring with damping obeys md2xdt2+cdxdt+kx=F(t)m\frac{d^2 x}{dt^2} + c\frac{dx}{dt} + kx = F(t)A second-order linear ODE.

  3. Logistic population growth. dPdt=rP(1PK)\frac{dP}{dt} = rP\left(1 - \frac{P}{K}\right)A first-order nonlinear (Bernoulli) ODE.

  4. Lotka-Volterra predator-prey model. dxdt=x(αβy)\frac{dx}{dt} = x(\alpha - \beta y), dydt=y(γ+δx)\frac{dy}{dt} = y(-\gamma + \delta x)A coupled nonlinear system.

  5. RC circuit. The charge q(t)q(t) on a capacitor satisfies Rdqdt+qC=V(t)R\frac{dq}{dt} + \frac{q}{C} = V(t) a first-order linear ODE.

  6. Heat equation. The temperature u(x,t)u(x, t) in a rod satisfies ut=α2uxxu_t = \alpha^2 u_{xx}A second-order linear PDE.

  7. Wave equation. The displacement u(x,t)u(x, t) of a string satisfies utt=c2uxxu_{tt} = c^2 u_{xx}A second-order linear PDE.

  8. Laplace’s equation. The steady-state temperature satisfies uxx+uyy=0u_{xx} + u_{yy} = 0A second-order linear PDE.

1.5 Classification Tree

Differential Equations
├── ODE (one independent variable)
│ ├── By order
│ │ ├── First-order: y' = f(x, y)
│ │ ├── Second-order: y'' = f(x, y, y')
│ │ └── n-th order: y^(n) = f(x, y, ..., y^(n-1))
│ ├── By linearity
│ │ ├── Linear: a_n(x)y^(n) + ... + a_0(x)y = g(x)
│ │ │ ├── Homogeneous (g = 0)
│ │ │ └── Nonhomogeneous (g ≠ 0)
│ │ └── Nonlinear (y or derivatives appear nonlinearly)
│ └── By coefficients
│ ├── Constant coefficient
│ └── Variable coefficient
└── PDE (multiple independent variables)
├── Elliptic: B² - 4AC < 0 (e.g., Laplace)
├── Parabolic: B² - 4AC = 0 (e.g., Heat)
└── Hyperbolic: B² - 4AC > 0 (e.g., Wave)

1.6 Worked Example: Classifying ODEs

Problem. Classify each equation by order, linearity, and homogeneity (if linear).

(a) y+3y+2y=sinxy'' + 3y' + 2y = \sin x

(b) (y)2+y=0(y')^2 + y = 0

(c) x2y+xy+(x21)y=0x^2 y'' + xy' + (x^2 - 1)y = 0

(d) 2ux2+2uy2=0\frac{\partial^2 u}{\partial x^2} + \frac{\partial^2 u}{\partial y^2} = 0

Solution

(a) Second-order, linear, nonhomogeneous (forcing term sinx0\sin x \neq 0).

(b) First-order, nonlinear (the term (y)2(y')^2 is nonlinear in yy').

(c) Second-order, linear, homogeneous. This is Bessel’s equation of order 1.

(d) Second-order PDE, linear, homogeneous. This is Laplace’s equation; A=1A = 1, C=1C = 1, B=0B = 0 So B24AC=4<0B^2 - 4AC = -4 \lt 0 (elliptic). \blacksquare