I'm trying to find an integrating factor of the form $u(x,y)$ for the equation $$(a\cos xy-y\sin xy)~dx+(b\cos xy-x\sin xy)~dy=0$$ using an approach suggested in the comments for this post: https://math.stackexchange.com/a/139160/170231
I'm wondering if this "greedy" method allows for me to try to find a function $C(x,y)$ such that I can eliminate the appropriate variable when solving for either $F(x)$ or $G(y)$.
Work thus far: $$\begin{align*} F(x)(b\cos xy-x\sin xy)\quad&\\ -G(y)(a\cos xy-y\sin xy)&=(-ax\sin xy-\sin xy-xy\cos xy)\\&\quad-(-by\sin xy-\sin xy-xy\cos xy)\\\\ F(x)(b\cos xy-x\sin xy)\quad&\\ -G(y)(a\cos xy-y\sin xy)&=(by-ax)\sin xy\\\\ F(x)&=\frac{(by-ax)\sin xy+G(y)(a\cos xy-y\sin xy)}{b\cos xy-x\sin xy} \end{align*}$$ and so, based on that post, I would try to look for a constant or function $C$ that, when setting $$(by-ax)\sin xy+G(y)(a\cos xy-y\sin xy)=C(b\cos xy-x\sin xy)$$ let's me do a proper simplification. Is it possible?