Let's find the slope of the tangent line to the circle x2+y2=25 at the point (3,4).
Find the slope of the tangent line to x2+y2=25 at (3,4) without solving for y
Text solution
The usual way: solve for y(3,4) is on the top half of the circle, where y=25−x2. The chain rule gives the slope, but only after we've picked that half.
dxdy=−25−x2x
x=3:dxdy=−163=−43
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 y2 is 2y⋅dxdy.
2x+2y⋅dxdy=0
Solve for dxdySubtract 2x and divide by 2y, as long as y=0. At (3,4) we get the same slope, with no square root.
dxdy=−yx
(3,4):dxdy=−43
Solving for y works on the circle, but for a curve like x3+y3=6xy, there's no simple formula for y in terms of x at all.
x3+y3=6xy:y=?
Differentiating both sides never needs that formula. Near (3,4), when x changes, y changes too so that x2+y2 stays 25, so y is a function of x. In y2, the inside function is y, and the chain rule only needs the derivative of the inside, not its formula. That derivative is dxdy, which we also write as y′.
dxddxd(x2+1)2(y)2=2=2(x2+1)(y)⋅2x⋅dxdy
The slope formula −yx uses both coordinates, and it has to. The line x=3 meets the circle at (3,4) and (3,−4), and their tangents have opposite slopes.
(3,4):−43
(3,−4):−−43=43
Does an x-coordinate alone determine the tangent slope on this circle?
Tangent slopes on a circle
2
Products of x and y
Back to x3+y3=6xy. We can't solve it for y, but we can still differentiate both sides to find dxdy, and then the tangent line at (3,3), which is on the curve.
(3,3):33+33=54=6⋅3⋅3
The term y3 works just like y2 did. What's new is the right side. 6xy is 6 times a product of two functions of x, so it needs the product rule.
dxd(xy)=1⋅y+x⋅dxdy
dxd(y3)=3y2⋅dxdy
Find dxdy for x3+y3=6xy, and the tangent line at (3,3)
Text solution
Differentiate both sidesNow dxdy appears on both sides. Every term has a 3, so we can divide it out.
3x2+3y2⋅dxdy=6y+6x⋅dxdy
Collect, factor, divideAt any point, dxdy is just a number, so we solve for it like an unknown in algebra.
(y2−2x)⋅dxdy=2y−x2
dxdy=y2−2x2y−x2
The tangent at (3,3)
(3,3):dxdy=9−66−9=−1
y−3=−(x−3),y=−x+6
For one slope, plug in firstIf we only need the slope at (3,3), we can plug in x=3 and y=3 right after differentiating, and get the same −1 with less algebra.
27+27⋅dxdy=18+18⋅dxdy
9⋅dxdy=−9,dxdy=−1
3
Functions of y and xy
The chain rule turned y2 into 2y⋅dxdy, and other functions of y work the same way. For sinx, the inside is x, and its derivative is just 1, so we never write it. For siny, the inside is y, so we multiply the derivative of the outside by dxdy.
What if the inside has both x and y, like in exy? Then the derivative of the inside comes from the product rule.
w=xy:dxdexy=exy⋅dxd(xy)=exy⋅(y+x⋅dxdy)
wdxdexy=xy=exy⋅dxd(xy)=exy⋅(y+x⋅dxdy)
Differentiate siny,ey,lny, and exy, and find the slope of exy=2x+y at (0,1)
dxdsiny=?
dxdexy=?
exy=2x+y:
dxdy at (0,1)=?
Text solution
Check the point
(0,1):e0=1=2⋅0+1
Differentiate both sidesThe left side's inside is xy, and the right side gives 2+dxdy.
exy⋅(y+x⋅dxdy)=2+dxdy
Plug in (0,1) right awayWe only need the slope at this point. There, e0=1 and x⋅dxdy=0, so the left side is just 1. The tangent line is y=−x+1.
1=2+dxdy,dxdy=−1
Get the inside rightWriting exy⋅dxdy, as if the inside were just y, gives 0=2 at (0,1). Leaving out the y from the product rule gives −2 instead of −1.
4
Horizontal and vertical tangents
Now let's find the points where the tangent line to x2+xy+y2=3 is horizontal, and where it's vertical.
A horizontal tangent has slope 0, and a fraction is 0 when its top is 0 and its bottom isn't. A vertical tangent is where the bottom is 0 instead. As we get close to that point, the slope gets larger and larger in size. On the circle x2+y2=25, that gave us these points.
x2+y2=25:dxdy=y−x
Horizontal tangents
−x=0→x=0→(0,5),(0,−5)
Vertical tangents
y=0→(5,0),(−5,0)
Find the points on x2+xy+y2=3 where the tangent is horizontal or vertical
Text solution
Find dxdyThe product rule on xy gives y+x⋅dxdy. Collect the dxdy terms and divide.
(x+2y)⋅dxdy=−(2x+y)
dxdy=−x+2y2x+y
Horizontal: the top is 0That gives the line y=−2x, so we plug it into the curve. The bottom x+2y is −3 and 3 at the two points, not 0.
x2+x(−2x)+(−2x)2=3x2=3
x=±1→(1,−2),(−1,2)
Vertical: the bottom is 0That gives the line x=−2y. The top 2x+y is −3 and 3 at the two points, not 0.
(−2y)2+(−2y)y+y2=3y2=3
y=±1→(−2,1),(2,−1)
Setting the top or the bottom to 0 gives a line, not a point. (0,0) is on y=−2x, but x2+xy+y2 is 0 there, not 3. The points we want are where each line meets the curve.
A line can also miss the curve completely. On y2=x3−3x, the top of dxdy is 0 at x=1 and x=−1.
2y⋅dxdy=3x2−3
dxdy=2y3x2−3
3x2−3=0→x=1,x=−1
x=1:y2=1−3=−2
x=−1:y2=−1+3=2
(−1,2),(−1,−2):2y=±22
Since y2 can't be −2, there's no point on the curve at x=1. So the horizontal tangents are only at (−1,2) and (−1,−2).
If a point makes both the top and the bottom 0, the slope formula gives 00, 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 x and y
Term with x
dxd(x3)=3x2
Term with y
dxd(y3)=3y2⋅dxdy
When a term depends only on x, differentiate normally. But y changes with x, so for a term in y alone, we treat y as the inside function. By the chain rule, take the derivative of the outside function and multiply by dxdy.
Products and functions of xy
Product rule
dxd(xy)=y+x⋅dxdy
Chain rule with xy inside
dxdexy=exy⋅(y+x⋅dxdy)
In the product xy, both factors change with x, so differentiate it with the product rule. When xy is inside another function, like exy, take the derivative of the outside function, then multiply by the derivative of the whole inside, which is y+x⋅dxdy.
Solving for dxdy
(y2−2x)⋅dxdy=2y−x2→dxdy=y2−2x2y−x2
To find dxdy as a formula, collect every term with dxdy on one side and every other term on the other side. Then factor out dxdy and divide.
Finding the slope at a point
x2+y2=25:(3,4)→−43,(3,−4)→43
On a curve like x2+y2=25, two points can share the same x-value. To find dxdy 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 dxdy.
Horizontal and vertical tangents
Horizontal tangent
top of dxdy=0
Vertical tangent
bottom of dxdy=0
A horizontal tangent has slope 0, so set the top of dxdy equal to 0. A vertical tangent has undefined slope, so set the bottom equal to 0. Plug the resulting equation back into the curve to find the points, and check that the other part of the fraction isn't 0 there. If both the top and the bottom are 0, the fraction is 00, so this formula does not tell us whether a tangent is horizontal or vertical.
5
Practice
Enter exact numbers or simplified expressions using x and y.
1
Find the equation of the tangent line to x2+y2=13 at the point (2,−3).
Differentiate both sides with respect to x. What is dxd(y2)?
You have dxdy=−yx. What is dxdy when x=2 and y=−3?
If you got y=−32x−35 Check the sign of the y-coordinate. At (2,−3),y is negative, so −yx is −−32.
Differentiate both sidesThe derivative of x2 is 2x, and by the chain rule the derivative of y2 is 2y⋅dxdy.
2x+2y⋅dxdy=0→dxdy=−yx
Find the slope at (2,−3)Plug in x=2 and y=−3. The two negative signs cancel, so the slope is 32.
(2,−3):dxdy=−−32=32
Write the tangent lineIn point-slope form, the line through (2,−3) with slope 32 is y−(−3)=32(x−2).
y+3=32(x−2)→y=32x−313
2
Find dxdy at the point (1,2) for the curve x2y+xy2=6.
Both x2y and xy2 are products of x and y. What does the product rule give for each term?
Since we only need the slope at (1,2), plug in x=1 and y=2 right after differentiating. What does the equation become?
If you got −12 Check your derivative of xy2. The chain rule gives dxd(y2)=2y⋅dxdy, so that term needs a dxdy.
Differentiate both sidesUse the product rule on both x2y and xy2, remembering that dxd(y2)=2y⋅dxdy.
2xy+x2⋅dxdy+y2+2xy⋅dxdy=0
Plug in the pointSince we only need the derivative at (1,2), plug in x=1 and y=2 right away.
(1,2):4+dxdy+4+4⋅dxdy=0
5⋅dxdy=−8,dxdy=−58
3
Find dxdy for the curve sin(xy)=x.
The chain rule gives cos(xy)⋅dxd(xy). What is the derivative of xy?
Distribute cos(xy) so you can move the term without dxdy to the right side.
If you got sec(xy) The inside of the sine is xy, not just y. Differentiating the inside gives y+x⋅dxdy, not just dxdy.
Differentiate both sidesThe chain rule gives cos(xy) times the derivative of the inside, which is y+x⋅dxdy by the product rule.
cos(xy)⋅(y+x⋅dxdy)=1
Isolate the dxdy termDistribute cos(xy), then subtract ycos(xy) from both sides.
Consider the curve 6xy=2+y3. (a) Show that dxdy=y2−2x2y. (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⋅y on the left, and the chain rule on y3 on the right.
A horizontal tangent needs the numerator of dxdy to be 0. What does 2y=0 give for y, and does any point on the curve have that y-value?
A vertical tangent means the denominator is 0 while the numerator is not 0. Solve y2−2x=0 for x, and plug that into the curve's equation.
If you got (0,0) Check whether (0,0) is on the curve. Plugging x=0 and y=0 into 6xy=2+y3 gives 0=2, which is impossible.
Show the derivativeDifferentiate both sides, collect the dxdy terms on one side, solve for dxdy, and divide top and bottom by 3.
6y+6x⋅dxdy=3y2⋅dxdy
(3y2−6x)⋅dxdy=6y→dxdy=3y2−6x6y=y2−2x2y
Check for horizontal tangentsSetting the numerator equal to 0 gives y=0, but plugging y=0 into the curve gives 0=2, so no such point exists.
2y=0→y=0→6x⋅0=2+0→0=2
Find the vertical tangentSetting the denominator to 0 gives x=2y2. Substitute this into the curve's equation to find y, then check that the numerator 2y is not 0.
y2−2x=0→x=2y2
6⋅2y2⋅y=2+y3→3y3=2+y3→y3=1→y=1,x=21
(21,1):2y=2=0
5
Find the point other than (0,0) on the curve x3+y3=6xy at which the tangent line is horizontal. Challenge
A horizontal tangent has slope 0, so the numerator of dxdy must be 0. What does 2y−x2=0 give for y?
Substitute y=2x2 into x3+y3=6xy and factor out x3.
What happens to the denominator of dxdy at (0,0)?
If you got (0,0) The question asks for a point other than (0,0). At the origin, both the numerator and denominator are 0, so the slope formula does not determine the tangents there.
Set the numerator to 0A horizontal tangent means the slope is 0, so set the numerator of dxdy equal to 0.
dxdy=y2−2x2y−x2
2y−x2=0→y=2x2
Substitute into the curvePlug y=2x2 into x3+y3=6xy and solve for x.
x3+8x6=6x⋅2x2=3x3→x6=16x3→x3(x3−16)=0
Check the originThe solution x=0 gives (0,0), where the slope formula gives 00. 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→dxdy=00
Find the pointThe second factor gives x=316=232, so y=234. The denominator is not 0, and the coordinates satisfy the curve's equation.