Definitions from ODE fundamentals
All definitions from 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 th-order ODE can be written as
The independent variable may be or and the dependent function may be written , , or another letter. Renaming the variables does not change the structure. Primes such as mean differentiation with respect to the current independent variable; when that variable is time, dots such as and 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,
is an ODE, whereas the heat equation for a temperature ,
is a PDE because depends on both position and time.
Linear ordinary differential equation
An th-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
Here is not identically zero; on an interval where 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: has order and degree .
A linear equation is homogeneous when 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 , , and make an equation nonlinear. For example,
are the same nonlinear second-order structure after the variables are renamed. The logistic population model, with growth parameter and carrying capacity ,
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 or implicitly as a relation between and .
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, is strictly increasing in , so the relation defines one differentiable for each .
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 th-order equation normally produces 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 th-order equation, the usual data are
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 at two endpoints may determine the two constants just as values of and at one endpoint can. As with an IVP, check existence and uniqueness rather than assuming them.