Horizontal Asymptotes and Intercepts

Learning Outcomes

  • Use the degree of the numerator and denominator of a rational function to determine what kind of horizontal (or slant) asymptote it will have.
  • Calculate slant asymptotes.
  • Determine the intercepts of a rational function in factored form.

While vertical asymptotes describe the behavior of a graph as the output gets very large or very small, horizontal asymptotes help describe the behavior of a graph as the input gets very large or very small. Recall that a polynomial’s end behavior will mirror that of the leading term. Likewise, a rational function’s end behavior will mirror that of the ratio of the leading terms of the numerator and denominator functions.

Recall end behavior of a graph

We have learned that knowing the leading coefficient and degree of a polynomial function is useful when predicting its end behavior.

If the leading term is positive or negative, and has even or odd degree, it will tell us the toolkit function’s graph behavior it will mimic: [latex]f(x)=x^2, \quad f(x)=-x^2,\quad f(x)=x^3,\quad[/latex] or [latex]\quad f(x)=-x^3[/latex].

The same idea applies to the ratio of leading terms of a rational function. See below for the three cases to check when determining horizontal (or slant) asymptotes of a rational function.

There are three distinct outcomes when checking for horizontal asymptotes:

Case 1: If the degree of the denominator > degree of the numerator, there is a horizontal asymptote at [latex]y=0[/latex].

Example: [latex]f\left(x\right)=\dfrac{4x+2}{{x}^{2}+4x - 5}[/latex]

In this case the end behavior is [latex]f\left(x\right)\approx \frac{4x}{{x}^{2}}=\frac{4}{x}[/latex]. This tells us that, as the inputs increase or decrease without bound, this function will behave similarly to the function [latex]g\left(x\right)=\frac{4}{x}[/latex], and the outputs will approach zero, resulting in a horizontal asymptote at [latex]y=0[/latex]. Note that this graph crosses the horizontal asymptote.

Graph of f(x)=(4x+2)/(x^2+4x-5) with its vertical asymptotes at x=-5 and x=1 and its horizontal asymptote at y=0.

Horizontal Asymptote [latex]y=0[/latex] when [latex]f\left(x\right)=\dfrac{p\left(x\right)}{q\left(x\right)},q\left(x\right)\ne{0}\text{ where degree of }p<\text{degree of q}[/latex].

Case 2: If the degree of the denominator < degree of the numerator by one, we get a slant asymptote.

Example: [latex]f\left(x\right)=\dfrac{3{x}^{2}-2x+1}{x - 1}[/latex]

In this case the end behavior is [latex]f\left(x\right)\approx \frac{3{x}^{2}}{x}=3x[/latex]. This tells us that as the inputs increase or decrease without bound, this function will behave similarly to the function [latex]g\left(x\right)=3x[/latex]. As the inputs grow large, the outputs will grow and not level off, so this graph has no horizontal asymptote. However, the graph of [latex]g\left(x\right)=3x[/latex] looks like a diagonal line, and since [latex]f[/latex] will behave similarly to [latex]g[/latex], it will approach a line close to [latex]y=3x[/latex]. This line is a slant asymptote (NOTE: the graph of the function itself is just a “sketch” within the parameters of the asymptotes).

Graph of f(x)=(3x^2-2x+1)/(x-1) with its vertical asymptote at x=1 and a slant asymptote aty=3x+1.

Slant Asymptote when [latex]f\left(x\right)=\dfrac{p\left(x\right)}{q\left(x\right)},q\left(x\right)\ne 0[/latex] where degree of [latex]p>\text{ degree of }q\text{ by }1[/latex].

To find the equation of the slant asymptote, divide [latex]\dfrac{3{x}^{2}-2x+1}{x - 1}[/latex]. The quotient is [latex]3x+1[/latex], and the remainder is 2. The slant asymptote is the graph of the line [latex]g\left(x\right)=3x+1[/latex].

Case 3: If the degree of the denominator = degree of the numerator, there is a horizontal asymptote at [latex]y=\frac{{a}_{n}}{{b}_{n}}[/latex], where [latex]{a}_{n}[/latex] and [latex]{b}_{n}[/latex] are the leading coefficients of [latex]p\left(x\right)[/latex] and [latex]q\left(x\right)[/latex] for [latex]f\left(x\right)=\frac{p\left(x\right)}{q\left(x\right)},q\left(x\right)\ne 0[/latex].

Example: [latex]f\left(x\right)=\dfrac{3{x}^{2}+2}{{x}^{2}+4x - 5}[/latex]

In this case the end behavior is [latex]f\left(x\right)\approx \frac{3{x}^{2}}{{x}^{2}}=3[/latex]. This tells us that as the inputs grow large, this function will behave like the function [latex]g\left(x\right)=3[/latex], which is a horizontal line. As [latex]x\to \pm \infty ,f\left(x\right)\to 3[/latex], resulting in a horizontal asymptote at [latex]y=3[/latex]. Note that this graph crosses the horizontal asymptote.

Graph of f(x)=(3x^2+2)/(x^2+4x-5) with its vertical asymptotes at x=-5 and x=1 and its horizontal asymptote at y=3.

Horizontal Asymptote when [latex]f\left(x\right)=\frac{p\left(x\right)}{q\left(x\right)},q\left(x\right)\ne 0\text{ where degree of }p=\text{degree of }q[/latex].

