Skip to content

Mathematics · Ch 10 — Ordinary Differential Equations

Classification of Differential Equations

10.3

Classification of Differential Equations

Definition 10.4 (Ordinary Differential Equation). If a differential equation contains only ordinary derivatives of one or more functions with respect to a single independent variable, it is an Ordinary Differential Equation (ODE).

Definition 10.5 (Partial Differential Equation). An equation involving only partial derivatives of a function of two or more independent variables is a Partial Differential Equation (PDE). For instance, with yy the unknown function of the single variable xx: dydx+2y=e−x\dfrac{dy}{dx}+2y=e^{-x}, d2ydx2−5dydx−y=0\dfrac{d^2y}{dx^2}-5\dfrac{dy}{dx}-y=0, and dxdt+dydt=3x−4y\dfrac{dx}{dt}+\dfrac{dy}{dt}=3x-4y are all ODEs; whereas ∂u∂y=−∂u∂x\dfrac{\partial u}{\partial y}=-\dfrac{\partial u}{\partial x}, ∂2u∂x2+∂2u∂y2=0\dfrac{\partial^2u}{\partial x^2}+\dfrac{\partial^2u}{\partial y^2}=0, and ∂2u∂x2=∂2u∂t2−∂u∂t\dfrac{\partial^2u}{\partial x^2}=\dfrac{\partial^2u}{\partial t^2}-\dfrac{\partial u}{\partial t} are PDEs. This chapter deals only with ODEs.

Ordinary differential equations further split into linear and nonlinear ones.

Definition 10.6 (Linear ODE). A general linear ODE of order nn can be written

an(x)y(n)+an−1(x)y(n−1)+⋯+a1(x)y′+a0(x)y=g(x),an(x)≠0,a_n(x)y^{(n)}+a_{n-1}(x)y^{(n-1)}+\cdots+a_1(x)y'+a_0(x)y=g(x),\qquad a_n(x)\ne0,

where a0(x),…,an(x)a_0(x),\ldots,a_n(x) and g(x)g(x) are any functions of xx (possibly zero, possibly constant). Three things characterise linearity: (1) there is no product of yy (or its derivatives) with each other; (2) no transcendental function (trig, log, …) is applied to yy or any of its derivatives; (3) yy and its derivatives never sit "inside" another function such as y′y' or ey′e^{y'}. The coefficients a0,…,ana_0,\ldots,a_n and g(x)g(x) may themselves be any functions of xx (constant, linear, nonlinear, zero, or nonzero) — only yy and its derivatives are restricted.

Definition 10.7 (Nonlinear ODE). Simply, any ODE that is not linear: if a coefficient of y,y′,y′′,…y,y',y'',\ldots itself depends on yy or its derivatives, or a power such as (y′)2(y')^2 appears, or a nonlinear function of yy or y′y' (e.g. sin⁡y\sin y or ey′e^{y'}) appears, the equation is nonlinear. Examples of linear ODEs: dydx=ax3\dfrac{dy}{dx}=ax^3, d2ydx2+dydx+2y=0\dfrac{d^2y}{dx^2}+\dfrac{dy}{dx}+2y=0, dydx+p(x)y=q(x)\dfrac{dy}{dx}+p(x)y=q(x); whereas ydydx+sin⁡x=0y\dfrac{dy}{dx}+\sin x=0 is nonlinear (product of yy and y′y'). y′′+xy′=xy2+7y''+xy'=xy^2+7 is nonlinear (the y2y^2 term); y′′+y′=xy''+y'=x is linear; y2+y′=xy^2+y'=x is nonlinear (the y2y^2 term); y′′=ysin⁡xy''=y\sin x is linear (the coefficient of yy is −sin⁡x-\sin x, a function of xx only, not of yy or its derivatives).

Definition 10.8 (Homogeneous vs. non-homogeneous, linear-equation sense). In the general linear form above, if g(x)=0g(x)=0 the equation is called homogeneous; otherwise non-homogeneous. (This use of "homogeneous" describes the linear equation's right-hand side being zero — it is a different meaning from the "homogeneous differential equation" of §10.6.3, where the phrase instead describes dydx\dfrac{dy}{dx} being expressible as a function of yx\dfrac{y}{x} alone; the two uses of the same word must not be confused.) …