How to solve boundary value problems with distinct real roots
Steps for solving a boundary value problem
We already know how to solve an initial value problem for a second-order homogeneous differential equation.
Hi! I'm krista.
I create online courses to help you rock your math class. Read more.
Boundary value problems are very similar, but differ in a few important ways.
Initial value problems will always have a solution; boundary value problems may not.
The initial conditions given in an initial value problem relate to the general solution and its derivative; the initial conditions in a boundary value problem both relate to the general solution, not its derivative.
The initial conditions given in an initial value problem are both for values of ; the initial conditions given in a boundary value problem are for and .
Solving a boundary value problem with a second-order homogeneous differential equation
Take the course
Want to learn more about Differential Equations? I have a step-by-step course for that. :)
Solving a boundary value problem is very similar to solving an initial value problem
Example
Solve the boundary value problem with and .
If we make substitutions for in terms of , we get
We’ll factor the left side and solve for .
and
The roots are two real numbers that are unequal (they’re not equal to each other), so these are distinct real roots. Which means we’ll use the formula for the general solution for distinct real roots and get
This is the general solution to the differential equation, but we still need to use our initial conditions to solve for and , so we’ll plug each of them into the general solution separately.
and
Initial value problems will always have a solution; boundary value problems may not.
Solving the first equation for gives . If we plug this into , we get
Now we’ll solve this equation for .
Now we’ll use some algebra to simplify this value as much as we can.
Plugging this value for back into , we get
And using algebra to simplify the value of gives
Now we can take the values we found for and and plug them into the general solution.