# Difference between revisions of "Asymptote (geometry)"

For the vector graphics language, see Asymptote (Vector Graphics Language).

An asymptote is a line or curve that a certain function approaches.

The function $y=\tfrac{2x}{x-2}$ has a vertical asymptote at x=2 and a horizontal asymptote at y=2

Linear asymptotes can be of three different kinds: horizontal, vertical or slant (oblique).

## Vertical Asymptotes

The vertical asymptote can be found by finding values of $x$ that make the function undefined. Generally, it is found by setting the denominator of a rational function to zero.

If the numerator and denominator of a rational function share a factor, this factor is not a vertical asymptote. Instead, it appears as a hole in the graph.

A rational function may have more than one vertical asymptote.

### Example Problems

Find the vertical asymptotes of 1) $y = \frac{1}{x^2-5x}$ 2) $\tan 3x$.

#### Solution

1) To find the vertical asymptotes, let $x^2-5x=0$. Solving the equation:

$\begin{eqnarray*}x^2-5x&=&0\\x&=&\boxed{0,5}\end{eqnarray*}$

So the vertical asymptotes are $x=0,x=5$.

2) Since $\tan 3x = \frac{\sin 3x}{\cos 3x}$, we need to find where $\cos 3x = 0$. The cosine function is zero at $\frac{\pi}{2} + n\pi$ for all integers $n$; thus the functions is undefined at $x=\frac{\pi}{6} + \frac{n\pi}{3}$.

## Horizontal Asymptotes

For rational functions in the form of $\frac{P(x)}{Q(x)}$ where $P(x), Q(x)$ are both polynomials:

1. If the degree of $Q(x)$ is greater than that of the degree of $P(x)$, then the horizontal asymptote is at $y = 0$. This can be seen by noting that as $x$ increases, $Q(x)$ increases much faster than $P(x)$ does. Since the denominator increases faster than the numerator, as x approaches infinity, y gets smaller until it approaches zero. A similar trend can be seen as x decreases.

2. If the degree of $Q(x)$ is equal to that of the degree of $P(x)$, then the horizontal asymptote is at the quotient of the leading coefficient of $P(x)$ over the leading coefficient of $Q(x)$.

3. If the degree of $Q(x)$ is less than the degree of $P(x)$, see below (slanted asymptotes)

A function may not have more than one horizontal asymptote. Functions with a "middle section" may cross the horizontal asymptote at one point. To find this point, set y=horizontal asymptote and solve.

### Example Problem

Find the horizontal asymptote of $f(x) = \frac{x^2 - 3x + 2}{-2x^2 + 15x + 10000}$.

#### Solution

The numerator has the same degree as the denominator, so the horizontal asymptote is the quotient of the leading coefficients: $y= \frac {1} {-2}$

## Slant Asymptotes

For rational functions $\frac{P(x)}{Q(x)}$, a slant asymptote occurs when the degree of $P(x)$ is one greater than the degree of $Q(x)$. If the degree of $P(x)$ is two or more greater than the degree of $Q(x)$, then we get a curved asymptote. Again, like horizontal asymptotes, it is possible to get crossing points of slant asymptotes.

For rational functions, we can find the slant asymptote simply by long division, omitting the remainder and setting y=quotient.

### Example Problem

The function $y=\tfrac{x^2+2x+4} {x+1}$ has a slant asymptote at y=x+1

Find the slant asymptote of $y= \frac{x^2+2x+4} {x+1}$

Solution

$\frac{x^2+2x+4}{x+1}= x+1+\frac{3} {x+1}$

The slant asymptote is $y=x+1$