An asymptote is a straight line whose distance from a curve tends to zero as a point moves along an unbounded branch of the curve. For the graph of a function, asymptotes describe behavior either as the independent variable tends to positive or negative infinity, or as the function becomes infinite near a finite input. They are commonly classified as horizontal, vertical, or oblique. An asymptote need not remain separate from the curve: the two may intersect, even infinitely many times.
Geometric definition
Let a branch of a plane curve be represented parametrically by , and let be a fixed line. In the usual geometric definition, is an asymptote of that branch if
as the parameter approaches the endpoint describing the branch. Here denotes perpendicular Euclidean distance, and is the distance from the origin.
The first condition is important: merely approaching a line at a finite point does not make that line an asymptote. The second condition distinguishes an asymptote from a line that is merely close to, or roughly parallel to, the curve.
For a line with equation
the distance condition is
This definition does not depend on a particular choice of Cartesian coordinates. The labels horizontal, vertical, and oblique do depend on the axes: a rotation can turn a horizontal asymptote into an oblique one.
Horizontal asymptotes
The line is a horizontal asymptote of a function as if
The definition as is analogous. These two limits are considered separately, and the resulting asymptotes may differ.
For example,
has the horizontal asymptote in both directions. By contrast,
has asymptotes as and as .
A horizontal asymptote does not imply that the function eventually becomes constant or approaches its limit monotonically. For instance,
approaches zero as , but oscillates around its asymptote and crosses it at every positive integer multiple of .
Vertical asymptotes
In elementary calculus, the line is called a vertical asymptote when at least one of the one-sided limits satisfies
or
Only one side is required. For example, the natural logarithm has the vertical asymptote , since
The signs on opposite sides may differ. For , the function tends to from the left of zero and from the right. For , both one-sided limits are .
The value assigned to , if any, does not affect these limits. A function can therefore have a vertical asymptote at even if it is separately defined at .
Unboundedness is not enough
Being unbounded near is weaker than having an infinite one-sided limit. For example,
takes arbitrarily large positive and negative values near zero but also has zeros arbitrarily close to zero. It does not have an infinite limit there and hence does not meet the usual elementary criterion for a vertical asymptote.
Geometric treatments sometimes allow a broader criterion, such as , without requiring a fixed sign. For functions continuous on a one-sided interval, this magnitude condition forces an eventual fixed sign and therefore agrees with the standard infinite-limit definition.
Oblique asymptotes
A line
is an oblique or slant asymptote as if
The same definition applies separately as . Although this expression measures vertical separation, it is equivalent to perpendicular distance tending to zero, because the perpendicular distance is
If a nonvertical asymptote exists, its coefficients can be recovered from
provided both limits are finite. Taking includes horizontal asymptotes in the same framework.
For example,
has the oblique asymptote in both directions.
A limiting slope alone is insufficient. The function , defined for , satisfies , but , so it has no oblique asymptote. Even the condition , involving the derivative, does not remedy this failure.
For a specified direction, a function can have at most one nonvertical straight-line asymptote. If two lines both had vanishing difference from the function, their difference would tend to zero, forcing their slopes and intercepts to be identical.
Asymptotes of rational functions
A rational function has the form
where and are polynomials and is not identically zero. Its asymptotes can usually be found by factoring and polynomial division.
Finite singularities
After common polynomial factors have been cancelled, each real zero of the remaining denominator gives a vertical asymptote.
A denominator zero before cancellation need not do so. For example,
has a removable gap at , not a vertical asymptote: its limit there is .
Behavior at infinity
For nonzero , write and .
- If , the horizontal asymptote is .
- If , the horizontal asymptote is the ratio of the leading coefficients.
- If , polynomial division gives an oblique asymptote.
- If , polynomial division gives a higher-degree polynomial approximation rather than a straight-line asymptote.
More generally, division yields
so the difference between the function and the polynomial tends to zero as .
For example,
approaches the parabola . Some authors call this a polynomial or curvilinear asymptote; under the conventional straight-line definition, it is not an asymptote.
Conic sections
Asymptotes are particularly important in the geometry of conic sections. The hyperbola
has the two asymptotes
Their directions can be obtained by setting the highest-degree part of the defining equation equal to zero:
For general algebraic curves, however, the highest-degree terms identify candidate directions; lower-degree terms may still be needed to determine the position and existence of actual asymptotic lines.
An ellipse has no unbounded branches and hence no asymptotes in this sense. A parabola is unbounded but has no straight-line asymptote. Unboundedness alone therefore does not guarantee an asymptote.
Asymptotes and asymptotic approximation
A straight-line asymptote provides an approximation with an error that tends to zero:
Here , from the family of asymptotic notations, denotes a quantity tending to zero. An asymptotic expansion may supply additional terms describing how quickly the curve approaches the line.
This absolute-error condition is stronger than a relative approximation. The relation
does not in general imply . For example, is asymptotically equivalent to as , but is not its asymptote.
Asymptotes help describe graphs, identify finite-input singularities, and separate dominant behavior from vanishing corrections. In numerical analysis and plotting, their determination requires more than visual inspection: a finite viewing window may make slow divergence appear to be convergence, conceal repeated crossings, or connect points across a vertical singularity.