AP Calculus AB • Analytical Applications of Differentiation

Exploring Behaviors of Implicit Relations

Analyze tangent lines, critical points, and concavity for curves that defy explicit function representation.

AP Calculus AB illustration with a smooth curve, infinity sign, and measuring ruler
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

Historical Context & Motivation

Not every relationship between two variables can be neatly expressed as y = f(x). Circles, ellipses, and higher-order algebraic curves are defined by equations in which x and y are intertwined, and mathematicians needed a systematic way to study the slopes, curvatures, and singular points of these curves without first solving for one variable explicitly. The story of implicit differentiation is, in many ways, the story of calculus learning to handle the full richness of algebraic geometry.

1637 • Descartes' Coordinate Geometry

René Descartes published La Géométrie, establishing the algebraic representation of curves. For the first time, curves like the folium of Descartes (x³ + y³ = 3xy) could be studied algebraically rather than purely geometrically.

1684 • Leibniz Publishes the Calculus

Gottfried Wilhelm Leibniz introduced the dy/dx notation that makes implicit differentiation notationally natural. His chain rule framework allowed differentiation of any expression involving y treated as a function of x.

1748 • Euler's Introductio in Analysin Infinitorum

Leonhard Euler systematized the study of algebraic curves, classifying singular points such as cusps, nodes, and isolated points — all features whose detection requires implicit differentiation.

1800s • Formal Treatment of the Implicit Function Theorem

Augustin-Louis Cauchy and later Ulisse Dini rigorously proved conditions under which an implicit relation F(x, y) = 0 locally defines y as a differentiable function of x, giving theoretical grounding to the techniques of implicit differentiation.

The central question this lesson addresses is: once we can compute dy/dx for an implicitly defined curve, how do we use that derivative — and the second derivative — to determine tangent and normal lines, horizontal and vertical tangencies, and concavity of curves that cannot be expressed as simple explicit functions? Mastering these techniques is essential for the AP Calculus AB exam, where implicit relations appear in both multiple-choice and free-response questions.

SECTION 2

Core Principles & Definitions

Before analyzing the behavior of implicitly defined curves, you need a firm grasp of the foundational ideas that connect implicit differentiation to the broader analytic toolkit of calculus. An implicit relation is any equation of the form F(x, y) = 0 that defines a curve in the xy-plane without isolating y. The key insight is that, under appropriate conditions, portions of this curve still behave locally like the graph of a function, allowing us to apply all the derivative-based analysis tools we have developed.

1

Implicit Differentiation

Differentiate every term of F(x, y) = 0 with respect to x, treating y as a function of x and applying the chain rule wherever y appears. Then solve for dy/dx algebraically.
2

Horizontal Tangent Lines

A point on the curve has a horizontal tangent when dy/dx = 0, which occurs when the numerator of the derivative expression equals zero while the denominator is non-zero.
3

Vertical Tangent Lines

A point on the curve has a vertical tangent when dy/dx is undefined because the denominator of the derivative equals zero while the numerator is non-zero.
4

Second Derivative & Concavity

Differentiate dy/dx implicitly a second time to obtain d²y/dx². The sign of d²y/dx² at a point determines whether the curve is concave up (positive) or concave down (negative).
5

Point Verification

Because dy/dx for implicit relations typically depends on both x and y, every candidate point must be verified to lie on the original curve by substituting into F(x, y) = 0.
✦

KEY TAKEAWAY

Think of an implicit relation as a topographic map where the curve F(x, y) = 0 is a particular contour line at elevation zero. Just as a hiker can walk along a contour and measure the slope of the terrain perpendicular to the path, implicit differentiation lets you measure the slope along the curve at any point — even when the path loops back on itself, which would be impossible if you required the path to be a simple function of x.

SECTION 3

Visual Explanation

The following diagram illustrates the ellipse defined by x² + 4y² = 16. This classic implicit relation cannot be written as a single explicit function because for each x in the interval (−4, 4), there are two corresponding y-values. The diagram highlights four behaviorally significant points: two horizontal tangent locations at the top and bottom of the ellipse, and two vertical tangent locations at the leftmost and rightmost points.

Ellipse: x² + 4y² = 16 — Tangent Line Behaviorsxy123−1−2−312−1−2Horizontal tangent (0, 2)Horizontal tangent (0, −2)Vertical tangent (−4, 0)Vertical tangent (4, 0)General tangent at (2, √3)Scale: 1 unit ≈ 65 px. Dashed lines show tangent directions.
The ellipse x² + 4y² = 16 shown with its four special tangent points. Cyan dots mark horizontal tangent lines (dy/dx = 0), pink dots mark vertical tangent lines (dy/dx undefined), and the amber dot shows a general point where the tangent has a non-zero, finite slope.

Notice how the curve passes the vertical-line test nowhere on the open interval (−4, 4) — for every such x, there are two y-values. Yet at each individual point, the tangent line is well-defined: either horizontal, vertical, or with a finite non-zero slope. This local regularity despite global non-functionality is exactly what the Implicit Function Theorem guarantees under suitable conditions, and it is the theoretical backbone of everything that follows.

SECTION 4

Mathematical Framework

Given an equation F(x, y) = 0 where both variables appear, we differentiate every term with respect to x using the chain rule. Whenever we differentiate a term involving y, we multiply by dy/dx because y is implicitly a function of x. The resulting equation is then solved algebraically for dy/dx.

IMPLICIT FIRST DERIVATIVE

d/dx[F(x,y)]=0→Fx+Fy⋅(dy/dx)=0→dy/dx=−Fx/Fyd/dx [F(x, y)] = 0 → F_x + F_y · (dy/dx) = 0 → dy/dx = −F_x / F_y

Here Fx denotes the partial derivative of F with respect to x, and Fy denotes the partial derivative with respect to y. This compact form is equivalent to the step-by-step process you already know.

Conditions for Special Tangent Behaviors

HORIZONTAL TANGENT

dy/dx=0whenFx=0andFy≠0dy/dx = 0 when F_x = 0 and F_y ≠ 0

Set the numerator of dy/dx equal to zero and verify that the denominator is non-zero. Then confirm the candidate point satisfies the original equation.

VERTICAL TANGENT

dy/dxisundefinedwhenFy=0andFx≠0dy/dx is undefined when F_y = 0 and F_x ≠ 0

Set the denominator of dy/dx equal to zero while the numerator remains non-zero. Again, verify the candidate point lies on the curve.

The Second Derivative via Implicit Differentiation

To determine concavity, we compute d²y/dx² by differentiating dy/dx with respect to x. Since dy/dx itself typically involves both x and y, this second differentiation again requires the chain rule and produces an expression involving x, y, and dy/dx. We can then substitute the first derivative expression to write d²y/dx² solely in terms of x and y.

SECOND DERIVATIVE PROCEDURE

d2y/dx2=d/dx[dy/dx]=d/dx[−Fx/Fy]d²y/dx² = d/dx [dy/dx] = d/dx [−F_x / F_y]

Apply the quotient rule (or product rule) and substitute dy/dx = −Fx/Fy wherever dy/dx appears. The sign of d²y/dx² determines concavity: positive → concave up, negative → concave down.

💡

AP EXAM TIP

On free-response questions, the College Board expects you to show every substitution step explicitly. When computing d²y/dx², do not skip the step where you replace dy/dx with its expression in x and y. Failing to show this substitution — even if your final answer is correct — can cost you a rubric point.

SECTION 5

Classifying Behaviors on Implicit Curves

A complete analysis of an implicit curve's behavior involves systematically identifying regions of increase/decrease, locations of horizontal and vertical tangencies, and intervals of concavity. The flowchart below provides a decision framework for classifying the behavior at any point on an implicitly defined curve. This analytical process parallels the first and second derivative tests for explicit functions, but with the added complexity that both the derivative and the candidate points must be checked against the original relation.

Decision Flowchart: Analyzing Behavior at a Point on F(x, y) = 0Compute dy/dx implicitlyIs the denominator of dy/dx = 0?YESVertical Tangent(if numerator ≠ 0)NOIs the numerator of dy/dx = 0?YESHorizontal Tangent(dy/dx = 0)NOOblique tangent: slope = dy/dxIncreasing if dy/dx > 0, decreasing if dy/dx < 0Compute d²y/dx²: What is the sign?d²y/dx² > 0Concave Upd²y/dx² < 0Concave Down
A decision flowchart for classifying tangent-line behavior and concavity at a point on an implicit curve. The process proceeds top-to-bottom: first compute dy/dx, then check for vertical or horizontal tangencies, and finally evaluate d²y/dx² for concavity.
BehaviorCondition on dy/dxGeometric Meaning
Horizontal tangentdy/dx = 0 (numerator = 0, denominator ≠ 0)Tangent line is parallel to the x-axis; potential local extremum along the curve
Vertical tangentdy/dx undefined (denominator = 0, numerator ≠ 0)Tangent line is parallel to the y-axis; the curve turns back on itself
Increasingdy/dx > 0Moving rightward along the curve, y increases
Decreasingdy/dx < 0Moving rightward along the curve, y decreases
Concave upd²y/dx² > 0Curve opens upward; tangent line lies below the curve locally
Concave downd²y/dx² < 0Curve opens downward; tangent line lies above the curve locally

Summary of tangent behaviors and concavity conditions for implicit relations

SECTION 6

Worked Example

Consider the curve defined by x² + xy + y² = 7. We will find dy/dx, locate all horizontal and vertical tangent lines, and determine the concavity at the point (1, 2).

Full Analysis of x² + xy + y² = 7

  1. 1

    Step 1 — Implicit Differentiation for dy/dx

    Differentiate both sides with respect to x. For x²: d/dx(x²) = 2x. For xy: apply the product rule: d/dx(xy) = y + x(dy/dx). For y²: apply the chain rule: d/dx(y²) = 2y(dy/dx). For the constant 7: d/dx(7) = 0. The full differentiated equation is: 2x + y + x(dy/dx) + 2y(dy/dx) = 0.
    2x + y + x(dy/dx) + 2y(dy/dx) = 0
  2. 2

    Step 2 — Solve for dy/dx

    Collect the terms containing dy/dx on one side: (x + 2y)(dy/dx) = −(2x + y). Divide both sides by (x + 2y) to isolate the derivative.
    dy/dx = −(2x + y) / (x + 2y)
  3. 3

    Step 3 — Find Horizontal Tangent Lines

    Set the numerator equal to zero: 2x + y = 0, so y = −2x. Substitute into the original equation: x² + x(−2x) + (−2x)² = 7 → x² − 2x² + 4x² = 7 → 3x² = 7 → x² = 7/3 → x = ±√(7/3). The corresponding y-values are y = −2x = ∓2√(7/3). We also verify x + 2y ≠ 0: x + 2(−2x) = −3x ≠ 0 for these x-values.
    Horizontal tangents at (√(7/3), −2√(7/3)) and (−√(7/3), 2√(7/3))
  4. 4

    Step 4 — Find Vertical Tangent Lines

    Set the denominator equal to zero: x + 2y = 0, so x = −2y. Substitute into the original equation: (−2y)² + (−2y)y + y² = 7 → 4y² − 2y² + y² = 7 → 3y² = 7 → y = ±√(7/3). The x-values are x = −2y = ∓2√(7/3). We verify the numerator 2x + y = 2(−2y) + y = −3y ≠ 0 for these y-values.
    Vertical tangents at (−2√(7/3), √(7/3)) and (2√(7/3), −√(7/3))
  5. 5

    Step 5 — Verify (1, 2) Is on the Curve and Find Its Slope

    Check: 1² + (1)(2) + 2² = 1 + 2 + 4 = 7 ✓. The point lies on the curve. Compute dy/dx at (1, 2): dy/dx = −(2(1) + 2) / (1 + 2(2)) = −4/5.
    dy/dx at (1, 2) = −4/5
  6. 6

    Step 6 — Compute d²y/dx² at (1, 2) for Concavity

    Start with dy/dx = −(2x + y)/(x + 2y). Apply the quotient rule: d²y/dx² = −[(2 + dy/dx)(x + 2y) − (2x + y)(1 + 2·dy/dx)] / (x + 2y)². Substitute x = 1, y = 2, dy/dx = −4/5. Numerator calculation: (2 + (−4/5))(1 + 4) − (2 + 2)(1 + 2(−4/5)) = (6/5)(5) − (4)(−3/5) = 6 + 12/5 = 42/5. So d²y/dx² = −(42/5) / 25 = −42/125.
    d²y/dx² at (1, 2) = −42/125 < 0 → Concave down

