y = The unknown function of x that you are solving for
f(x,y) = A known function that defines the differential equation
x0 = The specific point in the domain where the initial condition is given
y0 = The prescribed value of y at the point x₀
Worked Example
Problem: Solve the initial value problem: dy/dx = 2x, with y(0) = 3.
Step 1: Identify the differential equation and the initial condition.
dxdy=2x,y(0)=3
Step 2: Integrate both sides with respect to x to find the general solution.
y=∫2xdx=x2+C
Step 3: Apply the initial condition y(0) = 3 to determine the constant C.
3=(0)2+C⟹C=3
Step 4: Write the particular solution that satisfies both the equation and the initial condition.
y=x2+3
Answer: The solution to the IVP is y = x² + 3.
Another Example
This example involves separation of variables and an exponential solution, unlike the first example which used direct integration of a polynomial. It shows how the initial condition selects one exponential curve from a whole family.
Problem: Solve the initial value problem: dy/dx = -4y, with y(0) = 5.
Step 1: Recognize this as a separable first-order ODE. Separate variables.
ydy=−4dx
Step 2: Integrate both sides.
ln∣y∣=−4x+C1
Step 3: Exponentiate to solve for y, combining constants into a single constant A.
y=Ae−4x
Step 4: Apply the initial condition y(0) = 5 to find A.
5=Ae0⟹A=5
Step 5: Write the particular solution.
y=5e−4x
Answer: The solution is y = 5e^(−4x), representing exponential decay.
Frequently Asked Questions
What is the difference between an initial value problem and a boundary value problem?
An initial value problem specifies conditions at a single point (e.g., y(0) = 1 and y′(0) = −2), while a boundary value problem specifies conditions at two or more different points (e.g., y(0) = 1 and y(1) = −2). IVPs typically model how a system evolves forward from a starting state, whereas BVPs constrain a solution at multiple locations in the domain.
How many initial conditions does an initial value problem need?
An nth-order ordinary differential equation requires exactly n initial conditions for a unique solution. A first-order ODE needs one condition such as y(x₀) = y₀. A second-order ODE needs two conditions, typically y(x₀) and y′(x₀), because the general solution contains two arbitrary constants.
Does every initial value problem have a unique solution?
Not always, but the Picard–Lindelöf theorem guarantees that for dy/dx = f(x, y) with y(x₀) = y₀, a unique solution exists in some neighborhood of x₀ provided f and ∂f/∂y are continuous near (x₀, y₀). If these conditions fail, solutions may not exist or may not be unique.
Initial Value Problem (IVP) vs. Boundary Value Problem (BVP)
Initial Value Problem (IVP)
Boundary Value Problem (BVP)
Where conditions are given
At a single point x₀
At two or more different points
Typical example
y″ + y = 0, y(0) = 1, y′(0) = −2
y″ + y = 0, y(0) = 1, y(π) = −2
Number of solutions
Usually exactly one (by existence/uniqueness theorems)
May have zero, one, or infinitely many solutions
Common applications
Modeling motion, growth, circuits — evolving from a known starting state
Steady-state temperature, beam deflection — constrained at endpoints
Solution direction
Typically solved forward (or backward) from one point
Solution must satisfy constraints at separate locations simultaneously
Why It Matters
Initial value problems appear throughout calculus, physics, and engineering courses whenever you model a process that starts from a known state and evolves over time — projectile motion, population growth, radioactive decay, and electric circuits are classic examples. In AP Calculus and university differential equations, solving IVPs is one of the most tested skills. Understanding IVPs also lays the groundwork for numerical methods like Euler's method and Runge–Kutta, which approximate solutions when exact formulas are impossible to find.
Common Mistakes
Mistake: Forgetting to use the initial condition and leaving the arbitrary constant C in the final answer.
Correction: The whole point of an IVP is to determine C (or multiple constants). After finding the general solution, always substitute the initial condition to solve for every constant before writing your final answer.
Mistake: Confusing initial conditions with boundary conditions — for instance, giving y at two different x-values and calling it an IVP.
Correction: For a problem to be an IVP, all conditions must be specified at the same point x₀. If conditions are at different points, you have a boundary value problem instead.