← Back to learning objective

Implicit differentiation of y = sin(xy)

Consider the equation y=sin⁡(xy)y = \sin(xy) where yy is defined implicitly as a function of xx. Use implicit differentiation to find dydx\dfrac{dy}{dx}.

Hint

Differentiate both sides with respect to xx. On the right side, apply the chain rule to sin⁡(xy)\sin(xy), remembering that xyxy is a product of two functions of xx, so you'll also need the product rule on the inside. Then collect all terms containing dy/dxdy/dx on one side and solve.

Step-by-step solution

Differentiate both sides with respect to xx. The left side gives dydx\dfrac{dy}{dx}. For the right side, apply the chain rule to sin⁡(xy)\sin(xy): ddx[sin⁡(xy)]=cos⁡(xy)⋅ddx[xy]\dfrac{d}{dx}[\sin(xy)] = \cos(xy)\cdot \dfrac{d}{dx}[xy]. Now use the product rule on xyxy: ddx[xy]=y+xdydx\dfrac{d}{dx}[xy] = y + x\dfrac{dy}{dx}. Putting this together gives dydx=cos⁡(xy)(y+xdydx).\dfrac{dy}{dx} = \cos(xy)\left(y + x\dfrac{dy}{dx}\right).

Distribute cos⁡(xy)\cos(xy) on the right side to get dydx=ycos⁡(xy)+xcos⁡(xy)dydx\dfrac{dy}{dx} = y\cos(xy) + x\cos(xy)\dfrac{dy}{dx}. Move all terms with dy/dxdy/dx to the left side: dydx−xcos⁡(xy)dydx=ycos⁡(xy)\dfrac{dy}{dx} - x\cos(xy)\dfrac{dy}{dx} = y\cos(xy). Factor out dy/dxdy/dx and solve: dydx=ycos⁡(xy)1−xcos⁡(xy).\dfrac{dy}{dx} = \dfrac{y\cos(xy)}{1 - x\cos(xy)}.

Rule used to differentiate the inside term xy

Hint
Step-by-step solution

The product rule is used to differentiate xy, since it is a product of two functions of x. Applying it gives y plus x times dy/dx, which then gets multiplied by cosine of xy from the chain rule step. This is distinct from the chain rule, which was applied to the outer sine function.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap