I wanted to know what the derivative of the function:
$$y=\cos(xy)$$ when $x=0$ was
For the deritive I got $$\frac{dy}{dx}=-\frac{y}{x}$$
so at $x=0$ the derivative of the function is undefined? I wasn't sure if the answer was right so I wanted to check it here.
You should get that $$\frac{dy}{dx}=-\sin (xy)\left(y+x\frac{dy}{dx}\right),$$ or $$\frac{dy}{dx}=-\frac{y\sin xy}{1+x\sin xy}.$$ You must've made a mistake in your implicit differentiation. You might need to think a bit more carefully about how to properly implicitly differentiate $\cos xy$.