Depending on whether your calculus class covers this topic or not, you may wish to pass by this mini-section. If you find asymptotes interesting, though...keep on reading!
So far, we have looked at the behavior of two types of functions as x approaches positive or negative infinity: those with horizontal asymptotes, and those that oscillate indefinitely. The third type we are going to cover is slant asymptotes. Also known as oblique asymptotes, slant asymptotes are invisible, diagonal lines suggested by a function's curve that approach a certain slope as x approaches positive or negative infinity. The following graph is one such function:
It looks like f(x) starts to approach a certain slope rather than a certain y-value to both sides of the vertical asymptote. As in the last section, this function gives the suggestion of an invisible line separating the top and bottom portions of the graph. In this case, the invisible line is a slant asymptote. The question here is not of which value the function approaches, but of which slope it approaches as x becomes increasingly large or small. To answer this question, let's do a little numerical analysis. Evaluate the following code.
Based on the code's output, we can see that in the area of x=100, the function's slope is approximately equal to 1. Using SageMath's 'limit' function, we can confirm this result:
As expected, the limit of the function's slope as x approaches infinity is 1. A hunch would tell you that the function's slope as x approaches negative infinity is most likely 1 as well, and changing the x=oo to x=-oo verifies that result.
Now that you've done things the hard way, though, I'll tell you a shortcut to find the slope of slant asymptotes for rational functions. For a generalized rational function like this one:
If n is the highest power of the denominator, n+1 is the highest power of the numerator, and a and b are constants, the function will have a slant asymptote with a slope equal to a/b. You will find that slant asymptotes only pop up when the numerator of a function is of one higher power than the denominator of a rational function. Where numerical analysis can still come into play, though, in a case where you can't simplify a function to fit this general form.
Determine the slope, if possible, of each function as it approaches positive and negative infinity.