# Initial value problem

## Contents

## Definition

An **initial value problem** in the context of a differential equation (here, an ordinary differential equation) is the following data:

- A differential equation (the independent variable here is and the dependent variable is ). This is a differential equation of order .
- A tuple of numbers

### Solution concept

A solution to this is a functional (or relational) solution to the original differential equation such that at , we have and the derivative is for . More concretely, a function solves the initial value problem if it solves the differential equation *and* , i.e., for .

### Intuition behind going one derivative less

Note that the typical setup of an initial value problem specifies derivatives only up to the for an order differential equation. The intuition is that the differential equation controls the (and higher) derivatives in terms of the derivatives up to the . In the case of an explicit differential equation, the and higher derivatives are uniquely determined. In general, they are usually determined up to a finite or discrete ambiguity.

## Solution strategy

### In terms of the general solution

The typical solution strategy for an initial value problem is as follows:

- First, find the general solution. For a differential equation of order , we typically expect this to involve free parameters.
- Plug in the conditions . These are conditions. Each condition gives an equation involving the free parameters. This gives a system of equations in variables.
- Solve the system. Assuming consistent and irredundant equations, we expect the solution set to be zero-dimensionsal, which typically means it is finite or discrete. In good situations, we may get a unique solution.
- Having found the solutions for the free parameters, plug these in to get the functional (or relational) solutions to the initial value problem.

### Other strategies

There are some strategies to solve initial value problems that do not rely on finding the general solution. Generally, these involve doing definite instead of indefinite integrations in the process of finding the solution. This way we avoid introducing unnecessary constants. In some situations, this can save us from the effort of making cases based on the signs of those unknown constants, because definite integration avoids the introduction of unnecessary parameters.

## Variations

Instead of a single initial value problem, we may be given the values of the function and some of its derivatives at *multiple* points. The trade-off is that fewer derivatives may be specified. The solution method is the same: find the general solution, then plug in the conditions to get equations for the free parameters. In general, we would like to have conditions in total (values of functions and derivatives) in order to get a unique, or finite, set of possible solutions.

One extreme case of a multiple initial value problem is the case where the value of the function (but no derivatives) is specified at distinct points of the domain.

## Examples

### Example of a separable differential equation

This is a first-order differential equation, so there will be one free parameter, and the initial value specification only involves specifying the function value (no derivatives) at one point.

Consider the separable differential equation:

This has a stationary solution . The relational solution family is given by:

Integrating:

Exponentiate:

Let and get (**NOTE**: This has nothing to do with the denoting the order of a differential equation, used elsewhere on this page):

So:

We can combine back the stationary solution by allowing to get:

We can see from this that every initial value specification yields a unique value of (we essentially get a linear equation in ), and hence every initial value problem for this differential equation has a unique solution.

Consider two different initial value problems associated with this differential equation:

- : In this case, we get:

Plug back into the original to get the unique solution to the initial value problem:

We can verify that this is both a solution to the differential equation and satisfies the initial value condition.

- : In this case, we get:

So we get the stationary solution .

This is as expected -- for any initial value condition where the initial value of is a stationary solution constant, the stationary solution should be one solution to the initial value problem. In our case, every initial value problem has a unique solution, so it is the only solution.