For an initial value problem \( y' = f(x,y) \), two different domains play a role: the region \( D \) where the hypotheses of the existence and uniqueness theorem hold, and the region \( D' \) where the solutions themselves are defined. Neither one has to contain the other — the three examples below show \( D \subsetneq D' \), then \( D' \subsetneq D \), and finally a solution whose domain is bounded even though \( D \) is the whole plane.
Consider the equation
We find an integrating factor:
Multiplying by \( \mu(x) \):
The left-hand side is a derivative:
Integrating gives \( \dfrac{y}{x} = x + C \), so the general solution is
Consider the equation
Multiplying by \( y \) gives \( y\, y' = -x \). The left-hand side is a derivative:
Integrating: \( \frac{1}{2} y^2 = -\frac{1}{2} x^2 + C \). Multiplying by \( 2 \) and rearranging:
The solutions are half-circles, since a solution must be a differentiable function of \( x \).
Consider the equation
For \( y \neq 0 \) we separate variables:
so \( -\dfrac{1}{y} = x + C \), and hence
For the initial condition \( y(3) = 1 \) we get \( C = -4 \), so