Graphing Rational Functions

Graphing Rational Functions
Steps for graphing a rational function f(x)=cxm+dxm−1+...axn+bxn−1+...:
- Factor, if necessary
- Find the x-intercepts & y-intercepts
- Find the vertical asymptotes
- Find the horizontal asymptotes
- Find the missing points/holes
- Use a table of signs to determine if the function, f(x), will be above or below the horizontal asymptote. Any vertical asymptotes & x-intercepts will be used to determine the behaviour of f(x)
- Plot the function using the information found in Steps 1 - 6.
Example
Graph f(x)=x−24x−5, stating the domain and range.
Step 1.
Factor, if necessary.
Factoring will not be required since f(x)=x−24x−5 is in simplest form already.
Step 2.
Find the x-intercepts & y-intercepts.
The x-intercepts are determined by allowing f(x)=0:
f(x)(00∴ x====x−24x−5x−24x−5)×(x−2)4x−545
The y-intercepts are determined by allowing x=0:
f(x)f(x)∴ f(x)===x−24x−50−24(0)−525
Step 3.
Find the vertical asymptotes.
The vertical asymptotes can found by finding the zeros of the denominator. In other words, set the denominator to 0 and solve.
Let x−2=0.
The vertical asymptote is x=2.
Step 4.
Find the horizontal asymptotes.
The degree of the polynomial in the numerator (n=1) is equivalent to the degree of the polynomial in the denominator (m=1).
Therefore, the horizontal asymptote for f(x) is the ratio of the leading coefficients y=14=4.
Step 5.
Find the missing points/holes.
There were no terms eliminated. Therefore, there are no missing points/holes.
Step 6.
Use a table of signs to determine if the function, f(x), will be above or below the horizontal asymptote. Any vertical asymptotes & x-intercepts will be used to determine the behaviour of f(x).
4x−5x−2f(x)0−−+1.5+−−3+++ Pick values of x around the vertical asymptotes and x-intercpets
The function lies above the horizontal asymptote in the interval (−∞,45) & (2,∞)
The function lies below the horizontal asymptote in the interval (45,2)
Step 7.
Plot the function using the information found in Steps 1 - 6.
Domain: (−∞,2) ∪ (2,∞)
Range: (−∞,4) ∪ (4,∞)

Example: Graphing Rational Functions
Sketch a graph of f(x)=x2−5x.
Step 1.
Factor, if necessary.
f(x)f(x)==x2−5x(x−5)(x+5)x
Step 2.
Find the x-intercepts & y-intercepts.
The x-intercepts are determined by allowing f(x)=0:
f(x)(00∴ x====x2−5xx2−5x)×(x2−5)x0
The y-intercepts are determined by allowing x=0:
f(x)f(x)∴ f(x)===x2−5x02−500
Step 3.
Find the vertical asymptotes.
The vertical asymptotes can found by finding the zeros of the denominator. In other words, set the denominator to 0 and solve.
Let (x−5)(x+5)=0.
The vertical asymptotes are x=±5
Step 4.
Find the horizontal asymptotes.
The degree of the polynomial in the numerator (n=1) is not equivalent to the degree of the polynomial in the denominator (m=2).
Therefore, the horizontal asymptote for f(x) is the ratio of the leading coefficients y=0.
Step 5.
Find the missing points/holes.
There were no terms eliminated. Therefore, there are no missing points/holes.
Step 6.
Use a table of signs to determine if the function, f(x), will be above or below the horizontal asymptote. Any vertical asymptotes & x-intercepts will be used to determine the behaviour of f(x).
xx2−5f(x)−3−+−−1−−+1+−−3+++ Pick values of x around the vertical asymptotes and x-intercpets
The function lies above the horizontal asymptote in the interval (−5,0) & (5,∞)
The function lies below the horizontal asymptote in the interval (−∞,−5) & (0,5)
Step 7.
Plot the function using the information found in Steps 1 - 6.

Domain: (−∞,−5) ∪ (−5,5) ∪ (5,∞)
Range: (−∞,0) ∪ (0,∞)

