<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />
You are viewing an older version of this Concept. Go to the latest version.

# Graphs of Basic Rational Functions

## Identify asymptotes, intercepts, domain, and range

Estimated17 minsto complete
%
Progress
Practice Graphs of Basic Rational Functions
Progress
Estimated17 minsto complete
%
Graphing Rational Functions in Standard Form

The standard form of a rational function is given by the equation $f(x)=\frac{a}{x-h}+k$ . What are the asymptotes of this equation?

### Guidance

A rational function is in the form $\frac{p \left(x\right)}{q \left(x\right)}$ where $p(x)$ and $q(x)$ are polynomials and $q(x) \ne 0$ . The parent graph for rational functions is $y=\frac{1}{x}$ , and the shape is called a hyperbola .

$x$ $y$
$-4$ $- \frac{1}{4}$
$-2$ $- \frac{1}{2}$
$-1$ $-1$
$- \frac{1}{2}$ $-2$
$\frac{1}{2}$ 2
1 1
2 $\frac{1}{2}$
4 $\frac{1}{4}$

Notice the following properties of this hyperbola: the $x$ -axis is a horizontal asymptote, the $y$ -axis is a vertical asymptote, and the domain and range are all real numbers except where the asymptotes are. Recall that the vertical asymptote is the value that makes the denominator zero because we cannot divide by zero. For the horizontal asymptote, it is the value where the range is not defined.

The two parts of the graph are called branches . In the case with a hyperbola, the branches are always symmetrical about the point where the asymptotes intersect. In this example, they are symmetrical about the origin.

In this lesson, all the rational functions will have the form $f(x)=\frac{a}{x-h}+k$ .

#### Example A

Graph $f(x)=\frac{-2}{x}$ . Find any asymptotes, the domain, range, and any zeros.

Solution: Let’s make a table of values.

$x$ $y$
1 $-2$
2 $-1$
4 $- \frac{1}{2}$

Notice that these branches are in the second and fourth quadrants. This is because of the negative sign in front of the 2, or $a$ . The horizontal and vertical asymptotes are still the $x$ and $y$ -axes. There are no zeros, or $x$ -intercepts, because the $x$ -axis is an asymptote. The domain and range are all non-zero real numbers (all real numbers except zero).

#### Example B

Graph $y=\frac{1}{x-5}+2$ . Find all asymptotes, zeros, the domain and range.

Solution: For $y=\frac{1}{x-5}+2$ , the vertical asymptote is $x = 5$ because that would make the denominator zero and we cannot divide by zero. When $x = 5$ , the value of the function would be $y=\frac{1}{0}+2$ , making the range undefined at $y = 2$ . The shape and location of the branches are the same as the parent graph, just shifted to the right 5 units and up 2 units.

Therefore, for the general form of a rational function, $y=\frac{a}{x-h}+k,x=h$ is the vertical asymptote and $y=k$ is the horizontal asymptote.

The domain is all real numbers; $x \ne 5$ and the range is all real numbers; $y \ne 2$ . To find the zero, set the function equal to zero and solve for $x$ .

$0&=\frac{1}{x-5}+2 \\-2&=\frac{1}{x-5} \\-2x+10&=1 \\-2x&=-9 \\x&=\frac{9}{2}=4.5$

To find the $y$ -intercept, set $x = 0$ , and solve for $y$ . $y=\frac{1}{0-5}+2=- \frac{1}{5}+2=1 \frac{4}{5}$ .

#### Example C

Find the equation of the hyperbola below.

Solution: We know that the numerator will be negative because the branches of this hyperbola are in the second and fourth quadrants. The asymptotes are $x = -3$ and $y = -4$ . So far, we know $y=\frac{a}{x+3}-4$ . In order to determine $a$ , we can use the given $x$ -intercept.

$0&=\frac{a}{-3.75+3}-4 \\4&=\frac{a}{-0.75} && \text{The equation is} \ y=\frac{-3}{x+3}-4 \\-3&=a$

