Question
Mathematics Question on Differential equations
The solution of the differential equation log x dxdy+xy= sin 2x is
A
ylog∣x∣=C−21cosx
B
ylog∣x∣=C+21cos2x
C
ylog∣x∣=C−21cos2x
D
xylog∣x∣=C−21cos2x
Answer
ylog∣x∣=C−21cos2x
Explanation
Solution
dxdy+xlogxy=logxsin2x I.F.=e∫xlogxdx ∴I.F.=e∫t1dt=elogt=t=log∣x∣ solution is given by y(I.F.)=∫(I.F.)dx+C ylog∣x∣=∫log∣x∣sin2x(log∣x∣)dx+C =−2cos2x+C