Example: Graphing Rational Functions
Sketch a graph of f(x)=−2x−8x−3.
Step 1.
Factor, if necessary.
f(x)f(x)==−2x−8x−3−2(x+4)x−3
Step 2.
Find the x-intercepts & y-intercepts.
The x-intercepts are determined by allowing f(x)=0:
f(x)(00∴ x====−2(x+4)x−3−2(x+4)x−3)×(−2(x+4))x−33
The y-intercepts are determined by allowing x=0:
f(x)f(x)f(x)∴ f(x)====−2x−8x−3−2(0+4)0−3−2(4)−383
Step 3.
Find the vertical asymptotes.
The vertical asymptotes can found by finding the zeros of the denominator. In other words, set the denominator to 0 and solve.
Let (x+4)=0.
The vertical asymptote is x=−4
Step 4.
Find the horizontal asymptotes.
The degree of the polynomial in the numerator (n=1) is equivalent to the degree of the polynomial in the denominator (m=1).
Therefore, the horizontal asymptote for f(x) is the ratio of the leading coefficients y=−21.
Step 5.
Find the missing points/holes.
There were no terms eliminated. Therefore, there are no missing points/holes.
Step 6.
Use a table of signs to determine if the function, f(x), will be above or below the horizontal asymptote. Any vertical asymptotes & x-intercepts will be used to determine the behaviour of f(x).
x−3−2x+4f(x)−5−−−−0−−++4+−+− Pick values of x around the vertical asymptotes and x-intercpets
The function lies above the horizontal asymptote in the interval (−4,3)
The function lies below the horizontal asymptote in the interval (−∞,−4) & (3,∞)
Step 7.
Plot the function using the information found in Steps 1 - 6.

Domain: (−∞,−4) ∪ (−4,∞)
Range: (−∞,−21) ∪ (−21,∞)

Example: Graphing Rational Functions
Sketch a graph of f(x)=2x−43x2+5x+2
Step 1.
Factor, if necessary.
f(x)f(x)==2x−43x2+5x+22(x−2)(3x+2)(x+1)
Step 2.
Find the x-intercepts & y-intercepts.
The x-intercepts are determined by allowing f(x)=0:
f(x)(00∴ x====2(x−2)(3x+2)(x+1)2(x−2)(3x+2)(x+1))×(2(x−2))(3x+2)(x+1)−32, −1
The y-intercepts are determined by allowing x=0:
f(x)f(x)f(x)∴ f(x)====2(x−2)(3x+2)(x+1)2(0−2)(3(0)+2)(0+1)2(−2)2−21
Step 3.
Find the vertical asymptotes.
The vertical asymptotes can found by finding the zeros of the denominator. In other words, set the denominator to 0 and solve.
Let (x−2)=0.
The vertical asymptotes is x=2
Step 4.
Find the horizontal (or oblique) asymptotes.
The degree of the polynomial in the numerator (n=2) is not equivalent to the degree of the polynomial in the denominator (m=1).
Therefore, there is an oblique asymptote.
Divide f(x)=2x−43x2+5x+2
23↓3561122224
Divide the quotient by 2:
(3x+11)÷2=23x+211
The oblique asymptote is the quotient. So, y=23x+211
Step 5.
Find the missing points/holes.
There were no terms eliminated. Therefore, there are no missing points/holes.
Step 6.
Use a table of signs to determine if the function, f(x), will be above or below the oblique asymptote. Any vertical asymptotes & x-intercepts will be used to determine the behaviour of f(x).
3x+2x+12x−2f(x)−2−−+−−−0.75−−+−−0+++−−3+++++ Pick values of x around the vertical asymptotes and x-intercepts
The function lies above the oblique asymptote in the interval (2,∞)
The function lies below the oblique asymptote in the interval (−∞,2)
Step 7.
Plot the function using the information found in Steps 1 - 6.

Domain: (−∞,2) ∪ (2,∞)
Practice: Graphing Rational Functions
Sketch a graph of f(x)=−2x−6x+4, stating all asymptotes, x-intercepts, missing points, and positive & negative intervals.
Practice: Graphing Rational Functions
Find a rational function of the form f(x)=cx+dax+b that describes the following:
- Vertical asymptote at x=5
- Horizontal asymptote at y=3
- X-intercept at x=−52
Practice: Graphing Rational Functions
Write a rational function with the following properties:
- An oblique asymptote at y=x+4
- A vertical asymptote at x=5
- One of the x-intercepts is at x=2