Skip to content

Math glossary

Tangent line

A tangent line touches a curve at one point and has the same slope as the curve there. Its slope is the derivative at that point. The tangent line to y = x² at x = 3 is y = 6x − 9.

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 lineTangent line
Points on the curve usedTwoOne
Slope meansAverage rate of changeInstantaneous rate of change
Slope formula(f(b) − f(a)) ÷ (b − a)f′(a)

How to find the equation of a tangent line

  1. Pick the x-value, a, and compute the point (a, f(a)).
  2. Differentiate to get f′(x), then compute the slope m = f′(a).
  3. Write the line in point-slope form: y − f(a) = m(x − a).
  4. 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.

FAQ

Frequently asked questions

01What is a tangent line?

A straight line that touches a curve at a point and points in the same direction as the curve there. Its slope equals the derivative of the function at that point.

02How do you find the equation of a tangent line?

Find the point (a, f(a)), find the slope f′(a), then use point-slope form: y − f(a) = f′(a)(x − a).

03Can a tangent line cross the curve?

Yes. "Touches at one point" is only true near that point. The tangent to y = x³ at x = 1 crosses the curve again at x = −2, and at an inflection point the tangent crosses the curve right where it touches.

04What is the difference between a tangent and a secant line?

A secant line passes through two points of a curve. A tangent line is the limit of secant lines as the two points move together into one.

05What is a normal line?

The line perpendicular to the tangent at the same point. Its slope is the negative reciprocal of the tangent's slope.

06What is the point of tangency?

It is the point where the tangent line touches the curve or circle. For a circle, the radius drawn to the point of tangency is perpendicular to the tangent line.

Related terms

Last updated November 9, 2026. See all math terms.