SECTION 7

Common Pitfalls & Strategic Tips

Implicit differentiation problems are among the most error-prone on the AP exam. The table below contrasts common mistakes with correct techniques, helping you build error-checking habits that translate directly to exam performance.

Common MistakeWhy It's WrongCorrect Approach
Forgetting dy/dx on y-termsWithout the chain rule factor, y is treated as a constant rather than a function of xEvery time you differentiate a y-term, multiply by dy/dx
Not verifying points on the curveSetting numerator = 0 yields candidate x-values and y-values, but not all (x, y) pairs satisfy F(x, y) = 0Always substitute candidates back into the original equation
Confusing numerator-zero with denominator-zeroNumerator = 0 gives horizontal tangents; denominator = 0 gives vertical tangents — mixing these up inverts the geometryLabel numerator and denominator clearly before setting each to zero
Dropping the product rule on xy termsd/dx(xy) ≠ (dx/dx)(dy/dx); you need d/dx(xy) = y + x(dy/dx)Apply the product rule fully: d/dx(uv) = u'v + uv'
Not substituting dy/dx into d²y/dx²The second derivative expression contains dy/dx; leaving it unsimplified prevents evaluation at a specific pointReplace dy/dx with its expression (or evaluated value) before simplifying d²y/dx²

Error-correction guide for implicit differentiation problems

🎯

STRATEGIC INSIGHT

The implicit derivative dy/dx = −(numerator)/(denominator) has a structure analogous to a fraction in algebra: the numerator going to zero makes the overall expression zero (horizontal tangent), while the denominator going to zero makes it blow up (vertical tangent). When both numerator and denominator are zero simultaneously, you encounter a singular point — an indeterminate form that requires further analysis, much like the 0/0 case in limits.

SECTION 8

Connections to Advanced Topics

The techniques you have learned for implicit relations in AB Calculus are a gateway to several deeper ideas in mathematics. Understanding how the first and second implicit derivatives relate to more advanced frameworks will both strengthen your current understanding and prepare you for further study in multivariable calculus and differential equations.

AP Calculus AB TopicAdvanced ExtensionKey Connection
dy/dx = −FxF_x / FyF_yGradient vectors and level curves (Multivariable Calculus)∇F is perpendicular to the curve F = 0; the slope dy/dx is the negative ratio of gradient components
Horizontal/vertical tangent analysisSingular points and algebraic geometryWhen both numerator and denominator vanish, the point may be a cusp, node, or isolated point — classifiable by higher-order derivatives
Second implicit derivative for concavityCurvature κ of parametric/implicit curvesCurvature κ = |d²y/dx²| / (1+(dy/dx)2)3/2(1 + (dy/dx)²)^{3/2} generalizes concavity to a scale-invariant measure of bending
Implicit relations F(x, y) = 0Implicit and inverse function theoremsThe formal theorem gives conditions (FyF_y ≠ 0) ensuring y can be locally expressed as a function of x, justifying implicit differentiation rigorously

How AB implicit differentiation concepts extend to advanced mathematics

For AP Calculus AB purposes, the critical takeaway is that the analytic tools — tangent line equations, increasing/decreasing analysis, concavity, and tangent-line classification — apply to implicitly defined curves exactly as they apply to explicit functions, provided you carry out the chain rule correctly and verify all candidate points against the original relation. The mathematical maturity you develop here transfers directly to the study of related rates (another implicit-differentiation application), parametric curves, and polar curves in BC Calculus.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

