Graphing Rational Functions

If f(x) represents a rational expression, then y = f(x) is a rational function. To graph a rational function, first find values for which the function is undefined. A function is undefined for any values that would make any denominator become zero. Dashed lines are drawn on the graph for any values for which the rational function is undefined. These lines are called vertical asymptote lines. The graph of the rational function will get close to these vertical asymptote lines but will never intersect them. Technically speaking, asymptotes show approachable but unattainable points and are not themselves actually parts of the graph of the function. They may be horizontal lines, vertical lines, or slant lines.

 
Example 1

Graph equation.

First, the function is undefined when x = –1. So the graph of x = –1 becomes a vertical asymptote.

Second, find whether any horizontal asymptotes exist. To do this, solve the equation for x and see whether any values for y would make the new equation undefined. It may not always be easy to solve a rational function for x. For those cases, other methods are used involving the idea of limits, which is discussed in calculus.

equation

Apply the cross products rule.

equation

This equation is undefined when y = 0. The graph of y = 0 becomes a horizontal asymptote. The graph of x = –1 and y = 0 is shown in Figure 1.

Third, plot the following points on each side of each asymptote line and use them to sketch the graph (see Figure 2).

x

equation

y

–4

equation

equation

–3

equation

–1

–2

equation

–2

–1

equation

undefined

0

equation

2

1

equation

1

2

equation

equation

3

equation

equation

Figure 1. x = –1 and y = 0 are asymptotes.

figure

Figure 2. Graphs don't hit asymptotes.

figure

Example 2

Graph equation.

First, x = –2 is the vertical asymptote.

Second, find any horizontal asymptotes that exist by solving the equation for x.

equation

Apply the cross products rule.

equation

This equation is undefined when y = 1, so y = 1 is a horizontal asymptote, as shown in Figure 3.

Third, plot these points on either side of each asymptote line and sketch the graph as shown in Figure 4.

x

equation

y

–5

equation

equation

–4

equation

–2

–3

equation

3

–2

equation

undefined

–1

equation

–1

0

equation

0

1

equation

equation

2

equation

equation

3

equation

equation

Figure 3. y = 1 is a horizontal asymptote, and x = –2 is a vertical asymptote.

figure

The expression is plotted.

figure

 
 
 
 
Back to Top
×
A18ACD436D5A3997E3DA2573E3FD792A