$$\text{Find $y^\prime$ if} \quad\sin(x + y) = y^2\cos(x)$$
So I know I am supposed to find the derivative of each side.
The RHS would come out to be $2y(dy/dx)-\sin(x) $ but I can not figure out how to differentiate the LHS.
Firstly, can someone confirm or deny that I have done the RHS correctly and then explain how I would differentiate the LHS?
Thank you!
$ \sin(x + y) = \underbrace{y^2\cos(x)}_{\text{product of 2 functions}}$
so the derivative of the product of 2 functions is:
$(f(x)g(x))'=f'(x)g(x)+f(x)g'(x)$
$ \cos(x + y)(1+y') = 2yy'\cos(x)-y^2\sin(x)$