AP CALCULUS BC • DIFFERENTIATION: COMPOSITE, IMPLICIT, AND INVERSE FUNCTIONS

Implicit Differentiation

Finding derivatives when y cannot be isolated as an explicit function of x.

Historical Context & Motivation

The development of calculus in the seventeenth century initially focused on functions that could be written in the form y = f(x), where one variable is expressed directly in terms of another. However, many of the most important relationships in mathematics and the sciences—the equation of a circle, the curves described by planetary orbits, and the surfaces arising in thermodynamics—resist such neat separation. The need to differentiate equations like x² + y² = 25, where y is tangled together with x, motivated the technique of implicit differentiation. Rather than solving for y first, this method differentiates both sides of an equation with respect to x, treating y as a function of x and invoking the chain rule wherever y appears.

1670s
Newton's Fluxions
Isaac Newton developed the method of fluxions, treating variables as flowing quantities whose rates of change could be related even when one was not explicitly solved for the other.
1684
Leibniz Publishes Calculus Notation
Gottfried Wilhelm Leibniz published his differential calculus with the dy/dx notation that made the chain rule—and thus implicit differentiation—notationally transparent.
1748
Euler's Introductio
Leonhard Euler systematized the distinction between explicit functions y = f(x) and implicit relations F(x, y) = 0, formalizing the idea that curves need not be graphs of single-valued functions to have well-defined tangent lines.
1800s
Implicit Function Theorem
Augustin-Louis Cauchy and later Ulisse Dini rigorously proved the Implicit Function Theorem, which guarantees conditions under which an implicit relation F(x, y) = 0 locally defines y as a differentiable function of x.

The central question implicit differentiation addresses is straightforward yet powerful: How do we compute dy/dx when the equation relating x and y cannot be—or is impractical to—solve for y explicitly? This technique extends the reach of differential calculus to nearly every algebraic and transcendental curve, making it indispensable for AP Calculus BC and beyond.

Core Principles & Definitions

Before executing implicit differentiation, it is essential to understand the conceptual foundation that supports it. The technique rests on three pillars: the idea that an equation can implicitly define a function, the universal applicability of the chain rule, and the algebraic step of solving for the desired derivative after differentiation.

1

Implicit vs. Explicit Functions

An explicit function gives y directly: y = x² − 3. An implicit relation intertwines the variables: x² + y² = 25. Many implicit relations define y as a function of x locally, even if not globally.
2

The Chain Rule as Engine

Because y is assumed to be a differentiable function of x, every term containing y requires the chain rule when differentiated with respect to x. For example, d/dx[y²] = 2y · (dy/dx).
3

Differentiate Both Sides Equally

If two expressions are equal, their derivatives with respect to x must also be equal. This principle lets us apply d/dx to every term of an implicit equation simultaneously.
4

Solve for dy/dx Algebraically

After differentiating, collect all terms with dy/dx on one side, factor it out, and divide—yielding a formula for dy/dx that may involve both x and y.
KEY TAKEAWAY
Think of implicit differentiation like adjusting a tangled set of gears in an engineering system: you cannot isolate one gear (y) from the mechanism (the equation), but you can still track exactly how fast it turns (dy/dx) by watching how the whole system responds when you turn the input gear (x). The chain rule is the coupling that links each hidden gear's rotation to the input.

Visual Explanation

The circle x² + y² = 25 provides the most accessible illustration of why implicit differentiation is necessary. This relation does not define a single explicit function; rather, the upper semicircle y = √(25 − x²) and the lower semicircle y = −√(25 − x²) together form the full curve. Implicit differentiation handles both branches simultaneously, yielding a single, elegant derivative formula.

The circle x² + y² = 25 (violet) with a tangent line (cyan) at the point P(3, 4). The dashed yellow segment is the radius from the origin. Implicit differentiation yields dy/dx = −x/y, which at (3, 4) gives a slope of −3/4. Notice the tangent is perpendicular to the radius—a geometric confirmation of the algebraic result.

In the diagram above, the violet circle represents all points satisfying x² + y² = 25. At the point P(3, 4) on the upper semicircle, the tangent line has slope −3/4, which matches the result dy/dx = −x/y evaluated at that point. The geometric elegance here is that the tangent line is perpendicular to the radius—a fact that follows directly from the derivative. Notice that implicit differentiation produced this slope without ever needing to write y = √(25 − x²) and differentiating that radical expression.

Mathematical Framework

The formal procedure of implicit differentiation can be distilled into a compact algorithmic framework. Given a relation F(x, y) = 0 where y is assumed to be a differentiable function of x, we apply d/dx to both sides and use the chain rule systematically. Below are the essential formulas and rules that govern this process.

