Calculus Examples

Find dy/dx y=sin(xy)
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 yy'.
yy'
Step 3
Differentiate the right side of the equation.
Tap for more steps...
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.
Tap for more steps...
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 yy'.
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-1nxn1 where n=1n=1.
cos(xy)(xy+y1)cos(xy)(xy'+y1)
Step 3.5
Multiply yy by 11.
cos(xy)(xy+y)cos(xy)(xy'+y)
Step 3.6
Simplify.
Tap for more steps...
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
Solve for yy'.
Tap for more steps...
Step 5.1
Simplify the right side.
Tap for more steps...
Step 5.1.1
Reorder factors in xcos(xy)y+ycos(xy)xcos(xy)y'+ycos(xy).
y=xycos(xy)+ycos(xy)y'=xy'cos(xy)+ycos(xy)
y=xycos(xy)+ycos(xy)y'=xy'cos(xy)+ycos(xy)
Step 5.2
Subtract xycos(xy)xy'cos(xy) from both sides of the equation.
y-xycos(xy)=ycos(xy)y'xy'cos(xy)=ycos(xy)
Step 5.3
Factor yy' out of y-xycos(xy)y'xy'cos(xy).
Tap for more steps...
Step 5.3.1
Factor yy' out of y1y'1.
y1-xycos(xy)=ycos(xy)y'1xy'cos(xy)=ycos(xy)
Step 5.3.2
Factor yy' out of -xycos(xy)xy'cos(xy).
y1+y(-xcos(xy))=ycos(xy)y'1+y'(xcos(xy))=ycos(xy)
Step 5.3.3
Factor yy' out of y1+y(-xcos(xy))y'1+y'(xcos(xy)).
y(1-xcos(xy))=ycos(xy)y'(1xcos(xy))=ycos(xy)
y(1-xcos(xy))=ycos(xy)y'(1xcos(xy))=ycos(xy)
Step 5.4
Divide each term in y(1-xcos(xy))=ycos(xy)y'(1xcos(xy))=ycos(xy) by 1-xcos(xy)1xcos(xy) and simplify.
Tap for more steps...
Step 5.4.1
Divide each term in y(1-xcos(xy))=ycos(xy)y'(1xcos(xy))=ycos(xy) by 1-xcos(xy)1xcos(xy).
y(1-xcos(xy))1-xcos(xy)=ycos(xy)1-xcos(xy)y'(1xcos(xy))1xcos(xy)=ycos(xy)1xcos(xy)
Step 5.4.2
Simplify the left side.
Tap for more steps...
Step 5.4.2.1
Cancel the common factor of 1-xcos(xy)1xcos(xy).
Tap for more steps...
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)
(
(
)
)
|
|
[
[
]
]
7
7
8
8
9
9
°
°
θ
θ
4
4
5
5
6
6
/
/
^
^
×
×
>
>
π
π
1
1
2
2
3
3
-
-
+
+
÷
÷
<
<
!
!
,
,
0
0
.
.
%
%
=
=
 [x2  12  π  xdx ]