# How do you implicitly differentiate  sin(xy)+x^2=x-y ?

The derivative is $\left(y + x \frac{\mathrm{dy}}{\mathrm{dx}}\right) . \cos \left(x y\right) + 2 x = 1 - \frac{\mathrm{dy}}{\mathrm{dx}}$