Solution:
Concept: The right side is a function of xy, so the equation is homogeneous. We put y=vx; then dxdy=v+xdxdv, and the equation separates in v and x.
Step 1 — Substitute y=vx.
We replace dxdy by v+xdxdv, and the v terms cancel.
v+xdxdv=v+tanv
xdxdv=tanv
Step 2 — Separate the variables.
We divide by tanv (with tanv=0) and by x. Since tanv1=cotv, we get the following.
cotvdv=xdx
Step 3 — Integrate.
We use ∫cotvdv=log∣sinv∣ and write the constant as logc.
log∣sinv∣=log∣x∣+logc
sinv=cx
Step 4 — Put back v=xy.
We replace v by xy.
sin(xy)=cx
Therefore, the general solution is sin(xy)=cx, where c is an arbitrary constant.