Implicit and parametric differentiation

Not every curve hands you a tidy y=f(x)y=f(x). A circle, an ellipse, or a tangled shape like x3+y3=3xyx^3+y^3=3xy mixes xx and yy together so thoroughly that solving for yy first is either impossible or a mess of square roots. Other curves — a projectile's path, a point tracing a circle, an astroid — are naturally described by giving xx and yy separately in terms of a third variable, a parameter, usually tt or θ\theta. Implicit and parametric differentiation are the two techniques that let you find dydx\dfrac{dy}{dx} in both situations without ever forcing the curve into an explicit y=f(x)y=f(x) form. Both rest on the same idea you already know: the chain rule, applied carefully to whichever variable is doing the "hiding."

The core insight

Differentiate implicit relations term-by-term with the chain rule (inserting dydx\dfrac{dy}{dx} wherever yy appears) and then solve algebraically for dydx\dfrac{dy}{dx}, or, for parametric curves, form dydx\dfrac{dy}{dx} directly as the ratio dy/dtdx/dt\dfrac{dy/dt}{dx/dt}.

The core idea

Implicit differentiation applies when yy is not isolated on one side of the equation — for example x2+y2=25x^2+y^2=25 or x3+y3=3xyx^3+y^3=3xy. Because yy is still secretly a function of xx, every term containing yy must be differentiated using the chain rule, treating yy as y(x)y(x):

ddx[g(y)]=g′(y)⋅dydx\frac{d}{dx}\big[g(y)\big] = g'(y)\cdot\frac{dy}{dx}

where: g(y)g(y) is any function built from yy (such as y3y^3 or sin⁡y\sin y), and the extra factor dydx\dfrac{dy}{dx} appears because yy itself depends on xx. Differentiate both sides of the given equation term by term, collect all the dydx\dfrac{dy}{dx} terms on one side, and solve.

Parametric differentiation applies when both xx and yy are given separately as functions of a third variable, typically tt: x=x(t)x=x(t), y=y(t)y=y(t). Then

dydx=dy/dtdx/dt,provided dxdt≠0\frac{dy}{dx} = \frac{dy/dt}{dx/dt}, \qquad \text{provided } \frac{dx}{dt}\ne0

where: dy/dtdy/dt and dx/dtdx/dt are the ordinary derivatives of yy and xx with respect to the parameter tt, computed separately and then divided. A curve like the folium of Descartes below cannot be written as one explicit y=f(x)y=f(x) formula over its whole domain — implicit differentiation sidesteps that entirely by differentiating the equation exactly as given, term by term, and solving for dydx\dfrac{dy}{dx} only at the end. Parametric equations solve a related but different problem: they describe a curve traced out as tt (often time, or an angle θ\theta) increases, which is why the resulting slope often simplifies neatly using trigonometric identities.

Figure
The folium of Descartes curve with a tangent line drawn at the point one point five one point five, alongside a small astroid curve traced by an angle theta, showing one curve handled implicitly and the other parametrically
Two curves, two methods: implicit versus parametric x cubed plus y cubed equals 3xy — implicit (1.5, 1.5) tangent found via dy/dx = (y minus x squared) over (y squared minus x) x = a cos cubed theta, y = a sin cubed theta — parametric theta increasing slope found as (dy over d theta) divided by (dx over d theta)

Common traps

  • Forgetting the dydx\dfrac{dy}{dx} factor when differentiating a yy-term implicitly — writing ddx(y3)=3y2\dfrac{d}{dx}(y^3)=3y^2 instead of 3y2dydx3y^2\dfrac{dy}{dx} is the single most common slip.
  • Mishandling mixed terms like xyxy or x2yx^2y — these need the product rule together with the chain rule on the yy part, not just one or the other.
  • In parametric problems, inverting the ratio — computing dx/dtdy/dt\dfrac{dx/dt}{dy/dt} instead of dy/dtdx/dt\dfrac{dy/dt}{dx/dt}.
  • Trying to rearrange an implicit relation into y=f(x)y=f(x) before differentiating — often impossible or needlessly messy; differentiate the equation exactly as given.
Derivation AWhy dy/dx equals (dy/dt) over (dx/dt) for a parametric curve

The goal is to show, starting from nothing but the ordinary single-variable chain rule, that when a curve is given parametrically as x=x(t)x=x(t) and y=y(t)y=y(t), the slope of the curve — the rate yy changes with xx — can be found without ever eliminating tt to write yy explicitly in terms of xx, simply by dividing the two separate derivatives dy/dtdy/dt and dx/dtdx/dt with respect to the parameter.

Step 1. Treat yy as a function of xx, and xx in turn as a function of tt, so that yy is really a composite function of tt through xx: y=y(x(t))y = y\big(x(t)\big). This composite structure is exactly the setup the chain rule is built for.

Step 2. Apply the chain rule to differentiate this composite with respect to tt. Since yy depends on tt only through xx, the chain rule gives

dydt=dydx⋅dxdt.\frac{dy}{dt} = \frac{dy}{dx}\cdot\frac{dx}{dt}.

This single line is the entire content of the derivation — everything else is rearrangement.

Step 3. Solve this equation for dydx\dfrac{dy}{dx}, the quantity we actually want, by dividing both sides by dxdt\dfrac{dx}{dt} (valid whenever dxdt≠0\dfrac{dx}{dt}\ne0, i.e. the curve is not momentarily moving straight up or down as tt varies):

dydx=dy/dtdx/dt.\frac{dy}{dx} = \frac{dy/dt}{dx/dt}.

Step 4. Read the result. Both dy/dtdy/dt and dx/dtdx/dt are ordinary derivatives of single-variable functions — no special new rule is needed to compute them, only the standard differentiation techniques applied to x(t)x(t) and y(t)y(t) separately. Dividing the two gives the slope of the curve at each value of tt, directly, with no need to eliminate tt and produce an explicit y=f(x)y=f(x) first.

