A **rational function** is any function which can be defined by a **rational fraction, **a fraction such that both the numerator and the denominator are polynomials. When **graphing rational functions** there are two main pieces of information which interest us about the given function. The points where the function is not defined and the points where the graph of the given function intersects the axes.

A function is called a rational function if it can be writen as:

,

where and are polynomials in and is not a zero polpolynomial.

**Asymptote** is** **a line such that the distance between the curve and the line approaches zero as one or both of the or coordinates tends to infinity. Graph of the function approaches the asymptote into infinity, but never intersects it. There are three types of asymptotes: horizontal, vertical and slant asymptotes. For example, function has a horizontal asymptote , function has a vertical asymptote , and any kind of hyperbola has slope asymptotes, , as shown below, the red curves are asymptotes and blue are graphs.

**Horizontal asymptote**

**Vertical asymptote**

**Slant asymptote**

**We say that the line is the vertical asymptote of the function if at least one of the limits or is equal to or .**

A line is a vertical asymptote where , if both the left and the right limit of the given function tend to infinity when approaches .

Example 1. Find a vertical asymptote of the function .

First, we need to find the points for which the function is not defined, which, in this example, is . If is equal to – or +, then the graph of lies on the right side of the asymptote, and if is equal to or it lies on the left side, and if they are equal, function lies on both sides.

What happens with the graph of the function as we move along the x- axis?

For example, if we take very large negative number for , the square in the denominator will change it into very large positive number, which furthermore means that the value of this function at this particular will be very close to zero, but always strictly greater than zero. As moves closer to 1, the values of the function grow. The closer we are to 1, the greater the values.

For , .

For , .

For , .

For , .

For a number that is very close to 1, but not 1, this function will tend to .

This means that around 1, graph does reach infinity which means that is vertical asymptote of function .

**We say that a line is a horizontal asymptote of a function if or .**

Example 2. Find asymptotes and draw the graph of the function .

This graph will have a vertical asymptote .

To determine horizontal asymptotes we have to find .

**A line is a slant asymptote of a function when if .**

**Coefficients of this line are determined as:**

**,**

**.**

Example 3. Find asymptotes and draw the graph of the function .

Vertical asymptote is .

Calculate the coefficients for the slant asymptote.

The slant asymptote is the line .

The last steps of drawing the graph of the given functions are always the same: first, you draw the asymptotes, second, find few points and fit the graph between the asymptotes.