Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download
Views: 4936

Slant (Oblique) Asymptotes

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! You'll want to start a new worksheet called 05-Slant Asymptotes before you proceed with the rest of this section.

So far, we have looked at the behavior of two types of functions as xx 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 xx approaches positive or negative infinity. The following graph is one such function:

f(x)=x23x4x2f(x)=\dfrac{x^2-3x-4}{x-2}

# Plot the given function from -10<x<10 plot((x^2-3*x-4)/(x-2), x, -10, 10, randomize=False, plot_points=1001,detect_poles=True,ymin=-20, ymax=20) + text('f(x) = (x^2-3x-4)/(x-2)',(5,10))

It looks like f(x)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 xx becomes increasingly large or small. To answer this question, let's do a little numerical analysis. Copy, paste, then evaluate the following code.

def f(x): # Define the function f(x) as the rational expression (x^2-3*x-4)/(x-2) return (x^2-3*x-4)/(x-2) for i in [4..14]: # # Loop from i = 4 to i = 14, printing out the slope between f(i) and f(i-1) for each value of i. 'float' is so that SageMath displays the slope as a decimal and not as a fraction. print f(float(i))-f(float(i-1))
4.0 2.0 1.5 1.3 1.2 1.14285714286 1.10714285714 1.08333333333 1.06666666667 1.05454545455 1.04545454545

Based on the code's output, we can see that in the area of x=14x=14, the function's slope is approximately equal to 11. Using SageMath's 'limit' function, we can confirm this result:

limit(f(x)-f(x-1), x=oo)
1

As expected, the limit of the function's slope as xx approaches infinity is 11. A hunch would tell you that the function's slope as xx approaches negative infinity is most likely 11 as well, and changing the x=x=\infty to x=x=-\infty 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:

f(x)=axn+1+...bxn+...f(x)=\dfrac{ax^{n+1}+...}{bx^n+...}

If n is the highest power of the denominator, n+1n+1 is the highest power of the numerator, and aa and bb are constants, the function will have a horizontal asymptote with a slope equal to ab\dfrac{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.

Practice Problems

Determine the slope, if possible, of each function as it approaches positive and negative infinity.

  1. h(x)=5x32xx2+1h(x) = \dfrac{5x^3-2x}{x^2+1}

  2. g(x)=1sin2x+xcos2xg(x) = \dfrac{1-\sin^2x+x}{\cos^2x}

  3. h(x)=1x+x+x21x+xx21h(x)=\dfrac{1}{x}+x+\dfrac{x^2-1}{x}+\dfrac{x}{x^2-1} Hint: Simplify first.

To view answers, select this cell and paste it into your own sagews, and then double click on it

[Previous: Limits at Infinity](Limits_at_Infinity.sagews) | [To Main](Introduction.sagews) | [Next: Tangent Lines](Tangent_Lines.sagews)