Question #7500 Solve (cosx+logy)+dy/dx=−(x/y+ey)dy/dx.
Solution. Denote M(x,y):=cos+logy, N(x,y):=x/y+ey+1. Our equation is equivalent to (cosx+logy)dx+(x/y+ey+1)dy=0. Due to ∂y∂M(x,y)=∂x∂N(x,y)=y1 our DE is exact. Denote by U(x,y) such function that U(x,y)=0 defines the general solution. U satisfies ∂x∂U=cosx+logy, thus U(x,y)=sinx+(logy)x+φ(y). One can get ∂y∂U=x/y+φ′(y)=N(x,y)=x/y+ey+1, hence φ′(y)=ey+1, so φ(y)=ey+y+C. U(x,y)=sinx+logy⋅x+ey+y+C, and the general solution is obtained from U(x,y)=0.
Answer. The general solution sinx+logy⋅x+ey+y+C=0