Let us solve the differential equation xeydy+y(x2+1)dx=0, which is equivalent to yeydy+x(x2+1)dx=0. It follows that ∫yeydy+∫x(x2+1)dx=C.
Let u=y,dv=eydy. Then du=dy,v=ey.
Consequently, we get
yey−∫eydy+∫(x+x1)dx=C.
We conclude that the general solution of the differential equation is of the form:
yey−ey+2x2+ln∣x∣=C.
Comments