Skip to content
Family Table Math

Analyzing Implicit Relations

Not every curve is the graph of a function. Circles, tilted ellipses, and loops are described by equations in xx and yy together, like x2+xy+y2=12x^2 + xy + y^2 = 12. With implicit differentiation you can still find dydx\dfrac{dy}{dx}, and with it you can analyze these curves the same way as functions: where the tangent is flat, where it’s vertical, where the curve is highest or lowest, and which way it bends.

Implicit differentiation usually gives dydx\dfrac{dy}{dx} as a fraction involving both xx and yy:

dydx=N(x,y)D(x,y)\frac{dy}{dx} = \frac{N(x, y)}{D(x, y)}
Tangent lineConditionPlus…
Horizontalnumerator N=0N = 0 and denominator D≠0D \ne 0the point is on the curve
Verticaldenominator D=0D = 0 and numerator N≠0N \ne 0the point is on the curve
Can’t tell yetN=0N = 0 and D=0D = 0needs more work

The “on the curve” step is the one people forget. Setting N=0N = 0 gives a relationship between xx and yy (like y=−2xy = -2x), not a point. Substitute it into the original equation to find the actual points, and keep only real solutions.

At a point with a horizontal tangent, the curve might have a local high point, a local low point, or neither, just like a critical point of a function. To decide, find d2ydx2\dfrac{d^2y}{dx^2} by differentiating implicitly again, then evaluate it at the point:

  • d2ydx2>0\dfrac{d^2y}{dx^2} \gt 0: concave up, so a local minimum of yy (a low point of the curve).
  • d2ydx2<0\dfrac{d^2y}{dx^2} \lt 0: concave down, so a local maximum of yy (a high point).

This is the second derivative test applied to the part of the curve near the point.

Two ways, and both work:

  • Differentiate the expression for dydx\dfrac{dy}{dx} with the quotient rule, then substitute dydx\dfrac{dy}{dx} back in.
  • Differentiate the equation you had after the first differentiation again, then solve for d2ydx2\dfrac{d^2y}{dx^2}.

A big time-saver: at a horizontal tangent, dydx=0\dfrac{dy}{dx} = 0. Substitute 00 for every dydx\dfrac{dy}{dx} before simplifying, and most terms disappear.

Example 1: Horizontal and vertical tangents on a tilted ellipse

Section titled “Example 1: Horizontal and vertical tangents on a tilted ellipse”

Find all points on x2+xy+y2=12x^2 + xy + y^2 = 12 where the tangent line is horizontal or vertical.

Solution. Differentiate both sides with respect to xx (using the product rule on xyxy):

2x+(y+xdydx)+2ydydx=0⇒dydx=−2x+yx+2y2x + \left(y + x\frac{dy}{dx}\right) + 2y\frac{dy}{dx} = 0 \quad\Rightarrow\quad \frac{dy}{dx} = -\frac{2x + y}{x + 2y}

Horizontal: numerator 00 means y=−2xy = -2x. Substitute into the curve:

x2+x(−2x)+(−2x)2=12⇒3x2=12⇒x=±2x^2 + x(-2x) + (-2x)^2 = 12 \quad\Rightarrow\quad 3x^2 = 12 \quad\Rightarrow\quad x = \pm 2

Points: (2,−4)(2, -4) and (−2,4)(-2, 4). Check the denominators: 2+2(−4)=−6≠02 + 2(-4) = -6 \ne 0 and −2+2(4)=6≠0-2 + 2(4) = 6 \ne 0. ✓

Vertical: denominator 00 means x=−2yx = -2y. Substitute:

(−2y)2+(−2y)y+y2=12⇒3y2=12⇒y=±2(-2y)^2 + (-2y)y + y^2 = 12 \quad\Rightarrow\quad 3y^2 = 12 \quad\Rightarrow\quad y = \pm 2

Points: (−4,2)(-4, 2) and (4,−2)(4, -2). Check the numerators: 2(−4)+2=−6≠02(-4) + 2 = -6 \ne 0 and 2(4)−2=6≠02(4) - 2 = 6 \ne 0. ✓

