# Implicit Differentiation

> AP Calculus BC · Unit 3: Differentiation: Composite, Implicit, and Inverse Functions
> Source: https://www.owlsprep.com/study/ap-calculus-bc-u3-implicit-differentiation/

This guide covers implicit vs explicit relations, the core chain-rule based implicit differentiation technique, higher-order derivatives, tangent/normal lines, and inverse function derivatives, aligned to AP Calculus BC exam requirements.

**Prerequisites:** [Chain rule for differentiation of composite functions](https://www.owlsprep.com/study/ap-calculus-bc-u2-chain-rule/); Derivatives of basic elementary functions; Point-slope form for linear equations

## Learning objectives

- Distinguish between explicit and implicit functions/relations
- Apply the implicit differentiation technique to find dy/dx
- Calculate higher-order implicit derivatives
- Find equations of tangent and normal lines to implicit curves
- Derive derivatives of inverse functions using implicit differentiation

## What Is Implicit Differentiation?

An explicit function is written in the form $y = f(x)$, where $y$ is isolated on one side and expressed purely in terms of $x$. An implicit relation is any equation that relates $x$ and $y$ without isolating $y$, and many such relations cannot be easily solved for $y$ at all (e.g., $x^3y^2 - 2xy + \ln(y) = 5$).

Implicit differentiation is the technique to find $\frac{dy}{dx}$ directly from the implicit relation, without solving for $y$ first. The method relies entirely on the chain rule: since $y$ is a function of $x$ even if we cannot write it explicitly, any term containing $y$ is a composite function, so its derivative requires an extra factor of $\frac{dy}{dx}$.

> **info**
>
> This topic makes up 9-13% of your total AP Calculus BC exam score, appearing in both multiple-choice and free-response sections, often combined with tangents, inverse functions, and related rates.

## Core Technique: Finding $\frac{dy}{dx}$ for Implicit Relations

The core logic of implicit differentiation is simple: if two expressions are equal for all valid $x$, their derivatives with respect to $x$ are also equal. We differentiate every term on both sides of the equation with respect to $x$, and apply the chain rule to any term that contains $y$. Because $y = y(x)$, the derivative of $f(y)$ with respect to $x$ is $f'(y) \cdot \frac{dy}{dx}$.

1. Differentiate every term on both sides of the equation with respect to $x$
2. For any term containing $y$, multiply by $\frac{dy}{dx}$ (the chain rule step)
3. Collect all terms with $\frac{dy}{dx}$ on one side of the equation, and all other terms on the opposite side
4. Factor out $\frac{dy}{dx}$, then divide both sides by the remaining coefficient to solve for $\frac{dy}{dx}$

**Worked example:** Find $\frac{dy}{dx}$ for the implicit relation $x^2 + 3xy + y^2 = 5$.

1. Differentiate each term with respect to $x$:

   $$\frac{d}{dx}\left[x^2\right] + \frac{d}{dx}\left[3xy\right] + \frac{d}{dx}\left[y^2\right] = \frac{d}{dx}\left[5\right]$$
2. Compute derivatives, applying product rule to $3xy$ and chain rule to $y^2$:

   $$2x + 3\left(y + x\frac{dy}{dx}\right) + 2y\frac{dy}{dx} = 0$$
3. Expand and collect $\frac{dy}{dx}$ terms on the left:

   $$2x + 3y + \frac{dy}{dx}\left(3x + 2y\right) = 0 \implies \frac{dy}{dx}\left(3x + 2y\right) = -2x - 3y$$
4. Solve for $\frac{dy}{dx}$:

   $$\frac{dy}{dx} = \frac{-2x - 3y}{3x + 2y}$$

> **Exam tip:** Always simplify the final expression by factoring out common constants or negative signs before moving on; most MCQ answer choices use the simplified form, and an extra common factor will cost you a point.

## Higher-Order Implicit Derivatives

Once you find $\frac{dy}{dx}$ in terms of $x$ and $y$, you can find higher-order derivatives (most commonly the second derivative $\frac{d^2y}{dx^2}$) by differentiating $\frac{dy}{dx}$ again with respect to $x$. The key rule here is that any time you differentiate a term containing $y$, you still need to apply the chain rule and multiply by $\frac{dy}{dx}$.

After differentiating, you must substitute the expression you already found for $\frac{dy}{dx}$ into the result to get the final second derivative in terms of only $x$ and $y$, with no remaining $\frac{dy}{dx}$ terms. Often, the original implicit relation can be used to simplify the final result significantly, which is a common AP exam trick.

**Worked example:** Given $x^2 + 3xy + y^2 = 5$ and $\frac{dy}{dx} = \frac{-2x - 3y}{3x + 2y}$, find $\frac{d^2y}{dx^2}$.

1. Differentiate $\frac{dy}{dx}$ using the quotient rule:

   $$\frac{d^2y}{dx^2} = \frac{\left(-2 - 3\frac{dy}{dx}\right)(3x + 2y) - (-2x - 3y)\left(3 + 2\frac{dy}{dx}\right)}{(3x + 2y)^2}$$
2. Expand and simplify the numerator:

   $$-6x -4y -9x\frac{dy}{dx} -6y\frac{dy}{dx} + 6x +4x\frac{dy}{dx} +9y +6y\frac{dy}{dx} = 5y - 5x\frac{dy}{dx}$$
3. Substitute $\frac{dy}{dx} = \frac{-2x - 3y}{3x + 2y}$ into the numerator:

   $$5y - 5x\left(\frac{-2x - 3y}{3x + 2y}\right) = \frac{5y(3x + 2y) + 5x(2x + 3y)}{3x + 2y} = \frac{10(x^2 + 3xy + y^2)}{3x + 2y}$$
4. Use the original relation $x^2 + 3xy + y^2 = 5$ to simplify:

   $$\frac{d^2y}{dx^2} = \frac{10(5)}{(3x + 2y)^3} = \frac{50}{(3x + 2y)^3}$$

> **Exam tip:** Always check if the original implicit relation can be substituted into the second derivative to simplify the numerator; this cuts your work in half and avoids unnecessary algebraic errors.

## Tangent and Normal Lines to Implicit Curves

One of the most common AP exam applications of implicit differentiation is finding the equation of a tangent line or normal line to an implicit curve at a given point. By definition, $\frac{dy}{dx}$ at a point $(x_0, y_0)$ on the curve is exactly the slope of the tangent line at that point. The normal line is perpendicular to the tangent line, so its slope is the negative reciprocal of the tangent slope, as long as the tangent slope is defined and non-zero.

If $\frac{dy}{dx} = 0$ at the point, the tangent line is horizontal and the normal line is vertical. If $\frac{dy}{dx}$ is undefined at the point, the tangent line is vertical and the normal line is horizontal.

**Worked example:** Find the equation of the tangent line to the curve $x^2 + 3xy + y^2 = 5$ at the point $(1, 1)$.

1. First confirm that $(1, 1)$ lies on the curve: $1^2 + 3(1)(1) + 1^2 = 5$, which matches the right-hand side.
2. We already found $\frac{dy}{dx} = \frac{-2x - 3y}{3x + 2y}$. Evaluate at $(1, 1)$:

   $$\frac{dy}{dx}\bigg|_{(1,1)} = \frac{-2(1) - 3(1)}{3(1) + 2(1)} = \frac{-5}{5} = -1$$
3. Use point-slope form to write the tangent line equation:

   $$y - 1 = -1(x - 1)$$
4. Simplify to slope-intercept form:

   $$y = -x + 2$$

> **Exam tip:** Always confirm the given point lies on the curve before calculating slope; AP problems sometimes include an implicit check step, and off-curve points will give incorrect tangent lines.

## Derivatives of Inverse Functions via Implicit Differentiation

Implicit differentiation is the simplest way to derive the derivative of any inverse function, including inverse trigonometric functions. By definition, if $y = f^{-1}(x)$, then $f(y) = x$, which is an implicit relation. We can differentiate both sides with respect to $x$ and solve for $\frac{dy}{dx}$ directly, which gives the inverse derivative formula without memorization.

**Worked example:** Find the derivative of $y = \arctan(x)$ using implicit differentiation.

1. By definition of the arctangent inverse function, $\tan(y) = x$, where $-\frac{\pi}{2} < y < \frac{\pi}{2}$.
2. Differentiate both sides with respect to $x$, applying the chain rule to $\tan(y)$:

   $$\sec^2(y) \cdot \frac{dy}{dx} = 1$$
3. Solve for $\frac{dy}{dx}$:

   $$\frac{dy}{dx} = \frac{1}{\sec^2(y)}$$
4. Use the Pythagorean identity $\sec^2(y) = 1 + \tan^2(y)$, and substitute $\tan(y) = x$:

   $$\frac{dy}{dx} = \frac{1}{1 + \tan^2(y)} = \frac{1}{1 + x^2}$$

**Check your understanding**

Which of the following is equal to $\frac{dy}{dx}$ for the implicit relation $2x^3y + \ln(y) = 4$?

1. 

   - $\frac{-6x^2y^2}{2x^3y + 1}$
   - $\frac{-6x^2y}{2x^3 + \frac{1}{y}}$
   - $\frac{6x^2y}{2x^3 + \frac{1}{y}}$
   - $\frac{-2x^3y}{6x^2y + 1}$

   *Answer:* $\frac{-6x^2y}{2x^3 + \frac{1}{y}}$

   *Why:* Differentiate both sides: $6x^2y + 2x^3 \frac{dy}{dx} + \frac{1}{y} \frac{dy}{dx} = 0$, then collect terms and solve to get the correct result.

> **Exam tip:** Always recall the principal range of the inverse function when simplifying; this determines the sign of any root you take, and a wrong sign gives the wrong derivative.

## Common pitfalls

- **Wrong:** Forgetting to multiply the derivative of a $y$-term by $\frac{dy}{dx}$, e.g., writing $\frac{d}{dx}[y^2] = 2y$ instead of $2y \frac{dy}{dx}$
  - Why it fails: Students get used to differentiating functions of $x$ and forget $y$ depends on $x$, so the chain rule requires the extra factor.
  - Correct: Every time you differentiate a term that contains a $y$, immediately write $\frac{dy}{dx}$ after it before moving to the next term.
- **Wrong:** Leaving $\frac{dy}{dx}$ in the final expression for $\frac{d^2y}{dx^2}$ without substituting.
  - Why it fails: Students forget the second derivative must be in terms of $x$ and $y$, not $\frac{dy}{dx}$.
  - Correct: After differentiating $\frac{dy}{dx}$, immediately substitute the expression you already found for $\frac{dy}{dx}$ before simplifying.
- **Wrong:** When applying product rule to $xy$, writing $\frac{d}{dx}[xy] = x \frac{dy}{dx} + y \frac{dy}{dx}$.
  - Why it fails: Students incorrectly add $\frac{dy}{dx}$ to both factors, confusing which factor depends on $y$.
  - Correct: Apply the product rule first, then only add $\frac{dy}{dx}$ when differentiating the factor that contains $y$.
- **Wrong:** Calculating the tangent line equation using the general form of $\frac{dy}{dx}$ instead of the evaluated slope.
  - Why it fails: Students rush to write the line before getting a numerical slope at the given point.
  - Correct: Evaluate $\frac{dy}{dx}$ at the given point to get a numerical slope before writing the line equation.
- **Wrong:** Solving for $y$ first when an implicit relation can be split into two explicit branches, leading to only one valid derivative.
  - Why it fails: Students default to explicit differentiation even when splitting loses information.
  - Correct: Always use implicit differentiation for relations, it automatically works for all branches.

## Cheatsheet

| Category | Formula / Process | Notes |
| --- | --- | --- |
| Differentiate $y$-term ($y=y(x)$ | $\frac{d}{dx}[f(y)] = f'(y) \cdot \frac{dy}{dx}$ | Required by chain rule; core step of implicit differentiation |
| General process for $\frac{dy}{dx}$ | 1. Differentiate all terms w.r.t $x$ 2. Collect $\frac{dy}{dx}$ terms 3. Factor $\frac{dy}{dx}$ 4. Solve for $\frac{dy}{dx}$ | Works for all implicit relations, no need to split into branches |
| Second derivative (implicit) | $\frac{d^2y}{dx^2} = \frac{d}{dx}\left[\frac{dy}{dx}\right]$, substitute $\frac{dy}{dx}$ after differentiation | Always substitute $\frac{dy}{dx}$ to get final answer in terms of $x,y$ |
| Tangent line at $(x_0,y_0)$ | $y - y_0 = m(x - x_0)$, $m = \frac{dy}{dx}\big\|_{(x_0,y_0)}$ | Always confirm $(x_0,y_0)$ is on the curve before calculating slope |
| Normal line at $(x_0,y_0)$ | Slope $= -\frac{1}{m}$ (for $m \neq 0$, $m$ defined) | If $m=0$, normal is vertical ($x=x_0$); if $m$ undefined, normal is horizontal ($y=y_0$) |
| Inverse function derivative ($y=f^{-1}(x)$ | $f(y) = x \implies f'(y) \frac{dy}{dx} = 1 \implies \frac{dy}{dx} = \frac{1}{f'(y)}$ | Derived directly via implicit differentiation, no need to memorize |
| Derivative of $\arcsin(x)$ | $\frac{d}{dx}\arcsin(x) = \frac{1}{\sqrt{1-x^2}}$ | $\cos(y)$ is positive on $(-\pi/2, \pi/2)$, so take positive root |
| Derivative of $\arctan(x)$ | $\frac{d}{dx}\arctan(x) = \frac{1}{1+x^2}$ | Derived from $\tan(y) = x$ and $\sec^2(y) = 1 + \tan^2(y)$ |

## What's next

Implicit differentiation is the foundational technique for all remaining topics in this unit, and it enables key applications across the rest of the AP Calculus BC course. Next you will apply implicit differentiation to logarithmic differentiation, which simplifies differentiation of complicated products, quotients, and variable exponents that cannot be differentiated with basic rules. Without mastering implicit differentiation, you will not be able to correctly derive derivatives of inverse functions, solve related rates problems, or find tangents to parametric and polar curves later in the course. Beyond this unit, implicit differentiation is required for all implicit optimization problems and BC-specific topics like slope fields for implicit relations.

- [Differentiating inverse functions](https://www.owlsprep.com/study/ap-calculus-bc-u3-differentiating-inverse-functions/)
- [Differentiating inverse trigonometric functions](https://www.owlsprep.com/study/ap-calculus-bc-u3-differentiating-inverse-trigonometric-functions/)
- [Selecting procedures for calculating derivatives](https://www.owlsprep.com/study/ap-calculus-bc-u3-selecting-procedures-for-calculating-derivatives/)

---

From [OwlsPrep](https://www.owlsprep.com) — free study guides for A-Level, IB, AP and IGCSE, written against the official syllabus. Canonical page: https://www.owlsprep.com/study/ap-calculus-bc-u3-implicit-differentiation/
