Week7 GraphsOf-Rationalfunc
Week7 GraphsOf-Rationalfunc
1 Rational Functions
where P and Q are polynomials. We assume that P(x) and Q(x) have no
factor in common.Even though rational functions are constructed from
polynomials, their graphs look quite different from graphs of polynomial
functions.
Solution:
The function f is not defined for x = 0. The following tables show that
when x is close to zero, the value of |f (x)| is large, and the closer x gets
to zero, the larger |f (x)| gets.
x f (x) x f (x)
-0.1 -10 0.1 10
-0.01 -100 0.01 100
-0.00001 -100,000 0.00001 100,000
The table on the left shows that as x approaches 0 from left, the values of
y = f (x) decreases without bound. In symbols,
f (x) → −∞ as x → 0− .
Similarly, the table on the right shows that as x approaches 0 from right,
the values of y = f (x) increases without bound. In symbols,
f (x) → ∞ as x → 0+ .
The following tables show how f (x) changes as |x| becomes large.
x f (x) x f (x)
-10 -0.1 10 0.1
-100 -0.01 100 0.01
-100,000 -0.00001 100,000 0.00001
The tables shows that as |x| becomes large, the values of y = f (x) gets
closer and closer to zero. In symbols,
1
(a) Let f (x) = . Then we can express r in terms of f as follows
x
2 1 1
r (x) = =2 = 2f (x − 3). Since f (x) = .
x −3 x −3 x
Thus, the graph of r is obtained from the graph of f by shifting 3
units to the right and stretching vertically by a factor 2. Hence, r has
a vertical asymptote x = 3 and horizontal asymptote y = 0.
1
(b) Using long division, we get s(x) = 3 − .Thus we can express s
x +2
in terms of f as follows
1 1
s(x) = 3 − = −f (x + 2) + 3 Since f (x) = .
x +2 x
The graph of s is obtained from the graph of f by shifting 2 units to
the left, reflecting in the x-axis and shifting up 3 units.
The function s is
defined for all values
of x other than −2,
so the domain is
{x|x ̸= −2}.
2x 2 − 4x + 5
r (x) = .
(x − 1)2
Domain and Range: The function r is defined for all values of x other
than 1, so the domain is {x|x ̸= 1}. From the graph, we see that the
range is {y |y > 2}.
Exercise-Home work
Find the vertical and horizontal asymptotes of the following functions
3x 2 − 2x − 1 2x 2 + 7x − 4
(a) r (x) = 2 (b) r (x) = 2
2x + 3x − 2 x +x −2
Example
x2 − 4
Graph the function r (x) = , and state the domain and range.
2x 2 + 2x
Solution:
(x − 2)(x + 2)
1. Factor y = .
2x(x + 1)
2. x-intercepts. −2 and 2 from x + 2 = 0 and x − 2 = 0.
3. y -intercept. None, because r (0) is undefined.
4. Vertical asymptotes. x = 0 and x = −1, from the zeros of
the denominator.
As x → −1− −1+ 0− 0+
(x−2)(x+2) (−)(+) (−)(+) (−)(+) (−)(+)
the sign of y = 2x(x+1) (−)(−) (−)(+) (−)(+) (+)(+)
so y → −∞ ∞ ∞ −∞
x2 − 4
7. Graph of y =
2x 2 + 2x
If r (x) = p(x)/q(x) such that p and q have a factor in common, then its
graph has a hole.
Example 4
x −3
Graph the function r (x) = .
x 2 − 3x
Solution:
We factor the numerator and denominator
x −3 x −3 1
r (x) = 2
= = , for x ̸= 3.
x − 3x x(x − 3) x
1
Therefore, r has the same graph as y = but with a hole when x is 3.
x
Thus, the hole is at (3, 13 ).
Example 2
x2 − 4
Graph the function f (x) = .
x2 − x − 6
Solution:
x2 − 4 (x − 2)(x + 2) x −2
f (x) = 2
= . Thus, f (x) = , x ̸= −2. The
x −x −6 (x + 2)(x − 3) x− 3
4 4
hole is at x = −2, when y = . Thus, the hole is at −2, . The
5 5
vertical asymptote is x = 3, and horizontal asymptote is y = 1.
The
x-intercept,
when y = 0 is (2, 0), and y -intercept, when x = 0 is
2
0, . We can now sketch the graph of f .
3
R(x)
r (x) = ax + b +
Q(x)
where the degree of R is less than the degree of Q and a ̸= 0.This means
that as x → ±∞, R(x)/Q(x) → 0 so for large values of |x| the graph of
y = r (x) approaches the graph of y = ax + b, In this case, we say
y = ax + b is a slant asymptote or an oblique asymptote.
Example 5
x 2 − 4x − 5
Graph the function r (x) = .
x −3
Solution:
(x + 1)(x − 5)
Factor y =
x −3
x-intercepts: −1 and 5 from x + 1 = 0 and x − 5 = 0.
y -intercept: 35 , because y = r (0).
Vertical Asymptote: x = 3, from the zero of the denominator.
Behavior near vertical asymptote: y → ∞ as x → 3− and y → −∞ as
x → 3+ .
Horizontal Asymptote: None, why?
Slant Asymptote: Using the long division method
8
r (x) = x − 1 − .
x −3
Thus y = x − 1 is an oblique asymptote.