Implicit, logarithmic and parametric differentiation ·… | StemPy Lab
Course 9.2·Lesson 3 of 3
Implicit, logarithmic and parametric differentiation
When y is hidden inside an equation, differentiate both sides with respect to x and treat y
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
differentiate an equation in x and y without solving for y;
use logarithmic differentiation for xx and for long products and quotients;
find the slope of a curve given by a parameter.
Implicit differentiation
Some curves are given by an equation in x and y, such as the circle x2+y2=25. Solving for y gives two separate branches. Implicit differentiation avoids this. Differentiate both sides with respect to x, and remember that y is a function of x. By the chain rule,
dxd(y2)=2ydxdy,dxd(xy)=y+xdxdy.
For the circle, 2x+2ydxdy=0, so dxdy=−yx. At the point (3,4) the slope is −43.
Logarithmic differentiation
Two cases are awkward: a power with x in the exponent, such as xx, and a long product or quotient. In both, take the natural logarithm first.
Write lny in terms of x. Use ln(uv)=lnu+lnv and ln(uv)=vlnu.
Differentiate both sides. The left side gives y1dxdy.
Multiply by y and replace y by its formula.
For y=xx: lny=xlnx, so yy′=lnx+1, and y′=xx(1+lnx).
Parametric differentiation
A curve can be given by a parametert: x=f(t) and y=g(t). The chain rule gives dtdy=dxdy×dtdx. So
dxdy=dx/dtdy/dt,provided dtdx=0.
For the circle x=acost, y=asint this gives dxdy=−asintacost=−cott.
One arch of the cycloid x = 2 (t - sin t), y = 2 (1 - cos t), drawn in blue for t from 0 to 2 pi. It starts at the origin, rises to a top at height 4, and returns to the axis at x = 4 pi. A red dot marks the point where t = pi over 3, with a red tangent line through it of slope root 3, about 1.73.
Worked examples
Implicit. Find dxdy at (1,2) on the curve x2+xy+y2=7.
Check the point.1+2+4=7.
Differentiate.2x+y+xdxdy+2ydxdy=0.
Solve.dxdy=−x+2y2x+y. At (1,2) this is −54.
Parametric. Find the slope of x=3cost, y=2sint at t=3π.
The rates.dtdx=−3sint and dtdy=2cost.
The slope.dxdy=−32cott.
Put in t.cot3π=31, so the slope is −332≈−0.385.
Practise with new numbers
Try it in Python
The program checks all three methods. It compares each exact slope with a numerical slope: the circle at (3,4), xx at x=2, and the ellipse of the worked example.
Common mistakes
Forgetting dxdy. The derivative of y2 with respect to x is 2ydxdy, not 2y.
The product rule for xy. Both factors depend on x, so dxd(xy)=y+xdxdy.
The power rule on xx. The exponent also moves. Take logarithms.
Dividing the wrong way. In parametric form, dxdy is dtdy divided by dtdx, not the other way round.
Remember these
Implicit: differentiate both sides, treat y as a function of x, then solve for dxdy.
Logarithmic: take ln of both sides, differentiate, then multiply by y. For xx the result is xx(1+lnx).
Parametric: dxdy=dx/dtdy/dt.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Find dxdy at (3,4) on the curve xy=12.
Differentiate y=xx2 for x>0.
For x=t2 and y=2t, find dxdy in terms of t.
Use logarithmic differentiation to find y′(0) for y=(x+1)2(x+2)3.
Find dxdy if siny=x, for y in (−2π,2π).
References
OpenStax, Calculus Volume 1, Chapter 3, sections on implicit differentiation and on derivatives of exponential and logarithmic functions.
NCERT, Mathematics Part I for Class XII, Chapter 5, sections on logarithmic differentiation and on derivatives of functions in parametric forms.
Enroll free in Differentiability and the Rules of Differentiation
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.