Initial Value Problems
Initial Value Problems
y 0 y.
It follows that
y ( x ) Ce x
for some constant C. If we want to determine C, we need at least one more piece of
information about the function y ( x ) . For example, if we also know that
y (0) 3,
For example,
y 0 y, y (0) 3
y 3e x .
In general, we expect that every initial value problem has exactly one solution. We
can find this solution using the following procedure.
y 0 f ( x, y ) , y ( a ) b,
3. Solve for C and then substitute the answer back into the formula for y.
2 INITIAL VALUE PROBLEMS
EXAMPLE 1
Find the solution to the following initial value problem:
y 0 −y 2 , y (0) 5.
1
y ,
x+C
Plugging in x 0 and y 5 gives the equation
1
5 .
0+C
Solving for C gives C 1/5, so
1
y .
x + (1/5)
This simplifies to
In this last step we multiplied the 5
y
numerator and denominator by 5 to 5x + 1
simplify the fraction of fractions.
EXAMPLE 2
Find the solution to the following initial value problem:
y 0 2y, y (0) 5.
SOLUTION The given differential equation isn’t very different from the equation
y 0 y.
In that case, the general solution was y Ce x . How can we modify this solution to account
for the extra 2?
A few moments of thought reveals the answer:
More generally, the solution to any
equation of the form y 0 k y (where k is y Ce 2x
a constant) is y Ce kx .
So this is the general solution to the given equation. Plugging in x 0 and y 5 gives the
equation
5 Ce 0 ,
so C 5 and the solution is
y 5e 2x
y 0 f ( x, y ) , y (a ) b
to have a unique solution. The following theorem gives specific conditions which
guarantee that this holds.
INITIAL VALUE PROBLEMS 3
This theorem is also known as the existence and uniqueness theorem for first-
order ODE’s, since it guarantees both that the solution exists and that it is unique.
The hypothesis that the function f ( x, y ) is continuously differentiable is important
for the theorem. In fact, there are initial value problems that do not satisfy this
hypothesis that have more than one solution. For example, the initial value problem
y
y0 , y (0) 0
x
has infinitely many different solutions, namely the lines y Cx for all possible values
of C. The function f ( x, y ) in this case is y/x, which is not defined (and hence not
continuously differentiable) when x 0.
There is a nice geometric interpretation of the fundamental theorem. As we have
seen, the solutions to a differential equation can be viewed as a family of solution
curves in the x y-plane. For example, Figure 1 shows the curves y ln ( x + C ) , which
are the solutions to the differential equation
y 0 e −y .
y 0 f ( x, y ) , y (a ) b
has a unique solution is the same as saying that the point ( a, b ) has exactly one solution
curve passing through it. This leads us to the following restatement of the fundamental
theorem of ODE’s.
(a) (b)
4 INITIAL VALUE PROBLEMS
y 0 f ( x, y ) ,
1. The solution curves for this differential equation completely fill the plane, and
Here statement (1) is the same as saying that every point ( a, b ) lies on at least one
solution curve, i.e. every initial condition gives at least one solution. Statement (2) is
the same as saying that no point ( a, b ) lies on more than one solution curve, i.e. every
initial condition has at most one solution.
EXERCISES