Worked example

Find dydx\dfrac{dy}{dx} for the folium of Descartes x3+y3=3xyx^3+y^3=3xy, then use it to find the equation of the tangent line at the point (1.5,1.5)(1.5,1.5), which lies on the curve since 1.53+1.53=6.75=3(1.5)(1.5)1.5^3+1.5^3=6.75=3(1.5)(1.5).

Step 1. Differentiate both sides with respect to xx, treating yy as y(x)y(x):

ddx(x3)+ddx(y3)=ddx(3xy)\frac{d}{dx}(x^3) + \frac{d}{dx}(y^3) = \frac{d}{dx}(3xy)
3x2+3y2dydx=3(xdydx+y)3x^2 + 3y^2\frac{dy}{dx} = 3\left(x\frac{dy}{dx}+y\right)

using the chain rule on y3y^3 and the product rule on 3xy3xy.

Step 2. Expand the right side and collect every dydx\dfrac{dy}{dx} term on one side:

3x2+3y2dydx=3xdydx+3y3x^2 + 3y^2\frac{dy}{dx} = 3x\frac{dy}{dx} + 3y
dydx(3y2−3x)=3y−3x2\frac{dy}{dx}\big(3y^2-3x\big) = 3y-3x^2

Step 3. Solve for dydx\dfrac{dy}{dx} and simplify by dividing through by 33:

dydx=y−x2y2−x\frac{dy}{dx} = \frac{y-x^2}{y^2-x}

Step 4. Substitute the point (1.5,1.5)(1.5,1.5) to get the slope there: y−x2=1.5−2.25=−0.75y-x^2 = 1.5-2.25=-0.75 and y2−x=2.25−1.5=0.75y^2-x = 2.25-1.5=0.75, so

dydx∣(1.5,1.5)=−0.750.75=−1\frac{dy}{dx}\Big|_{(1.5,1.5)} = \frac{-0.75}{0.75} = -1

Step 5. Write the tangent line using point-slope form, y−y1=m(x−x1)y-y_1=m(x-x_1) with m=−1m=-1, (x1,y1)=(1.5,1.5)(x_1,y_1)=(1.5,1.5): y−1.5=−1(x−1.5)y-1.5=-1(x-1.5), which simplifies to x+y=3x+y=3, the tangent line to the folium at (1.5,1.5)(1.5,1.5).

Competitive stretch

For the astroid x=acos⁡3θx=a\cos^3\theta, y=asin⁡3θy=a\sin^3\theta, the parametric formula gives dydx=−tan⁡θ\dfrac{dy}{dx}=-\tan\theta (dividing dy/dθ=3asin⁡2θcos⁡θdy/d\theta = 3a\sin^2\theta\cos\theta by dx/dθ=−3acos⁡2θsin⁡θdx/d\theta=-3a\cos^2\theta\sin\theta and cancelling 3asin⁡θcos⁡θ3a\sin\theta\cos\theta). At θ=π/4\theta=\pi/4 the point is (a22,a22)\left(\dfrac{a}{2\sqrt2},\dfrac{a}{2\sqrt2}\right) and the slope is −tan⁡(π/4)=−1-\tan(\pi/4)=-1, giving the tangent line x+y=a2x+y=\dfrac{a}{\sqrt2} — the same slope −1-1 as the folium example above, a useful pattern-check rather than a coincidence to rely on in general.

Common exam pitfalls (quick recap)

  • Leaving the final implicit answer with yy terms un-collected instead of solving algebraically for a single expression in dydx\dfrac{dy}{dx}.
  • Substituting the point into the original equation instead of into the derivative when asked for a slope or tangent line.

Ask the tutor: not sure whether a given relation is more efficient to handle implicitly or by first eliminating a parameter — bring your specific equation to the AI tutor and compare both approaches side by side.

Why can't I just solve x cubed plus y cubed equals 3xy for y and then differentiate normally?

You could try, but solving this relation explicitly for yy in terms of xx is either impossible in closed form or produces a horribly messy expression with cube roots, because yy appears in more than one term in a way ordinary algebra cannot cleanly untangle. Implicit differentiation avoids this completely: you never solve for yy first. You differentiate the equation exactly as it stands, term by term, using the chain rule wherever yy appears, and only solve algebraically at the very last step — for dydx\dfrac{dy}{dx} itself, not for yy.

In the parametric formula, why does dividing dy by dt by dx by dt actually give the slope dy by dx?

Because yy, seen as a function of xx, is secretly a composite function of the parameter tt through xx: y=y(x(t))y=y(x(t)). The chain rule for this composite says dy/dt=(dy/dx)⋅(dx/dt)dy/dt = (dy/dx)\cdot(dx/dt). Rearranging that single equation — dividing both sides by dx/dtdx/dt — gives dy/dx=(dy/dt)/(dx/dt)dy/dx = (dy/dt)/(dx/dt) directly. So the parametric formula is not a new rule at all; it is the ordinary chain rule, just solved for the piece we want.

Do I always need to find dy by dx in general form, or can I sometimes just plug in a value of t or theta straight away?

If a question only asks for the slope or tangent at one specific point, it is often faster to differentiate x(t)x(t) and y(t)y(t), substitute the given value of tt (or θ\theta) into each derivative separately, and then divide the two numbers — you don't have to simplify dy/dxdy/dx into a clean general formula first. However, if the question asks for the slope "in terms of tt" or wants a general expression (as in the astroid example, where −tan⁡θ-\tan\theta is a genuinely useful simplified form), you do need the full simplified ratio, and trigonometric identities are usually the key to that simplification.

Before this

Where this leads