Homogeneous differential equations initial value problems

 
 
Homogeneous initial value problems blog post.jpeg
 
 
 

Process for solving an initial value problem for a second-order homogeneous differential equation

We’ve already learned how to find the general solution of a second-order homogeneous differential equation.

Krista King Math.jpg

Hi! I'm krista.

I create online courses to help you rock your math class. Read more.

 

The general solutions will look something like these:

 
roots of a homogeneous equation
 

Even though we’ve plugged in for the roots of the differential equation, the constants c1c_1 and c2c_2 remain in the general solution. The only way to solve for these constants is with initial conditions.

In a second-order homogeneous differential equations initial value problem, we’ll usually be given one initial condition for the general solution, and a second initial condition for the derivative of the general solution. We’ll apply the first initial condition to the general solution to get a simple equation in terms of c1c_1 and c2c_2. Then we’ll take the derivative of the general solution so that we can apply the second initial condition to the derivative. This will give us a second simple equation in terms of c1c_1 and c2c_2.

Once we have two equations in terms of c1c_1 and c2c_2, we can solve them as a system of linear equations, find the values of c1c_1 and c2c_2, and then plug these values back into the general solution.

 
 

Solving a second-order homogeneous differential equation initial value problem (with distinct real roots)


 
Krista King Math Signup.png
 
Differential Equations course.png

Take the course

Want to learn more about Differential Equations? I have a step-by-step course for that. :)

 
 

 
 

Another example with distinct real roots

Example

Find the solution to the differential equation, if y(0)=5y(0)=5 and y(0)=27y'(0)=27.

3y+18y+15y=03y''+18y'+15y=0

If we make substitutions for yy in terms of rr, we get

3r2+18r+15=03r^2+18r+15=0

We’ll factor the left side and solve for rr.

(3r+3)(r+5)=0(3r+3)(r+5)=0

3r1+3=03r_1+3=0

3r1=33r_1=-3

r1=1r_1=-1

and

r2+5=0r_2+5=0

r2=5r_2=-5

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

y(x)=c1ex+c2e5xy(x)=c_1e^{-x}+c_2e^{-5x}

Homogeneous initial value problems for Differential Equations.jpg

In a second-order homogeneous differential equations initial value problem, we’ll usually be given one initial condition for the general solution, and a second initial condition for the derivative of the general solution.

This is the general solution to the differential equation, but we still need to use our initial conditions to solve for c1c_1 and c2c_2, so we’ll take the derivative of the general solution.

y(x)=c1ex5c2e5xy'(x)=-c_1e^{-x}-5c_2e^{-5x}

Applying the initial condition y(0)=5y(0)=5 to the general solution, and the initial condition y(0)=27y'(0)=27 to its derivative, we get

y(x)=c1ex+c2e5xy(x)=c_1e^{-x}+c_2e^{-5x}

Since y(0)=5y(0)=5,

5=c1e(0)+c2e5(0)5=c_1e^{-(0)}+c_2e^{-5(0)}

5=c1(1)+c2(1)5=c_1(1)+c_2(1)

5=c1+c25=c_1+c_2

and

y(x)=c1ex5c2e5xy'(x)=-c_1e^{-x}-5c_2e^{-5x}

Since y(0)=27y'(0)=27,

27=c1e(0)5c2e5(0)27=-c_1e^{-(0)}-5c_2e^{-5(0)}

27=c1(1)5c2(1)27=-c_1(1)-5c_2(1)

27=c15c227=-c_1-5c_2

We need to solve these as a system of linear equations in order to find values for c1c_1 and c2c_2. If we solve 5=c1+c25=c_1+c_2 for c1c_1, we get c1=5c2c_1=5-c_2, and then we can substitute this value into 27=c15c227=-c_1-5c_2.

27=c15c227=-c_1-5c_2

27=(5c2)5c227=-(5-c_2)-5c_2

27=5+c25c227=-5+c_2-5c_2

32=4c232=-4c_2

c2=8c_2=-8

Plugging c2=8c_2=-8 into c1=5c2c_1=5-c_2 to solve for c1c_1, we get

c1=5(8)c_1=5-(-8)

c1=13c_1=13

Now we can take c1=13c_1=13 and c2=8c_2=-8 and plug them into the general solution.

y(x)=c1ex+c2e5xy(x)=c_1e^{-x}+c_2e^{-5x}

y(x)=(13)ex+(8)e5xy(x)=(13)e^{-x}+(-8)e^{-5x}

y(x)=13ex8e5xy(x)=13e^{-x}-8e^{-5x}

 
Krista King.png
 

Get access to the complete Differential Equations course