Navigation

The Derivative & Its Rules · Topic 11 of 23

Implicit Differentiation

Implicit differentiation gives dydx\frac{dy}{dx} on a curve like x2+y2=25x^2+y^2=25 without ever solving for yy: differentiate both sides with respect to xx, attaching dydx\frac{dy}{dx} to every yy term, then collect, factor and divide. The answer normally contains both xx and yy, which is correct — the slope depends on which branch of the curve you are standing on.

5 min readCore — on every final7 formulas6 quick checks
01

Key ideas

5 things to remember
  1. 1

    Every y term picks up dy/dx

    yy is an unknown function of xx, so the chain rule applies: ddxy3=3y2dydx\frac{d}{dx}y^3=3y^2\frac{dy}{dx}, never 3y23y^2. Differentiate both sides; a constant side becomes 00.

  2. 2

    The slope depends on both coordinates

    An answer such as dydx=xy\frac{dy}{dx}=-\frac{x}{y} legitimately contains yy. One equation carries several branches, and the yy-coordinate is what tells the formula which branch you are on.

  3. 3

    Collect, factor, divide

    Once you have differentiated, move every dydx\frac{dy}{dx} term to one side, factor dydx\frac{dy}{dx} out, then divide. Record what makes the divisor zero — those are the trouble points.

  4. 4

    Zero on top, or zero on the bottom

    Write dydx=ND\frac{dy}{dx}=\frac{N}{D}. At a point on the curve: N=0N=0, D0D\neq0 is a horizontal tangent; D=0D=0, N0N\neq0 is a vertical one; N=D=0N=D=0 is a cusp or a self-crossing.

  5. 5

    Second derivatives need a substitution

    Differentiate dydx\frac{dy}{dx} again with the quotient rule — every yy still carries a dydx\frac{dy}{dx} — then substitute the first derivative you found and simplify using the original equation.

-3-2-1123-2-1123xytangent: slope −1vertical tangent(√2, √2)(2, 0)x² + y² = 4
The circle is two branches, not one function — yet 2x+2ydydx=02x+2y\frac{dy}{dx}=0 hands you dydx=xy\frac{dy}{dx}=-\frac{x}{y} for both at once. At (2,2)(\sqrt2,\sqrt2) the slope is 1-1; at (2,0)(2,0) the formula divides by 00 and the tangent is the vertical line x=2x=2.
-3-2-1123-2-112xyy = 2y = −2x = 2x = −2(−1, 2)(1, −2)(2, −1)(−2, 1)x² + xy + y² = 3
For this tilted ellipse dydx=2x+yx+2y\frac{dy}{dx}=-\frac{2x+y}{x+2y}. The numerator vanishes at (1,2)(-1,2) and (1,2)(1,-2) — horizontal tangents (amber); the denominator vanishes at (2,1)(-2,1) and (2,1)(2,-1), where the tangent is vertical.
02

Formulas

What to have memorised
  • Chain rule on a yy-term

    ddxg(y)=g(y)dydx\frac{d}{dx}\,g(y)=g'(y)\,\frac{dy}{dx}

    Every yy you differentiate leaves a factor dydx\frac{dy}{dx} behind.

  • Powers and roots of yy

    ddxyn=nyn1dydx,ddxy=12ydydx\frac{d}{dx}\,y^{n}=n\,y^{\,n-1}\frac{dy}{dx},\qquad \frac{d}{dx}\sqrt{y}=\frac{1}{2\sqrt{y}}\frac{dy}{dx}

    The root form is the power form with n=12n=\tfrac12; it needs y>0y>0.

  • Products of xx and yy

    ddx(xy)=y+xdydx,ddx ⁣(xmyn)=mxm1yn+nxmyn1dydx\frac{d}{dx}(xy)=y+x\frac{dy}{dx},\qquad \frac{d}{dx}\!\left(x^{m}y^{n}\right)=mx^{m-1}y^{n}+nx^{m}y^{\,n-1}\frac{dy}{dx}

    Product rule outside, chain rule inside — never one without the other.

  • Tangent line at a point (a,b)(a,b)

    y=b+dydx(a,b)(xa)y=b+\left.\frac{dy}{dx}\right|_{(a,b)}(x-a)

    Substitute both aa and bb: the slope must come out as a number.

  • Horizontal and vertical tangents

    dydx=N(x,y)D(x,y):N=0,  D0  horizontal;D=0,  N0  vertical\frac{dy}{dx}=\frac{N(x,y)}{D(x,y)}:\quad N=0,\;D\neq0\ \Rightarrow\ \text{horizontal};\quad D=0,\;N\neq0\ \Rightarrow\ \text{vertical}

    Every candidate must also satisfy the original equation.

  • Circle: slope and tangent line

    x2+y2=r2  dydx=xy,tangent at (a,b): ax+by=r2x^{2}+y^{2}=r^{2}\ \Rightarrow\ \frac{dy}{dx}=-\frac{x}{y},\qquad \text{tangent at }(a,b):\ ax+by=r^{2}

    The line form still works at b=0b=0, where it reads x=ax=a — a vertical tangent.

  • Why the method is legal

    F(x,y)=0, Fy(a,b)0  dydx=FxFy near (a,b)F(x,y)=0,\ F_{y}(a,b)\neq0\ \Rightarrow\ \frac{dy}{dx}=-\frac{F_{x}}{F_{y}}\ \text{near }(a,b)

    Fy=0F_y=0 is exactly where a vertical tangent, cusp or crossing can hide.

