Tutorials › Calculus I › Tangent Lines To Implicit Curves

Implicit and Inverse Differentiation · Tutorial 568 of 1495

Tangent Lines To Implicit Curves

Use the slope determined by implicit differentiation and a known point on the curve to write and verify its tangent-line equation.

Advanced 9 min read

What You'll Learn

  • State when an implicit curve has a tangent line that can be found from a finite derivative.
  • Turn an implicit derivative and a point on the curve into a point-slope equation.
  • Compute tangent lines for circular and polynomial relations without isolating y.
  • Apply the method to an implicit relation involving an exponential function.
  • Recognize and correct a chain-rule error when differentiating a term involving y.

From an Implicit Slope to a Tangent Line

A derivative can tell us the slope of a curve at a point, even when the curve is given by a relation between \(x\) and \(y\) rather than by a formula \(y=f(x)\). Once that slope and the point are known, the tangent line is determined by the point-slope equation of a line.

The essential steps are to check that the given point lies on the curve, use implicit differentiation to find the slope there, and substitute the point and slope into the line equation. The point check matters: a slope calculated at some other point on the curve does not determine the tangent line being asked for.

Key idea: If the curve has a differentiable local graph through \((x_0,y_0)\) with finite slope \(m\), its tangent line at that point is \(y-y_0=m(x-x_0)\).

What the Tangent-Line Formula Means