Notice that, while the graph of a rational function will never cross a vertical asymptote, the graph may or may not cross a horizontal or slant asymptote. Also, although the graph of a rational function may have many vertical asymptotes, the graph will have at most one horizontal (or slant) asymptote.

It should be noted that, if the degree of the numerator is larger than the degree of the denominator by more than one, the end behavior of the graph will mimic the behavior of the reduced end behavior fraction. For instance, if we had the function

[latex]f\left(x\right)=\dfrac{3{x}^{5}-{x}^{2}}{x+3}[/latex]

with end behavior

[latex]f\left(x\right)\approx \dfrac{3{x}^{5}}{x}=3{x}^{4}[/latex],

the end behavior of the graph would look similar to that of an even polynomial with a positive leading coefficient.

As [latex]x\to \pm \infty , f\left(x\right)\to \infty [/latex]

Try it

You’ll need to graph the rational function [latex]f\left(x\right)\ =\ \dfrac{\left(4x^a+2\right)}{\left(x^b+2x-3\right)}[/latex] using an online graphing calculator. Adjust the [latex]a[/latex] and the [latex]b[/latex] values to obtain graphs with the following horizontal asymptotes:

  1. Find values of [latex]a[/latex] and [latex]b[/latex] that will give a graph with a slant asymptote.
  2. Find values of [latex]a[/latex] and [latex]b[/latex] that will give a graph with a horizontal asymptote at [latex]y = 0[/latex]
  3. Find values of [latex]a[/latex] and [latex]b[/latex] that will give a graph with a horizontal asymptote that is the ratio of the leading coefficients of [latex]f(x)[/latex].

A General Note: Horizontal Asymptotes of Rational Functions

The horizontal asymptote of a rational function can be determined by looking at the degrees of the numerator and denominator.

  • Case 1: Degree of numerator is less than degree of denominator: horizontal asymptote at [latex]y=0[/latex]
  • Case 2: Degree of numerator is greater than degree of denominator by one: no horizontal asymptote; slant asymptote.
    • If the degree of the numerator is greater than the degree of the denominator by more than one, the end behavior of the function’s graph will mimic that of the graph of the reduced ratio of leading terms.
  • Case 3: Degree of numerator is equal to degree of denominator: horizontal asymptote at ratio of leading coefficients.

Example: Identifying Horizontal and Slant Asymptotes

For the functions below, identify the horizontal or slant asymptote.

  1. [latex]g\left(x\right)=\dfrac{6{x}^{3}-10x}{2{x}^{3}+5{x}^{2}}[/latex]
  2. [latex]h\left(x\right)=\dfrac{{x}^{2}-4x+1}{x+2}[/latex]
  3. [latex]k\left(x\right)=\dfrac{{x}^{2}+4x}{{x}^{3}-8}[/latex]

Watch this video to see more worked examples of determining which kind of horizontal asymptote a rational function will have.

Example: Identifying Horizontal Asymptotes

In the sugar concentration problem earlier, we created the equation [latex]C\left(t\right)=\dfrac{5+t}{100+10t}[/latex].

Find the horizontal asymptote and interpret it in context of the problem.

Example: Identifying Horizontal and Vertical Asymptotes

Find the horizontal and vertical asymptotes of the function

[latex]f\left(x\right)=\dfrac{\left(x - 2\right)\left(x+3\right)}{\left(x - 1\right)\left(x+2\right)\left(x - 5\right)}[/latex]

Try It

Find the vertical and horizontal asymptotes of the function:

[latex]f\left(x\right)=\dfrac{\left(2x - 1\right)\left(2x+1\right)}{\left(x - 2\right)\left(x+3\right)}[/latex]

https://ohm.lumenlearning.com/multiembedq.php?id=129072&theme=oea&iframe_resize_id=mom50

Finding Intercepts of Rational Functions

finding intercepts of a graph

Recall that we may always find any horizontal intercepts of the graph of a function by setting the output equal to zero. And we may always find any vertical intercept by setting the input equal to zero.

In a rational function of the form [latex]r(x)=\dfrac{P(x)}{Q(x)}[/latex],

  • Find the vertical intercept (the y-intercept) by evaluating [latex]r(0)[/latex]. That is, replace all the input variables with [latex]0[/latex] and calculate the result.
  • Find the horizontal intercept(s) (the x-intercepts) by solving [latex]r(x)=0[/latex]. Since the function is undefined where the denominator equals zero], set the numerator equal to zero to find the horizontal intercepts of the function.
  • Note that the graph of a rational function may not possess a vertical- or horizontal-intercept.

A General Note: Intercepts of Rational Functions

A rational function will have a y-intercept when the input is zero, if the function is defined at zero. A rational function will not have a [latex]y[/latex]-intercept if the function is not defined at zero.

Likewise, a rational function will have [latex]x[/latex]-intercepts at the inputs that cause the output to be zero. Since a fraction is only equal to zero when the numerator is zero, [latex]x[/latex]-intercepts can only occur when the numerator of the rational function is equal to zero.

Example: Finding the Intercepts of a Rational Function

Find the intercepts of [latex]f\left(x\right)=\dfrac{\left(x - 2\right)\left(x+3\right)}{\left(x - 1\right)\left(x+2\right)\left(x - 5\right)}[/latex].

Try It

Given the reciprocal squared function that is shifted right 3 units and down 4 units, write this as a rational function. Then, find the [latex]x[/latex]– and [latex]y[/latex]-intercepts and the horizontal and vertical asymptotes.

Watch the following video to see more worked examples of finding asymptotes, intercepts and holes of rational functions.