Graphing Rational Equations
Rational equations have many features that make it difficult to graph them by simply plotting points.
To determine the graph of a rational equation, we will
Check for holes (common factors).
Determine the -intercept .
Determine the -intercept (numerator is 0).
Determine the behavior at positive/negative infinity.
Find any vertical asymptotes (denominator is 0). Determine behavior around these asymptotes.
Plot the information and sketch the graph.
Note: This algebraic approach does not require calculus. For instructions on drawing better graphs with the use of calculus, see Graphing Using Derivatives.
Contents
Checking for holes
- Factorize the numerator and the denominator, and find any common factors. Say that , where and do not have any common factors.
- For any value such that , we will have a hole at with corresponding . Record this down.
- Cancel out the common factor and proceed to find the graph of .
For example, the graph of is similar to the graph of with a hole at the point .
Henceforth, we will draw the graph of , where .
Finding Intercepts
Determine the -intercept.
Substitute in into the equation, and the -intercept will be .
Determine the -intercept.
This occurs when , or when the numerator is 0. Solve for .
Determine the behavior at positive/negative infinity
Perform partial fractions:
where . Then, for large values of , will be close to 0.
As such, we know that for large values, . We then need to determine for large positive (and large negative) values of , if will be above, or below . This is easy to determine by checking the signs of and .
You may be familiar with this:
Let and .
Case 1: .
The graph will have a horizontal asymptote at .Case 2: . Let the leading coefficient of be and the leading coefficient of be . Then, the graph will have a horizontal asymptote at .
Case 3: .
There is no horizontal asymptote.
This is included in the above analysis:
Case 1 will give us that ,
Case 2 will give us that is a constant,
Case 3 will give us that is not a constant.
Finding and checking vertical asymptotes
Vertical asymptotes occur when the denominator is 0. Solve for .
For each solution , we need to determine how the graph looks like on the left, and on the right of . We know that it will tend to infinity (hence asymptote), but need to figure out if it will tend to positive infinity, or negative infinity.
To do so, we check what the signs of the factorized terms are, and then multiply them to determine the eventual sign.
Plotting the information and sketching the graph
The above analysis provides you with a lot of information about the graph. It is time to put this information on paper. See the example below for how to do this.
How do we draw the graph of ?
Step 0:
Check for holes. Since there is no common factors in the numerator and denominator, there are no holes.Step 1:
Determine the -intercept. This occurs when , which gives us .Step 2:
Determine the -intercept. This occurs when the numerator is 0, which gives usStep 3:
Determine the behavior at infinity. Since the numerator and denominator are both linear polynomials (same degree), we know that we will get a horizontal asymptote of .We have . Hence, this tells us that
Step 4:
Find any vertical asymptotes. This happens when the denominator is 0.Solving , we get as the only vertical asymptote. Let's determine the behavior:
Step 5:
Plot the information. You should get the following. The circles indicate which step number we used.
image
Finally, draw the graph by connecting up the information. You should be able to trace out the graph (thick black line).
image
Worked Examples
Which of these graphs represents the shape of
Draw the graph of .
Step 0: Zeros
We can factorize the graph as , so there is a hole at . The -value will be .We want the graph of .
Step 1: -intercept
.Step 2: -intercept
Remember that we're now only working with , as opposed to . Hence, the -intercept occurs when .Step 3: Behavior at infinity
We have a linear polynomial over a linear polynomial, so there is a horiztonal asymptote of . Using partial fractions, we have .As , so .
As , so .Step 4: Vertical asymptotes
The denominator is 0 when .As , so .
As , so .Step 5: Plot the information, and draw the graph.
image
Draw the graph of .
Step 0: There are no holes.
Step 1: -intercept
.Step 2: -intercept
Solving for , there are no solutions. Hence there are no -intercepts.Step 3: Behavior at infinity
Since we have a degree 2 polynomial over a degree 1 polynomial, there are no horizontal asymptotes. Instead, we will need to use partial fractions.We have . This means that .
As so .
As so .Step 4: Vertical Asymptote
Setting the denominator to be 0, we get .As , so .
As , so .Step 5: Plot the information and draw the graph.
image
Draw the graph of
Step 0: There are no holes.
Step 1: -intercept
.Step 2: X-intercept.
.Step 3: Behavior at infinity.
Since we have a linear polynomial over a quadratic polynomial, the horizontal asymptote is .As , so .
As , so .Step 4: Vertical Asymptotes.
For the denominator to be 0, we have , which gives us .
As , so .
As , so .
As , so .
As , so .Step 5: Plot the information (see the green arrows/points) and draw the graph (see the thick black line).
image
Note: If you look at the right end of the graph, we infer from the information that there must be a maximum after , and the graph stays above the -axis the whole time, hence its shape. If this portion is hard to draw, you can plot more points to see the actual shape.
Draw the graph of
Step 0 : There are no holes.
Step 1 : The -intercept is .
Step 2 : The -intercept occurs when .
Step 3: Since we have a degree 1 polynomial over a degree 2 polynomial, the horizontal asymptote is .
As , so .
As , so .Step 4: The denominator is always positive, so there are no vertical asymptotes.
Step 5: Plot the information and draw the graph.
image
Once again, it is hard for us to tell how the maximum and the minimum of this graph behave. For now, we have to plot additional points around these values to see what these graphs look like.
We can get a much better idea of the shape of this graph using calculus in Graphing Using Derivatives.