Enter a problem...
Calculus Examples
y=sin(xy)y=sin(xy)
Step 1
Differentiate both sides of the equation.
ddx(y)=ddx(sin(xy))ddx(y)=ddx(sin(xy))
Step 2
The derivative of yy with respect to xx is y′y'.
y′y'
Step 3
Step 3.1
Differentiate using the chain rule, which states that ddx[f(g(x))]ddx[f(g(x))] is f′(g(x))g′(x)f'(g(x))g'(x) where f(x)=sin(x)f(x)=sin(x) and g(x)=xyg(x)=xy.
Step 3.1.1
To apply the Chain Rule, set uu as xyxy.
ddu[sin(u)]ddx[xy]ddu[sin(u)]ddx[xy]
Step 3.1.2
The derivative of sin(u)sin(u) with respect to uu is cos(u)cos(u).
cos(u)ddx[xy]cos(u)ddx[xy]
Step 3.1.3
Replace all occurrences of uu with xyxy.
cos(xy)ddx[xy]cos(xy)ddx[xy]
cos(xy)ddx[xy]cos(xy)ddx[xy]
Step 3.2
Differentiate using the Product Rule which states that ddx[f(x)g(x)]ddx[f(x)g(x)] is f(x)ddx[g(x)]+g(x)ddx[f(x)]f(x)ddx[g(x)]+g(x)ddx[f(x)] where f(x)=xf(x)=x and g(x)=yg(x)=y.
cos(xy)(xddx[y]+yddx[x])cos(xy)(xddx[y]+yddx[x])
Step 3.3
Rewrite ddx[y]ddx[y] as y′y'.
cos(xy)(xy′+yddx[x])cos(xy)(xy'+yddx[x])
Step 3.4
Differentiate using the Power Rule which states that ddx[xn]ddx[xn] is nxn-1nxn−1 where n=1n=1.
cos(xy)(xy′+y⋅1)cos(xy)(xy'+y⋅1)
Step 3.5
Multiply yy by 11.
cos(xy)(xy′+y)cos(xy)(xy'+y)
Step 3.6
Simplify.
Step 3.6.1
Apply the distributive property.
cos(xy)(xy′)+cos(xy)ycos(xy)(xy')+cos(xy)y
Step 3.6.2
Reorder terms.
xcos(xy)y′+ycos(xy)xcos(xy)y'+ycos(xy)
xcos(xy)y′+ycos(xy)xcos(xy)y'+ycos(xy)
xcos(xy)y′+ycos(xy)xcos(xy)y'+ycos(xy)
Step 4
Reform the equation by setting the left side equal to the right side.
y′=xcos(xy)y′+ycos(xy)y'=xcos(xy)y'+ycos(xy)
Step 5
Step 5.1
Simplify the right side.
Step 5.1.1
Reorder factors in xcos(xy)y′+ycos(xy)xcos(xy)y'+ycos(xy).
y′=xy′cos(xy)+ycos(xy)y'=xy'cos(xy)+ycos(xy)
y′=xy′cos(xy)+ycos(xy)y'=xy'cos(xy)+ycos(xy)
Step 5.2
Subtract xy′cos(xy)xy'cos(xy) from both sides of the equation.
y′-xy′cos(xy)=ycos(xy)y'−xy'cos(xy)=ycos(xy)
Step 5.3
Factor y′y' out of y′-xy′cos(xy)y'−xy'cos(xy).
Step 5.3.1
Factor y′y' out of y′1y'1.
y′⋅1-xy′cos(xy)=ycos(xy)y'⋅1−xy'cos(xy)=ycos(xy)
Step 5.3.2
Factor y′y' out of -xy′cos(xy)−xy'cos(xy).
y′⋅1+y′(-xcos(xy))=ycos(xy)y'⋅1+y'(−xcos(xy))=ycos(xy)
Step 5.3.3
Factor y′y' out of y′⋅1+y′(-xcos(xy))y'⋅1+y'(−xcos(xy)).
y′(1-xcos(xy))=ycos(xy)y'(1−xcos(xy))=ycos(xy)
y′(1-xcos(xy))=ycos(xy)y'(1−xcos(xy))=ycos(xy)
Step 5.4
Divide each term in y′(1-xcos(xy))=ycos(xy)y'(1−xcos(xy))=ycos(xy) by 1-xcos(xy)1−xcos(xy) and simplify.
Step 5.4.1
Divide each term in y′(1-xcos(xy))=ycos(xy)y'(1−xcos(xy))=ycos(xy) by 1-xcos(xy)1−xcos(xy).
y′(1-xcos(xy))1-xcos(xy)=ycos(xy)1-xcos(xy)y'(1−xcos(xy))1−xcos(xy)=ycos(xy)1−xcos(xy)
Step 5.4.2
Simplify the left side.
Step 5.4.2.1
Cancel the common factor of 1-xcos(xy)1−xcos(xy).
Step 5.4.2.1.1
Cancel the common factor.
y′(1-xcos(xy))1-xcos(xy)=ycos(xy)1-xcos(xy)
Step 5.4.2.1.2
Divide y′ by 1.
y′=ycos(xy)1-xcos(xy)
y′=ycos(xy)1-xcos(xy)
y′=ycos(xy)1-xcos(xy)
y′=ycos(xy)1-xcos(xy)
y′=ycos(xy)1-xcos(xy)
Step 6
Replace y′ with dydx.
dydx=ycos(xy)1-xcos(xy)