03

Differentiate implicitly and get the tangent line

The steps, in order
  1. 1

    Check the given point actually satisfies the equation — one line, and it protects everything after it.

  2. 2

    Differentiate both sides with respect to xx, attaching dydx\frac{dy}{dx} to every differentiated yy and using the product rule on mixed terms.

  3. 3

    Move every term containing dydx\frac{dy}{dx} to one side and everything else to the other.

  4. 4

    Factor dydx\frac{dy}{dx} out and divide; note which points make the divisor zero.

  5. 5

    Substitute both coordinates to get a number for the slope, then write y=b+m(xa)y=b+m(x-a).

  6. 6

    For d2ydx2\frac{d^2y}{dx^2}, differentiate dydx\frac{dy}{dx} again, substitute the first derivative, and simplify with the original equation.

04

Watch out

The mistakes that cost marks
  • ✗ Wrong

    ddxy3=3y2\frac{d}{dx}\,y^{3}=3y^{2}

    ✓ Right

    ddxy3=3y2dydx\frac{d}{dx}\,y^{3}=3y^{2}\frac{dy}{dx}

    Why: yy is a function of xx, so the chain rule is not optional.

  • ✗ Wrong

    ddx(xy)=xdydx\frac{d}{dx}(xy)=x\frac{dy}{dx}

    ✓ Right

    ddx(xy)=y+xdydx\frac{d}{dx}(xy)=y+x\frac{dy}{dx}

    Why: xyxy is a product of two functions of xx.

  • ✗ Wrong

    Rejecting dydx=2x+yx+2y\frac{dy}{dx}=-\frac{2x+y}{x+2y} because it still contains yy

    ✓ Right

    That is the finished answer; feed it the point's xx and yy to get a slope.

  • ✗ Wrong

    Solving N(x,y)=0N(x,y)=0 and reporting every solution as a horizontal tangent

    ✓ Right

    Substitute back into the original equation and check D0D\neq0 there.

    Why: Only points that lie on the curve count.

  • ✗ Wrong

    d2ydx2=ddx ⁣(xy)=1y\frac{d^2y}{dx^2}=\frac{d}{dx}\!\left(-\frac{x}{y}\right)=-\frac{1}{y}

    ✓ Right

    Quotient rule with y=y(x)y=y(x): yxdydxy2=x2+y2y3-\frac{y-x\frac{dy}{dx}}{y^{2}}=-\frac{x^{2}+y^{2}}{y^{3}}.

    Why: The denominator is a function of x as well.

  • ✗ Wrong

    Using dydx=xy\frac{dy}{dx}=-\frac{x}{y} at (5,0)(5,0) on x2+y2=25x^{2}+y^{2}=25

    ✓ Right

    No slope exists there; the tangent is the vertical line x=5x=5.

    Why: Fy=2y=0F_y=2y=0, so the hypothesis that supplies differentiability fails.

05

Quick check

