Given dx + xdy = e–ysec2ydy
This is a first order linear differential equation of the form
The integrating factor (I.F) of this differential equation is,
Hence, the solution of the differential equation is,
Thus, the solution of the given differential equation is x = (tan y + c)e–y