CHAIN RULE FOR IMPLICIT y
d/dx[f(y)] = f′(y) · dy/dx
Whenever you differentiate an expression involving y with respect to x, multiply by dy/dx. For instance, d/dx[y³] = 3y² · (dy/dx) and d/dx[sin(y)] = cos(y) · (dy/dx).
PRODUCT RULE IN IMPLICIT CONTEXT
d/dx[x · y] = x · dy/dx + y · 1 = x(dy/dx) + y
When x and y are multiplied together, the product rule applies. Remember that dx/dx = 1, so the derivative of the x factor simply contributes y.
GENERAL IMPLICIT DERIVATIVE VIA PARTIAL DERIVATIVES
dy/dx = −F_x / F_y (provided F_y ≠ 0)
If the relation is written as F(x, y) = 0, then the derivative can be computed directly using partial derivatives: Fx = ∂F/∂x and Fy = ∂F/∂y. This shortcut is especially useful for complex equations.
SECOND DERIVATIVE (IMPLICIT)
d²y/dx² = d/dx[dy/dx], substituting the first derivative back in
To find d²y/dx², differentiate the expression for dy/dx with respect to x—again using implicit differentiation. Then replace any remaining dy/dx with the formula you already found to express the second derivative entirely in terms of x and y.
📝 AP EXAM TIP
On the AP Calculus BC exam, implicit differentiation frequently appears in free-response questions that ask you to find the equation of a tangent line, determine where a curve has horizontal or vertical tangent lines, or compute d²y/dx². Always show the chain rule step explicitly—this is where most rubric points are awarded.

Step-by-Step Procedure & Common Patterns

Implicit differentiation follows a consistent procedure regardless of the complexity of the equation. Mastering this algorithm and recognizing common differentiation patterns within implicit equations will help you work efficiently on both multiple-choice and free-response sections of the AP exam.

The four-step implicit differentiation algorithm. Begin with any relation F(x, y) = 0, differentiate every term with respect to x, apply the chain rule to y-terms (pink box), algebraically isolate all dy/dx terms (amber box), and solve (emerald box). The final answer typically involves both x and y.

Common Differentiation Patterns

Common implicit differentiation patterns encountered on the AP exam
Expressiond/dx ResultRule Used
3y² · (dy/dx)Chain rule + power rule
xyx(dy/dx) + yProduct rule + chain rule
sin(y)cos(y) · (dy/dx)Chain rule + trig
eʸ · (dy/dx)Chain rule + exponential
x²y³x² · 3y²(dy/dx) + 2x · y³Product rule + chain rule
ln(y)(1/y) · (dy/dx)Chain rule + logarithmic
⚠️ HORIZONTAL & VERTICAL TANGENTS
After finding dy/dx, set the numerator equal to zero to locate horizontal tangent lines, and set the denominator equal to zero to find vertical tangent lines. In both cases, verify that the resulting (x, y) point actually lies on the original curve.

Worked Example

Let us work through a multi-part example that mirrors the style and complexity of an AP Calculus BC free-response question. Consider the ellipse defined by x² + 4y² = 20. We will find dy/dx, determine the equation of the tangent line at the point (2, 2), identify all points with horizontal tangent lines, and compute d²y/dx².

Implicit Differentiation on an Ellipse: x² + 4y² = 20
1
Step 1 — Differentiate Both Sides w.r.t. xApplying d/dx to each term: d/dx[x²] + d/dx[4y²] = d/dx[20]. This gives 2x + 4 · 2y · (dy/dx) = 0, which simplifies to 2x + 8y(dy/dx) = 0. Note the chain rule on the 4y² term: the derivative of y² is 2y(dy/dx), then multiplied by the constant 4.
2x + 8y(dy/dx) = 0
2
Step 2 — Solve for dy/dxIsolate the dy/dx term: 8y(dy/dx) = −2x. Divide both sides by 8y (assuming y ≠ 0): dy/dx = −2x / (8y) = −x / (4y).
dy/dx = −x / (4y)
3
Step 3 — Tangent Line at (2, 2)First verify (2, 2) is on the curve: 2² + 4(2²) = 4 + 16 = 20 ✓. Evaluate dy/dx at (2, 2): dy/dx = −2/(4 · 2) = −2/8 = −1/4. Using point-slope form: y − 2 = −(1/4)(x − 2), which simplifies to y = −(1/4)x + 5/2.
y = −(1/4)x + 5/2
4
Step 4 — Horizontal Tangent LinesSet the numerator of dy/dx equal to zero: −x = 0, so x = 0. Substitute into the original equation: 0² + 4y² = 20 → y² = 5 → y = ±√5. The horizontal tangent lines occur at the points (0, √5) and (0, −√5).
Horizontal tangents at (0, √5) and (0, −√5)
5
Step 5 — Second Derivative d²y/dx²Starting from dy/dx = −x/(4y), apply the quotient rule: d²y/dx² = [−1 · (4y) − (−x) · 4(dy/dx)] / (4y)². Simplify the numerator: −4y + 4x(dy/dx) = −4y + 4x · (−x/(4y)) = −4y − x²/y = (−4y² − x²)/y. So d²y/dx² = (−4y² − x²) / (16y³). Since x² + 4y² = 20, we can substitute: d²y/dx² = −20 / (16y³) = −5 / (4y³).
d²y/dx² = −5 / (4y³)
💡 SCORING NOTE
On the AP exam, the second derivative is a common extension question. Notice how we substituted the original equation (x² + 4y² = 20) into the second derivative to simplify. This is a standard technique and often earns the final rubric point.

