Can the answers to a rational function be found by graphing? How would you go about graphing them?

### Graphing Rational Functions

Any function that has the form

where **rational function**. The **domain** of any rational function includes all real numbers

Just like polynomials, rational functions can be graphed using transformations. The main point to remember for graphing rational functions by transformations is that some transformations change the asymptotes while others do not.

r(x)+c is a vertical shift which moves each horizontal asymptote upc units (or down ifc<0 ).r(x−c) is a horizontal shift which moves each vertical asymptote rightc units (or left ifc<0 ).a⋅r(x) is a vertical stretch which moves horizontal asymptotes by a multiple ofa (so this moves the horizontal asymptote closer to thex− axis ifa<0 .r(a⋅x) is a horizontal compression which moves the vertical asymptotes closer toy− axis by a factor of1a .r(−x) is a reflection about they− axis. All vertical asymptotes are also reflected.−r(x) is a reflection about thex− axis. All horizontal asymptotes are also reflected.

### Examples

#### Example 1

What is the domain of

Notice that the only input that can make the denominator equal to zero is *horizontal* and *vertical asymptotes*, respectively.

#### Example 2

Graph the function

We know that the domain of

#### Example 3

A rational function

a.

The horizontal asymptote moves down by three units.

b.

The function is reflected about the

c.

#### Example 4

For the following rational function, determine the domain, the asymptotes, the \begin{align*}x-\end{align*}

\begin{align*}f(x)=\frac{x+2}{x^{2}+1}\end{align*}

To identify domain limitations, find value(s) which make the denominator = 0: In this case, where \begin{align*}x^2\end{align*}*0*, any value for *x* will be positive. So the domain is all real numbers.

With no limitations on the domain, there are no vertical asymptotes.

The horizontal asymptote: \begin{align*}y=0\end{align*}*x* becomes huge and the "+2" and "+1" no longer have an effect, giving: \begin{align*}f(x) = \frac{x}{x^2} \to f(x) = \frac{1}{x} \to f(x) = 0\end{align*}*0*

#### Example 5

For the following rational function, determine the domain, the asymptotes, the \begin{align*}x-\end{align*}

\begin{align*}f(x)=\frac{9x^{2}-4}{3x+2}\end{align*}

For this problem, the first step is to recognize the **difference of squares** in the numerator: \begin{align*}9x^2 - 4\end{align*}

This gives: \begin{align*}f(x) = \frac{(3x - 2)(3x + 2)}{(3x + 2)}\end{align*}

NOTE: Although we can cancel the (3x + 2) to evaluate the general behavior of the function, giving: \begin{align*}f(x) = 3x + 2\end{align*}**a zero in the denominator of the equation is undefined**, it just means that the rest of the function behaves like \begin{align*}y = 3x - 2\end{align*}

To identify domain limitations, find value(s) which make the denominator = 0: In this case: \begin{align*}3x + 2 = 0 \to 3x = -2 \to x = -\frac{2}{3}\end{align*}*x*: \begin{align*}x\ne-\frac{2}{3}\end{align*}

Since the equation behaves as a line with a single non-existent value, there is no vertical asymptote.

As *x* gets huge, we end up with \begin{align*}f(x) = \frac{9x^2}{3x} \to f(x) = 3x\end{align*}**slant asymptote** that parallels the line of the function!

### Review

- What is the hole in the graph of a function called?
- How are polynomial graphs different from rational function graphs?
- What does the graph of the simplified function that is continuous everywhere not have?
- Why can't rational function be simplified to determine the domain?
- Put the following steps into the correct order for graphing rational functions. a) Find all asymptotes. b) Sketch a smooth graph based on the information. c) Factor numerator and denominator completely and put in lowest terms. Identify any holes. d) Determine the behavior around the vertical asymptotes using a table of signs. e) Find all intercepts. f) Find the places where the function crosses the horizontal asymptote/oblique asymptote.
- Simplify \begin{align*}\frac{6x^2 + 21x + 9}{4x^2 - 1}\end{align*}
6x2+21x+94x2−1 - Given: \begin{align*}y = \frac{x^2 + 2x - 8}{x}\end{align*}
y=x2+2x−8x . Find the intercepts, any asymptotes, and identify end behavior. - Graph the equation and state the domain.

Simplify each function in questions 9 and 10 and state any value(s) of *x* that make the function undefined.

- \begin{align*}f(x)=\frac{3 - x}{x^2 - 3x}\end{align*}
f(x)=3−xx2−3x - \begin{align*}f(x) = \frac{x^2 - 2x - 15}{x - 5}\end{align*}
f(x)=x2−2x−15x−5

For each function in questions 11-13, identify points of discontinuity and the form of the graph of the simplified function (linear or quadratic).

- \begin{align*}f(x) = \frac{ 2x^2 + x - 1}{2x - 1}\end{align*}
f(x)=2x2+x−12x−1 - \begin{align*}f(x) = \frac{-2x^3 + 9x^2 - 10x + 3}{x - 3}\end{align*}
f(x)=−2x3+9x2−10x+3x−3 - \begin{align*}f(x) = \frac{x^3 - 13x -12}{x^2 - 3x - 4}\end{align*}
f(x)=x3−13x−12x2−3x−4 - Write a quadratic function where the domain cannot include 5 or -5, and the graph has two asymptotes
- Simplify, identify the asymptotes and intercepts, and sketch the graph of \begin{align*}f(x) = \frac{x^3 - 64x}{x^2 - 16}\end{align*}
f(x)=x3−64xx2−16

### Review (Answers)

To see the Review answers, open this PDF file and look for section 2.7.