Skip to content
Family Table Math
Auto

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). (−2, 4) (2, −4) (4, −2) (−4, 2) −4 −2 2 4 −4 −2 2 4
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). (−1.155, 1.755) (−1.155, −1.755) −3 −2 −1 1 2 3 −3 −2 −1 1 2 3
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−2xy=16y^3 - 2xy = 16 has no horizontal tangents, and find the point where it has a vertical tangent.

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

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

Vertical: 3y2=2x3y^2 = 2x, so x=3y22x = \dfrac{3y^2}{2}. Substitute: y3−3y3=−2y3=16y^3 - 3y^3 = -2y^3 = 16, so y3=−8y^3 = -8, y=−2y = -2, and x=3(4)2=6x = \dfrac{3(4)}{2} = 6. The numerator is 2(−2)=−4≠02(-2) = -4 \ne 0. Vertical tangent at (6,−2)(6, -2).

Check: (−2)3−2(6)(−2)=−8+24=16(-2)^3 - 2(6)(-2) = -8 + 24 = 16. ✓

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=3xyx^3 + y^3 = 3xy 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=3y+3xdydx⇒dydx=3y−3x23y2−3x=y−x2y2−x3x^2 + 3y^2\frac{dy}{dx} = 3y + 3x\frac{dy}{dx} \quad\Rightarrow\quad \frac{dy}{dx} = \frac{3y - 3x^2}{3y^2 - 3x} = \frac{y - x^2}{y^2 - x}

Horizontal: y=x2y = x^2. Substitute:

x3+x6=3x⋅x2=3x3⇒x6=2x3⇒x3(x3−2)=0x^3 + x^6 = 3x \cdot x^2 = 3x^3 \quad\Rightarrow\quad x^6 = 2x^3 \quad\Rightarrow\quad x^3(x^3 - 2) = 0

So x=0x = 0 or x=23x = \sqrt[3]{2}. For the second, y=x2=43y = x^2 = \sqrt[3]{4}.

Check the denominator there: y2−x=163−23=223−23=23≠0y^2 - x = \sqrt[3]{16} - \sqrt[3]{2} = 2\sqrt[3]{2} - \sqrt[3]{2} = \sqrt[3]{2} \ne 0. ✓ So there’s a horizontal tangent at (23, 43)≈(1.260,1.587)\left(\sqrt[3]{2},\ \sqrt[3]{4}\right) \approx (1.260, 1.587).

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.)

Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site. Check every proposed tangent point in the original relation. A zero numerator or denominator gives a tangent classification only when the other is non-zero. Classify extrema on the local branch where yy is a function of xx.

H1. (Foundations) Find all horizontal and vertical tangent points on x2+y2=16x^2+y^2=16, and give the equations of the tangent lines.

H2. (Foundations) A curve’s derivative is dydx=x+1y−2\dfrac{dy}{dx}=\dfrac{x+1}{y-2}. On what lines must horizontal and vertical tangent points lie? Explain the extra checks needed and why this fraction alone cannot classify the point (−1,2)(-1,2).

H3. (Core) Find all horizontal and vertical tangent points on (x−2)2+(y+3)2=36(x-2)^2+(y+3)^2=36. Derive the slope formula and check the non-zero factors at your points.

H4. (Core) Find every horizontal and vertical tangent point on x2+2xy+4y2=12x^2+2xy+4y^2=12. Substitute each linear tangent condition into the relation rather than stopping at a line.

H5. (Core) For the curve in H4, calculate d2y/dx2d^2y/dx^2 at both horizontal tangent points. Classify each as a local high or low point of yy.

H6. (Core) Show that xy2−y3=4xy^2-y^3=4 has no horizontal tangent points. Find all vertical tangent points and verify the required non-zero numerator.

H7. (Challenge) For y2=x3−9xy^2=x^3-9x, find all horizontal and vertical tangent points and classify the horizontal ones with a second derivative. Check which algebraic candidates give real points. Are these local high and low points also absolute highest and lowest points of the whole curve?

H8. (Challenge) Analyse y3+3y=x3−12x+20y^3+3y=x^3-12x+20.

  • (a) Find dy/dxdy/dx and explain why no vertical tangent is possible.
  • (b) Find every horizontal tangent point exactly, proving that the corresponding yy-values are unique.
  • (c) Use the second derivative to classify both points.

H9. (Challenge) For x3+y3=9xyx^3+y^3=9xy, find every non-origin horizontal and vertical tangent point. Classify the non-origin horizontal one using a second derivative. Explain why the origin cannot be classified by substituting into the slope fraction.

H10. (Challenge) For x2+xy+y2=7x^2+xy+y^2=7:

  • (a) Find every point where the tangent is parallel to y=xy=x.
  • (b) Derive a formula for y′′y'' in terms of x,y,y′x,y,y' and determine concavity at those points.
  • (c) Can a smooth branch with finite y′y' have y′′=0y''=0? Explain using the formula, without assuming that every zero-looking expression gives an inflection.