AP Calculus AB and BC · Unit 3 · Topic 3.2

    3.2 Implicit Differentiation

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    When a curve is given by an equation in xx and yy, such as x2+y2=25x^2 + y^2 = 25, differentiate both sides with respect to xx, treating yy as a function of xx. Each yy term picks up a factor dydx\frac{dy}{dx} by the chain rule, so ddxy2=2ydydx\frac{d}{dx}y^2 = 2y\frac{dy}{dx}. Then solve for dydx\frac{dy}{dx}. The result usually involves both xx and yy.

    What you need to know

    • Differentiate an equation implicitly with respect to x.
    • Apply the chain rule and product rule to terms involving y.
    • Solve for dy/dx and evaluate it at a point on the curve.
    • Find points with horizontal or vertical tangents.

    The method

    Start with the circle x2+y2=25x^2 + y^2 = 25. Differentiating each term with respect to xx: ddxx2=2x\frac{d}{dx}x^2 = 2x, ddxy2=2ydydx\frac{d}{dx}y^2 = 2y\frac{dy}{dx} (chain rule, since yy depends on xx), and ddx25=0\frac{d}{dx}25 = 0. So 2x+2ydydx=02x + 2y\frac{dy}{dx} = 0, and

    dydx=−xy\frac{dy}{dx} = -\frac{x}{y}
    At (3, 4) the slope is −x/y = −3/4, perpendicular to the radius of slope 4/3.

    At (3,4)(3, 4) the slope is −34-\frac{3}{4}, and the tangent line is y−4=−34(x−3)y - 4 = -\frac{3}{4}(x - 3). This matches geometry: the radius to (3,4)(3, 4) has slope 43\frac{4}{3}, and a tangent to a circle is perpendicular to the radius. Notice we never solved for yy, which would have needed two separate functions, y=±25−x2y = \pm\sqrt{25 - x^2}.

    Products and harder curves

    Terms like xyxy need the product rule: ddx(xy)=y+xdydx\frac{d}{dx}(xy) = y + x\frac{dy}{dx}. For x2+xy+y2=7x^2 + xy + y^2 = 7 at (1,2)(1, 2) (check: 1+2+4=71 + 2 + 4 = 7), differentiating gives 2x+y+xy′+2yy′=02x + y + xy' + 2yy' = 0, so y′=−2x+yx+2yy' = -\frac{2x + y}{x + 2y} and the slope is −45-\frac{4}{5}.

    For the folium x3+y3=6xyx^3 + y^3 = 6xy: 3x2+3y2y′=6y+6xy′3x^2 + 3y^2y' = 6y + 6xy'. Collect the y′y' terms on one side, y′(3y2−6x)=6y−3x2y'(3y^2 - 6x) = 6y - 3x^2, and divide: y′=2y−x2y2−2xy' = \frac{2y - x^2}{y^2 - 2x}. At (3,3)(3, 3), which is on the curve because 27+27=54=6⋅927 + 27 = 54 = 6 \cdot 9, the slope is 6−99−6=−1\frac{6 - 9}{9 - 6} = -1.

    Implicit and explicit methods agree whenever both are possible. On the upper half of the circle, y=25−x2y = \sqrt{25 - x^2}, and the chain rule gives y′=−x25−x2=−xyy' = \frac{-x}{\sqrt{25 - x^2}} = -\frac{x}{y}, exactly the implicit result. The implicit version is simply quicker and covers both halves of the circle at once, because it never needed to choose a sign for the square root.

    Horizontal and vertical tangents

    With dydx\frac{dy}{dx} written as a fraction ND\frac{N}{D}, a horizontal tangent needs N=0N = 0 (and D≠0D \ne 0), and a vertical tangent needs D=0D = 0 (and N≠0N \ne 0). Each condition must be combined with the original equation to find actual points on the curve.

    For the circle, dydx=−xy\frac{dy}{dx} = -\frac{x}{y}: horizontal tangents where x=0x = 0, giving (0,±5)(0, \pm 5); vertical tangents where y=0y = 0, giving (±5,0)(\pm 5, 0). Always substitute back into the original equation to get the points.

    Key terms

    Implicit differentiation
    Differentiating both sides of an equation in x and y with respect to x, treating y as a function of x.
    Implicitly defined curve
    A curve given by an equation not solved for y.
    \(\frac{d}{dx}[y^n]\)
    nyn−1dydxny^{n-1}\frac{dy}{dx}, by the chain rule.
    Vertical tangent
    A point where the denominator of dydx\frac{dy}{dx} is 0 and the numerator is not.

    Common mistakes

    • Writing ddxy2=2y\frac{d}{dx}y^2 = 2y.

      Every y term needs a factor of dydx\frac{dy}{dx}: 2ydydx2y\frac{dy}{dx}.

    • Differentiating xyxy as dydx\frac{dy}{dx} or xdydxx\frac{dy}{dx}.

      Use the product rule: y+xdydxy + x\frac{dy}{dx}.

    • Forgetting to differentiate the constant side, or differentiating it as 1.

      The derivative of a constant is 0.

    How this topic is tested

    • Write d/dx in front of both sides before differentiating.
    • Box every dy/dx term so you can collect them easily.
    • Check that a given point lies on the curve before using it.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · MP 1 · Implementing Mathematical Processes

      For x2+y2=25x^2 + y^2 = 25, what is dydx\frac{dy}{dx} at (3,4)(3, 4)?

    2. Question 2 · MP 1 · Implementing Mathematical Processes

      For x2+xy+y2=7x^2 + xy + y^2 = 7, what is dydx\frac{dy}{dx} at (1,2)(1, 2)?

    3. Question 3 · MP 4 · Communication and Notation

      What is ddx(y3)\frac{d}{dx}(y^3) if yy is a function of xx?

    4. Question 4 · MP 1 · Implementing Mathematical Processes

      For x3+y3=6xyx^3 + y^3 = 6xy, what is the slope at (3,3)(3, 3)?

    5. Question 5 · MP 3 · Justification

      Where does the circle x2+y2=25x^2 + y^2 = 25 have vertical tangents?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Free response (no calculator) · 5 points

    Consider the curve xy2−x3=6xy^2 - x^3 = 6.

    1. (a) Show that dydx=3x2−y22xy\frac{dy}{dx} = \frac{3x^2 - y^2}{2xy}.
    2. (b) Find the slope of the curve at the point (1,7)(1, \sqrt{7}) and verify the point is on the curve.
    3. (c) Explain why the curve has no horizontal tangent with x = 1.

    Connected topics

    Frequently asked questions

    Why can't I just solve for y?

    Sometimes you can, but often it is impossible or gives several branches. Implicit differentiation works directly with the equation.

    Will dy/dx contain y?

    Usually. To get a number you need a point (x, y) on the curve.

    Can I differentiate implicitly with respect to t?

    Yes. That is related rates (Unit 4), where both x and y depend on time.

    How this shows up on the exam42 multiple-choice and 6 free-response questions, with and without a calculator. See how the exam is laid out.

    Free Unit 3 cheat sheet

    Every topic in Unit 3: Differentiation: Composite, Implicit, and Inverse Functions on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Calculus AB practice material is ready. No spam, and we'll delete it if you ask.

    Full-length AP Calculus AB practice examsUnit 3 is one of 8 units on the exam. Two timed exams in the 2027 format (42 MCQ + 6 FRQ, with calculator and no-calculator parts), worked explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    All topics in Unit 3: Differentiation: Composite, Implicit, and Inverse Functions

    1. 3.1 The Chain Rule
    2. 3.2 Implicit Differentiation
    3. 3.3 Differentiating Inverse Functions
    4. 3.4 Differentiating Inverse Trigonometric Functions
    5. 3.5 Selecting Procedures for Calculating Derivatives
    6. 3.6 Calculating Higher-Order Derivatives

    Other units in AP Calculus AB

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.