Q26E

Question

Find the solution to the initial value problem.

y''+9y=27;     y(0)=4,    y'(0)=6

Step-by-Step Solution

Verified
Answer

The solution to the initial problem is y=cos(3x)+2sin(3x)+3.

1Step 1: Write the auxiliary equation of the given differential equation.

The differential equation is,

 

y''+9y=27                     .              .....(1)

 

Write the homogeneous differential equation of the equation (1),

 

y''+9y=0

 

The auxiliary equation for the above equation,

 

m2+9=0

2Step 2: Now find the complementary solution of the given equation.

The root of an auxiliary equation is,

 

m1=3i,   m2=-3i

 

The complementary solution of the given equation is,


yc=c1cos(3x)+c2sin(3x)

3Step 3: Now find the particular solution to find a general solution for the equation.

Assume, the particular solution of equation (1),


yp(x)=A                           .                      ....(2)



Now find the first and second derivatives of the above equation,

yp'(x)=0yp''(x)=0


Substitute the value of yp''(x) and yp(x) the equation (1),


 y''+9y=270+9A=27A=3


 

Substitute the value of A in the equation (2),

 

yp(x)=3

4Step 4: Find the general solution and use the given initial condition.

Therefore, the general solution is,


 y=yc(x)+yp(x)y=c1cos(3x)+c2sin(3x)+3                     ......(3)


 

Given the initial condition,

 

y(0)=4,    y'(0)=6

 

Substitute the value of y = 4 and x = 0 in the equation (3),

4=c1cos(0)+c2sin(0)+34=c1+3c1=1


Now find the derivative of the equation (3),

y'=-3c1sin(3x)+3c2cos(3x)


Substitute the value of y’ = 6 and x = 0 in the above equation,


 6=-3c1sin(0)+3c2cos(0)3c2=6c2=2


 

Substitute the value of  c1=1 and c2=2 in the equation (3),

y=c1cos(3x)+c2sin(3x)+3y=(1)cos(3x)+(2)sin(3x)+3y=cos(3x)+2sin(3x)+3


Thus, the solution to the initial problem is y=cos(3x)+2sin(3x)+3.