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.

xyO numerator = 0: horizontal tangent denominator = 0: vertical tangent numerator and denominator BOTH equal 0: self-intersection, no single tangent line
Three kinds of points, three different conclusions. The folium of Descartes $x^{3}+y^{3}=6xy$ has $\frac{dy}{dx}=\frac{2y-x^{2}}{y^{2}-2x}$. The red dot at the top of the loop is where the numerator equals $0$, so the tangent is horizontal; the blue dot at the right edge is where the denominator equals $0$, so the tangent is vertical. The purple dot at the origin is the dangerous spot: the numerator and denominator both equal $0$, and the curve passes through twice in two different directions, so there is no single tangent line. A student who only remembers "denominator equals 0 means vertical tangent" will declare the origin a vertical tangent and lose the whole point.

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.

Common mistake

Two point-killing mistakes. One is differentiating $y^{2}$ to get $2y$, forgetting the factor $\frac{dy}{dx}$; prevent it by underlining every $y$ in the equation before differentiating, then checking each underlined spot to see whether $\frac{dy}{dx}$ has been attached. The other is forgetting to substitute back in the second derivative, leaving $\frac{dy}{dx}$ in the answer; prevent it with a rule of your own: the problem counts as finished only when the final expression contains just $x$ and $y$.

Key takeaway

Touch a $y$ and you must attach $\frac{dy}{dx}$. Horizontal = numerator $0$, vertical = denominator $0$, and when both are $0$ you must examine the point separately rather than conclude. A second derivative that has not been substituted back is not finished.

← The Chain Rule and Repeated Nesting · All AP Calculus BC lessons · Practice AP Calculus BC questions (free, instant scoring) · Derivatives of Inverse Functions and Inverse Trigonometric Functions →