Implicit & Related Rates
Differentiate curves that aren't solved for y, then set the whole machine in motion: when one quantity changes, how fast do the others respond?
01Why implicit differentiation exists
Not every curve hands you $y$ solved in terms of $x$. The circle $x^2 + y^2 = 25$ defines $y$ only implicitly — and solving gives two messy branches, $y = \pm\sqrt{25 - x^2}$. Curves like $x^3 + y^3 = 6xy$ can't be solved for $y$ at all. Implicit differentiation sidesteps the solving entirely: differentiate both sides of the equation as-is, treating $y$ as an unnamed function of $x$, and extract $\frac{dy}{dx}$ algebraically at the end.
02The key move: y is a function of x
Everything reduces to one chain-rule observation: since $y$ depends on $x$, differentiating any expression in $y$ produces a trailing $\frac{dy}{dx}$:
$$\frac{d}{dx}\,y^2 = 2y\,\frac{dy}{dx} \qquad \frac{d}{dx}\,\sin y = \cos y\,\frac{dy}{dx} \qquad \frac{d}{dx}\,x y = y + x\frac{dy}{dx}$$
(That last one is the product rule — $xy$ is a product of two functions of $x$.) Compare $\frac{d}{dx}x^2 = 2x$ with $\frac{d}{dx}y^2 = 2y\,y'$: the only difference is the tag-along $y'$. Forgetting that tag-along is the implicit differentiation error.
03The procedure, worked
Find $\frac{dy}{dx}$ for $x^2 + y^2 = 25$. Differentiate both sides term by term:
$$2x + 2y\,\frac{dy}{dx} = 0 \quad\Longrightarrow\quad \frac{dy}{dx} = -\frac{x}{y}$$
The answer contains both $x$ and $y$ — normal and fine, since a given $x$ on a circle corresponds to two points with different slopes. At $(3, 4)$ the slope is $-\tfrac{3}{4}$; at $(3, -4)$ it's $+\tfrac{3}{4}$. General recipe: (1) differentiate both sides, tagging every $y$-derivative with $y'$; (2) collect all $y'$ terms on one side; (3) factor out $y'$ and divide. It's always linear in $y'$, so step 3 always works.
04Tangent lines to implicit curves
Once $\frac{dy}{dx}$ is in hand, tangent lines work exactly as before. For the curve $x^3 + y^3 = 6xy$ (the folium of Descartes) at $(3, 3)$: differentiating gives $3x^2 + 3y^2 y' = 6y + 6xy'$, so $y' = \dfrac{6y - 3x^2}{3y^2 - 6x} = \dfrac{2y - x^2}{y^2 - 2x}$. At $(3,3)$: $y' = \frac{6 - 9}{9 - 6} = -1$, and the tangent is $y = 3 - (x - 3) = -x + 6$. Verify the point satisfies the original equation before trusting anything — graders check, and so should you.
05From implicit to related rates
Now replace $x$ with time. In a related rates problem, several quantities depend on $t$ and are linked by an equation; differentiating that equation with respect to $t$ links their rates. The chain rule move is identical — every variable picks up a $\frac{d}{dt}$ tag:
$$A = \pi r^2 \quad\Longrightarrow\quad \frac{dA}{dt} = 2\pi r\,\frac{dr}{dt}$$
If a ripple's radius grows at $\frac{dr}{dt} = 2$ ft/s, then when $r = 10$ ft the area grows at $\frac{dA}{dt} = 2\pi(10)(2) = 40\pi$ ft²/s. One equation about quantities became one equation about speeds.
06The five-step method
- Draw and label. Assign symbols to everything that changes; write given rates as derivatives with signs ($\frac{dx}{dt} = -3$ if $x$ shrinks).
- Relate. Find one equation connecting the variables — Pythagorean theorem, similar triangles, area/volume formulas are the usual suspects.
- Differentiate with respect to $t$ — before plugging in any numbers.
- Substitute the snapshot values and known rates.
- Solve and sanity-check the sign and units.
The cardinal sin is substituting numbers before differentiating: a value like $x = 6$ that holds only at one instant becomes a constant with derivative zero, silently deleting a term.
07The classic: sliding ladder
A 10-ft ladder leans against a wall; the base slides away at 1 ft/s. How fast is the top sliding down when the base is 6 ft out? Let $x$ = base distance, $y$ = height: $x^2 + y^2 = 100$. Differentiate: $2x\frac{dx}{dt} + 2y\frac{dy}{dt} = 0$. At the snapshot $x = 6$, so $y = 8$, and $\frac{dx}{dt} = 1$:
$$2(6)(1) + 2(8)\frac{dy}{dt} = 0 \quad\Longrightarrow\quad \frac{dy}{dt} = -\frac{3}{4} \text{ ft/s}$$
The negative sign says the top moves down — the model reporting physics back to you. Note $y = 8$ came from the constraint equation, not the problem statement; deriving missing snapshot values is part of step 4.
08Cones, shadows, and similar triangles
Two more patterns cover most homework. Draining cones: water in a cone has $V = \frac{1}{3}\pi r^2 h$ with two changing variables — use similar triangles ($\frac{r}{h}$ = constant from the cone's dimensions) to eliminate $r$ before differentiating, leaving $V$ in terms of $h$ alone. Shadows and distances: a person walking from a lamppost creates similar triangles relating shadow length to distance; two cars driving apart hide a Pythagorean relation. In every case the geometry supplies step 2's equation — related rates is 20% calculus, 80% setting up the right picture.
The two commandments. Implicit: every derivative of a $y$-expression drags a $\frac{dy}{dx}$ along — no exceptions. Related rates: differentiate the relating equation first, substitute the snapshot numbers second. Reverse the order and the answer is silently wrong.
Find $\dfrac{dy}{dx}$ for $x^2 + y^2 = 25$, and the slope at $(3, -4)$.
Solution
$2x + 2y\,y' = 0 \Rightarrow y' = -\dfrac{x}{y}$. At $(3,-4)$: $-\dfrac{3}{-4} = \dfrac{3}{4}$.
Find $\dfrac{dy}{dx}$ for $xy = 6$.
Solution
Product rule: $y + x\,y' = 0 \Rightarrow y' = -\dfrac{y}{x}$.
Find $\dfrac{dy}{dx}$ for $x^3 + y^3 = 9$.
Solution
$3x^2 + 3y^2 y' = 0 \Rightarrow y' = -\dfrac{x^2}{y^2}$.
Find $\dfrac{dy}{dx}$ for $x^2 y + x y^2 = 6$.
Solution
$2xy + x^2 y' + y^2 + 2xy\,y' = 0$.
$y'(x^2 + 2xy) = -(2xy + y^2) \Rightarrow y' = -\dfrac{2xy + y^2}{x^2 + 2xy}$.
Find $\dfrac{dy}{dx}$ for $\sin y = x$.
Solution
$\cos y \cdot y' = 1 \Rightarrow y' = \dfrac{1}{\cos y}$. (With $\cos y = \sqrt{1 - x^2}$, this is the arcsine derivative from Module 06.)
Find the tangent line to $x^2 + y^2 = 25$ at $(3, 4)$.
Solution
Slope $= -\dfrac{3}{4}$. Line: $y = 4 - \dfrac{3}{4}(x - 3)$, i.e. $3x + 4y = 25$.
Find the tangent line to $x^3 + y^3 = 6xy$ at $(3, 3)$.
Solution
$3x^2 + 3y^2y' = 6y + 6xy' \Rightarrow y' = \dfrac{2y - x^2}{y^2 - 2x}$. At $(3,3)$: $\dfrac{-3}{3} = -1$.
Tangent: $y = -x + 6$.
Find all points on $x^2 + y^2 = 25$ where the tangent line has slope $1$.
Solution
$-\dfrac{x}{y} = 1 \Rightarrow y = -x$. Substitute: $2x^2 = 25 \Rightarrow x = \pm\dfrac{5}{\sqrt2}$.
Points: $\left(\dfrac{5}{\sqrt2}, -\dfrac{5}{\sqrt2}\right)$ and $\left(-\dfrac{5}{\sqrt2}, \dfrac{5}{\sqrt2}\right)$.
Where does the curve $y^2 = x^3$ have a horizontal or vertical tangent?
Solution
$2y\,y' = 3x^2 \Rightarrow y' = \dfrac{3x^2}{2y}$.
Horizontal needs $3x^2 = 0$ with $y \ne 0$: impossible (if $x=0$ then $y=0$). Vertical (undefined) at $y = 0$: the origin — a cusp with a vertical tangent line there.
Find $\dfrac{dy}{dx}$ for $e^y = x + y$.
Solution
$e^y y' = 1 + y' \Rightarrow y'(e^y - 1) = 1 \Rightarrow y' = \dfrac{1}{e^y - 1}$.
Second derivative, implicitly: for $x^2 + y^2 = 25$, show $y'' = -\dfrac{25}{y^3}$.
Solution
$y' = -\dfrac{x}{y}$. Quotient rule: $y'' = -\dfrac{y - x y'}{y^2} = -\dfrac{y - x(-x/y)}{y^2} = -\dfrac{y^2 + x^2}{y^3} = -\dfrac{25}{y^3}$. ∎
A stone dropped in a pond makes a circular ripple whose radius grows at $2$ ft/s. How fast is the enclosed area growing when $r = 10$ ft?
Solution
$A = \pi r^2 \Rightarrow \dfrac{dA}{dt} = 2\pi r\dfrac{dr}{dt} = 2\pi(10)(2) = 40\pi \approx 125.7$ ft²/s.
A 10-ft ladder's base slides away from the wall at 1 ft/s. How fast is the top descending when the base is 6 ft from the wall?
Solution
$x^2 + y^2 = 100$; at $x = 6$, $y = 8$.
$2x\dot{x} + 2y\dot{y} = 0 \Rightarrow \dot{y} = -\dfrac{x\dot x}{y} = -\dfrac{6(1)}{8} = -\dfrac{3}{4}$ ft/s (downward).
A spherical balloon is inflated at $100$ cm³/s. How fast is the radius growing when $r = 5$ cm? ($V = \frac{4}{3}\pi r^3$)
Solution
$\dfrac{dV}{dt} = 4\pi r^2 \dfrac{dr}{dt} \Rightarrow \dfrac{dr}{dt} = \dfrac{100}{4\pi(25)} = \dfrac{1}{\pi} \approx 0.32$ cm/s.
A cube's edge grows at $3$ cm/min. How fast is the volume increasing when the edge is $10$ cm?
Solution
$V = s^3 \Rightarrow \dfrac{dV}{dt} = 3s^2\dfrac{ds}{dt} = 3(100)(3) = 900$ cm³/min.
Two cars leave an intersection: one drives north at 60 mph, the other east at 25 mph. How fast is the distance between them increasing after 1 hour?
Solution
At $t = 1$: $y = 60$, $x = 25$, $z = \sqrt{60^2 + 25^2} = 65$.
$z^2 = x^2 + y^2 \Rightarrow z\dot z = x\dot x + y\dot y \Rightarrow \dot z = \dfrac{25(25) + 60(60)}{65} = \dfrac{4225}{65} = 65$ mph.
Water fills an inverted cone (height 12 m, top radius 4 m) at $2$ m³/min. How fast is the water level rising when the water is 6 m deep?
Solution
Similar triangles: $r = \dfrac{h}{3}$, so $V = \dfrac{1}{3}\pi\left(\dfrac{h}{3}\right)^2 h = \dfrac{\pi h^3}{27}$.
$\dfrac{dV}{dt} = \dfrac{\pi h^2}{9}\dfrac{dh}{dt} \Rightarrow \dfrac{dh}{dt} = \dfrac{2 \cdot 9}{\pi(36)} = \dfrac{1}{2\pi} \approx 0.16$ m/min.
A 6-ft person walks away from a 15-ft lamppost at 5 ft/s. How fast is the tip of their shadow moving?
Solution
Similar triangles with $x$ = person's distance, $s$ = shadow length: $\dfrac{x + s}{15} = \dfrac{s}{6} \Rightarrow s = \dfrac{2x}{3}$.
Tip position: $x + s = \dfrac{5x}{3}$, so tip speed $= \dfrac{5}{3}(5) = \dfrac{25}{3} \approx 8.3$ ft/s.
A kite is 100 ft high, moving horizontally at 8 ft/s. How fast is the string paying out when 125 ft of string is released?
Solution
$z^2 = x^2 + 100^2$; at $z = 125$, $x = \sqrt{125^2 - 100^2} = 75$.
$z\dot z = x\dot x \Rightarrow \dot z = \dfrac{75(8)}{125} = 4.8$ ft/s.
Challenge: the base of a triangle grows at 1 cm/s while its height shrinks at 2 cm/s. Is the area growing or shrinking when $b = 10$ and $h = 8$?
Solution
$A = \dfrac{1}{2}bh \Rightarrow \dot A = \dfrac{1}{2}\left(\dot b h + b\dot h\right) = \dfrac{1}{2}\left[(1)(8) + (10)(-2)\right] = -6$ cm²/s.
Shrinking at 6 cm²/s — the height loss outweighs the base gain.