Calculus3Differentiation Rules6 of 9
Differentiation Rules · 6

Implicit Differentiation

1

Finding slopes without solving for yy

Let's find the slope of the tangent line to the circle x2+y2=25x^2 + y^2 = 25 at the point (3,4)\pt{(3, 4)}.

−5-5
55
−5-5
55
xx
yy
x2+y2=25x^2 + y^2 = 25
(3, 4)\htmlClass{lc-orange}{(3,\, 4)}
Find the slope of the tangent line to x2+y2=25x^2 + y^2 = 25 at (3,4)\pt{(3, 4)} without solving for yy
−5-5
55
xx
yy
dydx at (3, 4)=  ?\htmlClass{lc-green}{\dfrac{dy}{dx}}\text{ at }\htmlClass{lc-orange}{(3,\, 4)} = \;?
x2+y2=25x^2 + y^2 = 25
(3, 4)\htmlClass{lc-orange}{(3,\, 4)}
Text solution
The usual way: solve for yy(3,4)\pt{(3, 4)} is on the top half of the circle, where y=25−x2y = \sqrt{25 - x^2}. The chain rule gives the slope, but only after we've picked that half.
dydx\displaystyle \der{\frac{dy}{dx}} =−x25−x2\displaystyle = -\frac{x}{\sqrt{25 - x^2}}
x=3:dydx\displaystyle \pt{x = 3}: \quad \der{\frac{dy}{dx}} =−316\displaystyle = -\frac{3}{\sqrt{16}} =−34\displaystyle = -\frac34
Differentiate both sides insteadThe two sides are equal at every point on the circle, so their derivatives are equal too. By the chain rule, the derivative of y2y^2 is 2y⋅dydx2y\cdot\der{\frac{dy}{dx}}.
2x+2y⋅dydx\displaystyle \tp{2x} + \btm{2y}\cdot\der{\frac{dy}{dx}} =0\displaystyle = 0
Solve for dydx\der{\frac{dy}{dx}}Subtract 2x\tp{2x} and divide by 2y\btm{2y}, as long as y≠0\btm{y} \ne 0. At (3,4)\pt{(3, 4)} we get the same slope, with no square root.
dydx\displaystyle \der{\frac{dy}{dx}} =−xy\displaystyle = -\frac{\tp{x}}{\btm{y}}
(3,4):dydx\displaystyle \pt{(3, 4)}: \quad \der{\frac{dy}{dx}} =−34\displaystyle = -\frac34

Solving for yy works on the circle, but for a curve like x3+y3=6xyx^3 + y^3 = 6xy, there's no simple formula for yy in terms of xx at all.

−3-3
33
−3-3
33
xx
yy
x3+y3=6xyx^3 + y^3 = 6xy
(3, 3)\htmlClass{lc-orange}{(3,\, 3)}
x3+y3\displaystyle x^3 + y^3 =6xy:y\displaystyle = 6xy: \quad y =  ?\displaystyle = \;?

