Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

11.1: Graphs of rational functions

( \newcommand{\kernel}{\mathrm{null}\,}\)

Recall from the beginning of this chapter that a rational function is a fraction of polynomials:

f(x)=anxn+an1xn1++a1x+a0bmxm+bm1xm1++b1x+b0

In this section, we will study some characteristics of graphs of rational functions. Asymptotes are important features of graphs of rational functions. An asymptote is a line that is approached by the graph of a function: x=a is a vertical asymptote if f(x) approaches ± as x approaches a from either the left or from the right, and y=b is a horizontal asymptote if f(x) approaches b as x approaches or .

To obtain a better idea of some of these features including asymptotes, we start by graphing some rational functions. In particular it is useful to know the graphs of the basic functions y=1xn.

Observation: Asymptotes

Graphing y=1x, y=1x2, y=1x3, y=1x4, we obtain:

clipboard_ec6e3fb12cfd06e862a05ce221bfc17c3.png

In general we see that x=0 is a vertical asymptote and y=0 is a horizontal asymptote. The shape of y=1xn depends on n being even or odd. We have:

clipboard_ee56f505e692dec3735503992810cc735.png

We now study more general rational functions.

Example 11.1.1

  1. Our first graph is f(x)=1x3.

clipboard_e4b852f06d9fbc586474d233df784e948.png

Here, the domain is all numbers where the denominator is not zero, that is D=R{3}. There is a vertical asymptote, x=3. Furthermore, the graph approaches 0 as x approaches ±. Therefore, f has a horizontal asymptote, y=0. Indeed, whenever the denominator has a higher degree than the numerator, the line y=0 will be the horizontal asymptote.

  1. Next, we graph f(x)=8x284x216.

clipboard_ec73ee9d25958d3915d9153682241080a.png

Here, the domain is all x for which 4x2160. To see where this happens, calculate

4x216=04x2=16x2=4x=±2

Therefore, the domain is D=R{2,2}. As before, we see from the graph, that the domain reveals the vertical asymptotes x=2 and x=2 (the vertical dashed lines). To find the horizontal asymptote (the horizontal dashed line), we note that when x becomes very large, the highest terms of both numerator and denominator dominate the function value, so that

for |x| very large f(x)=8x284x2168x24x2=2

Therefore, when x approaches ±, the function value f(x) approaches 2, and therefore the horizontal asymptote is at y=2 (the horizontal dashed line).

  1. Our next graph is f(x)=x28x+15x3.

clipboard_e20c1138e79410c50b788adac7a3f892b.png

We see that there does not appear to be any vertical asymptote, despite the fact that 3 is not in the domain. The reason for this is that we can “remove the singularity” by cancelling the troubling term x3 as follows:

f(x)=x28x+15x3=(x3)(x5)(x3)=x51=x5,x3

Therefore, the function f reduces to x5 for all values where it is defined. However, note that f(x)=x28x+15x3 is not defined at x=3. We denote this in the graph by an open circle at x=3, and call this a removable singularity (or a hole).

  1. Our fourth and last graph before stating the rules in full generality is f(x)=2x383x216.

clipboard_e922761b09d3099658ae533e72dc4ef43.png

The graph indicates that there is no horizontal asymptote, as the graph appears to increase towards and decrease towards . To make this observation precise, we calculate the behavior when x approaches ± by ignoring the lower terms in the numerator and denominator

for |x| very large f(x)=2x383x2162x33x2=2x3

Therefore, when x becomes very large, f(x) behaves like 23x, which approaches when x approaches , and approaches when x approaches . (In fact, after performing a long division we obtain 2x383x216=23x+r(x)3x216, which would give rise to what is called a slant asymptote y=23x; see also Note: Asymptotic Behaviour below.) Indeed, whenever the degree of the numerator is greater than the degree of the denominator, we find that there is no horizontal asymptote, but the graph blows up to ±. (Compare this also with example (c) above).

Combining what we have learned from the above examples, we state our observations as follows.

Observation: Word

