---
title: "Implicit Differentiation | FiveStudy"
description: "Never solve for y. Differentiate both sides and let every y carry its chain-rule factor."
url: https://fivestudy.com/guides/ap-calculus-bc-3-2-implicit-differentiation
---

[AP Calculus BC](https://fivestudy.com/ap-calculus-bc) · Study guide

# Implicit Differentiation

[Figure: FiveStudy]

FiveStudy

AP® Calculus BC · Unit 3 · Differentiation: Composite, Implicit, and Inverse Functions

AP® Calculus BC · Unit 3 · Differentiation: Composite, Implicit, and Inverse Functions

# Implicit *Differentiation*

Some curves, like circles, are described by an equation in x and y rather than a formula y = f(x). This guide shows how to find slopes on those curves without solving for y.

1. When y is not alone 2. The method 3. Products and trig 4. Horizontal and vertical tangents

The idea in one paragraph

To find \(\dfrac{dy}{dx}\) from an equation like \(x^2 + y^2 = 25\), differentiate both sides with respect to \(x\), treating \(y\) as an unknown function of \(x\). Every time you differentiate a term with \(y\) in it, the chain rule attaches a factor of \(\dfrac{dy}{dx}\). Then collect the \(\dfrac{dy}{dx}\) terms on one side and solve. The result usually contains both \(x\) and \(y\), so you need a point on the curve to get a number.

## 1 When y is not alone

An equation like \(y = x^2 + 1\) gives \(y\) **explicitly**. An equation like \(x^2 + y^2 = 25\) only describes \(y\) **implicitly**: it ties \(x\) and \(y\) together. Sometimes you could solve for \(y\) (here \(y = \pm\sqrt{25 - x^2}\), two pieces), but often you cannot, and you do not need to.

**Figure 1.** This curve fails the vertical line test, so it cannot be written as y = f(x). Implicit differentiation still gives the slope at each point; at (3, 3) the slope is −1.

## 2 The method

1. Differentiate both sides with respect to \(x\).
2. For each term with \(y\), use the chain rule: \(\dfrac{d}{dx}\left[y^2\right] = 2y\dfrac{dy}{dx}\), \(\dfrac{d}{dx}[\sin y] = \cos y\dfrac{dy}{dx}\).
3. Move every \(\dfrac{dy}{dx}\) term to one side and everything else to the other.
4. Factor out \(\dfrac{dy}{dx}\) and divide.

Worked Example 1 A circle

### \(x^2 + y^2 = 25\)

Find \(\dfrac{dy}{dx}\), then the slope and the tangent line at \((3, 4)\).

1. 1

   Differentiate both sides with respect to \(x\), treating \(y\) as a function of \(x\): \(2x + 2y\dfrac{dy}{dx} = 0\). The \(\dfrac{dy}{dx}\) appears because of the chain rule on \(y^2\).

2. 2

   Solve: \(\dfrac{dy}{dx} = -\dfrac{x}{y}\).

3. 3

   At \((3, 4)\): \(-\dfrac34\). Tangent line: \(y = 4 - \tfrac34(x - 3)\).

**Answer:** \(\dfrac{dy}{dx} = -\dfrac{x}{y}\); tangent line \(y = 4 - \tfrac34(x - 3)\).

**Figure 2.** One formula, dy/dx = −x/y, gives the slope at every point of the circle. Where the top is 0 (x = 0) the tangent is horizontal; where the bottom is 0 (y = 0) it is vertical.

Common Mistake 1 · Forgetting dy/dx on y terms

\(\dfrac{d}{dx}\left[y^2\right]\) is \(2y\dfrac{dy}{dx}\), not \(2y\). The variable you differentiate with respect to is \(x\); \(y\) is a function of \(x\), so the chain rule applies, just as it does for \((x^2 + 1)^2\).

Write it like this

“Differentiating both sides with respect to \(x\), treating \(y\) as a function of \(x\): \(2x + 2y\dfrac{dy}{dx} = 0\), so \(\dfrac{dy}{dx} = -\dfrac{x}{y}\).”

## 3 Products and trig

Worked Example 2 A product with y

### \(xy + y^2 = 4\) at \((3, 1)\)

1. 1

   Check the point: \(3 \cdot 1 + 1 = 4\). Good.

2. 2

   \(xy\) is a product, so use the product rule: \(\dfrac{d}{dx}[xy] = 1 \cdot y + x\dfrac{dy}{dx}\).

3. 3

   Whole equation: \(y + x\dfrac{dy}{dx} + 2y\dfrac{dy}{dx} = 0\).

4. 4

   Collect the \(\dfrac{dy}{dx}\) terms: \(\dfrac{dy}{dx}(x + 2y) = -y\), so \(\dfrac{dy}{dx} = \dfrac{-y}{x + 2y}\).

5. 5

   At \((3, 1)\): \(\dfrac{-1}{3 + 2} = -\dfrac15\).

**Answer:** \(-\dfrac{1}{5}\)

Common Mistake 2 · Treating xy like a single variable

\(xy\) is a product of two functions of \(x\): \(x\) and \(y\). Its derivative is \(y + x\dfrac{dy}{dx}\), from the product rule. Writing just \(\dfrac{dy}{dx}\) or just \(y\) loses a term.

Worked Example 3 A curve with a loop

### \(x^3 + y^3 = 6xy\) at \((3, 3)\)

1. 1

   Differentiate: \(3x^2 + 3y^2\dfrac{dy}{dx} = 6y + 6x\dfrac{dy}{dx}\).

2. 2

   Collect: \(\dfrac{dy}{dx}(3y^2 - 6x) = 6y - 3x^2\). Divide by 3 and solve: \(\dfrac{dy}{dx} = \dfrac{2y - x^2}{y^2 - 2x}\).

3. 3

   At \((3, 3)\): \(\dfrac{6 - 9}{9 - 6} = -1\).

**Answer:** Slope \(-1\) at \((3, 3)\).

Worked Example 4 Trig and a product

### \(\sin y + xy = x^2\)

1. 1

   \(\dfrac{d}{dx}[\sin y] = \cos y\,\dfrac{dy}{dx}\) (chain rule). \(\dfrac{d}{dx}[xy] = y + x\dfrac{dy}{dx}\).

2. 2

   \(\cos y\,\dfrac{dy}{dx} + y + x\dfrac{dy}{dx} = 2x\).

3. 3

   \(\dfrac{dy}{dx}(\cos y + x) = 2x - y\), so \(\dfrac{dy}{dx} = \dfrac{2x - y}{\cos y + x}\).

**Answer:** \(\dfrac{dy}{dx} = \dfrac{2x - y}{\cos y + x}\). At the origin, which is on the curve, the slope is 0.

Common Mistake 3 · Substituting the point too early

Plugging \(x = 3\), \(y = 3\) into the equation before differentiating turns it into \(54 = 54\), which has no derivative information. Differentiate first, then substitute the point.

## 4 Horizontal and vertical tangents

When \(\dfrac{dy}{dx}\) is a fraction, a horizontal tangent needs the top to be 0 with the bottom not 0, and a vertical tangent needs the bottom to be 0 with the top not 0. Each candidate must also be a point on the curve.

Worked Example 5 Horizontal and vertical tangents

### Where on \(x^2 + y^2 = 25\)?

1. 1

   \(\dfrac{dy}{dx} = -\dfrac{x}{y}\). Horizontal tangent: top is 0 and bottom is not, so \(x = 0\): the points \((0, 5)\) and \((0, -5)\).

2. 2

   Vertical tangent: bottom is 0 and top is not, so \(y = 0\): the points \((5, 0)\) and \((-5, 0)\).

**Answer:** Horizontal at \((0, \pm 5)\); vertical at \((\pm 5, 0)\).

### Quick reference

| Term | Derivative with respect to x |
| --- | --- |
| \(y^n\) | \(ny^{n - 1}\dfrac{dy}{dx}\) |
| \(xy\) | \(y + x\dfrac{dy}{dx}\) |
| \(\sin y\) | \(\cos y\,\dfrac{dy}{dx}\) |
| \(e^y\) | \(e^y\dfrac{dy}{dx}\) |
| \(\ln y\) | \(\dfrac{1}{y}\dfrac{dy}{dx}\) |

FiveStudy AP® Calculus BC · Implicit differentiation
