AP Calculus AB · Topic 5.12 · Reading guide, about 4 min

Tangent lines and concavity on implicit curves

Find slopes, horizontal and vertical tangents, tangent lines and concavity on implicitly defined curves.

In one minute

Some curves cannot be written as y=f(x)y=f(x), such as circles and ellipses. You can still find slopes, tangent lines and concavity on them with implicit differentiation, and you can ask where tangents are horizontal or vertical.

This topic applies the Unit 5 ideas to those curves. The derivative dydx\frac{dy}{dx} plays the role of f′f' and the second derivative d2ydx2\frac{d^2y}{dx^2} plays the role of f′′f''.

Key terms

Implicit curve
A curve defined by an equation in xx and yy, like x2+y2=25x^2+y^2=25, instead of yy alone.
Implicit differentiation
Differentiating both sides with respect to xx, treating yy as a function of xx and using the chain rule.
Horizontal tangent
Where dydx=0\frac{dy}{dx}=0: the numerator is zero and the denominator is not zero.
Vertical tangent
Where dydx\frac{dy}{dx} is undefined because the denominator is zero and the numerator is not zero.
Tangent line
The line through a point (a,b)(a,b) on the curve with slope dydx\frac{dy}{dx} evaluated at that point.
Second derivative
Differentiate dydx\frac{dy}{dx} again implicitly, then substitute dydx\frac{dy}{dx}; its sign gives concavity.
Point on the curve
A point whose coordinates satisfy the original equation; any answer must be checked against it.

Finding the slope

Differentiate both sides of the equation with respect to xx. Every term with yy gets a factor of dydx\frac{dy}{dx} from the chain rule. Collect all dydx\frac{dy}{dx} terms on one side, factor, and solve.

Simple example: for x2+y2=25x^2+y^2=25, differentiating gives 2x+2ydydx=02x+2y\frac{dy}{dx}=0, so dydx=−xy\frac{dy}{dx}=-\frac{x}{y}. At the point (3,4)(3,4), which lies on the curve since 9+16=259+16=25, the slope is −34-\frac34. The tangent line is y−4=−34(x−3)y-4=-\frac34(x-3).

The slope is generally a function of both xx and yy. To evaluate it you need both coordinates, and the point has to be on the curve.

Horizontal and vertical tangents from dy/dx = N / D
ConditionMeaningWhat to do
N = 0 and D not 0Horizontal tangentSolve N = 0, substitute into the curve to find the points, check that D is not 0
D = 0 and N not 0Vertical tangentSolve D = 0, substitute into the curve to find the points, check that N is not 0
N = 0 and D = 0Slope form is indeterminateInvestigate further: first check the point is on the curve; the formula gives 0/0 there, so it cannot decide the tangent by itself

A fully worked example

Consider the curve x2−xy+y2=3x^2-xy+y^2=3. Differentiate with respect to xx: 2x−y−xdydx+2ydydx=02x-y-x\frac{dy}{dx}+2y\frac{dy}{dx}=0. Group terms: dydx(2y−x)=y−2x\frac{dy}{dx}(2y-x)=y-2x. So dydx=y−2x2y−x\frac{dy}{dx}=\frac{y-2x}{2y-x}.

Horizontal tangents need y−2x=0y-2x=0, so y=2xy=2x. Substitute into the curve: x2−2x2+4x2=3x2=3x^2-2x^2+4x^2=3x^2=3, so x=±1x=\pm1 and the points are (1,2)(1,2) and (−1,−2)(-1,-2). Check the denominator 2y−x2y-x: it is 33 and −3-3, never zero. So both are horizontal tangents.

Vertical tangents need 2y−x=02y-x=0, so x=2yx=2y. Substitute: 4y2−2y2+y2=3y2=34y^2-2y^2+y^2=3y^2=3, so y=±1y=\pm1 and the points are (2,1)(2,1) and (−2,−1)(-2,-1). Check the numerator y−2xy-2x: it is −3-3 and 33, never zero. So both are vertical tangents.

Tangent line: the point (0,3)(0,\sqrt3) is on the curve since 0−0+3=30-0+3=3. The slope is 3−023−0=12\frac{\sqrt3-0}{2\sqrt3-0}=\frac12, so the tangent line is y=3+12xy=\sqrt3+\frac12x.

Now concavity. Differentiate dydx=y−2x2y−x\frac{dy}{dx}=\frac{y-2x}{2y-x} with the quotient rule: d2ydx2=(dydx−2)(2y−x)−(y−2x)(2dydx−1)(2y−x)2\frac{d^2y}{dx^2}=\frac{\left(\frac{dy}{dx}-2\right)(2y-x)-(y-2x)\left(2\frac{dy}{dx}-1\right)}{(2y-x)^2}. At (1,2)(1,2), dydx=0\frac{dy}{dx}=0 and y−2x=0y-2x=0, so this is (−2)(3)9=−23\frac{(-2)(3)}{9}=-\frac23. This is negative, so the curve is concave down and (1,2)(1,2) is a relative maximum of yy. At (−1,−2)(-1,-2), dydx=0\frac{dy}{dx}=0 and 2y−x=−32y-x=-3, so the value is (−2)(−3)9=23\frac{(-2)(-3)}{9}=\frac23, positive, a relative minimum.

Judging concavity and classifying points

To find the second derivative, differentiate your expression for dydx\frac{dy}{dx} again, remembering that yy depends on xx. Then replace dydx\frac{dy}{dx} by its formula, or by its numerical value at the point if you only need one point.

Use the sign of d2ydx2\frac{d^2y}{dx^2} for concavity, just like f′′f''. At a point of horizontal tangent, it also classifies the point by the second derivative test. For the circle x2+y2=25x^2+y^2=25, d2ydx2=−25y3\frac{d^2y}{dx^2}=-\frac{25}{y^3}, so the upper half (y>0y>0) is concave down and the lower half is concave up.

A graphing calculator can check a numerical slope, but the exam expects the algebra from you for problems in the no-calculator section.

How it connects

  • Back to 3.1 and 3.2: the chain rule and implicit differentiation give dydx\frac{dy}{dx}.
  • Back to 5.7: classifying a horizontal tangent with the sign of the second derivative.
  • Back to 5.6: concavity from the sign of the second derivative, here in implicit form.

Common mistakes

  • **Forgetting the factor dydx\frac{dy}{dx} on yy terms.** Each yy differentiated needs the chain rule.
  • Using points that are not on the curve. After solving N=0N=0, substitute into the original equation to find the actual points.
  • Ignoring the other half of the condition. A horizontal tangent needs the denominator nonzero; a vertical one needs the numerator nonzero.
  • **Not substituting dydx\frac{dy}{dx} in the second derivative.** The answer should be in terms of xx and yy only, or numerical.

How it shows up on the exam

  • A curve such as a circle or ellipse is given, and you find dydx\frac{dy}{dx}, a tangent line equation, or the point where the tangent is horizontal or vertical.
  • A free-response part asks for d2ydx2\frac{d^2y}{dx^2} at a point and whether the curve is concave up or down there, with a written conclusion.
  • A multiple-choice question gives an implicit equation and asks for the slope or for which statement about tangents is true.

Check yourself

  1. For dydx=x+1y−3\frac{dy}{dx}=\frac{x+1}{y-3}, where could horizontal and vertical tangents occur, and what must you still check?
  2. Why must you use the original equation after solving for where a tangent is horizontal?
  3. How do you decide whether a point of horizontal tangent on an implicit curve is a relative maximum or minimum?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.