Differential equations

Open In Colab

Differential equations#

Since Newton, mankind has come to realize that the laws of physics are always expressed in the language of differential equations. - Steven Strogatz

Differential equations relate functions and their derivatives, and are pervasive in modern engineering and science. The study of differential equations is vast with many innovative ideas being explored.

An incomplete classification of equations#

Classification

Type

Description

Example

Order of Differential Equations

First-Order

Involves the first derivative of the function.

$\(\frac{dy}{dx} = y\)$

Second-Order and Higher

Involves second or higher derivatives.

$\(\frac{d^2y}{dx^2} + 3\frac{dy}{dx} + 2y = 0\)$

Linear vs. Nonlinear Differential Equations

Linear

The dependent variable and its derivatives appear linearly.

$\(\frac{d^2y}{dx^2} + p(x)\frac{dy}{dx} + q(x)y = g(x)\)$

Nonlinear

The equation involves nonlinear terms of the dependent variable or its derivatives.

$\(\left(\frac{dy}{dx}\right)^2 + y = 0\)$

Homogeneous vs. Non-Homogeneous Differential Equations

Homogeneous

All terms are a function of the dependent variable and its derivatives.

$\(\frac{d^2y}{dx^2} - y = 0\)$

Non-Homogeneous

Includes terms that are not a function of the dependent variable or its derivatives.

$\(\frac{d^2y}{dx^2} - y = e^x\)$

Initial / Boundary Value Problems

Initial Value Problems

The solution is determined by the value of the function and its derivatives at a single point.

$\(\frac{dy}{dx} = y, \quad y(0) = 1\)$

Boundary Value Problems

The solution is determined by the values of the function at multiple points.

$\(\frac{d^2y}{dx^2} = -y, \quad y(0) = 0, \quad y(\pi) = 0\)$

Ordinary vs. Partial Differential Equations

Ordinary Differential Equations (ODEs)

Involve functions of a single variable and their derivatives.

$\(\frac{dy}{dx} + y = 0\)$

Partial Differential Equations (PDEs)

Involve functions of multiple variables and their partial derivatives.

$\(\frac{\partial u}{\partial t} = c^2 \frac{\partial^2 u}{\partial x^2}\)$

Time dependent PDEs

Elliptic PDEs

Stationary problems in time.

Laplace’s equation, $\(\nabla^2 u = 0\)$

Parabolic PDEs

First derivative in time.

The heat equation, $\(\frac{\partial u}{\partial t} = \alpha \nabla^2 u\)$

Hyperbolic PDEs

Second derivative in time.

The wave equation, $\(\frac{\partial^2 u}{\partial t^2} = c^2 \nabla^2 u\)$