Intro Problem Revisit From the previous examples, we've seen that the vertical asymptote occurs when the denominator of the equation equals zero and the horizontal asymptote occurs when the range is undefined.

When $x = h$ , the denominator of $f(x)=\frac{a}{x-h}+k$ is zero, so $x = h$ is the vertical asymptote.

The value of the function at $x = h$ would be $y=\frac{a}{0}+k$ , making the range undefined at $y = k$ . Therefore, $y=k$ is the horizontal asymptote.

### Guided Practice

1. What are the asymptotes for $f(x)=\frac{-1}{x+6}+9$ ? Is $(-5, -8)$ on the graph?

Graph the following rational functions. Find the zero, $y$ -intercept, asymptotes, domain and range.

2. $y=\frac{4}{x}-2$

3. $y=\frac{2}{x-1}+3$

4. Determine the equation of the hyperbola.

1. The asymptotes are $x = -6$ and $y = 9$ . To see if the point $(-5, -8)$ is on the graph, substitute it in for $x$ and $y$ .

$-8&=\frac{-1}{-5+6}+9 && -8 \ne 8, \ \text{therefore, the point} \ (-5, -8) \ \text{is not on the graph}. \\-8&=-1+9$

2. There is no $y$ -intercept because the $y$ -axis is an asymptote. The other asymptote is $y = -2$ . The domain is all real numbers; $x \ne 0$ . The range is all real numbers; $y \ne -2$ . The zero is:

$0&=\frac{4}{x}-2 \\2&=\frac{4}{x} \\2x&=4 \\x&=2$

3. The asymptotes are $x = 1$ and $y = 3$ . Therefore, the domain is all real numbers except 1 and the range is all real numbers except 3. The $y$ -intercept is $y=\frac{2}{0-1}+3=-2+3=1$ and the zero is:

$0&=\frac{2}{x-1}+3 \\-3&=\frac{2}{x-1} \\-3x+3&=2 \\-3x&=-1 \rightarrow x=\frac{1}{3}$

4. The asymptotes are $x = -1, y = 3,$ making the equation $y=\frac{a}{x+1}+3$ . Taking the $y$ -intercept, we can solve for $a$ .

$4&=\frac{a}{0+1}+3 && \text{The equation is} \ y=\frac{1}{x+1}+3. \\1&=a$

### Vocabulary

Rational Function
A function in the form $\frac{p \left(x\right)}{q \left(x\right)}$ , where $p$ and $q$ are both functions and $q \ne 0$ .
Hyperbola
The shape of a rational function.
Branches
The two pieces of a hyperbola.

### Practice

1. What are the asymptotes for $y=\frac{2}{x+8}-3$ ?
2. Is $(-6, -2)$ a point on the graph from #1?
3. What are the asymptotes for $y=6- \frac{1}{x-4}$ ?
4. Is $(5, 4)$ a point on the graph from #3?

For problems 5-13, graph each rational function, state the equations of the asymptotes, the domain and range and the intercepts.

1. $y=\frac{3}{x}$
2. $y=\frac{1}{x}+6$
3. $y=-\frac{1}{x}$
4. $y=-\frac{1}{x+3}$
5. $y=\frac{1}{x+5}$
6. $y=\frac{1}{x-3}-4$
7. $y=\frac{2}{x+4}-3$
8. $y=\frac{5}{x}+2$
9. $y=3- \frac{1}{x+2}$

Write the equations of the hyperbolas. You may assume that a = 1.

### Vocabulary Language: English

Branches

Branches

The two curves of a hyperbola are sometimes called branches.
hyperbola

hyperbola

A hyperbola is a conic section formed when the cutting plane intersects both sides of the cone, resulting in two infinite “U”-shaped curves.
Rational Function

Rational Function

A rational function is any function that can be written as the ratio of two polynomial functions.