Implicit differentiation: differentiate both sides, then solve for dy/dx
Ten implicit derivatives: the slope and tangent line of a circle and an ellipse, a curve with an xy term, an exponential and a log, a trig relation, the folium of Descartes, the horizontal and vertical tangents of a tilted ellipse, a second derivative, the derivative of arcsin, and logarithmic differentiation of a product and quotient, with worked solutions and the mistakes of dropping dy/dx, skipping the product rule, differentiating a constant, losing a y' term and treating y as a constant.
Before you start
Some curves are given by an equation in x and y that is hard or impossible to solve for ,y, such as .x3+y3=6xy. Implicit differentiation finds the slope anyway: treat y as a function of ,x, differentiate both sides of the equation with respect to ,x, and solve the result for .y′. It is the same chain rule that drives related rates, and the idea behind differentiating through a quantity defined by an equation, such as the optimum of an inner problem, instead of by a formula. The work goes wrong in a few places: a y′ dropped from the chain rule, a product rule skipped on ,xy, a constant side differentiated as if it were a variable, a y′ term left on the wrong side, and y treated as a constant in a second derivative. These ten problems cover each of them.
y is a function of ,x, and y′ means .dxdy. Every term containing y is a composition, so its derivative carries a factor :y′:,dxdy2=2yy′,,dxdsiny=cosyy′,,dxdey=eyy′,.dxdlny=yy′.
A term with both variables needs the product rule as well: .dxd(xy)=y+xy′. A constant differentiates to 0.
The method: (1) differentiate both sides of the equation with respect to ;x; (2) move every term containing y′ to one side and everything else to the other; (3) factor out y′ and divide. Substitute the point's coordinates at the end, or after step 1 if only a number is wanted.
The slope usually depends on both x and .y. The tangent line at (x0,y0) is y−y0=m(x−x0) with m=y′ there. A tangent is horizontal where y′=0 and vertical where the denominator of y′ is 0 and the numerator is not.
Find y′ for the circle ,x2+y2=25, and the tangent line at .(3,4).
·
Find y′ for the ellipse ,x2+4y2=8, and its value at (2,1) and at .(2,−1).
··
Find y′ for x2+3xy+y2=11 at .(1,2).
··
Find y′ for yex+lny=1 at the point where .x=0.
··
Find y′ for xsiny+y=π at .(2π,2π).
···
The folium of Descartes is .x3+y3=6xy. Find the slope and the tangent line at .(3,3).
···
Find the points on x2−xy+y2=3 where the tangent is horizontal, and where it is vertical.
···
For ,x2+y2=25, find y′′ in terms of y alone, and its value at .(3,4).
··
Use siny=x to find the derivative of ,y=arcsinx, and its value at .x=21.
···
Use logarithmic differentiation to find y′ for ,y=(x+3)4(x+1)2(x+2)3, and its value at .x=0.
Answers
;y′=−yx; tangent y=−43x+425
;y′=−4yx;−21 at (2,1) and 21 at (2,−1)
y′=−3+42+6=−78
y′=−21
y′=−0+11=−1
Slope ;−1; tangent y=−x+6
Horizontal at (1,2) and ;(−1,−2); vertical at (2,1) and (−2,−1)
;y′′=−y325; at ,(3,4),−6425≈−0.391
At :x=21:3/41=32≈1.155
y′=818⋅613=24352≈0.214
Worked solutions
Problem 1
Find y′ for the circle ,x2+y2=25, and the tangent line at .(3,4).
2x+2yy′=0Differentiate both sides; dxdy2=2yy′ by the chain rule, and 25 gives .0.
y′=−yxMove 2x across and divide by .2y.
At :(3,4):y′=−43Substitute.
y−4=−43(x−3)Point-slope form.
;y′=−yx; tangent y=−43x+425The tangent is perpendicular to the radius, whose slope is .34.
Problem 2
Find y′ for the ellipse ,x2+4y2=8, and its value at (2,1) and at .(2,−1).
2x+8yy′=0Differentiate both sides.
y′=−4yxSolve for .y′.
At :(2,1):.y′=−42=−21. At :(2,−1):.y′=21.Same ,x, two points on the curve.
;y′=−4yx;−21 at (2,1) and 21 at (2,−1)The slope needs both coordinates, because the ellipse is not the graph of one function of .x.
Problem 3
Find y′ for x2+3xy+y2=11 at .(1,2).
1+6+4=11The point is on the curve.
2x+(3y+3xy′)+2yy′=0The product rule on 3xy gives .3y+3xy′.
y′(3x+2y)=−(2x+3y)Collect the y′ terms on one side.
y′=−3x+2y2x+3yDivide.
y′=−3+42+6=−78Substitute ,x=1,.y=2.
Problem 4
Find y′ for yex+lny=1 at the point where .x=0.
At :x=0:,y+lny=1, so .y=1.,1+ln1=1, and y+lny is increasing, so 1 is the only solution.
y′ex+yex+yy′=0Product rule on ;yex; chain rule on .lny.
y′(ex+y1)=−yexCollect the y′ terms.
y′(1+1)=−1Substitute ,x=0,.y=1.
y′=−21Solving for y first is not possible in elementary functions, and it was never needed.
Problem 5
Find y′ for xsiny+y=π at .(2π,2π).
2π⋅1+2π=πThe point is on the curve.
siny+xcosyy′+y′=0Product rule on ,xsiny, with ;dxdsiny=cosyy′; the constant π gives .0.
y′=−xcosy+1sinyCollect and divide.
y′=−0+11=−1sin2π=1 and .cos2π=0.
Problem 6
The folium of Descartes is .x3+y3=6xy. Find the slope and the tangent line at .(3,3).
27+27=54=6⋅9The point is on the curve.
3x2+3y2y′=6y+6xy′Chain rule on ;y3; product rule on the right.
y′(3y2−6x)=6y−3x2Both sides have a y′ term: collect them on the left.
y′=y2−2x2y−x2Divide, and cancel the common factor 3.
y′=9−66−9=−1Substitute.
Slope ;−1; tangent y=−x+6.y−3=−(x−3). The curve is symmetric in x and ,y, and (3,3) is on the line of symmetry, so a slope of −1 is expected.
Problem 7
Find the points on x2−xy+y2=3 where the tangent is horizontal, and where it is vertical.
2x−(y+xy′)+2yy′=0Product rule on ,xy, with its minus sign.
y′=2y−xy−2x.y′(2y−x)=y−2x.
Horizontal: ,y=2x, so x2−2x2+4x2=3x2=3 and .x=±1.Numerator ;0; substitute y=2x into the curve.
Vertical: ,x=2y, so 4y2−2y2+y2=3y2=3 and .y=±1.Denominator ;0; substitute .x=2y.
Horizontal at (1,2) and ;(−1,−2); vertical at (2,1) and (−2,−1)At each point the other part of the fraction is not :0: at (1,2) the denominator is ,3, at (2,1) the numerator is .−3.
Problem 8
For ,x2+y2=25, find y′′ in terms of y alone, and its value at .(3,4).
y′=−yxProblem 1.
y′′=−y21⋅y−xy′Quotient rule; y is still a function of ,x, so its derivative is ,y′, not .0.
y′′=−y2y+x2/y=−y3y2+x2Substitute y′=−yx and multiply top and bottom by .y.
y′′=−y325Use the curve: .x2+y2=25.
;y′′=−y325; at ,(3,4),−6425≈−0.391Negative on the upper half, where the circle is concave down.
Problem 9
Use siny=x to find the derivative of ,y=arcsinx, and its value at .x=21.
cosyy′=1Differentiate .siny=x.
y′=cosy1Divide.
cosy=1−sin2y=1−x2arcsin takes values in ,[−2π,2π], where ,cosy≥0, so the positive root is the right one.
dxdarcsinx=1−x21For .−1<x<1.
At :x=21:3/41=32≈1.155The same steps on tany=x give 1+x21 for .arctan.
Problem 10
Use logarithmic differentiation to find y′ for ,y=(x+3)4(x+1)2(x+2)3, and its value at .x=0.
lny=2ln(x+1)+3ln(x+2)−4ln(x+3)Take logs (for ,x>−1, where every factor is positive): products become sums and powers become coefficients.
yy′=x+12+x+23−x+34Differentiate; the left side is a chain rule on .lny.
y′=y(x+12+x+23−x+34)Multiply by ,y, then write y out in full.
At :x=0:y=811⋅8=818 and .yy′=2+23−34=613.Substitute.
y′=818⋅613=24352≈0.214The quotient rule gets the same answer through a much longer numerator.
Where this goes wrong
1. Dropping the y' on a y term
Differentiating y2 gives 2y in every exercise where y is the variable.
x2+3xy+y2=11 at (1,2)Right so far: Problem 3.
“.dxdy2=2y.”The habit that causes the mistake: differentiating y2 as if y were the variable of differentiation.
,2x+3y+3xy′+2y=0, so y′=−3x2x+5y=−4y depends on ,x, so .dxdy2=2yy′. With the factor, y′(3x+2y)=−(2x+3y) and .y′=−78. Every term with a y in it must produce a .y′.
2. Skipping the product rule on xy
3xy looks like a single term, so it gets a single derivative.
x2+3xy+y2=11 at (1,2)Right so far: Problem 3.
“.dxd(3xy)=3xy′.”The habit that causes the mistake: treating 3x as a constant coefficient of .y.
,2x+3xy′+2yy′=0, so y′=−3x+2y2x=−72x changes too, so 3xy is a product: .dxd(3xy)=3y+3xy′. The missing 3y changes the numerator from 2x+3y=8 to ,2x=2, and the answer is ,−78, four times as steep.
3. Differentiating the constant side
The right side is ,π, and π looks like an angle, so it is treated like a variable.
xsiny+y=π at (2π,2π)Right so far: Problem 5.
“.dxdπ=1.”The habit that causes the mistake: differentiating every symbol that is not a digit.
,siny+xcosyy′+y′=1, so 1+y′=1 and y′=0π is a number, and the derivative of a number is .0. With 0 on the right, 1+y′=0 and .y′=−1. A horizontal tangent here would be a coincidence; check the answer against the curve instead.
4. Leaving a y' term on the other side
After differentiating, the left side has a y′ and is solved for it, the way an explicit derivative would be.
3x2+3y2y′=6y+6xy′ at (3,3)Right so far: Problem 6, step 2.
“.y′=3y26y−3x2.”The habit that causes the mistake: isolating the y′ on the left and treating the right side as known.
y′=2718−27=−31The right side still contains ,6xy′, so this is not a solution for :y′:y′ appears on both sides. Collect the terms first, ,y′(3y2−6x)=6y−3x2, and the slope is .9−9=−1.
5. Treating y as a constant in the second derivative
In −yx the y sits in the denominator like a constant, so only the x gets differentiated.
y′=−yx on ,x2+y2=25, at (3,4)Right so far: Problem 8, step 1.
“.y′′=−y1.”The habit that causes the mistake: forgetting that y is a function of x once the first derivative is done.
y′′=−41 at (3,4)The quotient rule needs the derivative of the denominator, which is ,y′=−43, not :0:.y′′=−y2y−xy′=−164+9/4=−6425. Then substitute y′ and use the curve to simplify, as in Problem 8.