Kim’s Math NotesCourse index

Tangent Lines to Implicit Curves

How do I find the tangent line at a point on an implicit curve?

Use dy/dx of an implicit curve for tangent lines, horizontal and vertical tangents, and say with a reason when there is no such point.

A candidate that is not on the curve

Common mistake x2+3y2=0 gives (0,0), so x2y+y3=10 has a vertical tangent at (0,0).

Correction Check it on the curve: 0+0≠10. (0,0) is not on the curve, so there is no vertical tangent.

Example 1: a tangent line, a vertical tangent?

Example one. A curve is given by x squared y, plus y cubed, equals ten. Part a: find dy dx at the point three, one. Part b: write an equation of the tangent line there. And part c: is there any point on this curve where the tangent line is vertical? Give a reason. Part a: differentiate both sides and solve, and you get the slope formula above.

At three, one: negative six over twelve, negative one half.

Watch this part of the concept lesson

Read the rest of this scene

Now you have a point and a slope. So write the tangent line before I do. Part b. The point is three, one, and the slope is negative one half. So y equals one, minus one half times the quantity x minus three. That's point-slope form, a complete equation.

You can stop right there; no need to rearrange it. Here's the picture: the line has the same slope as the curve at three, one. Part c. The plan: a vertical tangent needs the denominator to be zero, so set x squared plus three y squared equal to zero. Then ask the curve. A real number squared is never negative.

So x squared plus three y squared is zero only when x is zero and y is zero. So there is exactly one candidate: zero, zero. It's tempting to write yes, at zero, zero, and move on. But is zero, zero even on the curve? Ask the curve: zero squared times zero, plus zero cubed, is zero.

Zero is not ten, so that point is not on the curve. In the picture, the curve passes high above the origin. So no point on this curve has a vertical tangent line. And the reason is that check: the only candidate is not on the curve. The AP exam asks it this way too.

On the 2023 exam, explaining why a curve had no horizontal tangent was worth two points. Finding the vertical-tangent point and checking it was on the curve was worth three. Your workbook asks for a reason like this too, so take every candidate back to the curve.

Example 2: horizontal and vertical tangents

Example two. Consider the curve x squared, minus x y, plus y squared, equals twenty-seven. Show that dy dx is the quantity two x minus y, over the quantity x minus two y. Then find all points with a horizontal tangent... and all points with a vertical tangent. Part a is a show-that. The plan: differentiate both sides, and every line has to lead to the form they gave us.

First the product, x y.

Watch this part of the concept lesson

Read the rest of this scene

The product rule: f prime g, plus f g prime. One times y, plus x times dy dx. Now both sides. x squared gives two x. Minus x y gives minus the quantity y plus x dy dx; the parentheses make the minus hit both pieces. y squared gives two y dy dx.

And twenty-seven gives zero. Distribute the minus: two x, minus y, minus x dy dx, plus two y dy dx, equals zero. Factor the dy dx terms: dy dx times the quantity two y minus x. Two x minus y moves to the other side and changes sign: y minus two x. Divide: dy dx is the quantity y minus two x, over the quantity two y minus x.

Now compare it with what we had to show: the quantity two x minus y, over the quantity x minus two y. Every sign is backwards. Did we mess up? No. Multiply the top and the bottom by negative one. Negative one over negative one is just one, so nothing changes. The top becomes two x minus y, the bottom x minus two y.

Exactly what we had to show. And because the problem hands you this formula, parts b and c start from it. Part b: all the points with a horizontal tangent. Set the numerator equal to zero, and try it yourself. Part b. The plan: horizontal means the numerator is zero.

Then back to the curve. Numerator: two x minus y equals zero... so y equals two x. Are we done? Can we box y equals two x? No. That's a whole line, not a point. So back to the curve, to see where that line crosses it.

