Question: e^x+(e^x cot(y)+2y csc(y) ) y^'=0, find an integrating factor and solve the given equation.
Solution:
My=0.
Nx=∂/∂x [e^x cot(y)+2y csc(y) ]=cot(y) e^x.
We know the given equation is not exact, so we need to find μ(t).
R=(My-Nx)/M=(0-cot(y) e^x)/e^x =-cot(y).
μ(t)=e^(-∫Rdy)=e^(-∫coty dy )=e^ln|siny | =siny.
Multiply siny on both sides.
We get siny e^x+(e^x cosy+2y) y^'=0.
There exists ψ(x,y) such that ψ_x (x,y)=siny e^x.
Integrating on both sides with x, ψ(x,y)=siny e^x+g(y).
Differentiate on both sides with y, ψ_y (x,y)=cosy e^x+g^' (y).
Since ψ_y (x,y)=N=e^x cosy+2y, then g^' (y)=2y and so g(y)=y^2+c.
Combine all results above, we get cosy e^x+y^2=c.