Explicit vs. Implicit Differentiation

Students sometimes wonder when to use implicit differentiation versus solving for y and differentiating explicitly. The answer depends on both the feasibility of algebraic isolation and the efficiency of the resulting computation. The table below compares the two approaches across several dimensions.

Comparing explicit and implicit approaches to differentiation
CriterionExplicit DifferentiationImplicit Differentiation
Starting Formy = f(x) — y isolatedF(x, y) = 0 — variables intertwined
When PreferredWhen y can be cleanly isolatedWhen isolation is impossible, messy, or introduces ± ambiguity
Result Formdy/dx in terms of x onlydy/dx in terms of both x and y
Evaluating the DerivativeOnly need x-coordinateNeed both x and y coordinates
Handles Multiple BranchesEach branch differentiated separatelySingle formula covers all branches simultaneously
Exampley = 3x² + 1 → dy/dx = 6xx² + y² = 25 → dy/dx = −x/y
WHEN IN DOUBT, USE IMPLICIT
If the equation involves y² (or higher powers of y), mixed products like xy, or transcendental functions of y such as sin(y) or eʸ, implicit differentiation is almost always the more efficient route. On the AP exam, if a problem gives you a relation rather than a function, this is your cue.

Connections to Advanced Topics

Implicit differentiation is not merely a procedural technique—it is a gateway to several deeper ideas that appear throughout the AP Calculus BC curriculum and in multivariable calculus. Understanding these connections reinforces why mastering implicit differentiation pays dividends far beyond a single problem type.

How implicit differentiation connects to other calculus topics
Advanced TopicConnection to Implicit Differentiation
Related RatesRelated rates problems are implicit differentiation with respect to time t. Every variable is an implicit function of t, and you apply the chain rule exactly as in implicit differentiation.
Inverse Function DerivativesThe formula (f⁻¹)′(a) = 1/f′(f⁻¹(a)) is derived by implicitly differentiating y = f⁻¹(x) rewritten as f(y) = x, yielding f′(y) · dy/dx = 1, so dy/dx = 1/f′(y).
Logarithmic DifferentiationTaking ln of both sides of y = f(x)^{g(x)} and then differentiating implicitly is the standard approach for variable-base, variable-exponent functions.
Parametric Curves (dy/dx)For parametric equations x = f(t), y = g(t), finding dy/dx = (dy/dt)/(dx/dt) can be seen as implicit differentiation of the parametric relation.
Multivariable CalculusThe formula dy/dx = −F_x/F_y generalizes to ∂z/∂x = −F_x/F_z for surfaces F(x, y, z) = 0, extending implicit differentiation to three dimensions.

As you progress through the AP Calculus BC curriculum, you will encounter related rates problems that are, at their core, implicit differentiation problems in disguise—the only difference is that the independent variable is time rather than x. Similarly, the derivation of derivatives for inverse trigonometric functions (such as d/dx[arcsin(x)] = 1/√(1 − x²)) relies on implicit differentiation of y = arcsin(x) rewritten as sin(y) = x. Recognizing these structural parallels will deepen your mathematical fluency.

Practice Problems

1
When differentiating the equation x² + y² = r² (where r is a constant) implicitly with respect to x, what is dy/dx?
2
Given the equation x³ + y³ = 6xy, find dy/dx.
3
For the curve defined by sin(xy) = x, find dy/dx.
PROBLEM 4APPLIED
An engineer models the cross-section of a cooling pipe using the curve x² + xy + y² = 7. (a) Find dy/dx. (b) Find the coordinates of all points on the curve where the tangent line is horizontal. (c) Write the equation of the tangent line at one such point.
PROBLEM 5CRITICAL THINKING
Given the curve eʸ + xy = e + 2, verify that the point (2, 1) lies on the curve. Then find the values of dy/dx and d²y/dx² at (2, 1), and determine whether the curve is concave up or concave down at that point.

Lesson Summary

Implicit differentiation is a technique for finding dy/dx when y is not—or cannot be—isolated as an explicit function of x. The method relies on differentiating both sides of an equation with respect to x, applying the chain rule every time a y-term is encountered (multiplying by dy/dx), and then solving algebraically for dy/dx. The resulting derivative is typically expressed in terms of both x and y, which means that evaluating it at a specific point requires knowing both coordinates.

Key applications include finding tangent lines to curves defined implicitly, locating horizontal and vertical tangent lines by setting the numerator or denominator of dy/dx to zero, and computing second derivatives by differentiating dy/dx implicitly again. The technique generalizes naturally to related rates (differentiation with respect to time), inverse function derivatives, and logarithmic differentiation—all essential topics on the AP Calculus BC exam.

Varsity Tutors • AP Calculus BC • Implicit Differentiation