Answer on Question #60152 – Math – Differential Equations
Question
Use the method of variation of parameters to find a particular solution of the following differential equation
y′′−y=ex+1ex
Solve the given differential equation
Solution
First we need to find the general solution to the homogeneous equation
y′′−y=0.
The characteristic equation for this ODE is
λ2−1=0⇒λ=±1.
Hence the general solution is
yg(x)=c1ex+c2e−x.
We shall use the method of variation of parameters to find a solution of the form
yg(x)=y1(x)ex+y2(x)e−x.
The variation of parameters formula gives the system
{y1′(x)ex+y2′(x)e−x=0y1′(x)ex−y2′(x)e−x=ex+1ex
Adding the equations obtain
2y1′(x)ex=ex+1exy1′(x)=2(ex+1)1
Integrating both sides with respect to x
y1(x)=∫2(ex+1)dx=21(x−ln(ex+1))+C3.
Using the first equation y1′(x)ex+y2′(x)e−x=0 of the system and plugging y1′(x)=2(ex+1)1, gives
y2′(x)=−y1′(x)e2x=−2(ex+1)e2x
Integrating both sides with respect to x
y2(x)=∫(−2(ex+1)e2x)dx=−21(ex−ln(ex+1))+C4.
The general solution is
yg(x)=2ex(x−ln(ex+1)+C3)−2e−x(ex−ln(ex+1)+C4)==Cex+De−x+2ex(x−ln(ex+1))−2e−x(ex−ln(ex+1)).
Set C=0,D=0 .
Hence a particular solution is given by
yp(x)=2ex(x−ln(ex+1))−2e−x(ex−ln(ex+1)).
Answer:
yp(x)=2ex(x−ln(ex+1))−2e−x(ex−ln(ex+1));yg(x)=Cex+De−x+2ex(x−ln(ex+1))−2e−x(ex−ln(ex+1)).
www.AssignmentExpert.com