Let f(x)=p(x)q(x) be a rational function with polynomials p(x) and q(x) in the numerator and denominator, respectively.

  • The domain of f is all real numbers x for which the denominator is not zero, D={xR|q(x)0}
  • Assume that q(x0)=0, so that f is not defined at x0. If x0 is not a root of p(x), or if x0 is a root of p(x) but of a lesser multiplicity than the root in q(x), then f has a vertical asymptote x=x0.

clipboard_e1d8aa006814224a558c9200c06fe2715.png

  • If p(x0)=0 and q(x0)=0, and the multiplicity of the root x0 in p(x) is at least the multiplicity of the root in q(x), then these roots can be canceled, and it is said that there is a removable discontinuity (or sometimes called a hole) at x=x0.

clipboard_eea405075123197b4885985118f237493.png

  • To find the horizontal asymptotes, we need to distinguish the cases where the degree of p(x) is less than, equal to, or greater than q(x).

clipboard_e825d914555bbbfa87a583aeac90d44ee.png

In addition, it is sometimes useful to determine the x- and y-intercepts.

  • If 0 is in the domain of f, then the y-intercept is (0,f(0)). f(x)=x+2x+1

clipboard_eb3c7a9c6365ce46f9e987be3f7e8cbbb.png

  • If p(x0)=0 but q(x0)0, then f(x0)=p(x0)q(x0)=0q(x0)=0, so that (x0,0) is an x-intercept, that is the graph intersects with the x-axis at x0. &&
clipboard_e796fd9cdaf8775f9dfa2df39c8c12189.png
f(x)=x2x3
clipboard_e19c0ec920e685ec24ce394b372b67bb0.png
f(x)=(x2)(x4)(x5)(x3)3

Note: Asymptotic Behaviour

We can calculate the asymptotic behavior of a rational function f(x)=p(x)q(x) in the case where the degree of p is greater than the degree of q by performing a long division. If the the quotient is m(x), and the remainder is r(x), then

f(x)=p(x)q(x)=m(x)+r(x)q(x)

Now, since deg(r)<deg(q), the fraction r(x)q(x) approaches zero as x approaches ±, so that f(x)m(x) for large x.

Example 11.1.2

Find the domain, all horizontal asymptotes, vertical asymptotes, removable singularities, and x- and y-intercepts. Use this information together with the graph of the calculator to sketch the graph of f.

  1. f(x)=x2x23x4
  2. f(x)=5xx22x
  3. f(x)=x39x2+26x24x2x2
  4. f(x)=x4(x2)2
  5. f(x)=3x2122x2+1

Solution

  1. We combine our knowledge of rational functions and its algebra with the particular graph of the function. The calculator gives the following graph.

clipboard_e702713661fd5df99b2846f5acdef2a46.png

To find the domain of f we only need to exclude from the real numbers those x that make the denominator zero. Since x23x4=0 exactly when (x+1)(x4)=0, which gives x=1 or x=4, we have the domain:

domain D=R{1,4}

The numerator has a root exactly when x2=0, that is x=0. Therefore, x=1 and x=4 are vertical asymptotes, and since we cannot cancel terms in the fraction, there is no removable singularity. Furthermore, since f(x)=0 exactly when the numerator is zero, the only x-intercept is (0,0).

To find the horizontal asymptote, we consider f(x) for large values of x by ignoring the lower order terms in numerator and denominator,

|x| large f(x)x2x2=1

We see that the horizontal asymptote is y=1. Finally, for the y-intercept, we calculate f(0):

f(0)=0202304=04=0

Therefore, the y-intercept is (0,0). The function is then graphed as follows.

clipboard_e0b797cc92daf5de52691ec6b86f0b484.png

  1. The graph of f(x)=5xx22x as drawn with the TI-84 is the following.

clipboard_eb04e13708487770527e6467e02abd8c3.png

For the domain, we find the roots of the denominator,

x22x=0x(x2)=0x=0 or x=2

The domain is D=R{0,2}. For the vertical asymptotes and removable singularities, we calculate the roots of the numerator,

5x=0x=0

Therefore, x=2 is a vertical asymptote, and x=0 is a removable singularity. Furthermore, the denominator has a higher degree than the numerator, so that y=0 is the horizontal asymptote. For the y-intercept, we calculate f(0) by evaluating the fraction f(x) at 0

500220=00