Differentiating both sides never needs that formula. Near (3,4)\pt{(3, 4)}, when xx changes, yy changes too so that x2+y2x^2 + y^2 stays 2525, so yy is a function of xx. In y2y^2, the inside function is y\ins{y}, and the chain rule only needs the derivative of the inside, not its formula. That derivative is dydx\der{\frac{dy}{dx}}, which we also write as y′\der{y'}.

ddx(x2+1)2=2(x2+1)⋅2xddx(y)2=2(y)⋅dydx\displaystyle \begin{array}{rcccl}\displaystyle\frac{d}{dx} & \mkern-12mu\big(\ins{x^2 + 1}\big)^2 & \mkern-12mu= 2 & \mkern-12mu\big(\ins{x^2 + 1}\big) & \mkern-12mu{}\cdot{}\der{2x}\\[18pt] \displaystyle\frac{d}{dx} & \mkern-12mu\big(\ins{y}\big)^2 & \mkern-12mu= 2 & \mkern-12mu\big(\ins{y}\big) & \mkern-12mu{}\cdot{}\displaystyle\der{\frac{dy}{dx}}\end{array}

The slope formula −xy-\frac{\tp{x}}{\btm{y}} uses both coordinates, and it has to. The line x=3x = 3 meets the circle at (3,4)\pt{(3, 4)} and (3,−4)\pt{(3, -4)}, and their tangents have opposite slopes.

−5-5
55
−5-5
55
xx
yy
x=3x = 3
(3, 4)\htmlClass{lc-orange}{(3,\, 4)}
(3, −4)\htmlClass{lc-orange}{(3,\, -4)}
slope −34\text{slope } -\tfrac34
slope 34\text{slope } \tfrac34
(3,4):−34\displaystyle \pt{(3, 4)}: \quad -\frac{3}{4}
(3,−4):−3−4\displaystyle \pt{(3, -4)}: \quad -\frac{3}{-4} =34\displaystyle = \frac34

Does an x-coordinate alone determine the tangent slope on this circle?

Tangent slopes on a circle
2

Products of xx and yy

Back to x3+y3=6xyx^3 + y^3 = 6xy. We can't solve it for yy, but we can still differentiate both sides to find dydx\der{\frac{dy}{dx}}, and then the tangent line at (3,3)\pt{(3, 3)}, which is on the curve.

−3-3
33
−3-3
33
xx
yy
x3+y3=6xyx^3 + y^3 = 6xy
(3, 3)\htmlClass{lc-orange}{(3,\, 3)}
(3,3):33+33=54=6⋅3⋅3\displaystyle \begin{gathered}\pt{(3, 3)}:\\ 3^3 + 3^3 = 54 = 6\cdot3\cdot3\end{gathered}

The term y3y^3 works just like y2y^2 did. What's new is the right side. 6xy6xy is 6 times a product of two functions of xx, so it needs the product rule.

ddx(xy)\displaystyle \frac{d}{dx}(xy) =1⋅y+x⋅dydx\displaystyle = 1\cdot y + x\cdot\der{\frac{dy}{dx}}
ddx(y3)\displaystyle \frac{d}{dx}(y^3) =3y2⋅dydx\displaystyle = 3y^2\cdot\der{\frac{dy}{dx}}
Find dydx\der{\frac{dy}{dx}} for x3+y3=6xyx^3 + y^3 = 6xy, and the tangent line at (3,3)\pt{(3, 3)}
xx
yy
x3+y3=6xyx^3 + y^3 = 6xy
(3, 3)\htmlClass{lc-orange}{(3,\, 3)}
Text solution
Differentiate both sidesNow dydx\der{\frac{dy}{dx}} appears on both sides. Every term has a 3, so we can divide it out.
3x2+3y2⋅dydx\displaystyle \tp{3x^2} + \btm{3y^2}\cdot\der{\frac{dy}{dx}} =6y+6x⋅dydx\displaystyle = \tp{6y} + \btm{6x}\cdot\der{\frac{dy}{dx}}
Collect, factor, divideAt any point, dydx\der{\frac{dy}{dx}} is just a number, so we solve for it like an unknown in algebra.
(y2−2x)⋅dydx\displaystyle \big(\btm{y^2 - 2x}\big)\cdot\der{\frac{dy}{dx}} =2y−x2\displaystyle = \tp{2y - x^2}
dydx\displaystyle \der{\frac{dy}{dx}} =2y−x2y2−2x\displaystyle = \frac{\tp{2y - x^2}}{\btm{y^2 - 2x}}
The tangent at (3,3)\pt{(3, 3)}
(3,3):dydx\displaystyle \pt{(3, 3)}: \quad \der{\frac{dy}{dx}} =6−99−6\displaystyle = \frac{6 - 9}{9 - 6} =−1\displaystyle = -1
y−3\displaystyle y - 3 =−(x−3),y\displaystyle = -(x - 3), \qquad y =−x+6\displaystyle = -x + 6
For one slope, plug in firstIf we only need the slope at (3,3)\pt{(3, 3)}, we can plug in x=3\pt{x = 3} and y=3\pt{y = 3} right after differentiating, and get the same −1-1 with less algebra.
27+27⋅dydx\displaystyle 27 + 27\cdot\der{\frac{dy}{dx}} =18+18⋅dydx\displaystyle = 18 + 18\cdot\der{\frac{dy}{dx}}
9⋅dydx\displaystyle 9\cdot\der{\frac{dy}{dx}} =−9,dydx\displaystyle = -9, \qquad \der{\frac{dy}{dx}} =−1\displaystyle = -1
3

Functions of yy and xyxy

The chain rule turned y2y^2 into 2y⋅dydx2y\cdot\der{\frac{dy}{dx}}, and other functions of yy work the same way. For sin⁡x\sin x, the inside is xx, and its derivative is just 11, so we never write it. For sin⁡y\sin y, the inside is yy, so we multiply the derivative of the outside by dydx\der{\frac{dy}{dx}}.

ddxsin⁡x=cos⁡xddxsin⁡y=cos⁡y⋅dydxddxex=exddxey=ey⋅dydxddxln⁡x=1xddxln⁡y=1y⋅dydx\displaystyle \begin{aligned}\frac{d}{dx}\sin x &= \cos x &\qquad\qquad \frac{d}{dx}\sin y &= \cos y\cdot\der{\frac{dy}{dx}}\\[8pt] \frac{d}{dx}e^{x} &= e^{x} &\qquad\qquad \frac{d}{dx}e^{y} &= e^{y}\cdot\der{\frac{dy}{dx}}\\[8pt] \frac{d}{dx}\ln x &= \frac1x &\qquad\qquad \frac{d}{dx}\ln y &= \frac1y\cdot\der{\frac{dy}{dx}}\end{aligned}
ddxsin⁡x=cos⁡xddxsin⁡y=cos⁡y⋅dydxddxex=exddxey=ey⋅dydxddxln⁡x=1xddxln⁡y=1y⋅dydx\displaystyle \begin{aligned}\frac{d}{dx}\sin x &= \cos x\\[6pt] \frac{d}{dx}\sin y &= \cos y\cdot\der{\frac{dy}{dx}}\\[22pt] \frac{d}{dx}e^{x} &= e^{x}\\[6pt] \frac{d}{dx}e^{y} &= e^{y}\cdot\der{\frac{dy}{dx}}\\[22pt] \frac{d}{dx}\ln x &= \frac1x\\[6pt] \frac{d}{dx}\ln y &= \frac1y\cdot\der{\frac{dy}{dx}}\end{aligned}

What if the inside has both xx and yy, like in exye^{\ins{xy}}? Then the derivative of the inside comes from the product rule.

w\displaystyle \ins{w} =xy:ddxexy\displaystyle = \ins{xy}: \quad \frac{d}{dx}e^{\ins{xy}} =exy⋅ddx(xy)\displaystyle = e^{\ins{xy}}\cdot\frac{d}{dx}(xy) =exy⋅(y+x⋅dydx)\displaystyle = e^{\ins{xy}}\cdot\Big(y + x\cdot\der{\frac{dy}{dx}}\Big)
w=xyddxexy=exy⋅ddx(xy)=exy⋅(y+x⋅dydx)\displaystyle \begin{aligned}\ins{w} &= \ins{xy}\\[6pt] \frac{d}{dx}e^{\ins{xy}} &= e^{\ins{xy}}\cdot\frac{d}{dx}(xy)\\ &= e^{\ins{xy}}\cdot\Big(y + x\cdot\der{\frac{dy}{dx}}\Big)\end{aligned}
Differentiate sin⁡y\sin y, eye^y, ln⁡y\ln y, and exye^{xy}, and find the slope of exy=2x+ye^{xy} = 2x + y at (0,1)\pt{(0, 1)}
ddxsin⁡y\displaystyle \frac{d}{dx}\sin y =  ?\displaystyle = \;?
ddxexy\displaystyle \frac{d}{dx}e^{xy} =  ?\displaystyle = \;?
exy\displaystyle e^{xy} =2x+y:\displaystyle = 2x + y:
dydx at (0, 1)\displaystyle \der{\frac{dy}{dx}} \text{ at } \pt{(0,\, 1)} =  ?\displaystyle = \;?
Text solution
Check the point
(0,1):e0\displaystyle \pt{(0, 1)}: \quad e^0 =1\displaystyle = 1 =2⋅0+1\displaystyle = 2\cdot0 + 1
Differentiate both sidesThe left side's inside is xy\ins{xy}, and the right side gives 2+dydx2 + \der{\frac{dy}{dx}}.
exy⋅(y+x⋅dydx)\displaystyle e^{\ins{xy}}\cdot\Big(y + x\cdot\der{\frac{dy}{dx}}\Big) =2+dydx\displaystyle = 2 + \der{\frac{dy}{dx}}
Plug in (0,1)\pt{(0, 1)} right awayWe only need the slope at this point. There, e0=1e^0 = 1 and x⋅dydx=0x\cdot\der{\frac{dy}{dx}} = 0, so the left side is just 11. The tangent line is y=−x+1y = -x + 1.
1\displaystyle 1 =2+dydx,dydx\displaystyle = 2 + \der{\frac{dy}{dx}}, \qquad \der{\frac{dy}{dx}} =−1\displaystyle = -1
Get the inside rightWriting exy⋅dydxe^{xy}\cdot\frac{dy}{dx}, as if the inside were just yy, gives 0=20 = 2 at (0,1)\pt{(0, 1)}. Leaving out the yy from the product rule gives −2-2 instead of −1-1.
4

Horizontal and vertical tangents

Now let's find the points where the tangent line to x2+xy+y2=3x^2 + xy + y^2 = 3 is horizontal, and where it's vertical.

−2-2
22
−2-2
22
xx
yy
x2+xy+y2=3x^2 + xy + y^2 = 3

A horizontal tangent has slope 00, and a fraction is 00 when its top is 00 and its bottom isn't. A vertical tangent is where the bottom is 00 instead. As we get close to that point, the slope gets larger and larger in size. On the circle x2+y2=25x^2 + y^2 = 25, that gave us these points.

x2+y2\displaystyle x^2 + y^2 =25:dydx\displaystyle = 25: \quad \der{\frac{dy}{dx}} =−xy\displaystyle = \frac{\tp{-x}}{\btm{y}}
Horizontal tangents
−x=0  →  x=0  →  (0,5), (0,−5)\displaystyle \tp{-x = 0} \;\to\; \tp{x = 0} \;\to\; (0, 5),\ (0, -5)
Vertical tangents
y=0  →  (5,0), (−5,0)\displaystyle \btm{y = 0} \;\to\; (5, 0),\ (-5, 0)
Find the points on x2+xy+y2=3x^2 + xy + y^2 = 3 where the tangent is horizontal or vertical
xx
yy
x2+xy+y2=3x^2 + xy + y^2 = 3
Text solution
Find dydx\der{\frac{dy}{dx}}The product rule on xyxy gives y+x⋅dydxy + x\cdot\der{\frac{dy}{dx}}. Collect the dydx\der{\frac{dy}{dx}} terms and divide.
(x+2y)⋅dydx\displaystyle (\btm{x + 2y})\cdot\der{\frac{dy}{dx}} =−(2x+y)\displaystyle = -(\tp{2x + y})
dydx\displaystyle \der{\frac{dy}{dx}} =−2x+yx+2y\displaystyle = -\frac{\tp{2x + y}}{\btm{x + 2y}}
Horizontal: the top is 00That gives the line y=−2x\tp{y = -2x}, so we plug it into the curve. The bottom x+2y\btm{x + 2y} is −3-3 and 33 at the two points, not 00.
x2+x(−2x)+(−2x)2\displaystyle x^2 + x(\tp{-2x}) + (\tp{-2x})^2 =3x2\displaystyle = 3x^2 =3\displaystyle = 3
x\displaystyle x =±1  →  (1,−2), (−1,2)\displaystyle = \pm1 \;\to\; (1, -2),\ (-1, 2)
Vertical: the bottom is 00That gives the line x=−2y\btm{x = -2y}. The top 2x+y\tp{2x + y} is −3-3 and 33 at the two points, not 00.
(−2y)2+(−2y)y+y2\displaystyle (\btm{-2y})^2 + (\btm{-2y})y + y^2 =3y2\displaystyle = 3y^2 =3\displaystyle = 3
y\displaystyle y =±1  →  (−2,1), (2,−1)\displaystyle = \pm1 \;\to\; (-2, 1),\ (2, -1)

Setting the top or the bottom to 00 gives a line, not a point. (0,0)(0, 0) is on y=−2x\tp{y = -2x}, but x2+xy+y2x^2 + xy + y^2 is 00 there, not 33. The points we want are where each line meets the curve.

xx
yy
x=−2y\htmlClass{lc-blue}{x = -2y}
y=−2x\htmlClass{lc-pink}{y = -2x}
(−1, 2)(-1,\, 2)
(1, −2)(1,\, -2)
(−2, 1)(-2,\, 1)
(2, −1)(2,\, -1)

A line can also miss the curve completely. On y2=x3−3xy^2 = x^3 - 3x, the top of dydx\der{\frac{dy}{dx}} is 00 at x=1\tp{x = 1} and x=−1\tp{x = -1}.

xx
yy
y2=x3−3xy^2 = x^3 - 3x
x=−1\htmlClass{lc-pink}{x = -1}
x=1\htmlClass{lc-pink}{x = 1}
(−1, 2)(-1,\, \sqrt2)
(−1, −2)(-1,\, -\sqrt2)
2y⋅dydx\displaystyle \btm{2y}\cdot\der{\frac{dy}{dx}} =3x2−3\displaystyle = \tp{3x^2 - 3}
dydx\displaystyle \der{\frac{dy}{dx}} =3x2−32y\displaystyle = \frac{\tp{3x^2 - 3}}{\btm{2y}}
3x2−3=0  →  x=1, x=−1\displaystyle \tp{3x^2 - 3 = 0} \;\to\; \tp{x = 1},\ \tp{x = -1}
x=1:y2\displaystyle \tp{x = 1}: \quad y^2 =1−3\displaystyle = 1 - 3 =−2\displaystyle = -2
x=−1:y2\displaystyle \tp{x = -1}: \quad y^2 =−1+3\displaystyle = -1 + 3 =2\displaystyle = 2
(−1,2), (−1,−2):2y\displaystyle (-1, \sqrt2),\ (-1, -\sqrt2): \quad \btm{2y} =±22\displaystyle = \pm 2\sqrt2

Since y2y^2 can't be −2-2, there's no point on the curve at x=1\tp{x = 1}. So the horizontal tangents are only at (−1,2)(-1, \sqrt{2}) and (−1,−2)(-1, -\sqrt{2}).

If a point makes both the top and the bottom 00, the slope formula gives 00\frac00, so this formula does not tell us whether a tangent is horizontal or vertical. We need another way to check that point.

Where on the curve is the numerator or denominator of the slope formula zero?

Horizontal and vertical tangents on a curve

Summary

Differentiating terms with xx and yy
Term with x
ddx(x3)=3x2\frac{d}{dx}(x^3) = 3x^2
Term with y
ddx(y3)=3y2⋅dydx\frac{d}{dx}(y^3) = 3y^2\cdot\der{\frac{dy}{dx}}

When a term depends only on xx, differentiate normally. But yy changes with xx, so for a term in yy alone, we treat yy as the inside function. By the chain rule, take the derivative of the outside function and multiply by dydx\der{\frac{dy}{dx}}.

Products and functions of xyxy
Product rule
ddx(xy)=y+x⋅dydx\frac{d}{dx}(xy) = y + x\cdot\der{\frac{dy}{dx}}
Chain rule with xy inside
ddxexy=exy⋅(y+x⋅dydx)\frac{d}{dx}e^{\ins{xy}} = e^{\ins{xy}}\cdot\Big(y + x\cdot\der{\frac{dy}{dx}}\Big)

In the product xyxy, both factors change with xx, so differentiate it with the product rule. When xy\ins{xy} is inside another function, like exye^{\ins{xy}}, take the derivative of the outside function, then multiply by the derivative of the whole inside, which is y+x⋅dydxy + x\cdot\der{\frac{dy}{dx}}.

Solving for dydx\frac{dy}{dx}
(y2−2x)⋅dydx=2y−x2  →  dydx=2y−x2y2−2x{\big(\btm{y^2 - 2x}\big)\cdot\der{\frac{dy}{dx}} = \tp{2y - x^2}} \;\to\; {\der{\frac{dy}{dx}} = \frac{\tp{2y - x^2}}{\btm{y^2 - 2x}}}

To find dydx\der{\frac{dy}{dx}} as a formula, collect every term with dydx\der{\frac{dy}{dx}} on one side and every other term on the other side. Then factor out dydx\der{\frac{dy}{dx}} and divide.

Finding the slope at a point
x2+y2=25:(3,4)→−34,(3,−4)→34\begin{gathered}x^2 + y^2 = 25:\\ \pt{(3, 4)} \to -\frac34, \qquad \pt{(3, -4)} \to \frac34\end{gathered}

On a curve like x2+y2=25x^2 + y^2 = 25, two points can share the same x-value. To find dydx\der{\frac{dy}{dx}} at one of those points, we need its y-value as well as its x-value. If you only need the slope at one point, plug in its coordinates right after differentiating, then solve for the number dydx\der{\frac{dy}{dx}}.

Horizontal and vertical tangents
Horizontal tangent
top of dydx=0\text{top of } \der{\frac{dy}{dx}} = 0
Vertical tangent
bottom of dydx=0\text{bottom of } \der{\frac{dy}{dx}} = 0

A horizontal tangent has slope 00, so set the top of dydx\der{\frac{dy}{dx}} equal to 00. A vertical tangent has undefined slope, so set the bottom equal to 00. Plug the resulting equation back into the curve to find the points, and check that the other part of the fraction isn't 00 there. If both the top and the bottom are 00, the fraction is 00\frac00, so this formula does not tell us whether a tangent is horizontal or vertical.

5

Practice

Enter exact numbers or simplified expressions using xx and yy.

1
Find the equation of the tangent line to x2+y2=13x^2 + y^2 = 13 at the point (2,−3)(2, -3).

Differentiate both sides with respect to xx. What is ddx(y2)\frac{d}{dx}(y^2)?

You have dydx=−xy\frac{dy}{dx} = -\frac{x}{y}. What is dydx\frac{dy}{dx} when x=2x = 2 and y=−3y = -3?

If you got y=−23x−53y = -\frac23 x - \frac53 Check the sign of the y-coordinate. At (2,−3)(2, -3), yy is negative, so −xy-\frac{x}{y} is −2−3-\frac{2}{-3}.

Differentiate both sidesThe derivative of x2x^2 is 2x2x, and by the chain rule the derivative of y2y^2 is 2y⋅dydx2y\cdot\der{\frac{dy}{dx}}.
2x+2y⋅dydx\displaystyle \tp{2x} + \btm{2y}\cdot\der{\frac{dy}{dx}} =0  →  dydx\displaystyle = 0 \;\to\; \der{\frac{dy}{dx}} =−xy\displaystyle = -\frac{\tp{x}}{\btm{y}}
Find the slope at (2,−3)\pt{(2, -3)}Plug in x=2\pt{x = 2} and y=−3\pt{y = -3}. The two negative signs cancel, so the slope is 23\frac23.
(2,−3):dydx\displaystyle \pt{(2, -3)}: \quad \der{\frac{dy}{dx}} =−2−3\displaystyle = -\frac{2}{-3} =23\displaystyle = \frac23
Write the tangent lineIn point-slope form, the line through (2,−3)\pt{(2, -3)} with slope 23\frac23 is y−(−3)=23(x−2)y - (-3) = \frac23(x - 2).
y+3\displaystyle y + 3 =23(x−2)  →  y\displaystyle = \frac23(x - 2) \;\to\; y =23x−133\displaystyle = \frac23 x - \frac{13}{3}
2
Find dydx\dfrac{dy}{dx} at the point (1,2)(1, 2) for the curve x2y+xy2=6x^2y + xy^2 = 6.

Both x2yx^2y and xy2xy^2 are products of xx and yy. What does the product rule give for each term?

Since we only need the slope at (1,2)(1, 2), plug in x=1x = 1 and y=2y = 2 right after differentiating. What does the equation become?

Differentiate both sidesUse the product rule on both x2yx^2y and xy2xy^2, remembering that ddx(y2)=2y⋅dydx\frac{d}{dx}(y^2) = 2y\cdot\der{\frac{dy}{dx}}.
2xy+x2⋅dydx+y2+2xy⋅dydx\displaystyle 2xy + x^2\cdot\der{\frac{dy}{dx}} + y^2 + 2xy\cdot\der{\frac{dy}{dx}} =0\displaystyle = 0
Plug in the pointSince we only need the derivative at (1,2)\pt{(1, 2)}, plug in x=1\pt{x = 1} and y=2\pt{y = 2} right away.
(1,2):4+dydx+4+4⋅dydx\displaystyle \pt{(1, 2)}: \quad 4 + \der{\frac{dy}{dx}} + 4 + 4\cdot\der{\frac{dy}{dx}} =0\displaystyle = 0
5⋅dydx\displaystyle 5\cdot\der{\frac{dy}{dx}} =−8,dydx\displaystyle = -8, \qquad \der{\frac{dy}{dx}} =−85\displaystyle = -\frac85
3
Find dydx\dfrac{dy}{dx} for the curve sin⁡(xy)=x\sin(xy) = x.

The chain rule gives cos⁡(xy)⋅ddx(xy)\cos(xy)\cdot\frac{d}{dx}(xy). What is the derivative of xyxy?

Distribute cos⁡(xy)\cos(xy) so you can move the term without dydx\frac{dy}{dx} to the right side.

If you got sec⁡(xy)\sec(xy) The inside of the sine is xyxy, not just yy. Differentiating the inside gives y+x⋅dydxy + x\cdot\frac{dy}{dx}, not just dydx\frac{dy}{dx}.

Differentiate both sidesThe chain rule gives cos⁡(xy)\cos(\ins{xy}) times the derivative of the inside, which is y+x⋅dydxy + x\cdot\der{\frac{dy}{dx}} by the product rule.
cos⁡(xy)⋅(y+x⋅dydx)\displaystyle \cos(\ins{xy})\cdot\Big(y + x\cdot\der{\frac{dy}{dx}}\Big) =1\displaystyle = 1
Isolate the dydx\der{\frac{dy}{dx}} termDistribute cos⁡(xy)\cos(\ins{xy}), then subtract ycos⁡(xy)\tp{y\cos(\ins{xy})} from both sides.
ycos⁡(xy)+xcos⁡(xy)⋅dydx=1  →  xcos⁡(xy)⋅dydx=1−ycos⁡(xy)\displaystyle {\tp{y\cos(\ins{xy})} + \btm{x\cos(\ins{xy})}\cdot\der{\frac{dy}{dx}} = \tp{1}} \;\to\; {\btm{x\cos(\ins{xy})}\cdot\der{\frac{dy}{dx}} = \tp{1 - y\cos(\ins{xy})}}
Divide by xcos⁡(xy)\btm{x\cos(\ins{xy})}.
dydx\displaystyle \der{\frac{dy}{dx}} =1−ycos⁡(xy)xcos⁡(xy)\displaystyle = \frac{\tp{1 - y\cos(\ins{xy})}}{\btm{x\cos(\ins{xy})}}
4
Consider the curve 6xy=2+y36xy = 2 + y^3. (a) Show that dydx=2yy2−2x\dfrac{dy}{dx} = \dfrac{2y}{y^2 - 2x}. (b) Find a point on the curve where the tangent line is horizontal, or explain why no such point exists. (c) Find the point on the curve where the tangent line is vertical.

Use the product rule on 6x⋅y6x\cdot y on the left, and the chain rule on y3y^3 on the right.

A horizontal tangent needs the numerator of dydx\frac{dy}{dx} to be 00. What does 2y=02y = 0 give for yy, and does any point on the curve have that y-value?

A vertical tangent means the denominator is 00 while the numerator is not 00. Solve y2−2x=0y^2 - 2x = 0 for xx, and plug that into the curve's equation.

If you got (0,0)(0, 0) Check whether (0,0)(0, 0) is on the curve. Plugging x=0x = 0 and y=0y = 0 into 6xy=2+y36xy = 2 + y^3 gives 0=20 = 2, which is impossible.

Show the derivativeDifferentiate both sides, collect the dydx\der{\frac{dy}{dx}} terms on one side, solve for dydx\der{\frac{dy}{dx}}, and divide top and bottom by 33.
6y+6x⋅dydx\displaystyle \tp{6y} + \btm{6x}\cdot\der{\frac{dy}{dx}} =3y2⋅dydx\displaystyle = \btm{3y^2}\cdot\der{\frac{dy}{dx}}
(3y2−6x)⋅dydx=6y  →  dydx=6y3y2−6x=2yy2−2x\displaystyle {\big(\btm{3y^2 - 6x}\big)\cdot\der{\frac{dy}{dx}} = \tp{6y}} \;\to\; {\der{\frac{dy}{dx}} = \frac{\tp{6y}}{\btm{3y^2 - 6x}} = \frac{\tp{2y}}{\btm{y^2 - 2x}}}
Check for horizontal tangentsSetting the numerator equal to 00 gives y=0\tp{y = 0}, but plugging y=0\tp{y = 0} into the curve gives 0=20 = 2, so no such point exists.
2y=0  →  y=0  →  6x⋅0=2+0  →  0=2\displaystyle {\tp{2y = 0}} \;\to\; {\tp{y = 0}} \;\to\; {6x\cdot 0 = 2 + 0} \;\to\; {0 = 2}
Find the vertical tangentSetting the denominator to 00 gives x=y22\btm{x = \frac{y^2}{2}}. Substitute this into the curve's equation to find yy, then check that the numerator 2y\tp{2y} is not 00.
y2−2x=0  →  x=y22\displaystyle \btm{y^2 - 2x = 0} \;\to\; \btm{x = \frac{y^2}{2}}
6⋅y22⋅y=2+y3  →  3y3=2+y3  →  y3=1  →  y=1, x=12\displaystyle {6\cdot\btm{\frac{y^2}{2}}\cdot y = 2 + y^3} \;\to\; {3y^3 = 2 + y^3} \;\to\; {y^3 = 1} \;\to\; {y = 1,\ x = \frac12}
(12,1):2y\displaystyle \Big(\frac12, 1\Big): \quad \tp{2y} =2≠0\displaystyle = 2 \neq 0
5
Find the point other than (0,0)(0, 0) on the curve x3+y3=6xyx^3 + y^3 = 6xy at which the tangent line is horizontal. Challenge

A horizontal tangent has slope 00, so the numerator of dydx\frac{dy}{dx} must be 00. What does 2y−x2=02y - x^2 = 0 give for yy?

Substitute y=x22y = \frac{x^2}{2} into x3+y3=6xyx^3 + y^3 = 6xy and factor out x3x^3.

What happens to the denominator of dydx\frac{dy}{dx} at (0,0)(0, 0)?

If you got (0,0)(0, 0) The question asks for a point other than (0,0)(0, 0). At the origin, both the numerator and denominator are 00, so the slope formula does not determine the tangents there.

Set the numerator to 00A horizontal tangent means the slope is 00, so set the numerator of dydx\der{\frac{dy}{dx}} equal to 00.
dydx\displaystyle \der{\frac{dy}{dx}} =2y−x2y2−2x\displaystyle = \frac{\tp{2y - x^2}}{\btm{y^2 - 2x}}
2y−x2=0  →  y=x22\displaystyle {\tp{2y - x^2 = 0}} \;\to\; {\tp{y = \frac{x^2}{2}}}
Substitute into the curvePlug y=x22\tp{y = \frac{x^2}{2}} into x3+y3=6xyx^3 + y^3 = 6xy and solve for xx.
x3+x68=6x⋅x22=3x3  →  x6=16x3  →  x3(x3−16)=0\displaystyle {x^3 + \frac{x^6}{8} = 6x\cdot\tp{\frac{x^2}{2}} = 3x^3} \;\to\; {x^6 = 16x^3} \;\to\; {x^3\big(x^3 - 16\big) = 0}
Check the originThe solution x=0x = 0 gives (0,0)(0, 0), where the slope formula gives 00\frac00. The curve crosses itself there, with a horizontal tangent to one branch and a vertical tangent to the other. We leave this point out because the question asks for a point away from the origin.
x=0:y=0,y2−2x=0  →  dydx=00\displaystyle {x = 0: \quad y = 0, \qquad \btm{y^2 - 2x} = 0} \;\to\; {\der{\frac{dy}{dx}} = \frac00}
Find the pointThe second factor gives x=163=223x = \sqrt[3]{16} = 2\sqrt[3]{2}, so y=243y = 2\sqrt[3]{4}. The denominator is not 00, and the coordinates satisfy the curve's equation.
x\displaystyle x =163\displaystyle = \sqrt[3]{16} =223,y\displaystyle = 2\sqrt[3]{2}, \qquad y =x22\displaystyle = \tp{\frac{x^2}{2}} =243\displaystyle = 2\sqrt[3]{4}
y2−2x\displaystyle \btm{y^2 - 2x} =823−423\displaystyle = 8\sqrt[3]{2} - 4\sqrt[3]{2} =423≠0\displaystyle = 4\sqrt[3]{2} \neq 0
x3+y3\displaystyle x^3 + y^3 =16+32\displaystyle = 16 + 32 =48\displaystyle = 48
6xy\displaystyle 6xy =2483\displaystyle = 24\sqrt[3]{8} =48\displaystyle = 48