A differential equation is an equation relating an unknown function to its derivatives. It is an ordinary differential equation if the unknown function has one independent variable and a partial differential equation if it has several, so that partial derivatives appear. The order of a differential equation is the order of the highest derivative in it. Let I⊆RI\subseteq\mathbb{R} be an interval and FF be a function of n+1n+1 real variables. An ordinary differential equation of order nn in normal form expresses the highest derivative of the unknown yy in terms of xx and the lower derivatives.

y(n)=F(x,y,y′,…,y(n−1))y^{(n)}=F\left(x,y,y',\ldots,y^{(n-1)}\right)

A solution of the equation on II is a function y:I→Ry:I\rightarrow\mathbb{R} that is nn times differentiable on II and satisfies the equation at every x∈I.x\in I. The graph of a solution is an integral curve. A general solution is a family of solutions depending on nn arbitrary constants that contains every solution, or every solution but finitely many singular solutions, and a particular solution is one member of the family. For example, y′=yy'=y has general solution y=C exy=C\,e^x for C∈R,C\in\mathbb{R}, since (y e−x)′=0\left(y\,e^{-x}\right)'=0 for every solution.

The equation is linear if FF is a linear function of y,y′,…,y(n−1),y,y',\ldots,y^{(n-1)}, so that it can be written with coefficient functions a0,…,an−1a_0,\ldots,a_{n-1} and a forcing function gg defined on I,I,

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

and non-linear otherwise. A linear equation is homogeneous if g=0g=0 and inhomogeneous otherwise, and has constant coefficients if every aia_i is constant. The equation is autonomous if FF does not depend on x,x, in which case a translate x↦y(x−c)x\mapsto y\left(x-c\right) of a solution is a solution.

Let y‾=(y,y′,…,y(n−1)).\underline{y}=\left(y,y',\ldots,y^{(n-1)}\right). An equation of order nn in normal form is equivalent to the first-order system of nn equations

y‾′=F‾(x,y‾),F‾(x,y‾)=(y2,…,yn,F(x,y1,…,yn)),\underline{y}'=\underline{F}\left(x,\underline{y}\right),\qquad\underline{F}\left(x,\underline{y}\right)=\left(y_2,\ldots,y_n,F\left(x,y_1,\ldots,y_n\right)\right),

so results about first-order systems with y‾∈Rn\underline{y}\in\mathbb{R}^n apply to equations of every order. Let x0∈Ix_0\in I and y‾0∈Rn.\underline{y}_0\in\mathbb{R}^n. An initial value problem is a first-order system together with an initial condition that fixes the value of the unknown at one point,

y‾′=F‾(x,y‾),y‾(x0)=y‾0,\underline{y}'=\underline{F}\left(x,\underline{y}\right),\qquad\underline{y}\left(x_0\right)=\underline{y}_0,

which for an equation of order nn prescribes y(x0),y′(x0),…,y(n−1)(x0).y\left(x_0\right),y'\left(x_0\right),\ldots,y^{(n-1)}\left(x_0\right). A boundary value problem instead prescribes conditions on the unknown at two or more points, typically the endpoints of I,I, and need not have a unique solution, or any solution: y′′+y=0y''+y=0 with y(0)=y(π)=0y(0)=y(\pi)=0 is solved by every y=Csin⁡x,y=C\sin x, whereas with y(0)=0y(0)=0 and y(π)=1y(\pi)=1 it has no solution.

By the fundamental theorems of calculus, a continuous y‾\underline{y} solves the initial value problem on an interval II containing x0x_0 if and only if it satisfies the integral equation

y‾(x)=y‾0+∫x0xF‾(s,y‾(s))ds  ∀ x∈I,\underline{y}(x)=\underline{y}_0+\int_{x_0}^{x}\underline{F}\left(s,\underline{y}(s)\right)ds\,\,\forall\,x\in I,

where a vector-valued function is integrated componentwise. Picard iteration applies the right-hand side repeatedly, starting from the constant function y‾0.\underline{y}_0.

y‾k+1(x):=y‾0+∫x0xF‾(s,y‾k(s))ds\underline{y}_{k+1}(x):=\underline{y}_0+\int_{x_0}^{x}\underline{F}\left(s,\underline{y}_k(s)\right)ds

Let R=[x0−a,x0+a]×B‾(y‾0,b)R=\left[x_0-a,x_0+a\right]\times\overline{B}\left(\underline{y}_0,b\right) and F‾:R→Rn\underline{F}:R\rightarrow\mathbb{R}^n be continuous with ∥F‾∥≤M\lVert\underline{F}\rVert\leq M on RR and Lipschitz continuous in y‾\underline{y}, meaning that there exists L≥0L\geq 0 with

∥F‾(x,y‾)−F‾(x,z‾)∥≤L∥y‾−z‾∥  ∀ (x,y‾),(x,z‾)∈R.\left\lVert\underline{F}\left(x,\underline{y}\right)-\underline{F}\left(x,\underline{z}\right)\right\rVert\leq L\left\lVert\underline{y}-\underline{z}\right\rVert\,\,\forall\,\left(x,\underline{y}\right),\left(x,\underline{z}\right)\in R.

The Picard–Lindelöf theorem states that the initial value problem has exactly one solution on [x0−h,x0+h]\left[x_0-h,x_0+h\right] with h=min⁡{a,bM},h=\min\left\{a,\frac{b}{M}\right\}, and that the Picard iterates converge uniformly to it. The right-hand side of the integral equation is a map on the complete metric space of continuous functions from [x0−h,x0+h]\left[x_0-h,x_0+h\right] into B‾(y‾0,b)\overline{B}\left(\underline{y}_0,b\right) with the supremum norm, some iterate of which is a contraction, so the contraction mapping theorem gives the unique fixed point. If F‾\underline{F} is C1C^1 on an open set then it is Lipschitz continuous in y‾\underline{y} on every closed bounded rectangle inside that set, by the mean value theorem, so the theorem applies to every initial condition in the set.

The Lipschitz condition cannot be dropped for uniqueness. The Peano existence theorem states that continuity of F‾\underline{F} alone guarantees a solution on [x0−h,x0+h],\left[x_0-h,x_0+h\right], but y′=2∣y∣y'=2\sqrt{\lvert y\rvert} with y(0)=0y(0)=0 is solved by y=0y=0 and by y=x∣x∣,y=x\lvert x\rvert, since ∣y∣\sqrt{\lvert y\rvert} is not Lipschitz continuous near 0.0.

A solution of an initial value problem on an interval II extends another if it agrees with it on the smaller interval. Under the Picard–Lindelöf hypotheses on an open set U⊆R×Rn,U\subseteq\mathbb{R}\times\mathbb{R}^n, every solution extends to a unique maximal solution on a maximal interval of existence (α,ω),\left(\alpha,\omega\right), and as x→ωx\rightarrow\omega (or x→αx\rightarrow\alpha) the point (x,y‾(x))\left(x,\underline{y}(x)\right) leaves every compact subset of U.U. The maximal interval can be smaller than the interval on which F‾\underline{F} is defined, since a solution can blow up in finite time: y′=y2y'=y^2 with y(0)=1y(0)=1 has maximal solution y=11−xy=\frac{1}{1-x} on (−∞,1).\left(-\infty,1\right). If F‾\underline{F} is continuous on I×RnI\times\mathbb{R}^n and Lipschitz continuous in y‾\underline{y} on all of it, as it is for a linear system with continuous coefficients, then every maximal solution exists on the whole of I.I.

Grönwall’s inequality states that if u:[x0,x1]→Ru:\left[x_0,x_1\right]\rightarrow\mathbb{R} is continuous and satisfies u(x)≤C+L∫x0xu(s) dsu(x)\leq C+L\int_{x_0}^{x}u(s)\,ds for constants C,L≥0C,L\geq 0 then u(x)≤C eL(x−x0).u(x)\leq C\,e^{L\left(x-x_0\right)}. Applied to the difference of two solutions of the integral equation it gives uniqueness and continuous dependence on initial conditions: if y‾\underline{y} and z‾\underline{z} solve the same system with initial values y‾0\underline{y}_0 and z‾0\underline{z}_0 then

∥y‾(x)−z‾(x)∥≤∥y‾0−z‾0∥eL∣x−x0∣.\left\lVert\underline{y}(x)-\underline{z}(x)\right\rVert\leq\left\lVert\underline{y}_0-\underline{z}_0\right\rVert e^{L\lvert x-x_0\rvert}.

An initial value problem with a unique solution that depends continuously on the data is well-posed. The bound grows exponentially in x,x, so well-posedness does not prevent nearby solutions from diverging over long intervals.