Tangent line meaning
Zoom in far enough on a smooth curve and it starts to look straight. The tangent line is that straight line: it passes through a chosen point on the curve and has exactly the same steepness as the curve at that point. On a circle, the tangent touches at one point and is perpendicular to the radius drawn there. For general curves, the tangent is defined through slope.
The word comes from the Latin tangere, "to touch". It is related to, but not the same as, the tangent function in trigonometry, although both come from the same geometric picture.
Tangent line vs secant line
A secant line cuts through two points on a curve. Its slope is an average rate of change. Slide the second point toward the first, and the secant swings round until, in the limit, it becomes the tangent. The slope of the tangent is the instantaneous rate of change, which is the derivative.
| Secant line | Tangent line | |
|---|---|---|
| Points on the curve used | Two | One |
| Slope means | Average rate of change | Instantaneous rate of change |
| Slope formula | (f(b) − f(a)) ÷ (b − a) | f′(a) |
How to find the equation of a tangent line
- Pick the x-value, a, and compute the point (a, f(a)).
- Differentiate to get f′(x), then compute the slope m = f′(a).
- Write the line in point-slope form: y − f(a) = m(x − a).
- Simplify to y = mx + b if needed.
Example 1. Tangent to f(x) = x² at x = 3.
- Point: (3, 9)
- f′(x) = 2x, so m = 6
- y − 9 = 6(x − 3) → y = 6x − 9
Example 2. Tangent to f(x) = x³ − 2x at x = 1.
- Point: f(1) = 1 − 2 = −1, so (1, −1)
- f′(x) = 3x² − 2, so m = 1
- y + 1 = 1(x − 1) → y = x − 2
Example 3. Where is the tangent to y = x² − 4x + 1 horizontal? A horizontal tangent has slope 0. Set f′(x) = 2x − 4 = 0, so x = 2. The point is (2, −3), the bottom of the parabola, and the tangent there is y = −3.
Horizontal and vertical tangents
- Horizontal tangent: slope 0, found where f′(x) = 0. These mark peaks, valleys and some flat inflection points, such as x = 0 on y = x³.
- Vertical tangent: the slope is undefined because the curve goes straight up for an instant. The cube-root curve y = ∛x has a vertical tangent at x = 0.
- No tangent: at a sharp corner, like the point of y = |x| at 0, there is no single direction, so there is no tangent line.
The normal line
The normal is perpendicular to the tangent at the same point. Its slope is −1 ÷ m. For y = x² at (3, 9), the tangent slope is 6, so the normal has slope −1/6 and equation y − 9 = −(1/6)(x − 3). Normal lines matter in optics, where light reflecting off a curved mirror obeys angles measured from the normal.
Using a tangent line to estimate
Because the tangent hugs the curve near the point, it gives good approximations close by. This is called linear approximation. For f(x) = √x at x = 4, the tangent is y = 2 + (x − 4)/4. To estimate √4.1, plug in 4.1: 2 + 0.1/4 = 2.025. The true value is 2.02485..., so the estimate is off by less than 0.0002. Calculators, physics engines and engineers rely on this kind of shortcut all the time.
Tangent lines in the real world
- Speed at an instant: on a distance–time graph, the tangent's slope at a moment is the speed at that moment.
- Marginal cost: the tangent to a total-cost curve gives the cost of one more unit.
- Road and rail design: curves are joined to straight sections along tangents so vehicles do not feel a sudden jolt.
- Optimisation: setting the tangent's slope to zero finds the best price, the shortest path or the largest area.
Tangent line to a circle
In geometry, a tangent to a circle touches it at exactly one point, the point of tangency, and it is always perpendicular to the radius at that point. That fact gives the equation without calculus. For the circle x² + y² = 25 at the point (3, 4), the radius from the origin has slope 4/3, so the tangent has the negative reciprocal slope, −3/4. Its equation is y − 4 = −¾(x − 3), or 3x + 4y = 25. From any point outside a circle you can draw exactly two tangents, and they have equal lengths.
Common mistakes
- Using f(a) as the slope. The slope is f′(a), not the function value.
- Writing the derivative function as the tangent. f′(x) = 2x is not a tangent line; y = 6x − 9 is.
- Forgetting the point. A slope alone gives a family of parallel lines.
- Thinking tangents never cross the curve. They can, away from the point of contact.
The derivative calculator gives f′(x) with steps, and the slope calculator builds the line equation once you have a point and a slope. See what is a derivative for the full story behind tangent slopes.