which is undefined. Therefore, there is no y-intercept (we, of course, already noted that there is a removable singularity when x=0). Finally for the x-intercept, we need to analyze where f(x)=0, that is where 5x=0. The only candidate is x=0 for which f is undefined. Again, we see that there is no x-intercept. The function is then graphed as follows. (Notice in particular the removable singularity at x=0.)

clipboard_e12086ccf16ce195c924534de61d20dcd.png

  1. We start again by graphing the function f(x)=x39x2+26x24x2x2 with the calculator. After zooming to an appropriate window, we get:

clipboard_e8599d3a98a0f722b9559aec5ff0f04bc.png

To find the domain of f, we find the zeros of the denominator

x2x2=0(x+1)(x2)=0x=1 or x=2

The domain is D=R{1,2}. The graph suggests that there is a vertical asymptote x=1. However the x=2 appears not to be a vertical asymptote. This would happen when x=2 is a removable singularity, that is, x=2 is a root of both numerator and denominator of f(x)=p(x)q(x). To confirm this, we calculate the numerator p(x) at x=2:

p(2)=23922+26224=836+5224=0

Therefore, x=2 is indeed a removable singularity. To analyze f further, we also factor the numerator. Using the factor theorem, we know that x2 is a factor of the numerator. Its quotient is calculated via long division.

clipboard_e6d80b2155a359e39bebdf16cd023bd60.png

With this, we obtain

f(x)=(x2)(x27x+12)x2x2=(x2)(x3)(x4)(x+1)(x2)

Therefore, we conclude that x=1 is a vertical asymptote and x=2 is a removable singularity. We also see that the x-intercepts are (3,0) and (4,0) (that is x values where the numerator is zero).

Now, the long range behavior is determined by ignoring the lower terms in the fraction,

|x| large f(x)x3x2=x no horizontal asymptote

Finally, the y-coordinate of the y-intercept is given by

y=f(0)=03902+260240202=242=12

We draw the graph as follows:

clipboard_e0a761bf4cdd3c15742d3923a0bcaaa8d.png

  1. We first graph f(x)=x4(x2)2. (Don’t forget to set the viewing window back to the standard settings!)

clipboard_e9f5823c826c9e47210931aaad10f98c6.png

The domain is all real numbers except where the denominator becomes zero, that is, D=R{2}. The graph has a vertical asymptote x=2 and no hole. The horizontal asymptote is at y=0, since the denominator has a higher degree than the numerator. The y-intercept is at y0=f(0)=04(02)2=44=1. The x-intercept is where the numerator is zero, x4=0, that is at x=4. Since the above graph did not show the x-intercept, we can confirm this by changing the window size as follows:

clipboard_e581ed3930dca325a48373d3380b97494.png

Note in particular that the graph intersects the x-axis at x=4 and then changes its direction to approach the x-axis from above. A graph of the function f which includes all these features is displayed below.

clipboard_e90c1fa4de2b8587557e4deab49950183.png

  1. We graph f(x)=3x2122x2+1.

clipboard_e0348406f3031fe6b0fa1788cdbda38da.png

For the domain, we determine the zeros of the denominator.

2x2+1=02x2=1x2=12

The only solutions of this equation are given by complex numbers, but not by any real numbers. In particular, for any real number x, the denominator of f(x) is not zero. The domain of f is all real numbers, D=R. This implies in turn that there are no vertical asymptotes, and no removable singularities.

The x-intercepts are determined by f(x)=0, that is where the numerator is zero,

3x212=03x2=12x2=4x=±2

The horizontal asymptote is given by f(x)3x22x2=32, that is, it is at y=32=1.5. The y-intercept is at

y=f(0)=30212202+1=121=12

We sketch the graph as follows:

clipboard_ece4879b81f4a7548f7ea8a21a5468def.png

Since the graph is symmetric with respect to the y-axis, we can make one more observation, namely that the function f is even (see Observation: Even-Odd on page ):

f(x)=3(x)2122(x)2+1=3x2122x2+1=f(x)


This page titled 11.1: Graphs of rational functions is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Thomas Tradler and Holly Carley (New York City College of Technology at CUNY Academic Works) via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?