Type a command or search the notes. Tab cycles completions. Up and down recall history when blank. Escape dismisses, then leaves the prompt.
MATH
[1251]

Definitions from ODE fundamentals

All definitions from ODE fundamentals.

Back to ODE fundamentals

Ordinary differential equation

An ordinary differential equation (ODE) is a relation involving one unknown function of one independent variable and its ordinary derivatives. A general nnth-order ODE can be written as

F(x,y(x),y′(x),…,y(n)(x))=0.F\bigl(x,y(x),y'(x),\ldots,y^{(n)}(x)\bigr)=0.

The independent variable may be xx or tt and the dependent function may be written yy, uu, PP or another letter. Renaming the variables does not change the structure. Primes such as y′y' mean differentiation with respect to the current independent variable; when that variable is time, dots such as x˙\dot{x} and x¨\ddot{x} are another common notation.

A partial differential equation (PDE) has two or more independent variables and uses partial derivatives. Newton's law for a falling point mass,

d2ydt2=−g,\frac{d^2y}{dt^2}=-g,

is an ODE, whereas the heat equation for a temperature u(x,t)u(x,t),

∂u∂t=κ∂2u∂x2,κ>0,\frac{\partial u}{\partial t}=\kappa\frac{\partial^2u}{\partial x^2},\qquad \kappa>0,

is a PDE because uu depends on both position and time.

Linear ordinary differential equation

An nnth-order ODE is linear when the dependent function and each of its derivatives occur only to the first power, are not multiplied together and have coefficients depending only on the independent variable. Its general form is

an(x)y(n)+an−1(x)y(n−1)+⋯+a1(x)y′+a0(x)y=f(x).a_n(x)y^{(n)}+a_{n-1}(x)y^{(n-1)}+\cdots+a_1(x)y'+a_0(x)y=f(x).

Here ana_n is not identically zero; on an interval where an(x)≠0a_n(x)\ne0 the equation can be divided into normal form.

The order is the order of the highest derivative present. The degree (when defined) is the exponent of that derivative after the equation is expressed as a polynomial in derivatives: (y′′)3+y=0(y'')^3+y=0 has order 22 and degree 33.

A linear equation is homogeneous when f(x)≡0f(x)\equiv0 and non-homogeneous, or inhomogeneous, otherwise. This use of homogeneous concerns the right-hand side; the homogeneous functions of first-order substitutions refer instead to a scaling property.

Terms such as y2y^2, yy′yy', (y′)2(y')^2 and sin⁡y\sin y make an equation nonlinear. For example,

u′′(t)=u′(t)+tu(t)2+t3,y′′=y′+xy2+x3,d2ydx2=dydx+xy2+x3u''(t)=u'(t)+tu(t)^2+t^3,\qquad y''=y'+xy^2+x^3,\qquad \frac{d^2y}{dx^2}=\frac{dy}{dx}+xy^2+x^3

are the same nonlinear second-order structure after the variables are renamed. The logistic population model, with growth parameter α\alpha and carrying capacity KK,

dPdt=αP(1−PK)\frac{dP}{dt}=\alpha P\left(1-\frac{P}{K}\right)

is a first-order nonlinear ODE.

Solution of an ODE

A solution of an ODE is a function that, after substitution into the equation, makes the equation an identity on its domain. The solution may be given explicitly as y=y(x)y=y(x) or implicitly as a relation between xx and yy.

An implicit relation is a solution only on a domain where it defines a differentiable function and satisfies the original equation. Differentiating the relation is often the quickest check. In the example below, y+tan⁡−1yy+\tan^{-1}y is strictly increasing in yy, so the relation defines one differentiable yy for each xx.

The stated domain is part of the solution. If an implicit relation splits into separate connected pieces, each piece on which it defines a valid solution is a branch. Division, logarithms and real roots can restrict the domain or branch, as the first-order methods examples show.

General and particular solutions

The general solution of an ODE is the family containing the arbitrary constants introduced during the solution process. A particular solution is obtained by assigning specific values to those constants.

An nnth-order equation normally produces nn arbitrary constants. Singular solutions, restrictions from division and degenerate equations can change how a family is represented.

Initial value problem

An initial value problem (IVP) consists of an ODE together with the value of the function and enough derivatives at one point. For an nnth-order equation, the usual data are

y(x0)=C0,y′(x0)=C1,…,y(n−1)(x0)=Cn−1.y(x_0)=C_0,\qquad y'(x_0)=C_1,\qquad \ldots,\qquad y^{(n-1)}(x_0)=C_{n-1}.

When the problem is well posed, the data determine the arbitrary constants. They may instead reveal that no solution exists or that more than one solution satisfies the same data.

Boundary value problem

A boundary value problem (BVP) prescribes conditions at different points of the independent-variable interval, rather than prescribing all data at one initial point.

For a second-order equation, values of yy at two endpoints may determine the two constants just as values of yy and y′y' at one endpoint can. As with an IVP, check existence and uniqueness rather than assuming them.

On this page