Commit to an answer before you reveal one
  1. Q1easy

    For the circle x2+y2=169x^2+y^2=169, find dydx\frac{dy}{dx} by implicit differentiation, then give the slope and an equation of the tangent line at (5,12)(5,-12).

    Hint

    The y2y^2 term needs the chain rule, so a factor dydx\frac{dy}{dx} appears; the right-hand side is a constant.

    Show answer

    Answer

    dydx=xy\frac{dy}{dx}=-\frac{x}{y}; slope 512\frac{5}{12}; tangent line 5x12y=1695x-12y=169.

    Steps

    The point is on the curve: 25+144=16925+144=169.

    2x+2ydydx=0  dydx=xy(y0)2x+2y\frac{dy}{dx}=0\ \Longrightarrow\ \frac{dy}{dx}=-\frac{x}{y}\quad(y\neq0)

    At (5,12)(5,-12) the slope is 512=512-\frac{5}{-12}=\frac{5}{12}, so y+12=512(x5)y+12=\frac{5}{12}(x-5), that is 5x12y=1695x-12y=169.

    Check: the distance from the origin to that line is 169169=13\frac{169}{\sqrt{169}}=13, the radius — exactly what a tangent to this circle must satisfy.

  2. Q2easy

    The curve x+y=4\sqrt{x}+\sqrt{y}=4 passes through (4,4)(4,4). Find dydx\frac{dy}{dx}, give the tangent line there, and state where on the curve the formula is valid.

    Hint

    Write the roots as x1/2x^{1/2} and y1/2y^{1/2} before differentiating, then ask what makes a denominator zero.

    Show answer

    Answer

    dydx=yx\frac{dy}{dx}=-\frac{\sqrt{y}}{\sqrt{x}}; tangent x+y=8x+y=8; valid for 0<x<160<x<16.

    Steps

    Check the point: 2+2=42+2=4. Differentiating x1/2+y1/2=4x^{1/2}+y^{1/2}=4,

    12x1/2+12y1/2dydx=0  dydx=yx\tfrac12x^{-1/2}+\tfrac12y^{-1/2}\frac{dy}{dx}=0\ \Longrightarrow\ \frac{dy}{dx}=-\frac{\sqrt{y}}{\sqrt{x}}

    At (4,4)(4,4) the slope is 1-1, so y4=(x4)y-4=-(x-4), i.e. x+y=8x+y=8.

    The curve is y=(4x)2y=\left(4-\sqrt{x}\right)^{2} for 0x160\le x\le16, but the formula needs x>0x>0 and y>0y>0: valid on 0<x<160<x<16. The tangent is vertical at (0,16)(0,16) and horizontal at (16,0)(16,0).

  3. Q3medium

    Find dydx\frac{dy}{dx} for the curve x2y+xy2=6x^2y+xy^2=6, and compute the slope of the tangent line at (1,2)(1,2).

    Hint

    Both terms are a power of xx times a power of yy, so each needs the product rule and the chain rule.

    Show answer

    Answer

    dydx=y(2x+y)x(x+2y)\frac{dy}{dx}=-\frac{y(2x+y)}{x(x+2y)}; the slope at (1,2)(1,2) is 85-\frac{8}{5}.

    Steps

    The point is on the curve: 2+4=62+4=6. Differentiating term by term,

    2xy+x2dydx+y2+2xydydx=02xy+x^{2}\frac{dy}{dx}+y^{2}+2xy\frac{dy}{dx}=0

    Collect and factor: dydx(x2+2xy)=(2xy+y2)\frac{dy}{dx}\left(x^{2}+2xy\right)=-\left(2xy+y^{2}\right), so

    dydx=2xy+y2x2+2xy=y(2x+y)x(x+2y)\frac{dy}{dx}=-\frac{2xy+y^{2}}{x^{2}+2xy}=-\frac{y(2x+y)}{x(x+2y)}

    At (1,2)(1,2): 2(2+2)1(1+4)=85-\dfrac{2(2+2)}{1(1+4)}=-\dfrac{8}{5}.

  4. Q4medium

    The curve sin(x+y)=2x2y\sin(x+y)=2x-2y passes through (π,π)(\pi,\pi). Find dydx\frac{dy}{dx} and the tangent line there, and explain why this curve has no vertical tangent lines.

    Hint

    The inner function on the left is x+yx+y, whose derivative is 1+dydx1+\frac{dy}{dx}.

    Show answer

    Answer

    dydx=2cos(x+y)2+cos(x+y)\frac{dy}{dx}=\frac{2-\cos(x+y)}{2+\cos(x+y)}; at (π,π)(\pi,\pi) the slope is 13\frac13 and the tangent is y=x3+2π3y=\frac{x}{3}+\frac{2\pi}{3}.

    Steps

    cos(x+y)(1+dydx)=22dydx\cos(x+y)\left(1+\frac{dy}{dx}\right)=2-2\frac{dy}{dx}

    Collect: dydx(2+cos(x+y))=2cos(x+y)\frac{dy}{dx}\left(2+\cos(x+y)\right)=2-\cos(x+y), giving the formula above.

    At (π,π)(\pi,\pi), cos(2π)=1\cos(2\pi)=1, so the slope is 212+1=13\frac{2-1}{2+1}=\frac13 and yπ=13(xπ)y-\pi=\frac13(x-\pi), i.e. y=x3+2π3y=\frac{x}{3}+\frac{2\pi}{3}.

    A vertical tangent needs 2+cos(x+y)=02+\cos(x+y)=0, but 12+cos(x+y)31\le2+\cos(x+y)\le3. The denominator never vanishes, so dydx\frac{dy}{dx} exists at every point of the curve.

  5. Q5medium

    For the curve x3+y3=1x^3+y^3=1, show that d2ydx2=2xy5\frac{d^2y}{dx^2}=-\frac{2x}{y^5}.

    Hint

    Find dydx\frac{dy}{dx}, differentiate it with the quotient rule, then substitute dydx\frac{dy}{dx} and use x3+y3=1x^3+y^3=1 at the end.

    Show answer

    Answer

    dydx=x2y2\frac{dy}{dx}=-\frac{x^2}{y^2} and d2ydx2=2xy5\frac{d^2y}{dx^2}=-\frac{2x}{y^5}, for y0y\neq0.

    Steps

    3x2+3y2dydx=03x^{2}+3y^{2}\frac{dy}{dx}=0 gives dydx=x2y2\frac{dy}{dx}=-\frac{x^{2}}{y^{2}}. Differentiate again, remembering ddxy2=2ydydx\frac{d}{dx}y^{2}=2y\frac{dy}{dx}:

    d2ydx2=2xy2x2(2ydydx)y4=2x(yxdydx)y3\frac{d^2y}{dx^2}=-\frac{2xy^{2}-x^{2}\left(2y\frac{dy}{dx}\right)}{y^{4}}=-\frac{2x\left(y-x\frac{dy}{dx}\right)}{y^{3}}

    Substituting dydx=x2y2\frac{dy}{dx}=-\frac{x^{2}}{y^{2}}: yxdydx=y+x3y2=x3+y3y2=1y2y-x\frac{dy}{dx}=y+\frac{x^{3}}{y^{2}}=\frac{x^{3}+y^{3}}{y^{2}}=\frac{1}{y^{2}}, using the original equation.

    Hence d2ydx2=2xy31y2=2xy5\frac{d^2y}{dx^2}=-\frac{2x}{y^{3}}\cdot\frac{1}{y^{2}}=-\frac{2x}{y^{5}}.

  6. Q6hard

    Find an equation of the tangent line to the lemniscate 2(x2+y2)2=25(x2y2)2\left(x^2+y^2\right)^2=25\left(x^2-y^2\right) at the point (3,1)(3,1).

    Hint

    Differentiate first, then substitute x=3x=3, y=1y=1 (so x2+y2=10x^2+y^2=10) before doing any algebra.

    Show answer

    Answer

    Slope 913-\frac{9}{13}; tangent line 9x+13y=409x+13y=40.

    Steps

    The point is on the curve: 2(10)2=200=25(91)2(10)^{2}=200=25(9-1). Differentiating, with the chain rule on the outer square,

    4(x2+y2)(2x+2ydydx)=25(2x2ydydx)4\left(x^{2}+y^{2}\right)\left(2x+2y\frac{dy}{dx}\right)=25\left(2x-2y\frac{dy}{dx}\right)

    Halve both sides and substitute x=3x=3, y=1y=1, x2+y2=10x^{2}+y^{2}=10:

    40(3+dydx)=25(3dydx)40\left(3+\frac{dy}{dx}\right)=25\left(3-\frac{dy}{dx}\right)

    So 65dydx=4565\frac{dy}{dx}=-45 and dydx=913\frac{dy}{dx}=-\frac{9}{13}. Then y1=913(x3)y-1=-\frac{9}{13}(x-3), i.e. 9x+13y=409x+13y=40.

06

On the exam

How this topic is marked
  • Marks live in two places: the dydx\frac{dy}{dx} attached to every yy-term, and the line where you factor it out. Write dydx()=\frac{dy}{dx}\left(\dots\right)=\dots explicitly rather than jumping to the quotient.

  • Substitute the point as early as the algebra allows — on a lemniscate or folium that turns a page of simplification into two lines — but verify the point is on the curve first.

  • Horizontal- and vertical-tangent questions carry two marks: setting the numerator or the denominator to zero, and substituting back into the original equation to keep only the points that actually lie on the curve.

Keep going