Q7E

Question

A nonhomogeneous equation and a particular solution are given. Find a general solution for the equation. y''=2y+2tan3x,      yp(x)=tanx

Step-by-Step Solution

Verified
Answer

The general solution of the given differential equation is y=c1e2x+c2e-2x+tanx.

1Step 1: Firstly, write the auxiliary equation of the given differential equation

The differential equation is,

 y''=2y+2tan3xy''-2y=2tan3x                     (1)


 

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

 

y''-2y=0

 

The auxiliary equation for the above equation,

 

m2-2=0

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

Solve the auxiliary equation,

m2-2=0m=±2

 

The roots of the auxiliary equation are, 

m1=2,   &   m2=-2

 

The complementary solution of the given equation is,

yc=c1e2x+c2e-2x

 

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

The given particular solution,

yp(x)=tanx

 

Therefore, the general solution is,


y=yc(x)+yp(x)y=c1e2x+c2e-2x+tanx