For a rational function, find the domain and graph the function, identifying all of the asymptotes.
Solve applied problems involving rational functions.
Now we turn our attention to functions that represent the quotient of two polynomials. Whereas the sum, the difference, or the product of two polynomials is a polynomial, in general the quotient of two polynomials is not itself a polynomial.
A rational number can be expressed as the quotient of two integers, p/q, where q≠0. A rational function is formed by the quotient of two polynomials, p(x)/q(x), where q(x)≠0. Here are some examples of rational functions and their graphs.
Consider
Find the domain and graph f.
When the denominator x−3 is 0, we have x=3, so the only input that results in a denominator of 0 is 3. Thus the domain is
The graph of this function is the graph of y=1/x translated right 3 units.
Determine the domain of each of the functions illustrated at the beginning of this section.
The domain of each rational function will be the set of all real numbers except those values that make the denominator 0. To determine those exceptions, we set the denominator equal to 0 and solve for x.
FUNCTION | DOMAIN |
---|---|
f(x)=1x f(x)=1x2 f(x)=x−3x2+x−2=x−3(x+2)(x−1) f(x)=2x+52x−6=2x+52(x−3) f(x)=x2+2x−3x2−x−2=x2+2x−3(x+1)(x−2) f(x)=−x2x+1 |
{x|x≠0}, or (−∞, 0)∪(0, ∞) {x|x≠0}, or (−∞, 0)∪(0, ∞) {x|x≠−2 and x≠1}, or (−∞, −2)∪(−2, 1)∪(1, ∞) {x|x≠3}, or (−∞, 3)∪(3, ∞) {x|x≠−1 and x≠2}, or (−∞, −1)∪(−1, 2)∪(2, ∞) {x|x≠−1}, or (−∞, −1)∪(−1, ∞) |
As a partial check of the domains, we can observe the discontinuities (breaks) in the graphs of these functions. (See p. 267.)
Look at the graph of f(x)=1/(x−3), shown at left. (Also see Example 1.) Let’s explore what happens as x-values get closer and closer to 3 from the left. We then explore what happens as x-values get closer and closer to 3 from the right.
From the left:
From the right:
We see that as x-values get closer and closer to 3 from the left, the function values (y-values) decrease without bound (that is, they approach negative infinity, −∞). Similarly, as the x-values approach 3 from the right, the function values increase without bound (that is, they approach positive infinity, ∞). We write this as
We read “f(x)→−∞ as x→3−” as “f(x) decreases without bound as x approaches 3 from the left.” We read “f(x)→∞ as x→3+” as “f(x) increases without bound as x approaches 3 from the right.” The notation x→3 means that x gets as close to 3 as possible without being equal to 3. The vertical line x=3 is said to be a vertical asymptote for this curve.
In general, the line x=a is a vertical asymptote for the graph of f if any of the following is true:
The following figures show the four ways in which a vertical asymptote can occur.
The vertical asymptotes of a rational function f(x)=p(x)/q(x) are found by determining the zeros of q(x) that are not also zeros of p(x). If p(x) and q(x) are polynomials with no common factors other than constants, we need determine only the zeros of the denominator q(x).
Determine the vertical asymptotes for the graph of each of the following functions.
f(x)=2x−11x2+2x−8
h(x)=x2−4xx3−x
g(x)=x−2x3−5x
First, we factor the denominator:
The numerator and the denominator have no common factors. The zeros of the denominator are −4 and 2. Thus the vertical asymptotes for the graph of f(x) are the lines x=−4 and x=2. (See Fig. 1.)
We factor the numerator and the denominator:
The domain of the function is {x|x≠−1 and x≠0 and x≠1}, or (−∞, −1)∪(−1, 0)∪(0, 1)∪(1, ∞). Note that the numerator and the denominator share a common factor, x. The vertical asymptotes of h(x) are found by determining the zeros of the denominator, x(x+1)(x−1), that are not also zeros of the numerator, x(x−4). The zeros of x(x+1) (x−1) are 0, −1, and 1. The zeros of x(x−4) are 0 and 4. Thus, although the denominator has three zeros, the graph of h(x) has only two vertical asymptotes, x=−1 and x=1. (See Fig. 2.)
The rational expression [x(x−4)]/[x(x+1)(x−1)] can be simplified. Thus,
where x≠0, x≠−1, and x≠1. The graph of h(x) is the graph of
with the point where x=0 missing. To determine the y-coordinate of the hole, we substitute 0 for x:
Thus the hole is located at (0, 4).
We factor the denominator:
The numerator and the denominator have no common factors. We find the zeros of the denominator, x(x2−5). Solving x(x2−5)=0, we get
The zeros of the denominator are 0, √5, and −√5. Thus the vertical asymptotes are the lines x=0, x=√5, and x=−√5. (See Fig. 3.)
Now Try Exercises 15 and 19.
Looking again at the graph of f(x)=1/(x−3), shown at left (also see Example 1), let’s explore what happens to f(x)=1/(x−3) as x increases without bound (approaches positive infinity, ∞) and as x decreases without bound (approaches negative infinity, −∞).
x increases without bound:
x decreases without bound:
We see that
Since y=0 is the equation of the x-axis, we say that the curve approaches the x-axis asymptotically and that the x-axis is a horizontal asymptote for the curve.
In general, the line y=b is a horizontal asymptote for the graph of f if either or both of the following are true:
The following figures illustrate four ways in which horizontal asymptotes can occur. In each case, the curve gets close to the line y=b either as x→∞ or as x→−∞. Keep in mind that the symbols ∞ and −∞ convey the idea of increasing without bound and decreasing without bound, respectively.
How can we determine a horizontal asymptote? As x gets very large or very small, the value of a polynomial function p(x) is dominated by the function’s leading term. Because of this, if p(x) and q(x) have the same degree, the value of p(x)/q(x) as x→∞ or as x→−∞ is dominated by the ratio of the numerator’s leading coefficient to the denominator’s leading coefficient.
For f(x)=(3x2+2x−4)/(2x2−x+1), we see that the numerator, 3x2+2x−4, is dominated by 3x2 and the denominator, 2x2−x+1, is dominated by 2x2, so f(x) approaches 3x2/2x2, or 3/2, as x gets very large or very small:
We say that the curve approaches the horizontal line y=32 asymptotically and that y=32 is a horizontal asymptote for the curve.
It follows that when the numerator and the denominator of a rational function have the same degree, the line y=a/b is the horizontal asymptote, where a and b are the leading coefficients of the numerator and the denominator, respectively.
Find the horizontal asymptote: f(x)=−7x4−10x2+111x4+x−2.
The numerator and the denominator have the same degree. The ratio of the leading coefficients is −711, so the line y=−711, or −0.¯63, is the horizontal asymptote.
Now Try Exercise 21.
To check Example 4, we could evaluate the function for a very large and a very small value of x. Another check, one that is useful in calculus, is to multiply by 1, using (1/x4)/(1/x4):
As |x| becomes very large, each expression whose denominator is a power of x tends toward 0. Specifically, as x→∞ or as x→−∞, we have
The horizontal asymptote is y=−711, or −0.¯63.
We now investigate the occurrence of a horizontal asymptote when the degree of the numerator is less than the degree of the denominator.
Find the horizontal asymptote: f(x)=2x+3x3−2x2+4.
Let p(x)=2x+3, q(x)=x3−2x2+4, and f(x)= p(x)/q(x). Note that as x→∞, the value of q(x) grows much faster than the value of p(x). Because of this, the ratio p(x)/q(x) shrinks toward 0. As x→−∞, the ratio p(x)/q(x) behaves in a similar manner. The horizontal asymptote is y=0, the x-axis. This is the case for all rational functions for which the degree of the numerator is less than the degree of the denominator. Note in Example 1 that y=0, the x-axis, is the horizontal asymptote of f(x)=1/(x−3).
Now Try Exercise 23.
The following statements describe the two ways in which a horizontal asymptote occurs.
Graph
Include and label all asymptotes.
Since 0 is the zero of the denominator and is not a zero of the numerator, the y-axis, x=0, is the vertical asymptote. Note also that the degree of the numerator is the same as the degree of the denominator. Thus, y=2/1, or 2, is the horizontal asymptote.
To draw the graph, we first draw the asymptotes with dashed lines. Then we compute and plot some ordered pairs and draw the two branches of the curve.
x | g(x) |
---|---|
−2 | 2.25 |
−1.5 | 2.ˉ4 |
−1 | 3 |
−0.5 | 6 |
0.5 | 6 |
1 | 3 |
1.5 | 2.ˉ4 |
2 | 2.25 |
Now Try Exercise 41.
Sometimes a line that is neither horizontal nor vertical is an asymptote. Such a line is called an oblique asymptote, or a slant asymptote.
Find all the asymptotes of
The line x=2 is the vertical asymptote because 2 is the zero of the denominator and is not a zero of the numerator. There is no horizontal asymptote because the degree of the numerator is greater than the degree of the denominator. When the degree of the numerator is 1 greater than the degree of the denominator, we divide to find an equivalent expression:
Now we see that when x→∞ or x→−∞, 1/(x−2)→0 and the value of f(x)→2x+1. This means that as |x| becomes very large, the graph of f(x) gets very close to the graph of y=2x+1. Thus the line y=2x+1 is the oblique asymptote.
Now Try Exercise 59.
The following statements are also true.
Shown below is an outline of a procedure that we can follow to create accurate graphs of rational functions.
Graph: f(x)=2x+33x2+7x−6.
We find the zeros of the denominator by solving 3x2+7x−6=0. Since
the zeros are 23 and −3. Thus the domain excludes 23 and −3 and is
Since neither zero of the denominator is a zero of the numerator, the graph has vertical asymptotes x=−3 and x=23. We sketch these as dashed lines.
Because the degree of the numerator is less than the degree of the denominator, the x-axis, y=0, is the horizontal asymptote.
To find the zeros of the numerator, we solve 2x+3=0 and get x=−32. Thus, −32 is the zero of the function, and the pair (−32, 0) is the x-intercept.
We find f(0):
The point (0, −12) is the y-intercept.
We find other function values to determine the general shape. We choose values in each interval of the domain as shown in the table below and then draw the graph. Note that the graph of this function crosses its horizontal asymptote at x=−32.
x | y |
−4.5 | −0.26 |
−3.25 | −1.19 |
−2.5 | 0.42 |
−0.5 | −0.23 |
0.5 | −2.29 |
0.75 | 4.8 |
1.5 | 0.53 |
3.5 | 0.18 |
Now Try Exercise 65.
Graph: g(x)=x2−1x2+x−6.
We find the zeros of the denominator by solving x2+x−6=0. Since
the zeros are −3 and 2. Thus the domain excludes the x-values −3 and 2 and is
Since neither zero of the denominator is a zero of the numerator, the graph has vertical asymptotes x=−3 and x=2. We sketch these as dashed lines.
The numerator and the denominator have the same degree, so the horizontal asymptote is determined by the ratio of the leading coefficients: 1/1, or 1. Thus, y=1 is the horizontal asymptote. We sketch it with a dashed line.
To find the zeros of the numerator, we solve x2−1=0. The solutions are −1 and 1. Thus, −1 and 1 are the zeros of the function and the pairs (−1, 0) and (1, 0) are the x-intercepts.
We find g(0):
Thus, (0, 16) is the y-intercept.
We find other function values to determine the general shape and then draw the graph.
Now Try Exercise 77.
The magnified portion of the graph in Example 9 above shows another situation in which a graph can cross its horizontal asymptote. The point where g(x) crosses y=1 can be found by setting g(x)=1 and solving for x:
The point of intersection is (5, 1). Note the behavior of the curve after it crosses the horizontal asymptote at x=5. (See the graph at left.) It continues to decrease for a short interval and then begins to increase, getting closer and closer to y=1 as x→∞.
Graphs of rational functions can also cross an oblique asymptote. The graph of
shown below crosses its oblique asymptote y=2x. Remember, graphs can cross horizontal asymptotes or oblique asymptotes, but they cannot cross vertical asymptotes.
Let’s now graph a rational function f(x)=p(x)/q(x), where p(x) and q(x) have a common factor, x−c. The graph of such a function has a “hole” in it. We first saw this situation in Example 3(b), where the common factor was x.
Graph: g(x)=x−2x2−x−2.
We first express the denominator in factored form:
The domain of the function is {x|x≠−1 and x≠2}, or (−∞, −1)∪ (−1, 2)∪(2, ∞). Note that the numerator and the denominator have the common factor x−2. The zeros of the denominator are −1 and 2, and the zero of the numerator is 2. Since −1 is the only zero of the denominator that is not a zero of the numerator, the graph of the function has x=−1 as its only vertical asymptote. The degree of the numerator is less than the degree of the denominator, so y=0 is the horizontal asymptote. There are no zeros of the function and thus no x-intercepts, because 2 is the only zero of the numerator and 2 is not in the domain of the function. Since g(0)=1, (0, 1) is the y-intercept. The rational expression
can be simplified. Thus,
x | y |
---|---|
−3 | −12 |
−2 | −1 |
−1 | Not defined |
0 | 1 |
1 | 12 |
2 | Not defined |
3 | 14 |
The graph of g(x) is the graph of y=1/(x+1) with the point where x=2 missing. To determine the coordinates of the “hole,” we substitute 2 for x in g(x)=1/(x+1):
Thus the “hole” is located at (2, 13). We draw the graph indicating the “hole” when x=2 with an open circle.
Now Try Exercise 49.
Graph: f(x)=−2x2−x+15x2−x−12.
We first express the numerator and the denominator in factored form:
The domain of the function is {x|x≠−3 and x≠4}, or (−∞, −3)∪(−3, 4)∪ (4, ∞). The numerator and the denominator have the common factor x+3. The zeros of the denominator are −3 and 4, and the zeros of the numerator are −3 and 52. Since 4 is the only zero of the denominator that is not a zero of the numerator, the graph of the function has x=4 as its only vertical asymptote.
The degrees of the numerator and the denominator are the same, so the line y=−21=−2 is the horizontal asymptote. The zeros of the numerator are 52 and −3. Because −3 is not in the domain of the function, the only x-intercept is (52, 0). Since f(0)=−1512=−54, then (0, −54) is the y-intercept. The rational function
can be simplified.
Thus,
The graph of f(x) is the graph of y=−(2x−5)/(x−4) with the point where x=−3 missing. To determine the coordinates of the hole, we substitute −3 for x in f(x)=(−2x+5)/(x−4):
Thus the hole is located at (−3, −117). We draw the graph indicating the hole when x=−3 with an open circle.
x | y |
---|---|
−5 | −1.67 |
−4 | −1.63 |
−3 | Not defined |
−2 | −1.5 |
−1 | −1.4 |
0 | −1.25 |
1 | −1 |
2 | −0.5 |
3 | 1 |
3.5 | 4 |
4 | Not defined |
5 | −5 |
6 | −3.5 |
7 | −3 |
8 | −2.75 |
Now Try Exercise 67.
Temperature During an Illness. A person’s temperature T, in degrees Fahrenheit, during an illness is given by the function
where time t is given in hours since the onset of the illness. The graph of this function is shown at left.
Find the temperature at t=0, 1, 2, 5, 12, and 24.
Find the horizontal asymptote of the graph of T(t). Complete:
Give the meaning of the answer to part (b) in terms of the application.
We have
Since
the horizontal asymptote is y=98.6/1, or 98.6. Then it follows that T(t)→98.6 as t→∞.
As time goes on, the temperature returns to “normal,” which is 98.6°F.
Now Try Exercise 83.
Match the function with its graph.
f(x)=−1x2
f(x)=x3−3x2+2x+3
f(x)=x2−4x2−x−6
f(x)=−x2+4x−1
f(x)=x−3x2+x−6
f(x)=34x+2
f(x)=x2−1
f(x)=x4−2x2−5
f(x)=8x−43x+6
f(x)=2x2−4x−1
Answers on page A-19
Determine the domain of the function.
1. f(x)=x22−x
2. f(x)=1x3
3. f(x)=x+1x2−6x+5
4. f(x)=(x+4)24x−3
5. f(x)=3x−43x+15
6. f(x)=x2+3x−10x2+2x
In Exercises 7–12, use your knowledge of asymptotes and intercepts to match the equation with one of the graphs (a)–(f) that follow. List all asymptotes.
7. f(x)=8x2−4
8. f(x)=8x2+4
9. f(x)=8xx2−4
10. f(x)=8x2x2−4
11. f(x)=8x3x2−4
12. f(x)=8x3x2+4
Determine the vertical asymptotes of the graph of the function.
13. g(x)=1x2
14. f(x)=4xx2+10x
15. h(x)=x+72−x
16. g(x)=x4+2x
17. f(x)=3−x(x−4)(x+6)
18. h(x)=x2−4x(x+5)(x−2)
19. g(x)=x32x3−x2−3x
20. f(x)=x+5x2+4x−32
Determine the horizontal asymptote of the graph of the function.
21. f(x)=3x2+54x2−3
22. g(x)=x+6x3+2x2
23. h(x)=x2−42x4+3
24. f(x)=x5x5+x
25. g(x)=x3−2x2+x−1x2−16
26. h(x)=8x4+x−22x4−10
Determine the oblique asymptote of the graph of the function.
27. g(x)=x2+4x−1x+3
28. f(x)=x2−6xx−5
29. h(x)=x4−2x3+1
30. g(x)=12x3−x6x2+4
31. f(x)=x3−x2+x−4x2+2x−1
32. h(x)=5x3−x2+x−1x2−x+2
Graph the function. Be sure to label all the asymptotes. List the domain and the x- and y-intercepts.
33. f(x)=1x
34. g(x)=1x2
35. h(x)=−4x2
36. f(x)=−6x
37. g(x)=x2−4x+3x+1
38. h(x)=2x2−x−3x−1
39. f(x)=−2x−5
40. f(x)=1x−5
41. f(x)=2x+1x
42. f(x)=3x−1x
43. f(x)=x+3x2−9
44. f(x)=x−1x2−1
45. f(x)=xx2+3x
46. f(x)=3x3x−x2
47. f(x)=1(x−2)2
48. f(x)=−2(x−3)2
49. f(x)=x2+2x−3x2+4x+3
50. f(x)=x2−x−2x2−5x−6
51. f(x)=1x2+3
52. f(x)=−1x2+2
53. f(x)=x2−4x−2
54. f(x)=x2−9x+3
55. f(x)=x−1x+2
56. f(x)=x−2x+1
57. f(x)=x2+3x2x3−5x2−3x
58. f(x)=3xx2+5x+4
59. f(x)=x2−9x+1
60. f(x)=x3−4xx2−x
61. f(x)=x2+x−22x2+1
62. f(x)=x2−2x−33x2+2
63. g(x)=3x2−x−2x−1
64. f(x)=2x2−5x−32x+1
65. f(x)=x−1x2−2x−3
66. f(x)=x+2x2+2x−15
67. f(x)=3x2+11x−4x2+2x−8
68. f(x)=2x2−3x−9x2−2x−3
69. f(x)=x−3(x+1)3
70. f(x)=x+2(x−1)3
71. f(x)=x3+1x
72. f(x)=x3−1x
73. f(x)=x3+2x2−15xx2−5x−14
74. f(x)=x3+2x2−3xx2−25
75. f(x)=5x4x4+1
76. f(x)=x+1x2+x−6
77. f(x)=x2x2−x−2
78. f(x)=x2−x−2x+2
Find a rational function that satisfies the given conditions. Answers may vary, but try to give the simplest answer possible.
79. Vertical asymptotes x=−4, x=5
80. Vertical asymptotes x=−4, x=5; x-intercept (−2, 0)
81. Vertical asymptotes x=−4, x=5; horizontal asymptote y=32; x-intercept (−2, 0)
82. Oblique asymptote y=x−1
83. Medical Dosage. The function
gives the body concentration N(t), in parts per million, of a certain dosage of medication after time t, in hours.
Find the horizontal asymptote of the graph and complete the following:
Explain the meaning of the answer to part (a) in terms of the application.
84. Average Cost. The average cost per light, in dollars, for a company to produce x roadside emergency lights is given by the function
Find the horizontal asymptote of the graph and complete the following:
Explain the meaning of the answer to part (a) in terms of the application.
85. Population Growth. The population P, in thousands, of a resort community is given by
where t is the time, in months, since the city council raised the property taxes.
Find the population at t=0, 1, 3, and 8 months.
Find the horizontal asymptote of the graph and complete the following:
Explain the meaning of the answer to part (b) in terms of the application.
In each of Exercises 86–94, fill in the blank with the correct term. Some of the given choices will not be used. Others will be used more than once.
x-intercept
y-intercept
odd function
even function
domain
range
slope
distance formula
midpoint formula
horizontal lines
vertical lines
point–slope equation
slope–intercept equation
difference quotient
f(x)=f(−x)
f(−x)=−f(x)
86. A function is a correspondence between a first set, called the ______________, and a second set, called the ______________, such that each member of the ______________ corresponds to exactly one member of the ______________. [1.2]
87. The ______________ of a line containing (x1,y1) and (x2,y2) is given by (y2−y1)/(x2−x1). [1.3]
88. The ______________ of the line with slope m and y-intercept (0, b) is y=mx+b. [1.3]
89. The ______________ of the line with slope m passing through (x1,y1) is y−y1=m(x−x1). [1.4]
90. A(n) ______________ is a point (a, 0). [1.1]
91. For each x in the domain of an odd function f, f(−x)=−f(x)¯. [2.4]
92. ______________ are given by equations of the type x=a. [1.3]
93. The ______________ is (x1+x22, y1+y22). [1.1]
94. A(n) ______________ is a point (0, b). [1.1]
Find the nonlinear asymptote of the function.
95. f(x)=x5+2x3+4x2x2+2
96. f(x)=x4+3x2x2+1
Graph the function.
97. f(x)=2x3+x2−8x−4x3+x2−9x−9
98. f(x)=x3+4x2+x−6x2−x−2