The general solution of the differential equation xdydx+xy=e−x is
A
y⋅e−x=ln|x|+C
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
y⋅ex=ln1|x|+C
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
y⋅ex=ln|x|+C
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
y⋅ex=C
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is Cy⋅ex=ln|x|+C xdydx+xy=e−x⇒dydx+y=e−xx Integrating factor =e∫1dx=ex Solution of the D.E, y⋅ex=∫ex×e−xxdx+C⇒y⋅ex=∫1xdx+C⇒y⋅ex=ln|x|+C