Solution:
Concept: When y is given implicitly by an equation in x and y, we differentiate both sides with respect to x, treating y as a function of x. By the chain rule, a term in y picks up a factor dxdy: for example dxd(y2)=2ydxdy. A term such as xy needs the product rule, dxd(xy)=xdxdy+y. Finally we collect all the dxdy terms on one side and solve for dxdy. Here both terms are functions of xy, whose derivative is dxd(xy)=y+xdxdy.
Step 1 — Differentiate both sides with respect to x.
By the chain rule, sin(xy) gives cos(xy) times the derivative of xy, and cos(xy) gives −sin(xy) times the same derivative. The constant 1 gives 0.
cos(xy)(y+xdxdy)−sin(xy)(y+xdxdy)=0
Step 2 — Take out the common factor.
Both terms contain the factor (y+xdxdy), so we take it out.
[cos(xy)−sin(xy)](y+xdxdy)=0
Step 3 — Show that the square bracket is not zero.
If cos(xy)−sin(xy)=0, then sin(xy)=cos(xy). Then cos(xy)=0 (if cos(xy) were 0, then sin(xy) would be 0 too, which is impossible since sin2(xy)+cos2(xy)=1), so dividing by cos(xy) would give tan(xy)=1. The question says tan(xy)=1, so the square bracket cannot be zero.
cos(xy)−sin(xy)=0
Step 4 — Solve for dxdy.
Since the product is zero and the first factor is not, the second factor must be zero. We then divide by x (here x=0).
y+xdxdy=0
dxdy=−xy
Hence, dxdy=−xy, as required.