Put y equals two x into the curve's equation. Every y becomes two x, in parentheses: x squared, minus x times two x, plus the quantity two x, squared, equals twenty-seven. The quantity two x, squared, is four x squared, not two x squared. So one, minus two, plus four: three x squared equals twenty-seven. Divide by three: x squared is nine, so x is three or negative three.

Two x-values, so find their y-values yourself. The plan: the points sit on y equals two x, so use it for the y-values, then check the denominator. With y equals two x: x equals three gives y equals six. x equals negative three gives y equals negative six. One more check: the denominator, x minus two y, must not be zero.

At three, six: three minus twelve, negative nine. At negative three, negative six: negative three plus twelve, nine. Neither is zero. So the horizontal tangents are at three, six, and negative three, negative six. Part c: all the points with a vertical tangent.

The same walk with the denominator, so try it on your own. Part c. The plan: vertical means the denominator is zero. Then back to the curve. It's the twin of part b, so it goes fast. Denominator: x minus two y equals zero, so x equals two y.

A whole line again, not a point. Put x equals two y into the curve's equation, parentheses on: the quantity two y, squared, minus two y times y, plus y squared, equals twenty-seven. Four, minus two, plus one... three y squared equals twenty-seven. Look familiar? So y is three or negative three. With x equals two y: y equals three gives x equals six.

y equals negative three gives x equals negative six. Check the numerator, two x minus y. At six, three: twelve minus three, nine. At negative six, negative three: negative twelve plus three, negative nine. Neither is zero.

So the vertical tangents are at six, three, and negative six, negative three. Careful: x goes first. It's six, three, not three, six. See all four in the picture: two flat, two straight up. Flat and vertical tangents turn up again in your workbook, so go back to the curve every time.

Worked examples

Example 1

A curve is given by x2y+y3=10.
(a) Find dydx at the point (3,1).
(b) Write an equation of the tangent line to the curve at (3,1).
(c) Is there a point on the curve where the tangent line is vertical? Give a reason.
Hint

Check the point is on the curve. Then differentiate both sides.

Answer and solution
  1. −12
  2. y=1−12(x−3)
  3. no
  1. 2xy+x2dydx+3y2dydx=0→dydx=−2xyx2+3y2
  2. At(3,1):dydx=−69+3=−12
  3. x^2 y is a product: its derivative is 2xy + x^2 dy/dx. Tangent line: y = 1 - (1/2)(x - 3).
  4. (c) Vertical needs the bottom x^2 + 3y^2 = 0, so x = 0 and y = 0. But (0, 0) is not on the curve (0 is not 10): no point has a vertical tangent.

Example 2

A curve is given by x2−xy+y2=27.
(a) Show that dydx=2x−yx−2y.
(b) Find all points with a horizontal tangent.
(c) Find all points with a vertical tangent.
Hint

Horizontal means the top is 0; vertical means the bottom is 0. Then use the curve.

Answer and solution
  1. shown
  2. (3,6) and (−3,−6)
  3. (6,3) and (−6,−3)
  1. 2x−(y+xdydx)+2ydydx=0→dydx=y−2x2y−x=2x−yx−2y
  2. (b) Top 2x - y = 0, so y = 2x: x^2 - 2x^2 + 4x^2 = 3x^2 = 27, x = 3 or -3. Points (3, 6) and (-3, -6); the bottom is not 0 there.
  3. (c) Bottom x - 2y = 0, so x = 2y: 4y^2 - 2y^2 + y^2 = 3y^2 = 27, y = 3 or -3. Points (6, 3) and (-6, -3); the top is not 0 there.

Workbook

Problem 1

Write an equation of the line tangent to the curve x+y=5 at the point (4,9).
Hint

Differentiate both sides, then find the slope at (4,9). Point first in the line.

Answer and solution

Answer y=9−32(x−4)

  1. 12x+12ydydx=0
  2. dydx=−yx=−32at(4,9)
  3. y=9−32(x−4)

Common mistake Using the x-value 4 as the slope, or leaving out the point (4, 9).

Watch the worked solution to Problem 1

Problem 2

At which of the following points is the line tangent to the curve x=y3−3y vertical?
  1. (0,0)
  2. (0,3)
  3. (2,−1)
  4. (−2,−1)
Hint

Find dydx; vertical means its bottom is 0. Then the curve gives x.

Answer and solution

Answer C. (2,−1)

  1. 1=(3y2−3)dydx,dydx=13y2−3
  2. Vertical: the bottom 3y^2 - 3 = 0, so y = 1 or y = -1. The curve gives x = -2 and x = 2: (-2, 1) and (2, -1).
  3. Answer C.

Common mistake Setting x = 0 instead of the bottom of dy/dx equal to 0; a point not on the curve.

Watch the worked solution to Problem 2

Problem 3

Consider the curve given by y3−xy=6.
  1. Show that dydx=y3y2−x.
  2. Write an equation of the line tangent to the curve at the point (−5,1).
  3. Show that the curve has no horizontal tangent line.
Hint

For (c), set the top of dydx equal to 0 and put that into the curve.

Answer and solution
  1. y−x+3y2
  2. y=1+18(x+5)
  3. a horizontal tangent needs y=0; then the curve gives 0−0=6, impossible
  1. 3y2dydx−(y+xdydx)=0,(3y2−x)dydx=y
  2. (b) At (-5, 1): 1/(3 + 5) = 1/8, so y = 1 + (1/8)(x + 5).
  3. (c) Horizontal needs the top y = 0. The curve with y = 0: 0 - 0 = 6, impossible.

Common mistake Saying 'y = 0, so horizontal' without putting y = 0 into the curve (0 = 6 is impossible).

Watch the worked solution to Problem 3

Problem 4

Consider the curve given by x2−y3+12y=20.
  1. Find dydx.
  2. Write an equation of the line tangent to the curve at the point (3,1).
  3. Find all points on the curve at which the line tangent to the curve is vertical.
Hint

Vertical: the bottom 3y2−12=0. Put each y back into the curve to find x.

Answer and solution
  1. dydx=2x3y2−12
  2. y=1−23(x−3)
  3. (2,2), (−2,2), (6,−2), (−6,−2)
  1. 2x−3y2dydx+12dydx=0,dydx=2x3y2−12
  2. (b) (3, 1) is on the curve: 9 - 1 + 12 = 20. Slope 6/(3 - 12) = -2/3, so y = 1 - (2/3)(x - 3).
  3. (c) Bottom 3y^2 - 12 = 0, y = 2 or -2. y = 2 gives x = 2 or -2; y = -2 gives x = 6 or -6. The top 2x is not 0 at any of them: (2, 2), (-2, 2), (6, -2), (-6, -2).

Common mistake Putting the top 2x = 0 for a vertical tangent; forgetting the second x for each y.

Watch the worked solution to Problem 4

Problem 5

Consider the curve given by x2−2xy+4y2=12.
  1. Show that dydx=y−x4y−x.
  2. Find all points on the curve at which the line tangent to the curve is horizontal.
  3. Write an equation of the line tangent to the curve at the point (−2,1).
Hint

Horizontal: the top of dydx is 0 and the bottom is not. Put y=x into the curve.

Answer and solution
  1. −x+y−x+4y
  2. (2,2) and (−2,−2)
  3. y=1+12(x+2)
  1. 2x−(2y+2xdydx)+8ydydx=0,(8y−2x)dydx=2y−2x
  2. (b) Top y − x = 0, so y = x: x² − 2x² + 4x² = 3x² = 12, x = 2 or −2. Points (2, 2) and (−2, −2); the bottom 4y − x is 6 and −6, not 0.
  3. (c) (−2, 1) is on the curve: 4 + 4 + 4 = 12. Slope (1 + 2)/(4 + 2) = 1/2, so y = 1 + (1/2)(x + 2).

Common mistake Stopping at y = x without the curve, or keeping a point where the bottom is also 0.

Watch the worked solution to Problem 5