The tilted ellipse x squared plus xy plus y squared equals 12. Horizontal tangent lines touch it at (-2, 4), its highest point, and (2, -4), its lowest point. Vertical tangent lines touch it at (-4, 2) and (4, -2). −4 −2 2 4 −4 −2 2 4 (−2, 4) (2, −4) (4, −2) (−4, 2)
The horizontal tangents (orange) are at the highest and lowest points; the vertical tangents (green) are at the leftmost and rightmost points.

Example 2: Is it a high point or a low point?

Section titled “Example 2: Is it a high point or a low point?”

For the same curve, use d2ydx2\dfrac{d^2y}{dx^2} to decide whether (2,−4)(2, -4) and (−2,4)(-2, 4) are high or low points.

Solution. Differentiate the first-derivative equation 2x+y+xdydx+2ydydx=02x + y + x\dfrac{dy}{dx} + 2y\dfrac{dy}{dx} = 0 again. Write y′y' for dydx\dfrac{dy}{dx} and y′′y'' for d2ydx2\dfrac{d^2y}{dx^2} to keep it short:

2+y′+(y′+xy′′)+(2y′⋅y′+2y y′′)=02 + y' + (y' + xy'') + \big(2y' \cdot y' + 2y\,y''\big) = 0

At a horizontal tangent, y′=0y' = 0, so almost everything vanishes:

2+(x+2y) y′′=0⇒y′′=−2x+2y2 + (x + 2y)\,y'' = 0 \quad\Rightarrow\quad y'' = -\frac{2}{x + 2y}
  • At (2,−4)(2, -4): y′′=−22−8=13>0y'' = -\dfrac{2}{2 - 8} = \dfrac{1}{3} \gt 0. Concave up, so (2,−4)(2, -4) is a low point.
  • At (−2,4)(-2, 4): y′′=−2−2+8=−13<0y'' = -\dfrac{2}{-2 + 8} = -\dfrac{1}{3} \lt 0. Concave down, so (−2,4)(-2, 4) is a high point.

That matches the figure.

Example 3: Checking that the points are on the curve

Section titled “Example 3: Checking that the points are on the curve”

Find the horizontal and vertical tangents of y2=x3−4xy^2 = x^3 - 4x, and classify the points with horizontal tangents.

Solution.

2ydydx=3x2−4⇒dydx=3x2−42y2y\frac{dy}{dx} = 3x^2 - 4 \quad\Rightarrow\quad \frac{dy}{dx} = \frac{3x^2 - 4}{2y}

Horizontal: 3x2−4=03x^2 - 4 = 0 gives x=±23x = \pm\dfrac{2}{\sqrt{3}}. Now check the curve:

  • x=23x = \dfrac{2}{\sqrt{3}}: y2=833−83=−1633<0y^2 = \dfrac{8}{3\sqrt{3}} - \dfrac{8}{\sqrt{3}} = -\dfrac{16}{3\sqrt{3}} \lt 0. No real yy, so no points here.
  • x=−23x = -\dfrac{2}{\sqrt{3}}: y2=1633≈3.079y^2 = \dfrac{16}{3\sqrt{3}} \approx 3.079, so y≈±1.755y \approx \pm 1.755.

Horizontal tangents at about (−1.155,1.755)(-1.155, 1.755) and (−1.155,−1.755)(-1.155, -1.755).

Vertical: 2y=02y = 0 gives y=0y = 0, so x3−4x=x(x−2)(x+2)=0x^3 - 4x = x(x - 2)(x + 2) = 0: the points (0,0)(0, 0), (2,0)(2, 0), (−2,0)(-2, 0). The numerator 3x2−43x^2 - 4 is −4-4, 88, 88 there, never 00. ✓

Classify: differentiate 2y y′=3x2−42y\,y' = 3x^2 - 4 again: 2(y′)2+2y y′′=6x2(y')^2 + 2y\,y'' = 6x. With y′=0y' = 0, y′′=3xyy'' = \dfrac{3x}{y}.

  • At (−1.155,1.755)(-1.155, 1.755): y′′≈−3.4641.755<0y'' \approx \dfrac{-3.464}{1.755} \lt 0, so a high point.
  • At (−1.155,−1.755)(-1.155, -1.755): y′′>0y'' \gt 0, so a low point.
