Definition. The line x=a is called vertical asymptote of the curve y=f(x) if at least one of the following statements is true:
- limx→af(x)=∞
- limx→a+f(x)=∞
- limx→a−f(x)=∞
- limx→af(x)=−∞
- limx→a+f(x)=−∞
- limx→a−f(x)=−∞
For example y-axis (x=0) is a vertical asymptote of the curve y=x21 because limx→0x21=∞.
Geometrically vertical asymptote is vertical line to which approaches graph of the function but never intersects it. As function approaches a values of function become so large, that we can't draw them.
Example 1. Find vertical asymptotes of f(x)=x−1x.
In Limits Involving Infinity note we saw that if limx→a+f(x)=L=0 and limx→a+g(x)=0 then limx→a+(g(x)f(x))=∞ (Law 8 for one-sided limits).
So, to find points where function approach infinity, we need to find points where denominator equals 0, and make sure that numerator doesn't equal 0 at this point.
The only point where denominator equals 0 is point 1, and numerator doesn't equal 0 at this point.
Let's find out one-sided limits at this point. When x approaches 1 from the right then x−3 becomes very small positive value and x approaches 1. Thus, limx→1+x−1x=∞ When x approaches 1 from the left then x−1 becomes very small negative value and x approaches 1. Thus, limx→1−x−1x=−∞. So, we showed that both one-sided limits are infinite. In fact it was sufficiently to show that at least one of the limits is infinite.
Thus, x=1 is vertical asympote.
In fact function can have more than vertical asymptote.
Example 2. Find vertical asymptotes of y=tan(x).
Recall that by definition tan(x)=cos(x)sin(x).
This means that there will be vertical asymptotes at points where cos(x)=0, i.e. points of the form x=2π+πk,k∈Z.
Therefore, tan(x) has infinitely many asymptotes.
Example 3. Find vertical asymptotes of f(x)=x2+x−2x2−x.
Since x2+x−2=(x+2)(x−1) then denominator equals 0 when x=−2 and x=1.
However, at point x=1 numerator also equals 0. We need to additionally check this point.So, limx→1x2+x−2x2−x=limx→1(x+2)(x−1)x(x−1)=
=limx→1x+2x=1+21=31.
Thus, there is only one vertical asymptote x=−2. This example showed, that you should be very cautious: you should check whether numerator equals 0 at points where denominator equals 0.
Definition. Line y=L is called horizontal asymptote of the function f(x) if either limx→∞f(x)=L or limx→−∞f(x)=L.
Example 4. Find horizontal asymptotes of y=1+x1.
Since limx→∞(1+x1)=1 then line y=1 is horizontal asymptote.
In fact also limx→−∞(1+x1)=1, but it suffices one limit to state that y=1 is horizontal asymptote.
In general function can have more than one horizontal asymptote.
Example 5. Find horizontal asymptotes of y=arctan(x).
Since limx→∞arctan(x)=2π and limx→−∞arctan(x)=−2π then there are two vertical asymptotes: y=2π and y=−2π.
Definition. Line y=mx+b is called slant (oblique) asymptote of function y=f(x) if either limx→∞(f(x)−(mx+b))=0 or limx→−∞(f(x)−(mx+b))=0.
We calculate m as follows: m=limx→∞xf(x)(m=limx→−∞xf(x)).
If this limit is not finite or doesn't exist then there is no oblique asymptote.
b is calculated as follows: b=limx→∞(f(x)−mx)(b=limx→−∞(f(x)−mx)).
Example 6. Find all asymptotes of y=x+x1.
There are no horizontal asymptotes because limx→∞(x+x1)=∞ and limx→−∞(x+x1)=−∞.
There is vertical asymptote x=0 because limx→0+(x+x1)=∞.
This function also has oblique asymptote. Indeed, m=limx→∞xx+x1=limx→∞(1+x21)=1.
So, m=1. Now, b=limx→∞(x+x1−1⋅x)=limx→∞x1=0. So, b=0.
Therefore, slant asymptote is y=x. On the figure to the right blue line is vertical asymptote x=0, green line is slant asymptote y=x.
Note, that we will obtain same slant asymptote when x→−∞.
In general, it is a good practice to treat cases x→∞ and x→−∞ separately.