Consider the curve defined by x² + y² = 25. At a point where the tangent line is vertical, which of the following must be true?
  • A. dy/dx = 0 and the point lies on the x-axis
  • B. The numerator of dy/dx equals zero while the denominator is non-zero
  • C. The denominator of dy/dx equals zero while the numerator is non-zero, and the point lies on the curve
  • D. Both the numerator and denominator of dy/dx equal zero at the point
  • E. dy/dx is defined and equals 1 or −1 at the point
Show answer (C)
For x² + y² = 25, implicit differentiation gives dy/dx = −x/y. A vertical tangent occurs when the denominator y = 0 and the numerator −x ≠ 0. At the points (5, 0) and (−5, 0), y = 0 and x ≠ 0, so dy/dx is undefined due to division by zero with a non-zero numerator — this is the definition of a vertical tangent. Choice A describes a horizontal tangent, not vertical. Choice B describes the condition for a horizontal tangent (numerator = 0). Choice D describes a singular point where the behavior is indeterminate. Choice E describes a finite slope, which is neither horizontal nor vertical.

Question 2: BASIC CALCULATION

Given the implicit relation x³ + y³ = 6xy, what is dy/dx at the point (3, 3)?
  • A. −1
  • B. 0
  • C. 1
  • D. −3/5
  • E. 3/5
Show answer (A)
First verify the point: 3³ + 3³ = 27 + 27 = 54 and 6(3)(3) = 54 ✓. Differentiate implicitly: 3x² + 3y²(dy/dx) = 6y + 6x(dy/dx). Solve for dy/dx: 3y²(dy/dx) − 6x(dy/dx) = 6y − 3x², so dy/dx(3y² − 6x) = 6y − 3x², giving dy/dx = (6y − 3x²)/(3y² − 6x). Substitute (3, 3): dy/dx = (18 − 27)/(27 − 18) = −9/9 = −1. Choice B would require 6y − 3x² = 0, i.e., y = x²/2, which does not hold at (3, 3). Choice C has the wrong sign. Choices D and E arise from algebraic errors in collecting terms.

Question 3: INTERMEDIATE

For the curve defined by y² + xy − x² = 5, at which point does the curve have a horizontal tangent line?
  • A. (2, 1)
  • B. (−2, 1)
  • C. (1, 2)
  • D. (−3, −2)
  • E. (2, −1)
Show answer (C)
Differentiate y² + xy − x² = 5 implicitly with respect to x: 2y(dy/dx) + y + x(dy/dx) − 2x = 0. Collect dy/dx terms: (2y + x)(dy/dx) = 2x − y. So dy/dx = (2x − y)/(2y + x). For a horizontal tangent, set the numerator equal to zero: 2x − y = 0, which gives y = 2x. Substitute y = 2x into the original equation: (2x)² + x(2x) − x² = 5 → 4x² + 2x² − x² = 5 → 5x² = 5 → x² = 1 → x = ±1. When x = 1, y = 2; when x = −1, y = −2. Verify (1, 2) on the original curve: (2)² + (1)(2) − (1)² = 4 + 2 − 1 = 5 ✓. Confirm the denominator is nonzero at (1, 2): 2(2) + 1 = 5 ≠ 0 ✓, so the derivative is defined and equals zero there. Therefore the curve has a horizontal tangent line at (1, 2). The correct answer is C.

Question 4: APPLIED