The curve y squared equals x cubed minus 4x. It has a closed loop between x = -2 and x = 0 and a separate branch starting at x = 2. Vertical tangents at (-2, 0), (0, 0) and (2, 0); horizontal tangents at about (-1.155, 1.755) and (-1.155, -1.755). −3 −2 −1 1 2 3 −3 −2 −1 1 2 3 (−1.155, 1.755) (−1.155, −1.755)
y2=x3−4xy^2 = x^3 - 4x: the horizontal tangents are only on the loop. The value x=23x = \frac{2}{\sqrt{3}} gave no points because it lies in a gap of the curve.

For the circle x2+y2=25x^2 + y^2 = 25, show that d2ydx2=−25y3\dfrac{d^2y}{dx^2} = -\dfrac{25}{y^3}, and explain what it says about the top and bottom halves.

Solution. First derivative: 2x+2y y′=02x + 2y\,y' = 0, so y′=−xyy' = -\dfrac{x}{y}.

Differentiate with the quotient rule, then substitute y′=−xyy' = -\dfrac{x}{y}:

y′′=−y⋅1−x⋅y′y2=−y+x2yy2=−y2+x2y3multiply top and bottom by y=−25y3since x2+y2=25\begin{aligned} y'' &= -\frac{y \cdot 1 - x \cdot y'}{y^2} \\ &= -\frac{y + \frac{x^2}{y}}{y^2} \\ &= -\frac{y^2 + x^2}{y^3} && \text{multiply top and bottom by } y \\ &= -\frac{25}{y^3} && \text{since } x^2 + y^2 = 25 \end{aligned}

On the top half, y>0y \gt 0, so y′′<0y'' \lt 0: concave down. On the bottom half, y<0y \lt 0, so y′′>0y'' \gt 0: concave up. That’s exactly what a circle looks like.

Stopping at a relationship instead of points. “Horizontal tangents where y=−2xy = -2x” isn’t an answer. Substitute into the original equation to find the actual points.

Not checking the points are real and on the curve. In Example 3, x=23x = \frac{2}{\sqrt{3}} makes the numerator 00, but there’s no point on the curve with that xx. Always substitute back.

Ignoring the other part of the fraction. For a horizontal tangent, the denominator must be non-zero at the point. If both are 00, you can’t conclude anything from dydx\frac{dy}{dx} alone.

Forgetting the chain rule on y terms. ddx(y2)=2ydydx\dfrac{d}{dx}\left(y^2\right) = 2y\dfrac{dy}{dx}, not 2y2y. When finding the second derivative, ddx(y y′)=(y′)2+y y′′\dfrac{d}{dx}\left(y\,y'\right) = (y')^2 + y\,y'': product rule and chain rule.

Doing the second derivative the long way when you don’t need to. If you only need d2ydx2\dfrac{d^2y}{dx^2} at a point where dydx=0\dfrac{dy}{dx} = 0, set y′=0y' = 0 right away. The algebra gets much shorter.

1. (Warm-up) A curve has dydx=x−2y+1\dfrac{dy}{dx} = \dfrac{x - 2}{y + 1}. On what line do the points with a horizontal tangent lie? A vertical tangent?

Solution

Horizontal: numerator 00, so on the line x=2x = 2 (where y≠−1y \ne -1).

Vertical: denominator 00, so on the line y=−1y = -1 (where x≠2x \ne 2).

To get actual points, you’d substitute into the curve’s equation.

2. (Warm-up) Find the points on the circle x2+y2=25x^2 + y^2 = 25 with horizontal and vertical tangents.

Solution

dydx=−xy\dfrac{dy}{dx} = -\dfrac{x}{y}.

Horizontal: x=0x = 0, so y2=25y^2 = 25: (0,5)(0, 5) and (0,−5)(0, -5).

Vertical: y=0y = 0, so x2=25x^2 = 25: (5,0)(5, 0) and (−5,0)(-5, 0).

3. (Core) Find the points on x2+y2−6x+4y=12x^2 + y^2 - 6x + 4y = 12 with horizontal and vertical tangents.

Solution2x+2ydydx−6+4dydx=0⇒dydx=6−2x2y+4=3−xy+22x + 2y\frac{dy}{dx} - 6 + 4\frac{dy}{dx} = 0 \quad\Rightarrow\quad \frac{dy}{dx} = \frac{6 - 2x}{2y + 4} = \frac{3 - x}{y + 2}

Horizontal: x=3x = 3. Then 9+y2−18+4y=129 + y^2 - 18 + 4y = 12, so y2+4y−21=0y^2 + 4y - 21 = 0, (y+7)(y−3)=0(y + 7)(y - 3) = 0. Points (3,3)(3, 3) and (3,−7)(3, -7). (Denominators 55 and −5-5, not 00.)

Vertical: y=−2y = -2. Then x2+4−6x−8=12x^2 + 4 - 6x - 8 = 12, so x2−6x−16=0x^2 - 6x - 16 = 0, (x−8)(x+2)=0(x - 8)(x + 2) = 0. Points (8,−2)(8, -2) and (−2,−2)(-2, -2). (Numerators −5-5 and 55, not 00.)

(This is a circle with centre (3,−2)(3, -2) and radius 55, so the answers make sense.)

4. (Core) Find the points on x2−xy+y2=3x^2 - xy + y^2 = 3 with horizontal and vertical tangents.

Solution2x−(y+xdydx)+2ydydx=0⇒dydx=y−2x2y−x2x - \left(y + x\frac{dy}{dx}\right) + 2y\frac{dy}{dx} = 0 \quad\Rightarrow\quad \frac{dy}{dx} = \frac{y - 2x}{2y - x}

Horizontal: y=2xy = 2x. Then x2−2x2+4x2=3x2=3x^2 - 2x^2 + 4x^2 = 3x^2 = 3, so x=±1x = \pm 1. Points (1,2)(1, 2) and (−1,−2)(-1, -2). (Denominators 33 and −3-3.)

Vertical: x=2yx = 2y. Then 4y2−2y2+y2=3y2=34y^2 - 2y^2 + y^2 = 3y^2 = 3, so y=±1y = \pm 1. Points (2,1)(2, 1) and (−2,−1)(-2, -1). (Numerators −3-3 and 33.)

5. (Core) For the curve in question 4, find d2ydx2\dfrac{d^2y}{dx^2} at (1,2)(1, 2). Is (1,2)(1, 2) a high point or a low point of the curve?

Solution

Differentiate 2x−y−x y′+2y y′=02x - y - x\,y' + 2y\,y' = 0 again:

2−y′−(y′+x y′′)+(2(y′)2+2y y′′)=02 - y' - (y' + x\,y'') + \big(2(y')^2 + 2y\,y''\big) = 0

At (1,2)(1, 2), y′=0y' = 0: 2−x y′′+2y y′′=02 - x\,y'' + 2y\,y'' = 0, so 2+(2y−x) y′′=02 + (2y - x)\,y'' = 0.

y′′=−22(2)−1=−23<0y'' = -\frac{2}{2(2) - 1} = -\frac{2}{3} \lt 0

Concave down, so (1,2)(1, 2) is a high point.

6. (Core) Show that the curve y3−xy=2y^3 - xy = 2 has no horizontal tangents, and find the point where it has a vertical tangent.

Solution3y2dydx−(y+xdydx)=0⇒dydx=y3y2−x3y^2\frac{dy}{dx} - \left(y + x\frac{dy}{dx}\right) = 0 \quad\Rightarrow\quad \frac{dy}{dx} = \frac{y}{3y^2 - x}

Horizontal would need y=0y = 0, but then the equation gives 0−0=20 - 0 = 2, which is false. So no point on the curve has y=0y = 0, and there are no horizontal tangents.

Vertical: x=3y2x = 3y^2. Substitute: y3−3y3=−2y3=2y^3 - 3y^3 = -2y^3 = 2, so y=−1y = -1 and x=3x = 3. The numerator is −1≠0-1 \ne 0. Vertical tangent at (3,−1)(3, -1).

7. (Core) Find all points on x2−xy+y2=3x^2 - xy + y^2 = 3 where the tangent line is parallel to the line y=xy = x.

Solution

From question 4, dydx=y−2x2y−x\dfrac{dy}{dx} = \dfrac{y - 2x}{2y - x}. Set it equal to 11:

y−2x=2y−x⇒y=−xy - 2x = 2y - x \quad\Rightarrow\quad y = -x

Substitute: x2+x2+x2=3x2=3x^2 + x^2 + x^2 = 3x^2 = 3, so x=±1x = \pm 1. Points (1,−1)(1, -1) and (−1,1)(-1, 1).

Check (1,−1)(1, -1): −1−2−2−1=1\dfrac{-1 - 2}{-2 - 1} = 1. ✓ Check (−1,1)(-1, 1): 1+22+1=1\dfrac{1 + 2}{2 + 1} = 1. ✓

8. (Challenge) Consider the curve y3+3y=x3−3x+6y^3 + 3y = x^3 - 3x + 6.

  • (a) Find dydx\dfrac{dy}{dx} and explain why the curve has no vertical tangents.
  • (b) Find the point with a horizontal tangent where x=1x = 1, and decide whether it’s a high or low point.
  • (c) There’s also a horizontal tangent where x=−1x = -1. Use a calculator to find yy to three decimal places, and classify the point.
Solution

(a) 3y2 y′+3y′=3x2−33y^2\,y' + 3y' = 3x^2 - 3, so

dydx=x2−1y2+1\frac{dy}{dx} = \frac{x^2 - 1}{y^2 + 1}

The denominator y2+1≥1y^2 + 1 \ge 1 is never 00, so there are no vertical tangents.

(b) y′=0y' = 0 when x=±1x = \pm 1. At x=1x = 1: y3+3y=1−3+6=4y^3 + 3y = 1 - 3 + 6 = 4. y=1y = 1 works, and it’s the only real solution because y3+3yy^3 + 3y is increasing. So the point is (1,1)(1, 1).

Differentiate (y2+1) y′=x2−1(y^2 + 1)\,y' = x^2 - 1 again: 2y(y′)2+(y2+1) y′′=2x2y(y')^2 + (y^2 + 1)\,y'' = 2x. With y′=0y' = 0:

y′′=2xy2+1y'' = \frac{2x}{y^2 + 1}

At (1,1)(1, 1): y′′=22=1>0y'' = \dfrac{2}{2} = 1 \gt 0, so it’s a low point.

(c) At x=−1x = -1: y3+3y=−1+3+6=8y^3 + 3y = -1 + 3 + 6 = 8. Solving y3+3y−8=0y^3 + 3y - 8 = 0 on a calculator gives y≈1.513y \approx 1.513. Then y′′=−2y2+1<0y'' = \dfrac{-2}{y^2 + 1} \lt 0, so (−1,1.513)(-1, 1.513) is a high point.

9. (Challenge) The curve x3+y3=6xyx^3 + y^3 = 6xy is called a folium. Find dydx\dfrac{dy}{dx}, find the point (other than the origin) with a horizontal tangent, and explain why the origin needs more work.

Solution3x2+3y2dydx=6y+6xdydx⇒dydx=6y−3x23y2−6x=2y−x2y2−2x3x^2 + 3y^2\frac{dy}{dx} = 6y + 6x\frac{dy}{dx} \quad\Rightarrow\quad \frac{dy}{dx} = \frac{6y - 3x^2}{3y^2 - 6x} = \frac{2y - x^2}{y^2 - 2x}

Horizontal: 2y=x22y = x^2, so y=x22y = \dfrac{x^2}{2}. Substitute:

x3+x68=6x⋅x22=3x3⇒x68=2x3⇒x3(x3−16)=0x^3 + \frac{x^6}{8} = 6x \cdot \frac{x^2}{2} = 3x^3 \quad\Rightarrow\quad \frac{x^6}{8} = 2x^3 \quad\Rightarrow\quad x^3(x^3 - 16) = 0

So x=0x = 0 or x=163=223x = \sqrt[3]{16} = 2\sqrt[3]{2}. For the second, y=x22=25632=243y = \dfrac{x^2}{2} = \dfrac{\sqrt[3]{256}}{2} = 2\sqrt[3]{4}.

Check the denominator there: y2−2x=4163−423=823−423=423≠0y^2 - 2x = 4\sqrt[3]{16} - 4\sqrt[3]{2} = 8\sqrt[3]{2} - 4\sqrt[3]{2} = 4\sqrt[3]{2} \ne 0. ✓ So there’s a horizontal tangent at (223, 243)≈(2.520,3.175)\left(2\sqrt[3]{2},\ 2\sqrt[3]{4}\right) \approx (2.520, 3.175).

At the origin, both the numerator and the denominator are 00, so dydx\dfrac{dy}{dx} has the form 00\frac{0}{0} and tells you nothing. (The curve actually crosses itself there, with two different tangent lines.)