The below 5 steps should be followed to graph the rational functions.
Draw the graph the following function.
$$f(x)=\frac{2x^{2}+x+1}{x+1}$$
Solution:
1. Because \(Q(x)=x+1\) becomes \(0\) at \(x=-1\), we can tell that there will be a vertical asymptote at that x-value. Furthermore, since the degree of the numerator is greater than the degree of the denominator by exactly one. Therefore, there is an oblique asymptote, and consequently, there are no horizontal asymptotes.
Polynomial | Degree |
\(P(x)=2x^{2}+x+1\) | \(2\) |
\(Q(x)=x^{1}+1\) | \(1\) |
Degree Difference |
\(2-1=1\) |
To find the equation of the oblique asymptote, we need to do the polynomial division:
$$\frac{2x^{2}+x+1}{x+1}=2x-1+\frac{2}{x+1}$$
Since the equation of the asymptote must be of the form \(y=mx+b\), we can identify the asymptote equation to be \(2x-1\).
2. We draw these asymptotes on our paper. In this case, the vertical line is our vertical asymptote of \(x=-1\) and our slant line is our oblique asymptote of \(2x-1\):
Fig. 2 - A graph showing the asymptotes of a rational function - StudySmarter Originals
3. To find any intercepts we need to set \(x\) to \(0\) and then \(y\) to \(0\). First, we will set \(x\) to \(0\):
$$\frac{2(0)^{2}+0+1}{0+1}$$
which simplifies down to \(\frac{0+0+1}{0+1}\). Therefore there is an intercept with the y axis at \(y = 1\). Now, setting \(y=0\), we obtain the equation
$$0=\frac{2(x)^{2}+x+1}{x+1}$$
where we can ignore the denominator, leaving us with \(2(x)^{2}+x+1=0\). The reason why we can eliminate the denominator is that if we multiply both sides with it, multiplying with \(0\) will vanish it anyways. This equation has no real solution. This implies that there is no point where the parabola of \(2(x)^{2}+x+1=0\) crosses the x-axis. Therefore, there are no x-intercepts. Make sure to plot these points on the graph.
Fig. 3 - The graph involving the asymptotes and the y intercept - StudySmarter Originals
4. We now plot several values for \(x\) against \(y\), substituting an \(x\) value into the equation and plotting the point on the graph:
Fig. 4 - The graph after plotting some more points - StudySmarter Originals
5. Finally, we can connect these points to draw our final graph:
Fig. 5 - The curve after joining all the points and asymptotes addressed - StudySmarter Originals
Notice that the graph is split up into two different pieces. This will happen with every rational function.
More examples on Graphing Rational Functions can be found here!