Question
Mathematics Question on Differential equations
Solve the differential equation [xe−2x−xy]dydx=1(x=0)
Answer
The correct answer is: ye2x=2x+C
[xe−2x−xy]dydx=1
⟹dxdy=xe−2x−xy
⇒dxdy+xy=xe−2x
This equation is a linear differential equation of the form
dxdy+py=Q,where p=x1 and Q=xe−2x.
Now,I.F.=e∫pdx=e∫x1dx=e2x
The general solution of the given differential equation is given by,
y(I.F.)=∫(Q×I.F.)dx+C
⇒ye2x=∫(xe−2x×e2x)dx+C
⇒ye2x=∫x1dx+C
⇒ye2x=2x+C