Skip to content

Rational Function

Definition

A rational function is the quotient of two polynomials when the denominator is not always equal to zero.


Interpretation

A rational function divides one polynomial by another, f(x)=P(x)/Q(x)f(x)=P(x)/Q(x). It behaves like a polynomial wherever the denominator is nonzero; its special features come from the zeros of QQ and from comparing the degrees of PP and QQ.

The natural domain is the set of xx with Q(x)≠0Q(x)\neq0. Because QQ is not the zero polynomial, it has at most deg⁡Q\deg Q zeros, so only finitely many points are left out. Near a zero cc of QQ there are two cases. If P(c)≠0P(c)\neq0, the values ∣f(x)∣|f(x)| become arbitrarily large as xx approaches cc, as for 1/x1/x near 00. If P(c)=0P(c)=0 as well, the factor x−cx-c can be cancelled from numerator and denominator, and after cancelling the function may behave perfectly well near cc: x2−1x−1=x+1\frac{x^2-1}{x-1}=x+1 for every x≠1x\neq1.

For large ∣x∣|x| only the leading terms matter. If deg⁡P<deg⁡Q\deg P<\deg Q, the values get close to 00; if the degrees are equal, they get close to the ratio of the leading coefficients; if deg⁡P>deg⁡Q\deg P>\deg Q, they grow without bound. In the third Example, deg⁡P=3>deg⁡Q=2\deg P=3>\deg Q=2, and division gives

f(x)=x−13+11x−143(3x2+1),f(x)=\frac{x-1}{3}+\frac{11x-14}{3(3x^2+1)},

where the last term is small for large ∣x∣|x|, so the graph runs close to the line y=(x−1)/3y=(x-1)/3.

A common slip is to simplify first and read off the domain afterwards. The functions x2−1x−1\frac{x^2-1}{x-1} and x+1x+1 agree everywhere except at x=1x=1, where only the second is defined. Later these patterns are made precise with limits, as vertical and horizontal asymptotes.


Key Results

  • Rational functions are undefined where the denominator vanishes.
  • The behaviour as x→±∞,x\to\pm\infty\text{,} including any horizontal asymptote, is determined by the degrees and leading coefficients of the two polynomials.
  • A rational function is continuous at every point of its domain; the zeros of the denominator are excluded from the domain, not points of discontinuity.

Examples

  • f(x)=1xf(x)=\dfrac{1}{x} is a rational function.
  • f(x)=x2−1x−1f(x)=\dfrac{x^2-1}{x-1} is undefined at x=1.x=1\text{.}
  • f(x)=x3−x2+4x−53x2+1f(x)=\dfrac{x^3-x^2+4x-5}{3x^2+1} is defined everywhere.

The graph of a rational function with a denominator 3x squared plus 1 that never vanishes, an unbroken curve over the whole real line.

The denominator 3x2+13x^2+1 never vanishes, so the graph is one unbroken curve over all of R\mathbb{R}.


Prerequisites

Sources

Symbols: infinity, real numbers

Last updated: 20 October 2026 03:02