# What Are Rational Functions?

Functions with $x$ in the denominator are called rational functions. These are in fractional form and have asymptotes. Asymptotes are invisible lines in the coordinate system that the graph moves toward, but never meets. Rational functions can look like the graphs in the figure below.

Theory

### RationalFunction

A rational function is expressed in the following form:

 $f\left(x\right)=\frac{g\left(x\right)}{h\left(x\right)},$

where $g\left(x\right)$ and $h\left(x\right)$ are polynomials.

You can see the graph of the following functions in the picture above

$\begin{array}{lll}\hfill f\left(x\right)=\frac{1}{x}\phantom{\rule{2em}{0ex}}g\left(x\right)=\frac{2x}{x+1}\phantom{\rule{2em}{0ex}}h\left(x\right)=\frac{{x}^{2}+6x-3}{{x}^{5}+{x}^{3}-1}& \phantom{\rule{2em}{0ex}}& \hfill \end{array}$

$\begin{array}{lll}\hfill f\left(x\right)=\frac{1}{x}\phantom{\rule{2em}{0ex}}g\left(x\right)=\frac{2x}{x+1}\phantom{\rule{2em}{0ex}}h\left(x\right)=\frac{{x}^{2}+6x-3}{{x}^{5}+{x}^{3}-1}& \phantom{\rule{2em}{0ex}}& \hfill \end{array}$

Hyperbolas are among the simplest rational functions. Hyperbolas are the relationship between two linear functions, $ax+b$ and $cx+d$.

Theory

### Hyperbolas

The hyperbola is an important rational function. It represents the relationship between two linear functions. The formula for a hyperbola is

 $f\left(x\right)=\frac{ax+b}{cx+d}.$

A hyperbola has a vertical and a horizontal asymptote (the dotted lines).

Formula

### TheAsymptotesofaHyperbola

Vertical asymptotes

are found where the denominator is equal to zero. You can use this formula:

 $x=-\frac{d}{c}$

Horizontal asymptote

is the value the graph goes towards when $x\to ±\infty$ (read as, when x approaches positive or negative infinity). You can use this formula:

 $y=\frac{a}{c}$

Example 1

Consider the following hyperbolic function:

 $f\left(x\right)=\frac{2x+2}{x-1}$

Find the asymptotes and the intersection between the graph and the axes.

The general formula for the hyperbola is

 $f\left(x\right)=\frac{ax+b}{cx+d}$

In this exercise, $a=2$, $b=2$, $c=1$ and $d=-1$

You can find the vertical asymptote in this way:

 $x=-\frac{d}{c}=-\frac{\left(-1\right)}{1}=1.$

The vertical asymptote is $x=1$.

Then you find the horizontal asymptote:

 $y=\frac{a}{c}=\frac{2}{1}=2$

The horizontal asymptote is $y=2$.

The intersection with the $y$-axis is found by inputting $x=0$, because the $x$-coordinate is 0 along the entire $y$-axis. This gives

 $f\left(0\right)=\frac{2\cdot 0+2}{0-1}=\frac{2}{-1}=-2$

The hyperbola intersects the $y$-axis at $\left(0,-2\right)$.

The intersection with the $x$-axis is found by putting $f\left(x\right)=0$, because the $y$-coordinate is 0 along the entire $x$-axis. This gives

 $f\left(x\right)=\frac{2x+2}{x-1}=0$

It is sufficient to set the numerator equal to zero, since a fraction is zero as long as the numerator is zero. Then you get $\begin{array}{llll}\hfill 2x+2& =0\phantom{\rule{2em}{0ex}}& \hfill & \phantom{\rule{2em}{0ex}}\\ \hfill 2x& =-2\phantom{\rule{1em}{0ex}}|÷2\phantom{\rule{2em}{0ex}}& \hfill & \phantom{\rule{2em}{0ex}}\\ \hfill x& =-1\phantom{\rule{2em}{0ex}}& \hfill & \phantom{\rule{2em}{0ex}}\end{array}$

The hyperbola intersects the $x$-axis at $\left(-1,0\right)$.