What Makes a Tangent Horizontal?
A tangent line is horizontal when its slope is zero. For a curve described by an equation relating \(x\) and \(y\), implicit differentiation gives a way to calculate the slope without first solving the equation explicitly for \(y\).
The key is to treat a horizontal tangent as a point-finding problem with several checks. Setting the numerator of the implicit slope formula to zero finds possible points, but those candidates must also lie on the original curve, and the denominator must be nonzero so the slope formula applies.
The Implicit Slope Formula
Suppose a curve is given by \(F(x,y)=0\), where \(F\) has continuous first partial derivatives near a point on the curve. At a point where \(F_y\ne 0\), the implicit function theorem guarantees that the equation describes \(y\) locally as a differentiable function of \(x\). Differentiating \(F(x,y(x))=0\) by the chain rule gives
Solving for the derivative is valid only when \(F_y(x,y)\ne 0\):
Here, \(F_x\) means the partial derivative with respect to \(x\), holding \(y\) constant, and \(F_y\) means the partial derivative with respect to \(y\), holding \(x\) constant. The formula expresses the slope at a point of the curve; it does not say that every pair \((x,y)\) is on the curve.
Why the Numerator Must Be Zero
At a point where the implicit slope formula applies, the tangent is horizontal exactly when its slope equals zero. A fraction with nonzero denominator is zero exactly when its numerator is zero. Thus the slope formula gives the condition \(F_x=0\), provided \(F_y\ne 0\). But the point must also satisfy the original relation \(F(x,y)=0\). These conditions work together, not separately.
The condition \(F(x,y)=0\) confirms that the candidate lies on the curve. The condition \(F_x(x,y)=0\) makes the slope zero. The condition \(F_y(x,y)\ne 0\) allows us to solve the differentiated equation for \(\frac{dy}{dx}\) and ensures the local graph has a well-defined derivative there.
A Reliable Procedure
Differentiate the relation with respect to \(x\), treating \(y\) as a function of \(x\), and collect the terms involving \(\frac{dy}{dx}\).
Solve for \(\frac{dy}{dx}\) while recording the condition that its denominator must be nonzero.
This gives possible \(x,y\) coordinates for horizontal tangents.
Keep only real candidates that satisfy the original equation and make the slope denominator nonzero.
At a point \((a,b)\) with slope zero, the tangent line is \(y=b\).
Worked Examples
Worked Example: Horizontal Tangents to a Circle
Find the horizontal tangent points and tangent lines for \(x^2+y^2=25\).
Differentiate both sides with respect to \(x\). Since \(y\) depends on \(x\), the derivative of \(y^2\) is \(2y\frac{dy}{dx}\):
When \(y\ne 0\), solve for the slope:
The numerator is zero when \(x=0\). Substitute this into the original equation:
The candidates are \((0,5)\) and \((0,-5)\). At each point the denominator \(y\) is nonzero, so the slope formula applies. Substitution gives slope \(0\) at both points:
Therefore the tangent lines are \(y=5\) and \(y=-5\). Check the points in the original equation: \(0^2+5^2=25\) and \(0^2+(-5)^2=25\). Both points lie on the circle, and the calculated slopes confirm that both tangents are horizontal.
Worked Example: A Polynomial Relation
Find the horizontal tangent points and tangent lines for \(x^2+xy+y^2=12\).
Differentiate term by term. The product rule gives \(\frac{d}{dx}(xy)=y+x\frac{dy}{dx}\):
Collect the derivative terms and solve for the slope when the denominator is nonzero:
Set the numerator equal to zero: \(2x+y=0\), so \(y=-2x\). Now impose the original equation:
Thus \(x=2\) or \(x=-2\). Using \(y=-2x\), the candidate points are \((2,-4)\) and \((-2,4)\). Check the original relation at each point:
The denominators are nonzero: \(x+2y=2-8=-6\) at \((2,-4)\), and \(x+2y=-2+8=6\) at \((-2,4)\). In each case the numerator is zero, so the slope formula gives \(0\). The tangent lines are \(y=-4\) and \(y=4\). As a final check, substituting each point into the slope formula gives \(-0/(-6)=0\) and \(-0/6=0\), respectively.
Worked Example: Checking the Denominator
Find where the relation \(xy=0\) has a horizontal tangent that can be confirmed using the implicit slope formula.
Differentiate using the product rule:
When \(x\ne 0\), the slope is
Setting the numerator to zero gives \(y=0\). Every point \((a,0)\) with \(a\ne 0\) satisfies the original relation because \(a\cdot 0=0\), and its denominator \(x=a\) is nonzero. For example, at \((3,0)\), the slope is \(-0/3=0\), so the tangent line is \(y=0\). The point check is \(3\cdot 0=0\), and the slope check confirms the horizontal tangent.
The numerator condition also suggests the candidate \((0,0)\), but there the denominator \(x\) is zero. The slope formula does not apply at that point, so it cannot be accepted as a horizontal tangent by this method. This illustrates why checking the denominator is a required step, not a formality.
Common Mistake: Stopping After Setting the Numerator to Zero
A common error is to solve \(F_x=0\) and immediately report the resulting coordinates as horizontal tangent points. The numerator condition only produces candidates. It does not prove that those coordinates are real points on the curve.
For a concrete example, consider \(x^2+y^2=-1\). Differentiation gives \(2x+2y\frac{dy}{dx}=0\), so a candidate for a horizontal tangent must have \(x=0\). But substituting \(x=0\) into the original relation gives \(y^2=-1\), which has no real solution. There are no real candidate points on this relation, so the calculation does not produce a horizontal tangent.
Why the Checks Matter
Implicit differentiation is useful precisely because many curves are easier to describe by a relation than by an explicit formula \(y=f(x)\). The horizontal-tangent test uses that relation directly: it turns a geometric question about a tangent into algebraic conditions involving the relation and its partial derivatives.
However, each condition answers a different question. The original equation asks whether the candidate is on the curve. The numerator asks whether the slope is zero. The denominator asks whether the slope formula is valid at that point. Omitting any one of these checks can lead to a false conclusion.
When the checks pass at \((a,b)\), the derivative is zero there, so the tangent line has equation \(y-b=0(x-a)\), which simplifies to \(y=b\). This gives both the tangent point and the horizontal tangent line.
Check Your Understanding
For each question, keep track of the original relation, the numerator condition, and the denominator condition.
- For \(x^2+y^2=16\), what are the horizontal tangent points and tangent lines?
- For \(x^2+4y^2=20\), find the candidate points by setting the numerator of the implicit slope to zero, then check the original equation and denominator.
- For \(xy=5\), can the numerator condition produce a horizontal tangent point? Explain using the original relation.
- Why is \(F_x=0\) alone not enough to establish a horizontal tangent on \(F(x,y)=0\)?
- At a verified horizontal tangent point \((a,b)\), what is the equation of the tangent line?