Suppose a portion of an implicitly defined curve can be represented near \((x_0,y_0)\) as \(y=g(x)\), where \(g\) is differentiable and \(g(x_0)=y_0\). The derivative \(g'(x_0)\) is the limiting slope of secant lines joining \((x_0,y_0)\) to nearby points on the graph. When this derivative is finite, the line with that slope through \((x_0,y_0)\) is the tangent line.

$$ m=g'(x_0) =\lim_{x\to x_0}\frac{g(x)-g(x_0)}{x-x_0}, \qquad y-y_0=m(x-x_0). $$

In an implicit relation, \(y\) varies with \(x\) along the local curve, so implicit differentiation produces a formula for this slope. The earlier material on implicit differentiation gives the rules needed for that calculation. Here the emphasis is on evaluating the derivative at the specified point and using the result to write the line.

Condition: The point must lie on the implicit curve, and the curve must have a differentiable local graph there with a finite derivative. Under these conditions, the tangent line has the point-slope form above. If those conditions do not hold, this procedure does not by itself establish a tangent line of this form.

A Derivation of the Tangent-Line Equation

The equation follows directly from the meaning of derivative and the equation of a line. Let \(y=g(x)\) be the local graph, with \(g(x_0)=y_0\), and suppose \(g'(x_0)=m\) is finite. The secant slope from the fixed point to a nearby point on the graph is \(\frac{g(x)-y_0}{x-x_0}\). As \(x\) approaches \(x_0\), this slope approaches \(m\). Therefore the tangent line must pass through \((x_0,y_0)\) and have slope \(m\). Every line with slope \(m\) through that point has equation \(y-y_0=m(x-x_0)\), as required.

This also explains why the method does not require a complete solution for \(y\). Implicit differentiation can give the local slope directly from the relation; the tangent-line equation then needs only that slope and the point.

1
Check the point.
Substitute its coordinates into the original relation and confirm that the equality holds.
2
Find the implicit derivative.
Differentiate both sides with respect to \(x\), treating \(y\) as a function of \(x\), and solve for \(\frac{dy}{dx}\).
3
Evaluate the slope.
Substitute the point’s coordinates into the derivative formula. The resulting value is \(m\).
4
Write and check the line.
Use \(y-y_0=m(x-x_0)\), then verify that the line passes through the given point.

Worked Examples

Worked Example: Tangent to a Circle

Find the tangent line to \(x^2+y^2=25\) at \((3,4)\).

First check the point: \(3^2+4^2=9+16=25\), so \((3,4)\) lies on the circle. Differentiate both sides with respect to \(x\). Since \(y\) depends on \(x\), differentiating \(y^2\) gives \(2y\frac{dy}{dx}\):

$$ 2x+2y\frac{dy}{dx}=0. $$

Solve for the derivative. Subtract \(2x\) from both sides and divide by \(2y\), which is nonzero at the point:

$$ 2y\frac{dy}{dx}=-2x, \qquad \frac{dy}{dx}=-\frac{x}{y}. $$

At \((3,4)\), the slope is \(m=-\frac{3}{4}\). The point-slope equation is

$$ y-4=-\frac{3}{4}(x-3). $$

Equivalently, multiplying by \(4\) and rearranging gives \(3x+4y=25\). Check the point in this line equation: \(3(3)+4(4)=9+16=25\). The slope of \(3x+4y=25\), when written as \(y=-\frac{3}{4}x+\frac{25}{4}\), is \(-\frac{3}{4}\), as required.

Worked Example: A Polynomial Relation

Find the tangent line to \(x^2+xy+y^2=7\) at \((1,2)\).

Check that the point is on the curve: \(1^2+(1)(2)+2^2=1+2+4=7\). Differentiate each term with respect to \(x\). In particular, the product rule gives \(\frac{d}{dx}(xy)=y+x\frac{dy}{dx}\), and the chain rule gives \(\frac{d}{dx}(y^2)=2y\frac{dy}{dx}\):

$$ 2x+y+x\frac{dy}{dx}+2y\frac{dy}{dx}=0. $$

Collect the terms involving the derivative and solve:

$$ (x+2y)\frac{dy}{dx}=-(2x+y), \qquad \frac{dy}{dx}=-\frac{2x+y}{x+2y}. $$

At \((1,2)\), the denominator is \(1+2(2)=5\), so the derivative is defined there. The slope is \(-\frac{2(1)+2}{1+2(2)}=-\frac{4}{5}\). Thus the tangent line is

$$ y-2=-\frac{4}{5}(x-1), \qquad 4x+5y=14. $$

To check, substitute \((1,2)\) into the simplified equation: \(4(1)+5(2)=4+10=14\). Solving it for \(y\) gives \(y=-\frac{4}{5}x+\frac{14}{5}\), confirming the slope \(-\frac{4}{5}\).

Worked Example: A Relation Not Convenient to Solve for y

Find the tangent line to \(e^y+xy=x^2\) at \((1,0)\). This relation is not conveniently solved for \(y\) by ordinary algebra, but its implicit derivative can still be evaluated at the point.

Check the point: \(e^0+(1)(0)=1\), while \(1^2=1\), so it lies on the curve. Differentiate the relation with respect to \(x\). The chain rule gives \(\frac{d}{dx}(e^y)=e^y\frac{dy}{dx}\), and the product rule gives \(\frac{d}{dx}(xy)=y+x\frac{dy}{dx}\):

$$ e^y\frac{dy}{dx}+y+x\frac{dy}{dx}=2x. $$

Group the derivative terms and solve:

$$ (e^y+x)\frac{dy}{dx}=2x-y, \qquad \frac{dy}{dx}=\frac{2x-y}{e^y+x}. $$

At \((1,0)\), the numerator is \(2(1)-0=2\) and the denominator is \(e^0+1=1+1=2\). Therefore \(m=2/2=1\). The tangent line is

$$ y-0=1(x-1), \qquad y=x-1. $$

The line contains the point because \(0=1-1\). Its slope is \(1\), matching the derivative at the point. No explicit formula for \(y\) was needed.

A Common Chain-Rule Pitfall

A frequent error is to differentiate a power of \(y\) as if \(y\) were constant. For example, in the polynomial relation above, it would be incorrect to write

$$ \frac{d}{dx}(y^2)=2y. $$

That expression omits the rate at which \(y\) changes with \(x\). The chain rule requires a factor of \(\frac{dy}{dx}\). If this factor is omitted, the derivative calculation for \(x^2+xy+y^2=7\) becomes incorrectly

$$ 2x+y+x\frac{dy}{dx}+2y=0. $$

At \((1,2)\), this wrong equation gives \(2+2+\frac{dy}{dx}+4=0\), so it would produce the incorrect slope \(\frac{dy}{dx}=-8\). The correct derivative of \(y^2\) is \(2y\frac{dy}{dx}\); using it gives \(2+2+\frac{dy}{dx}+4\frac{dy}{dx}=0\), hence \(5\frac{dy}{dx}=-4\) and slope \(-\frac{4}{5}\). The incorrect result fails because it treats a varying quantity as constant during differentiation.

Checks Before You Finish

A tangent-line answer should be supported by both the point and the slope. The point must satisfy the original curve relation, and the line must pass through that point. Its slope must agree with the implicit derivative evaluated there. These checks catch different errors: a point-substitution error can select the wrong location, while a differentiation error can give the wrong line direction.

When presenting a result, it is often useful to leave the equation in point-slope form first. This form displays the point and slope used. A simplified equivalent equation is also acceptable, provided it has not changed the line. For instance, multiplying both sides of a line equation by a nonzero constant preserves the same set of points.

The method applies when the required finite derivative exists at the given point. If solving for the derivative leads to a division by zero, that calculation does not provide a finite slope there. Do not force a point-slope equation with a finite \(m\) unless the conditions for that form have been established.

Check Your Understanding

For each problem, identify the point check, the slope, and the resulting tangent-line equation.

  1. For \(x^2+y^2=13\), find the tangent line at \((2,3)\).
  2. For \(x^2+xy+y^2=3\), find the tangent line at \((1,1)\).
  3. For \(e^y+xy=x^2+1\), verify that \((0,0)\) lies on the curve, then find the tangent line there.
  4. Why does differentiating \(y^3\) with respect to \(x\) produce \(3y^2\frac{dy}{dx}\), rather than \(3y^2\)?
  5. What two checks can be made directly on a proposed tangent-line equation and its slope?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon