How to solve linear differential equations initial value problems
The initial condition lets us find the particular solution
We already know how to find the general solution to a linear differential equation. But this solution includes the ambiguous constant of integration . If we want to find a specific value for , and therefore a specific solution to the linear differential equation, then we’ll need an initial condition, like
Given this additional piece of information, we’ll be able to find a value for and solve for the specific solution.
Hi! I'm krista.
I create online courses to help you rock your math class. Read more.
Solving linear differential equation initial value problems
Take the course
Want to learn more about Differential Equations? I have a step-by-step course for that. :)
How to solve the initial value problem step-by-step
Example
Solve the linear differential equation initial value problem if .
To make sure that we have a linear differential equation, we need to match the equation we were given with the standard form of a linear differential equation.
compared to
Now the linear differential equation is in standard form, and we can see that and . With , we can find the integrating factor .
Now we’ll have to multiply the integrating factor through both sides of our linear differential equation.
To simplify the left-hand side further we need to remember the product rule for differentiation,
If we say that
and
then
and
Given this additional piece of information, we’ll be able to find a value for C and solve for the specific solution.
If we substitute all of that into the product rule formula, we get
What we see now is that the right side of this equation matches exactly the left side of our linear differential equation after we multiplied through by the integrating factor. Therefore, we can make a substitution and replace the left side of our linear differential equation with the left side of the product rule formula.
The goal of this initial value problem is to find an explicit equation for . In order to take the next step to solve for , we have to integrate both sides. Integrating the derivative will make both things cancel out.
Dividing both sides by to solve for , we get
Since we’ve been given the initial condition
we can plug it into our equation for to find a value for .
Plugging this value for back into our equation for , we get the explicit solution.