How to find the asymptotes of a rational function

A rational function f(x)=P(x)Q(x)f(x) = \frac{P(x)}{Q(x)} has asymptotes determined by the roots of its denominator and the relative degrees of its polynomials. This method applies to any function expressed as a ratio of two polynomials with real coefficients.

The setup

Define f(x)=P(x)Q(x)f(x) = \frac{P(x)}{Q(x)} where P(x)P(x) and Q(x)Q(x) are polynomials. Factor both the numerator and the denominator completely. Cancel any common factors to obtain the simplified form of the rational function.

The steps

  1. Vertical Asymptotes: Set the simplified denominator equal to zero and solve for xx. Each root x=cx=c is a vertical asymptote. 2. Horizontal Asymptotes: Compare the degree of P(x)P(x), denoted as nn, and the degree of Q(x)Q(x), denoted as mm. If n<mn < m, the horizontal asymptote is y=0y=0. If n=mn = m, the horizontal asymptote is y=aby = \frac{a}{b}, where aa and bb are the leading coefficients of P(x)P(x) and Q(x)Q(x) respectively. 3. Slant (Oblique) Asymptotes: If n=m+1n = m + 1, perform polynomial long division. The quotient, ignoring the remainder, gives the equation of the slant asymptote y=mx+cy = mx + c. If n>m+1n > m + 1, there are no linear asymptotes.

Checking the result

Evaluate limxo±f(x)\lim_{x o \pm\infty} f(x) to verify your horizontal or slant asymptotes. Check values arbitrarily close to your calculated vertical asymptotes to confirm the function tends to positive or negative infinity.

Common errors

Failing to cancel common factors before finding vertical asymptotes is a standard error. This leads to identifying false vertical asymptotes at locations where the function actually has a removable discontinuity (a hole).

Worked example

Find all asymptotes of f(x)=2x2+5x3x1f(x) = \frac{2x^2 + 5x - 3}{x - 1}.

Factor the numerator: P(x)=2x2+5x3=(2x1)(x+3)P(x) = 2x^2 + 5x - 3 = (2x - 1)(x + 3). The denominator is Q(x)=x1Q(x) = x - 1. There are no common factors to cancel. To find the vertical asymptote, set the denominator to zero: x1=0x - 1 = 0, so the vertical asymptote is x=1x = 1. Next, compare degrees. The degree of P(x)P(x) is n=2n=2 and the degree of Q(x)Q(x) is m=1m=1. Since n=m+1n = m + 1, there is a slant asymptote and no horizontal asymptote. Perform polynomial long division of (2x2+5x3)(2x^2 + 5x - 3) by (x1)(x - 1). First term: 2x2/x=2x2x^2 / x = 2x. Multiply: 2x(x1)=2x22x2x(x - 1) = 2x^2 - 2x. Subtract: (2x2+5x3)(2x22x)=7x3(2x^2 + 5x - 3) - (2x^2 - 2x) = 7x - 3. Second term: 7x/x=77x / x = 7. Multiply: 7(x1)=7x77(x - 1) = 7x - 7. Subtract: (7x3)(7x7)=4(7x - 3) - (7x - 7) = 4. The remainder is 4 and the quotient is 2x+72x + 7. Therefore, the slant asymptote is y=2x+7y = 2x + 7.

FAQ

Run your own problem

References: OpenStax College Algebra, Chapter 5: Polynomial and Rational Functions · Stewart Calculus, Chapter 2: Limits and Derivatives

See also