A tangent line is a straight line that represents the local direction of a curve at a specified point, called the point of tangency. In geometry, it is commonly understood as the limiting position of lines through two nearby points on the curve. For the graph of a function that has a finite derivative, the tangent line has slope equal to that derivative. Tangency is a local property: a tangent may cross the curve at the point of tangency or meet it again elsewhere.
Definition through secant lines
A secant line passes through two distinct points of a curve. Fix a point on the curve and let another point approach along it. If the direction of the secant line approaches a unique limiting direction, the line through with that direction is a tangent line.
This construction uses a limit of line directions rather than a requirement about how many times the line intersects the curve. For a general curve, a line can meet the curve at exactly one point without being tangent, and a tangent can have several intersections with the curve.
For the graph , take
When , the secant slope is
If this expression has a finite limit as , then
and the tangent line is
At an endpoint of a curve, a tangent may instead be defined using a one-sided limit.
Tangents to function graphs
Basic examples
For the parabola , the derivative is . At the point , the tangent is
or
Its slope is positive for , negative for , and zero at the vertex.
For , the tangent at the origin is . The curve lies below this line for negative and above it for positive , so the tangent crosses the curve at its point of tangency. This shows why “touches but does not cross” is not a general definition of a tangent.
Horizontal and vertical tangents
A tangent is horizontal when
A horizontal tangent does not necessarily indicate a local maximum or minimum; at the origin is an example.
A vertical tangent has equation
It cannot be represented by a finite slope. For example, the curve has a vertical tangent at the origin. Away from zero,
which grows without bound as . The curve can also be parametrized as , making its vertical direction at explicit.
Thus, the existence of a geometric tangent does not always imply the existence of a finite derivative when the curve is expressed as .
Corners, cusps, and failure of tangency
A continuous graph need not have a tangent at every point. For , the left-hand secant slopes at the origin tend to , while the right-hand slopes tend to . The two branches have different limiting directions, so there is no single tangent line there.
Cusps require more care. The curve
has two branches meeting at the origin, both with the same limiting tangent line . It therefore has a tangent in the limiting-line sense, although the cusp is not a regular smooth point.
Other curves can oscillate so rapidly near a point that no limiting secant direction exists. Consequently, continuity alone does not ensure tangency.
Tangency as first-order approximation
For a differentiable function, the tangent line provides a first-order local approximation:
The error term means
Thus the approximation error becomes negligible relative to the size of the horizontal displacement.
The function
is often called the linearization of at . Strictly speaking, it is an affine function: it is a linear expression plus a constant.
This interpretation connects tangency with Taylor expansion. If is twice continuously differentiable near , then
The tangent captures the constant and first-order terms, while higher-order terms describe the curve’s departure from the line. A big-O estimate for the tangent-line error is also available when the second derivative is bounded nearby.
Parametric and implicit descriptions
Parametric curves
Let a curve in Euclidean space be given by a differentiable parametrization
If
its tangent line at is
The vector supplies the tangent direction. For a moving particle, it is the instantaneous velocity vector.
In the plane, if , the tangent slope is
If but , the tangent is vertical.
A zero derivative vector makes this formula inconclusive, but does not by itself rule out a tangent. For example, has zero derivative at , yet its image is the horizontal axis.
At a self-intersection, distinct parameter values may describe the same point with different tangent directions. Tangency is then associated with each local branch rather than necessarily with the point alone.
Implicit curves
Suppose a plane curve is defined by
where is continuously differentiable. At a point satisfying and
the tangent line is
Here and are partial derivatives. The gradient is perpendicular to the tangent line.
When , implicit differentiation gives
If both partial derivatives vanish, the first-order equation supplies no tangent direction. Higher-order terms or a parametrization must then be examined. Such a point may have a unique tangent, several branch tangents, or no real curve passing through it except the point itself.
Circles and conic sections
For a circle with center and radius ,
the tangent at a point on the circle is
Equivalently,
This expresses the classical fact that the tangent is perpendicular to the radius drawn to the point of tangency.
For the ellipse
the tangent at is
A line tangent to a nondegenerate conic section has a repeated intersection at the point of contact, understood algebraically with multiplicity. In algebraic geometry, this viewpoint extends tangency beyond ordinary real plane curves, including to complex and projective settings.
Normal lines and tangent spaces
For a regular plane curve, the normal line at a point is the line through that point perpendicular to the tangent. If the tangent has finite nonzero slope , the normal has slope . A horizontal tangent has a vertical normal, and a vertical tangent has a horizontal normal.
The distinction between a tangent line and a tangent space is important. The geometric tangent line passes through the point on the curve. Its associated tangent space consists of tangent vectors based at that point and is a one-dimensional vector space. For an embedded curve, translating this vector space to the point produces the geometric tangent line.
This construction generalizes in differential geometry: a smooth surface has a tangent plane, and a smooth manifold has a tangent space whose dimension equals that of the manifold.
Applications and historical development
Tangent constructions were studied in ancient Greek geometry, particularly for circles and conic sections. Euclid’s Elements includes propositions relating circle tangents to radii, while Archimedes studied a tangent to the spiral bearing his name. In the seventeenth century, methods associated with Pierre de Fermat and the development of calculus connected tangent problems with instantaneous rates of change.
A central numerical application is Newton’s method. Starting from , it uses the zero of the tangent-line approximation to obtain
The method requires a nonzero derivative at each step and can fail to converge when the initial estimate or the function’s local behavior is unsuitable.
Tangents also express necessary conditions in optimization. At an interior local extremum of a differentiable real function, the tangent is horizontal. The converse is false: a horizontal tangent need not mark an extremum.
For a differentiable convex function on an interval, every tangent line lies below the graph:
Here the tangent is not only a local approximation but also a global supporting line on the interval—a property that does not hold for arbitrary differentiable functions.