A tangent line is horizontal wherever a curve stops rising or falling for an instant, and in calculus that means its slope there is zero. Finding those spots comes down to setting the derivative equal to zero and solving. A flat tangent doesn’t automatically mark a peak or a valley, though, so solving the equation is only the first step. The same idea answers practical questions, like when a thrown ball stops climbing or when a business earns the most.
Why a Zero Derivative Means a Flat Tangent
A tangent line touches the curve at a point and tilts at the same rate the curve is changing right there.1Pearson. Calculus Study Guide: Tangent Lines, Derivatives & Graphs The slope of that tangent line is called the derivative of the function at that point.1Pearson. Calculus Study Guide: Tangent Lines, Derivatives & Graphs Modern calculus defines the tangent through the derivative, which is built on the idea of a limit: zoom in far enough on a smooth curve and it looks almost like a straight line, and that line is the tangent.2Journal of Research in Science, Mathematics and Technology Education. A Comparative Analysis of Classical and Contemporary Approaches to the Calculus of Tangents: A Conceptual Perspective
A horizontal line neither rises nor falls, so its slope is zero. That gives the rule: if f'(c) = 0, the graph of f has a horizontal tangent at x = c.3mathstat.dal.ca. When Is the Tangent Line Horizontal? Calculus Explained The tangent line there is simply y = f(c), a flat line at the height of the curve.
A common mix-up: f'(c) = 0 means the curve is flat there, not that it touches the x-axis. Where f(c) = 0, the curve crosses the x-axis, which is a different question. Students often lose points by setting f(x) to zero instead of f'(x). Always differentiate first, then set the result to zero.
How to Find Horizontal Tangents Step by Step
- Differentiate: find the derivative f'(x) using your usual rules.
- Solve: set f'(x) = 0 and solve for every x that works.
- Plug back in: put each x into the original f(x) to get the y-coordinate.
- Write the lines: each tangent is the line y = that y-value.
Take f(x) = x³ − 3x. Its derivative is 3x² − 3. Setting 3x² − 3 = 0 gives x = 1 and x = −1. Then f(1) = −2 and f(−1) = 2, so the horizontal tangents are y = −2 and y = 2.
Many derivatives are quadratics or higher-degree polynomials, so you often have to factor before solving. For f(x) = x³ − 3x², the derivative is 3x² − 6x, which factors as 3x(x − 2), giving x = 0 and x = 2. Dividing both sides by x instead of factoring it out loses the x = 0 solution, a very common slip. Factor out common terms, then set each factor equal to zero separately.
Sometimes there is nothing to find. If f'(x) = 0 has no real solution, the graph has no horizontal tangent. A slanted straight line like y = 2x + 1 never flattens. A constant function is the opposite case, with a horizontal tangent everywhere.
Peak, Valley, or Neither
Every smooth peak or valley has a flat tangent. If a function has a local maximum or minimum at a point and is smooth there, its derivative at that point must be zero.4Wikipedia. Interior extremum theorem Points where the derivative is zero are called stationary points, a type of critical point where the function is neither increasing nor decreasing.5Technology UK. When Is the Tangent Line Horizontal? Calculus Explained
The reverse doesn’t hold. A horizontal point of inflection also has a flat tangent and zero slope, yet the curve keeps going the same way.6Statistics How To. Inflection Point / Turning Point: Definition & Examples – Statistics How To
The second derivative test handles most cases. If f'(c) = 0 and f”(c) > 0, the curve is concave up (cup-shaped) there and has a local minimum.7Varsity Tutors. Using the Second Derivative Test to Determine Extrema If f'(c) = 0 and f”(c) < 0, the curve is concave down (cap-shaped) there and has a local maximum.8mathbooks.unl.edu. When Is the Tangent Line Horizontal? Calculus Explained If f”(c) = 0, the test tells you nothing; the point could be a maximum, minimum, or neither.9activecalculus.org. When Is the Tangent Line Horizontal? Calculus Explained In that case go back to the first derivative test, checking the slope’s sign on each side.7Varsity Tutors. Using the Second Derivative Test to Determine Extrema
By hand, pick an x just left and just right of the flat spot and check the sign of the derivative at each. Plus then minus means a peak. Minus then plus means a valley. The same sign on both sides means an inflection point, a flat spot where the curve keeps going the same way, not a turn.
The curve y = x⁴ trips people up. Its second derivative at 0 is zero, so the second derivative test is silent, yet the curve clearly has a minimum at 0. A zero second derivative doesn’t mean inflection, and a quick sign check settles it.
Local and absolute extremes are different things. A local maximum is the highest point in its immediate neighborhood, not necessarily the highest on the whole graph, and a local minimum may still sit above other parts of the curve. On a closed interval, the absolute maximum or minimum can also occur at an endpoint, where the derivative need not be zero. So when asked for the highest or lowest value on an interval, compare the flat spots with the endpoint values.
Where a Horizontal Tangent Is Guaranteed
Rolle’s theorem says that if f is unbroken on [a, b], smooth in between, and f(a) = f(b), there is at least one c between a and b with f'(c) = 0.10Purdue University. When Is the Tangent Line Horizontal? Calculus Explained The reason is that the line joining the two equal endpoints is horizontal, so some tangent must run parallel to it.11Krista King Math. Understanding Rolle’s Theorem It is a special case of the Mean Value Theorem.12OpenStax. 4.4 The Mean Value Theorem – Calculus Volume 1 The theorem tells you a flat spot exists, not where it is, so you still solve f'(x) = 0 to find it.
Try f(x) = x² − 4x on [0, 4]. It is smooth everywhere, and f(0) = 0 and f(4) = 0, so both endpoints have the same height. Rolle’s theorem promises a c between 0 and 4 with f'(c) = 0. The derivative 2x − 4 equals zero at x = 2, which is inside the interval, so the promise holds. The flat spot is the bottom of the parabola, halfway between the endpoints.
Several things can break the guarantee. A gap or jump in the graph can skip the flat spot. A sharp corner, like the top of |x|, has no tangent at all. Unequal endpoint heights remove the promise. Exam questions often ask you to check each condition before applying the theorem.
Horizontal Tangents on Implicit Curves
For equations that mix x and y, differentiating both sides with respect to x (implicit differentiation) gives dy/dx as a fraction. The tangent is horizontal exactly when the numerator is zero and the denominator is not.13Active Calculus. Implicit Differentiation Use the numerator’s relation in the original equation to find the actual points, then confirm the denominator isn’t zero there.14thomasrcameron.com. Worksheet 3: Implicit Differentiation
For the circle x² + y² = 25, dy/dx = −x/y. The numerator is zero when x = 0, giving the points (0, 5) and (0, −5), the top and bottom of the circle. That matches the picture: flat tangents sit at the very top and bottom.
A less familiar curve works the same way. For x² + xy + y² = 3, differentiating both sides gives 2x + y + x·dy/dx + 2y·dy/dx = 0. Collecting the dy/dx terms gives dy/dx = −(2x + y)/(x + 2y). The tangent is horizontal where the numerator is zero, so y = −2x. Substituting that into the original equation gives 3x² = 3, so x = 1 or x = −1, and the points are (1, −2) and (−1, 2).
The denominator check matters because if both top and bottom are zero, the slope is undefined, not zero. Such points need separate analysis, and skipping the check is a common way to lose points.
Horizontal Tangents on Parametric Curves
A parametric curve is a curve traced by x and y both depending on t. Its slope is dy/dx = (dy/dt)/(dx/dt). So horizontal tangents occur where dy/dt = 0 and dx/dt ≠ 0.15Lamar University Mathematics Department. Tangents with Parametric Equations Solve for t, check dx/dt there, and plug t into x(t) and y(t) to get the point.16APEX Calculus. Parametric Equations
The ratio comes from the chain rule: dy/dt = (dy/dx)(dx/dt), so dividing by dx/dt isolates the slope. That only works when dx/dt is not zero, which is why the condition appears in the rule.
For x = t² and y = t³ − 3t, dy/dt = 3t² − 3 is zero at t = 1 and t = −1. The sideways rate dx/dt = 2t is nonzero at both. The points are (1, −2) and (1, 2). Different t-values can land on the same point, so check for repeats.
Corners, Cusps, and Curves With No Tangent
A function can be unbroken at a point but have no derivative there if the graph has a sharp corner or cusp.17mathbooks.unl.edu. When Is the Tangent Line Horizontal? Calculus Explained The bottom of y = |x| is a minimum with no horizontal tangent. So when hunting for highs and lows, also check points where the derivative doesn’t exist.
At a smooth peak, the slope approaches zero from both sides, so the tangent is flat. At a corner like the top of y = −|x|, the slope is +1 on one side and −1 on the other, and the two sides never agree. Because the left and right slopes disagree, the derivative does not exist there. The point can still be a maximum; it just has no tangent line to be horizontal.
On homework, absolute values often create corners, and fractional powers like x^(2/3) create cusps. Look for places where the derivative is undefined, such as where its denominator hits zero, and list those alongside your f'(x) = 0 solutions.
Horizontal Tangents in the Real World
A thrown object reaches its maximum height when its vertical velocity is zero.18Boundless. When Is the Tangent Line Horizontal? Calculus Explained On a height-versus-time graph, that top point has a horizontal tangent. Setting vertical velocity to zero lets you solve for the time to reach the top.19Physics Fundamentals. Projectile Motion — The Complete Guide With Worked Examples
Suppose a ball’s height is h(t) = −5t² + 20t meters, with t in seconds. The velocity is h'(t) = −10t + 20, and setting it to zero gives t = 2 seconds. Plugging back in gives h(2) = 20 meters, the maximum height.
A company’s profit is at a maximum where the extra revenue from one more unit equals the extra cost of making it.20Investopedia. When Is the Tangent Line Horizontal? Calculus Explained That means the profit curve’s slope is zero at that output level, though as with any flat spot, it should be checked to confirm it is a peak. Machine learning uses gradient descent, stepping downhill until it reaches a low point of the error curve, where the slope is flat.21Wikipedia. Gradient descent

