I have the following expression which I need to implicitly differentiate:
$$ xy^2 + x^2 + y + \sin(x^2y) = 0 $$
I'm a little confused as I'm not entirely sure what to do with the trig function. Here is my work so far:
$$ \frac{dy}{dx} [xy^2 + x^2 + y + \sin(x^2y)] = \frac{dy}{dx}0 $$ $$ \frac{dy^2}{dx} + 2x + \frac{dy}{dx} + \cos(x^2y)(2x\frac{dy}{dx}) = 0 $$
How should I proceed?
$$ \frac{d}{dx} [xy^2 + x^2 + y + \sin(x^2y)] = \frac{d}{dx}(0) \\ \implies y^2+2xy\frac{dy}{dx}+2x + \frac{dy}{dx} + \cos(x^2y)(2xy+x^2\frac{dy}{dx})=0$$
We use the product rule and chain rule here, and also the operator for differentiation is $$\frac{d}{dx}$$