The tangent line to a curve is horizontal wherever the derivative of the function equals zero. A horizontal line has a slope of 0, and since the derivative gives you the slope of the tangent line at any point, you’re looking for the x-values where f'(x) = 0. Once you find those x-values, plug them back into the original function to get the full coordinates of each point.
Why the Derivative Must Equal Zero
A tangent line touches a curve at a single point and matches the curve’s slope at that exact location. The derivative f'(x) is the formula that gives you that slope for any x-value you choose. A horizontal line, by definition, has a slope of 0, so finding where the tangent is horizontal means solving f'(x) = 0.
This isn’t just a rule to memorize. Think of it geometrically: a horizontal tangent is a line parallel to the x-axis. Any line parallel to the x-axis has the form y = some constant, which means it rises zero units no matter how far it runs. Slope equals rise over run, so the slope is 0.
Step-by-Step Process
Here’s how to find horizontal tangent lines for any function you can differentiate directly.
Step 1: Take the derivative. Use whatever differentiation rules apply (power rule, product rule, chain rule, etc.) to find f'(x).
Step 2: Set the derivative equal to zero. Solve f'(x) = 0 for x. These are the x-coordinates where horizontal tangents occur.
Step 3: Find the y-coordinates. Plug each x-value from Step 2 back into the original function f(x) to get the corresponding y-value. The horizontal tangent line at that point is simply y = that y-value.
A Worked Example
Take the function y = x³ − 3x − 2. First, differentiate using the power rule: the derivative of x³ is 3x², the derivative of −3x is −3, and the derivative of −2 is 0. So y’ = 3x² − 3.
Set that equal to zero: 3x² − 3 = 0. Factor out 3 to get 3(x² − 1) = 0, which gives x² = 1, so x = 1 and x = −1. These are the two x-values where the tangent line is horizontal.
Now plug each back into the original equation. When x = 1: y = (1)³ − 3(1) − 2 = −4. When x = −1: y = (−1)³ − 3(−1) − 2 = 0. The horizontal tangent lines are y = −4 (at the point (1, −4)) and y = 0 (at the point (−1, 0)).
What Horizontal Tangents Tell You About a Graph
Points where f'(x) = 0 are called stationary points, and they often correspond to local maximums or minimums. There’s a theorem behind this: if a function has a local max or min at some point and is differentiable there, the derivative at that point must be zero. Intuitively, the curve has to “flatten out” before it switches from rising to falling (or vice versa), and that momentary flatness is the horizontal tangent.
But not every horizontal tangent marks a peak or valley. Sometimes the curve flattens out and then continues in the same direction. The classic example is y = x³ at x = 0. The derivative is 3x², which equals zero at x = 0, so there’s a horizontal tangent there. But the function doesn’t switch direction. It was increasing before x = 0 and keeps increasing after. This is called an inflection point, where the curve changes from bending one way to bending the other. The function y = x³ − 3x² + 3x − 1 behaves the same way: its derivative 3(x − 1)² equals zero at x = 1, but because the curve doesn’t change from increasing to decreasing, that stationary point is an inflection point rather than a max or min.
To determine which type you have, check the second derivative or examine the sign of f'(x) on either side of the point. If f'(x) changes from positive to negative, it’s a local max. Negative to positive means a local min. If the sign doesn’t change, it’s an inflection point.
Horizontal Tangents for Implicit Curves
When your equation isn’t solved for y (something like x² + y² = 25 or x²y + y³ = 7), you’ll use implicit differentiation to find dy/dx. The result typically comes out as a fraction where both the numerator and denominator contain x and y terms.
For the tangent to be horizontal, dy/dx must equal zero. A fraction equals zero when its numerator is zero and its denominator is not. So you set the numerator of dy/dx equal to zero and solve. But you’re not done: any solution must also satisfy the original equation. You’ll end up solving a small system of equations, the numerator equals zero and the original curve equation, to find the actual points.
Be careful with the denominator. If both the numerator and denominator are zero at the same point, the derivative is undefined there, and you can’t conclude anything about a horizontal tangent without further analysis.
A Physical Interpretation
If you’ve seen position-vs-time graphs in physics, horizontal tangents have a concrete meaning. The slope of a position-time curve gives instantaneous velocity. Where that slope is zero (a horizontal tangent), the object’s velocity is zero: it’s momentarily stopped. On a typical graph of a ball thrown upward, the horizontal tangent occurs at the peak of its trajectory, exactly when it pauses before falling back down. Finding where the tangent is horizontal is equivalent to finding the moment when the object changes direction.

