Implicit Differentiation and Higher-Order Derivatives
AP Calculus BC · Unit 3 — Differentiation: Composite, Implicit, and Inverse Functions
Every $y$ that gets differentiated pays a toll
When an equation cannot be solved for $y$, differentiate every term with respect to $x$ while treating $y$ as an unknown function of $x$. Each time the derivative touches a $y$, the chain rule attaches a factor $\dfrac{dy}{dx}$:
$$\frac{d}{dx}\left(y^{4}\right)=4y^{3}\frac{dy}{dx},\qquad \frac{d}{dx}\left(x^{2}y\right)=2xy+x^{2}\frac{dy}{dx},\qquad\frac{d}{dx}e^{y}=e^{y}\frac{dy}{dx}$$Collect every $\dfrac{dy}{dx}$ on one side, factor, and divide. The answer usually contains both variables, and that is correct: a single value of $x$ may sit on two different branches of the curve, and only $y$ tells the branches apart.
Reading tangents off the fraction
With $\dfrac{dy}{dx}=\dfrac{N(x,y)}{D(x,y)}$, a horizontal tangent needs $N=0$ with $D\ne 0$, and a vertical tangent needs $D=0$ with $N\ne 0$. When $N$ and $D$ vanish together the formula says nothing at all, and the point must be examined separately.
Second derivatives
Differentiate the expression for $\dfrac{dy}{dx}$ again, then substitute the first derivative back in. An answer still containing $\dfrac{dy}{dx}$ is not finished.
Worked example: second derivative of an implicit function
Consider the circle $x^{2}+y^{2}=25$. Find $\dfrac{d^{2}y}{dx^{2}}$ at the point $(3,4)$.
Solution
First time. Differentiate both sides: $2x+2y\frac{dy}{dx}=0$, so $\frac{dy}{dx}=-\frac{x}{y}$. At $(3,4)$ this gives $-\frac34$.
Second time. Differentiate $-\frac{x}{y}$ with the quotient rule, remembering that $y$ is a function of $x$:
$$\frac{d^{2}y}{dx^{2}}=-\frac{y\cdot 1-x\cdot\frac{dy}{dx}}{y^{2}}$$Substitute back. Replace $\frac{dy}{dx}=-\frac{x}{y}$:
$$\frac{d^{2}y}{dx^{2}}=-\frac{y+\frac{x^{2}}{y}}{y^{2}}=-\frac{y^{2}+x^{2}}{y^{3}}=-\frac{25}{y^{3}}$$At $(3,4)$: $-\frac{25}{64}$.
The compact form $-\frac{25}{y^{3}}$ also tells you that the upper branch ($y>0$) is always concave down and the lower branch is always concave up — exactly the shape of a circle.