Answer on Question # 66662 – Math – Differential Equations Question
Solve the following IVP
(d2y)/(dx2)+(dy)/(dx)−2y=−6sin2x−18cos2xy(0)=2,y′(0)=2Solution
We have IVP
dx2d2y+dxdy−2y=−6sin2x−18cos2x,y(0)=2,y′(0)=2
Find first the general solution of this equation which can be written as
y=yc+yp
where yp is a particular solution of original equation and yc is the general solution of the related homogeneous equation
dx2d2y+dxdy−2y=0
To find yc we substitute solution as exponential function y=emx into the equation. We get
m2emx+memx−2emx=0
or
(m2+m−2)emx=0
Then we get the auxiliary equation
m2+m−2=0
with roots m=1 and m=−2. So the solution of the complementary equation is
yc=c1ex+c2e−2x
where c1 and c2 are some constants. Next we find a particular solution in the form
yp=Asin2x+Bcos2x
Then
yp′=2Acos2x−2Bsin2xyp′′=−4Asin2x−4Bcos2x
Substituting yp,yp′ and yp′′ into the given differential equation gives
−4Asin2x−4Bcos2x+2Acos2x−2Bsin2x−2Asin2x−2Bcos2x=−6sin2x−18cos2x
or
−(6A+2B)sin2x−(6B−2A)cos2x=−6sin2x−18cos2x
This is true if
6A+2B=6and6B−2A=18
The solution of this system is A=0 and B=3. So, the particular solution is
yp=3cos2x
The general solution of the given equation is
y=c1ex+c2e−2x+3cos2x
Now we find c1 and c2 using the initial conditions y(0)=2,y′(0)=2:
y(0)=c1e0+c2e0+3cos0=c1+c2+3=2y′=c1ex−2c2e−2x−6sin2xy′(0)=c1e0−2c2e0−6sin0=c1−2c2=2
We have system of equation
{c1+c2=−1c1−2c2=2
The solution of this system is c1=0, c2=−1, so the solution of IVP is
y=−e−2x+3cos2x
Answer: The solution of IVP is
y=−e−2x+3cos2x
Answer provided by https://www.AssignmentExpert.com