5 pts
Consider the curve defined by 2x² + y² + 2xy = 18. (a) Find dy/dx in terms of x and y. (b) Find all points on the curve where the tangent line is horizontal. (c) Find d²y/dx² at the point (3, 0) and determine whether the curve is concave up or concave down at that point. (d) Write the equation of the tangent line to the curve at (3, 0).
Show answer
Rubric (5 points): [1 point] (a): Differentiate implicitly: 4x + 2y(dy/dx) + 2y + 2x(dy/dx) = 0. Factor: (2y + 2x)(dy/dx) = −4x − 2y. Therefore dy/dx = −(4x + 2y)/(2y + 2x) = −(2x + y)/(x + y). [1 point] (b): Set numerator = 0: 2x + y = 0, so y = −2x. Substitute into original: 2x² + (−2x)² + 2x(−2x) = 18 → 2x² + 4x² − 4x² = 18 → 2x² = 18 → x = ±3. Points: (3, −6) and (−3, 6). Verify (3, −6) on curve: 2(9) + 36 + 2(3)(−6) = 18 + 36 − 36 = 18 ✓. Verify denominator x + y ≠ 0: 3 + (−6) = −3 ≠ 0 ✓ and −3 + 6 = 3 ≠ 0 ✓. [1 point] (c) — computing d²y/dx²: Verify (3, 0) on curve: 2(9) + 0 + 2(3)(0) = 18 ✓. At (3, 0): dy/dx = −(6 + 0)/(3 + 0) = −2. Differentiate dy/dx = −(2x + y)/(x + y) using the quotient rule: d²y/dx² = −[(2 + dy/dx)(x + y) − (2x + y)(1 + dy/dx)]/(x + y)². At (3, 0): d²y/dx² = −[(2 + (−2))(3) − (6)(1 + (−2))]/(3)² = −[(0)(3) − (6)(−1)]/9 = −[0 + 6]/9 = −6/9 = −2/3. [1 point] (c) — determining concavity: Since d²y/dx² = −2/3 < 0, the curve is concave down at (3, 0). [1 point] (d): At (3, 0) with slope −2: y − 0 = −2(x − 3) → y = −2x + 6.

Question 5: CRITICAL THINKING

3 pts
The curve defined by x² + y² − 6x + 4y + 9 = 0 is a circle. (a) Rewrite the equation in standard form and identify the center and radius. (b) Find dy/dx implicitly and determine all points where the tangent line is vertical. Explain how your answer relates to the geometry of the circle. (c) Without computing d²y/dx², explain why the upper semicircle is concave down and the lower semicircle is concave up.
Show answer
Rubric (3 points): [1 point] (a): Complete the square: (x² − 6x + 9) + (y² + 4y + 4) = −9 + 9 + 4 = 4. So (x − 3)² + (y + 2)² = 4. Center: (3, −2), radius: 2. [1 point] (b): Differentiate implicitly: 2x + 2y(dy/dx) − 6 + 4(dy/dx) = 0 → (2y + 4)(dy/dx) = 6 − 2x → dy/dx = (6 − 2x)/(2y + 4) = (3 − x)/(y + 2). Vertical tangent: denominator = 0 → y + 2 = 0 → y = −2. Substitute into original: (x − 3)² + 0 = 4 → x = 1 or x = 5. Vertical tangent points: (1, −2) and (5, −2). These are the leftmost and rightmost points of the circle, where the tangent is perpendicular to the horizontal diameter — geometrically, these are the endpoints of the horizontal diameter through the center. [1 point] (c): The upper semicircle curves away from the direction of increasing y; looking from above, the curve bends downward (toward the center), so it is concave down. Conversely, the lower semicircle bends upward (toward the center), so it is concave up. In both cases, the concavity direction points toward the center of the circle, which is a fundamental geometric property of circles: the curvature always points inward.

SUMMARY

Lesson Summary

Summary

Analyzing the behavior of implicit relations begins with implicit differentiation: differentiate F(x, y) = 0 term by term using the chain rule, then solve for dy/dx = −Fx/Fy. Horizontal tangent lines occur where the numerator of dy/dx is zero (with non-zero denominator), while vertical tangent lines occur where the denominator is zero (with non-zero numerator). Every candidate point must be verified on the original curve.

To determine concavity, compute d²y/dx² by differentiating dy/dx implicitly a second time, then substitute the first derivative expression to eliminate dy/dx. A positive second derivative indicates concave up; a negative second derivative indicates concave down. These techniques — finding slopes, classifying tangent lines, and analyzing concavity — are the same analytic tools used for explicit functions, extended through the chain rule to the broader world of implicitly defined curves.

Varsity Tutors • AP Calculus AB • Exploring Behaviors of Implicit Relations