4.6: Rational Functions
- Last updated
- Save as PDF
- Page ID
- 89794
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)Using Arrow Notation
We have seen the graphs of the basic reciprocal function and the squared reciprocal function from our study of toolkit functions. Examine these graphs, as shown in Figure \(\PageIndex{1}\), and notice some of their features.
Several things are apparent if we examine the graph of \(f(x)=\frac{1}{x}\).
- On the left branch of the graph, the curve approaches the \(x\)-axis \((y=0)\) as \(x\rightarrow -\infty\).
- As the graph approaches \(x = 0\) from the left, the curve drops, but as we approach zero from the right, the curve rises.
- Finally, on the right branch of the graph, the curves approaches the \(x\)-axis \((y=0) \) as \(x\rightarrow \infty\).
To summarize, we use arrow notation to show that \(x\) or \(f (x)\) is approaching a particular value (Table \(\PageIndex{1}\)).
Symbol | Meaning |
---|---|
\(x\rightarrow a^-\) | \(x\) approaches a from the left (\(x<a\) but close to \(a\) ) |
\(x\rightarrow a^+\) | \(x\) approaches a from the right (\(x>a\) but close to \(a\) ) |
\(x\rightarrow \infty\) | \(x\) approaches infinity (\(x\) increases without bound) |
\(x\rightarrow −\infty\) | \(x\) approaches negative infinity (\(x\) decreases without bound) |
\(f(x)\rightarrow \infty\) | the output approaches infinity (the output increases without bound) |
\(f(x)\rightarrow −\infty\) | the output approaches negative infinity (the output decreases without bound) |
\(f(x)\rightarrow a\) | the output approaches \(a\) |
Callstack:
at (Courses/Fresno_City_College/Math_3A:_College_Algebra_-_Fresno_City_College/04:_Polynomial_and_Rational_Functions/4.06:_Rational_Functions), /content/body/div[2]/pre, line 2, column 124
Callstack:
at (Courses/Fresno_City_College/Math_3A:_College_Algebra_-_Fresno_City_College/04:_Polynomial_and_Rational_Functions/4.06:_Rational_Functions), /content/body/div[3]/pre, line 2, column 124
Finding the Domains of Rational Functions
A vertical asymptote represents a value at which a rational function is undefined, so that value is not in the domain of the function. A reciprocal function cannot have values in its domain that cause the denominator to equal zero. In general, to find the domain of a rational function, we need to determine which inputs would cause division by zero.
Definition: DOMAIN OF A RATIONAL FUNCTION
The domain of a rational function includes all real numbers except those that cause the denominator to equal zero.
How To: Given a rational function, find the domain.
- Set the denominator equal to zero.
- Solve to find the x-values that cause the denominator to equal zero.
- The domain is all real numbers except those found in Step 2.
Example \(\PageIndex{4}\): Finding the Domain of a Rational Function
Find the domain of \(f(x)=\dfrac{x+3}{x^2−9}\).
Solution
Begin by setting the denominator equal to zero and solving.
\[x^2-9=0 \nonumber \]
\[x^2=9 \nonumber \] \[x=\pm 3 \nonumber \]
The denominator is equal to zero when \(x=\pm 3\). The domain of the function is all real numbers except \(x=\pm 3\).
Analysis
A graph of this function, as shown in Figure \(\PageIndex{9}\), confirms that the function is not defined when \(x=\pm 3\).
There is a vertical asymptote at \(x=3\) and a hole in the graph at \(x=−3\). We will discuss these types of holes in greater detail later in this section.
Exercise \(\PageIndex{4}\)
Find the domain of \(f(x)=\dfrac{4x}{5(x−1)(x−5)}\).
- Answer
-
The domain is all real numbers except \(x=1\) and \(x=5\).
Identifying Vertical Asymptotes of Rational Functions
By looking at the graph of a rational function, we can investigate its local behavior and easily see whether there are asymptotes. We may even be able to approximate their location. Even without the graph, however, we can still determine whether a given rational function has any asymptotes, and calculate their location.
Vertical Asymptotes
The vertical asymptotes of a rational function may be found by examining the factors of the denominator that are not common to the factors in the numerator. Vertical asymptotes occur at the zeros of such factors.
How To: Given a rational function, identify any vertical asymptotes of its graph
- Factor the numerator and denominator.
- Note any restrictions in the domain of the function.
- Reduce the expression by canceling common factors in the numerator and the denominator.
- Note any values that cause the denominator to be zero in this simplified version. These are where the vertical asymptotes occur.
- Note any restrictions in the domain where asymptotes do not occur. These are removable discontinuities, or “holes.”
Example \(\PageIndex{5}\): Identifying Vertical Asymptotes
Find the vertical asymptotes of the graph of \(k(x)=\dfrac{5+2x^2}{2−x−x^2}\).
Solution
First, factor the numerator and denominator.
\[k(x)=\dfrac{5+2x^2}{2−x−x^2} \nonumber \]
\[=\dfrac{5+2x^2}{(2+x)(1-x)} \nonumber \]
To find the vertical asymptotes, we determine where this function will be undefined by setting the denominator equal to zero:
\[(2+x)(1−x)=0 \nonumber \]
\[x=−2, \; x=1 \nonumber \]
Neither \(x=–2\) nor \(x=1\) are zeros of the numerator, so the two values indicate two vertical asymptotes. The graph in Figure \(\PageIndex{10}\) confirms the location of the two vertical asymptotes.
Removable Discontinuities
Occasionally, a graph will contain a hole: a single point where the graph is not defined, indicated by an open circle. We call such a hole a removable discontinuity. For example, the function \(f(x)=\dfrac{x^2−1}{x^2−2x−3}\) may be re-written by factoring the numerator and the denominator.
Notice that \(x+1\) is a common factor to the numerator and the denominator. The zero of this factor, \(x=−1\), is the location of the removable discontinuity. Notice also that \( (x–3) \) is not a factor in both the numerator and denominator. The zero of this factor, \(x=3\), is the vertical asymptote. See Figure \(\PageIndex{11}\). [Note that removable discontinuities may not be visible when we use a graphing calculator, depending upon the window selected.]
REMOVABLE DISCONTINUITIES OF RATIONAL FUNCTIONS
A removable discontinuity occurs in the graph of a rational function at \(x=a\) if \(a\) is a zero for a factor in the denominator that is common with a factor in the numerator. We factor the numerator and denominator and check for common factors. If we find any, we set the common factor equal to 0 and solve. This is the location of the removable discontinuity. This is true if the multiplicity of this factor is greater than or equal to that in the denominator. If the multiplicity of this factor is greater in the denominator, then there is still an asymptote at that value.
Example \(\PageIndex{6}\): Identifying Vertical Asymptotes and Removable Discontinuities for a Graph
Find the vertical asymptotes and removable discontinuities of the graph of \(k(x)=\dfrac{x−2}{x^2−4}\).
Solution
Factor the numerator and the denominator.
\[k(x)=\dfrac{x−2}{(x−2)(x+2)} \nonumber \]
Notice that there is a common factor in the numerator and the denominator, \(x–2\). The zero for this factor is \(x=2\). This is the location of the removable discontinuity.
Notice that there is a factor in the denominator that is not in the numerator, \(x+2\). The zero for this factor is \(x=−2\). The vertical asymptote is \(x=−2\). See Figure \(\PageIndex{12}\).
The graph of this function will have the vertical asymptote at \(x=−2\), but at \(x=2\) the graph will have a hole.
Exercise \(\PageIndex{5}\)
Find the vertical asymptotes and removable discontinuities of the graph of \(f(x)=\dfrac{x^2−25}{x^3−6x^2+5x}\).
- Answer
-
Removable discontinuity at \(x=5\).
Vertical asymptotes: \(x=0\), \(x=1\).
Vertical Asymptotes
The vertical asymptotes of a rational function may be found by examining the factors of the denominator that are not common to the factors in the numerator. Vertical asymptotes occur at the zeros of such factors.
How To: Given a rational function, identify any vertical asymptotes of its graph
- Factor the numerator and denominator.
- Note any restrictions in the domain of the function.
- Reduce the expression by canceling common factors in the numerator and the denominator.
- Note any values that cause the denominator to be zero in this simplified version. These are where the vertical asymptotes occur.
- Note any restrictions in the domain where asymptotes do not occur. These are removable discontinuities, or “holes.”
Example \(\PageIndex{5}\): Identifying Vertical Asymptotes
Find the vertical asymptotes of the graph of \(k(x)=\dfrac{5+2x^2}{2−x−x^2}\).
Solution
First, factor the numerator and denominator.
\[k(x)=\dfrac{5+2x^2}{2−x−x^2} \nonumber \]
\[=\dfrac{5+2x^2}{(2+x)(1-x)} \nonumber \]
To find the vertical asymptotes, we determine where this function will be undefined by setting the denominator equal to zero:
\[(2+x)(1−x)=0 \nonumber \]
\[x=−2, \; x=1 \nonumber \]
Neither \(x=–2\) nor \(x=1\) are zeros of the numerator, so the two values indicate two vertical asymptotes. The graph in Figure \(\PageIndex{10}\) confirms the location of the two vertical asymptotes.
Removable Discontinuities
Occasionally, a graph will contain a hole: a single point where the graph is not defined, indicated by an open circle. We call such a hole a removable discontinuity. For example, the function \(f(x)=\dfrac{x^2−1}{x^2−2x−3}\) may be re-written by factoring the numerator and the denominator.
Notice that \(x+1\) is a common factor to the numerator and the denominator. The zero of this factor, \(x=−1\), is the location of the removable discontinuity. Notice also that \( (x–3) \) is not a factor in both the numerator and denominator. The zero of this factor, \(x=3\), is the vertical asymptote. See Figure \(\PageIndex{11}\). [Note that removable discontinuities may not be visible when we use a graphing calculator, depending upon the window selected.]
REMOVABLE DISCONTINUITIES OF RATIONAL FUNCTIONS
A removable discontinuity occurs in the graph of a rational function at \(x=a\) if \(a\) is a zero for a factor in the denominator that is common with a factor in the numerator. We factor the numerator and denominator and check for common factors. If we find any, we set the common factor equal to 0 and solve. This is the location of the removable discontinuity. This is true if the multiplicity of this factor is greater than or equal to that in the denominator. If the multiplicity of this factor is greater in the denominator, then there is still an asymptote at that value.
Example \(\PageIndex{6}\): Identifying Vertical Asymptotes and Removable Discontinuities for a Graph
Find the vertical asymptotes and removable discontinuities of the graph of \(k(x)=\dfrac{x−2}{x^2−4}\).
Solution
Factor the numerator and the denominator.
\[k(x)=\dfrac{x−2}{(x−2)(x+2)} \nonumber \]
Notice that there is a common factor in the numerator and the denominator, \(x–2\). The zero for this factor is \(x=2\). This is the location of the removable discontinuity.
Notice that there is a factor in the denominator that is not in the numerator, \(x+2\). The zero for this factor is \(x=−2\). The vertical asymptote is \(x=−2\). See Figure \(\PageIndex{12}\).
The graph of this function will have the vertical asymptote at \(x=−2\), but at \(x=2\) the graph will have a hole.
Exercise \(\PageIndex{5}\)
Find the vertical asymptotes and removable discontinuities of the graph of \(f(x)=\dfrac{x^2−25}{x^3−6x^2+5x}\).
- Answer
-
Removable discontinuity at \(x=5\).
Vertical asymptotes: \(x=0\), \(x=1\).
Identifying Horizontal Asymptotes of Rational Functions
While vertical asymptotes describe the behavior of a graph as the output gets very large or very small, horizontal asymptotes help describe the behavior of a graph as the input gets very large or very small. Recall that a polynomial’s end behavior will mirror that of the leading term. Likewise, a rational function’s end behavior will mirror that of the ratio of the function that is the ratio of the leading terms.
There are three distinct outcomes when checking for horizontal asymptotes:
Case 1: If the degree of the denominator > degree of the numerator, there is a horizontal asymptote at \(y=0\).
In this case, the end behavior is \(f(x)≈\dfrac{4x}{x^2}=\dfrac{4}{x}\). This tells us that, as the inputs increase or decrease without bound, this function will behave similarly to the function \(g(x)=\dfrac{4}{x}\), and the outputs will approach zero, resulting in a horizontal asymptote at \(y=0\). See Figure \(\PageIndex{13}\). Note that this graph crosses the horizontal asymptote.
Case 2: If the degree of the denominator < degree of the numerator by one, we get a slant asymptote.
In this case, the end behavior is \(f(x)≈\dfrac{3x^2}{x}=3x\). This tells us that as the inputs increase or decrease without bound, this function will behave similarly to the function \(g(x)=3x\). As the inputs grow large, the outputs will grow and not level off, so this graph has no horizontal asymptote. However, the graph of \(g(x)=3x\) looks like a diagonal line, and since \(f\) will behave similarly to \(g\), it will approach a line close to \(y=3x\). This line is a slant asymptote.
To find the equation of the slant asymptote, divide \(\dfrac{3x^2−2x+1}{x−1}\). The quotient is \(3x+1\), and the remainder is 2. The slant asymptote is the graph of the line \(g(x)=3x+1\). See Figure \(\PageIndex{14}\).
Case 3: If the degree of the denominator = degree of the numerator, there is a horizontal asymptote at \(y=\dfrac{a_n}{b_n}\), where \(a_n\) and \(b_n\) are respectively the leading coefficients of \(p(x)\) and \(q(x)\) for \(f(x)=\dfrac{p(x)}{q(x)}\), \(q(x)≠0\).
In this case, the end behavior is \(f(x)≈\dfrac{3x^2}{x^2}=3\). This tells us that as the inputs grow large, this function will behave like the function \(g(x)=3\), which is a horizontal line. As \(x\rightarrow \pm \infty\), \(f(x)\rightarrow 3\), resulting in a horizontal asymptote at \(y=3\). See Figure \(\PageIndex{15}\). Note that this graph crosses the horizontal asymptote.
Notice that, while the graph of a rational function will never cross a vertical asymptote, the graph may or may not cross a horizontal or slant asymptote. Also, although the graph of a rational function may have many vertical asymptotes, the graph will have at most one horizontal (or slant) asymptote.
It should be noted that, if the degree of the numerator is larger than the degree of the denominator by more than one, the end behavior of the graph will mimic the behavior of the reduced end behavior fraction. For instance, if we had the function
\[f(x)=\dfrac{3x^5−x^2}{x+3} \nonumber \]
with end behavior
\[f(x)≈\dfrac{3x^5}{x}=3x^4 \nonumber \]
the end behavior of the graph would look similar to that of an even polynomial with a positive leading coefficient.
HORIZONTAL ASYMPTOTES OF RATIONAL FUNCTIONS
The horizontal asymptote of a rational function can be determined by looking at the degrees of the numerator and denominator.
- Degree of numerator is less than degree of denominator: horizontal asymptote at \(y=0\).
- Degree of numerator is greater than degree of denominator by one: no horizontal asymptote; slant asymptote.
- Degree of numerator is equal to degree of denominator: horizontal asymptote at ratio of leading coefficients.
Example \(\PageIndex{7}\): Identifying Horizontal and Slant Asymptotes
For the functions listed, identify the horizontal or slant asymptote.
- \(g(x)=\dfrac{6x^3−10x}{2x^3+5x^2}\)
- \(h(x)=\dfrac{x^2−4x+1}{x+2}\)
- \(k(x)=\dfrac{x^2+4x}{x^3−8}\)
Solution
For these solutions, we will use \(f(x)=\dfrac{p(x)}{q(x)},\space q(x)≠0\).
- \(g(x)=\dfrac{6x^3−10x}{2x^3+5x^2}\): The degree of \(p = \) degree of \(q=3\), so we can find the horizontal asymptote by taking the ratio of the leading terms. There is a horizontal asymptote at \(y =\frac{6}{2}\) or \(y=3\).
- \(h(x)=\dfrac{x^2−4x+1}{x+2}\): The degree of \(p=2\) and degree of \(q=1\). Since \(p>q\) by 1, there is a slant asymptote found at \(\dfrac{x^2−4x+1}{x+2}\).
- \(k(x)=\dfrac{x^2+4x}{x^3−8}\) : The degree of \(p=2\) < degree of \(q=3\), so there is a horizontal asymptote \(y=0\).
Example \(\PageIndex{8}\) Identifying Horizontal Asymptotes
Find the horizontal asymptote and interpret it in context of the problem.
Solution
Both the numerator and denominator are linear (degree 1). Because the degrees are equal, there will be a horizontal asymptote at the ratio of the leading coefficients. In the numerator, the leading term is \(t\), with coefficient 1. In the denominator, the leading term is 10t, with coefficient 10. The horizontal asymptote will be at the ratio of these values:
This function will have a horizontal asymptote at \(y=\frac{1}{10}\).
This tells us that as the values of \(t\) increase, the values of \(C\) will approach \(\frac{1}{10}\). In context, this means that, as more time goes by, the concentration of sugar in the tank will approach one-tenth of a pound of sugar per gallon of water or \(\frac{1}{10}\) pounds per gallon.
Example \(\PageIndex{9}\): Identifying Horizontal and Vertical Asymptotes
Find the horizontal and vertical asymptotes of the function \(f(x)=\dfrac{(x−2)(x+3)}{(x−1)(x+2)(x−5)}\)
First, note that this function has no common factors, so there are no potential removable discontinuities.
The function will have vertical asymptotes when the denominator is zero, causing the function to be undefined. The denominator will be zero at \(x=1,–2,\)and \(5\), indicating vertical asymptotes at these values.
The numerator has degree \(2\), while the denominator has degree 3. Since the degree of the denominator is greater than the degree of the numerator, the denominator will grow faster than the numerator, causing the outputs to tend towards zero as the inputs get large, and so as \(x\rightarrow \pm \infty\), \(f(x)\rightarrow 0\). This function will have a horizontal asymptote at \(y =0.\) See Figure \(\PageIndex{16}\).
Exercise \(\PageIndex{6}\)
Find the vertical and horizontal asymptotes of the function:
\(f(x)=\dfrac{(2x−1)(2x+1)}{(x−2)(x+3)}\)
- Answer
-
Vertical asymptotes at \(x=2\) and \(x=–3\)
horizontal asymptote at \(y =4\).
INTERCEPTS OF RATIONAL FUNCTIONS
A rational function will have a \(y\)-intercept at \(f(0),\) if the function is defined at zero. A rational function will not have a \(y\)-intercept if the function is not defined at zero.
Likewise, a rational function will have \(x\)-intercepts at the inputs that cause the output to be zero. Since a fraction is only equal to zero when the numerator is zero, x-intercepts can only occur when the numerator of the rational function is equal to zero.
Example \(\PageIndex{10}\): Finding the Intercepts of a Rational Function
Find the intercepts of \(f(x)=\dfrac{(x−2)(x+3)}{(x−1)(x+2)(x−5)}\).
Solution
We can find the y-intercept by evaluating the function at zero
The x-intercepts will occur when the function is equal to zero:
\[ 0=(x−2)(x+3) \qquad \qquad \qquad \qquad \qquad \nonumber \]
\[ x=2, x=−3 \qquad \qquad \qquad \qquad \qquad \nonumber \]
The y-intercept is \((0,–0.6)\), the x-intercepts are \((2,0)\) and \((–3,0)\). See Figure \(\PageIndex{17}\).
Exercise \(\PageIndex{7}\)
Given the reciprocal squared function that is shifted right 3 units and down 4 units, write this as a rational function. Then, find the x- and y-intercepts and the horizontal and vertical asymptotes.
- Answer
-
For the transformed reciprocal squared function, we find the rational form.
\(f(x)=\dfrac{1}{{(x−3)}^2}−4=\dfrac{1−4{(x−3)}^2}{{(x−3)}^2}=\dfrac{1−4(x^2−6x+9)}{(x−3)(x−3)}=\dfrac{−4x^2+24x−35}{x^2−6x+9}\)
Because the numerator is the same degree as the denominator we know that as \(x\rightarrow \pm \infty\), \(f(x)\rightarrow −4\); so \(y=–4\) is the horizontal asymptote. Next, we set the denominator equal to zero, and find that the vertical asymptote is \(x=3\), because as \(x\rightarrow 3\), \(f(x)\rightarrow \infty\). We then set the numerator equal to \(0\) and find the x-intercepts are at \((2.5,0)\) and \((3.5,0)\). Finally, we evaluate the function at 0 and find the y-intercept to be at \((0,−\frac{35}{9})\).
Graphing Rational Functions
In Example \(\PageIndex{10}\), we see that the numerator of a rational function reveals the x-intercepts of the graph, whereas the denominator reveals the vertical asymptotes of the graph. As with polynomials, factors of the numerator may have integer powers greater than one. Fortunately, the effect on the shape of the graph at those intercepts is the same as we saw with polynomials.
The vertical asymptotes associated with the factors of the denominator will mirror one of the two toolkit reciprocal functions. When the degree of the factor in the denominator is odd, the distinguishing characteristic is that on one side of the vertical asymptote the graph heads towards positive infinity, and on the other side the graph heads towards negative infinity. See Figure \(\PageIndex{18}\).
When the degree of the factor in the denominator is even, the distinguishing characteristic is that the graph either heads toward positive infinity on both sides of the vertical asymptote or heads toward negative infinity on both sides. See Figure \(\PageIndex{19}\).
For example, the graph of \(f(x)=\dfrac{{(x+1)}^2(x−3)}{{(x+3)}^2(x−2)}\) is shown in Figure \(\PageIndex{20}\).
- At the x-intercept \(x=−1\) corresponding to the \({(x+1)}^2\) factor of the numerator, the graph "bounces", consistent with the quadratic nature of the factor.
- At the x-intercept \(x=3\) corresponding to the \((x−3)\) factor of the numerator, the graph passes through the axis as we would expect from a linear factor.
- At the vertical asymptote \(x=−3\) corresponding to the \({(x+3)}^2\) factor of the denominator, the graph heads towards positive infinity on both sides of the asymptote, consistent with the behavior of the function \(f(x)=\dfrac{1}{x^2}\).
- At the vertical asymptote \(x=2\), corresponding to the \((x−2)\) factor of the denominator, the graph heads towards positive infinity on the left side of the asymptote and towards negative infinity on the right side, consistent with the behavior of the function \(f(x)=\dfrac{1}{x}\).
Howto: Given a rational function, sketch a graph.
- Evaluate the function at 0 to find the y-intercept.
- Factor the numerator and denominator.
- For factors in the numerator not common to the denominator, determine where each factor of the numerator is zero to find the x-intercepts.
- Find the multiplicities of the x-intercepts to determine the behavior of the graph at those points.
- For factors in the denominator, note the multiplicities of the zeros to determine the local behavior. For those factors not common to the numerator, find the vertical asymptotes by setting those factors equal to zero and then solve.
- For factors in the denominator common to factors in the numerator, find the removable discontinuities by setting those factors equal to 0 and then solve.
- Compare the degrees of the numerator and the denominator to determine the horizontal or slant asymptotes.
- Sketch the graph.
Example \(\PageIndex{11}\): Graphing a Rational Function
Sketch a graph of \(f(x)=\frac{(x+2)(x−3)}{{(x+1)}^2(x−2)}\).
Solution
We can start by noting that the function is already factored, saving us a step.
Next, we will find the intercepts. Evaluating the function at zero gives the y-intercept:
To find the x-intercepts, we determine when the numerator of the function is zero. Setting each factor equal to zero, we find x-intercepts at \(x=–2\) and \(x=3\). At each, the behavior will be linear (multiplicity 1), with the graph passing through the intercept.
We have a y-intercept at \((0,3)\) and x-intercepts at \((–2,0)\) and \((3,0)\).
To find the vertical asymptotes, we determine when the denominator is equal to zero. This occurs when \(x+1=0\) and when \(x–2=0\), giving us vertical asymptotes at \(x=–1\) and \(x=2\).
There are no common factors in the numerator and denominator. This means there are no removable discontinuities.
Finally, the degree of denominator is larger than the degree of the numerator, telling us this graph has a horizontal asymptote at \(y =0\).
To sketch the graph, we might start by plotting the three intercepts. Since the graph has no x-intercepts between the vertical asymptotes, and the y-intercept is positive, we know the function must remain positive between the asymptotes, letting us fill in the middle portion of the graph as shown in Figure \(\PageIndex{21}\).
The factor associated with the vertical asymptote at \(x=−1\) was squared, so we know the behavior will be the same on both sides of the asymptote. The graph heads toward positive infinity as the inputs approach the asymptote on the right, so the graph will head toward positive infinity on the left as well.
For the vertical asymptote at \(x=2\), the factor was not squared, so the graph will have opposite behavior on either side of the asymptote. See Figure \(\PageIndex{22}\). After passing through the x-intercepts, the graph will then level off toward an output of zero, as indicated by the horizontal asymptote.
Exercise \(\PageIndex{8}\)
Given the function \(f(x)=\frac{{(x+2)}^2(x−2)}{2{(x−1)}^2(x−3)}\), use the characteristics of polynomials and rational functions to describe its behavior and sketch the function.
- Answer
-
Horizontal asymptote at \(y=\frac{1}{2}\). Vertical asymptotes at \(x=1\) and \(x=3\). y-intercept at \((0,\frac{4}{3})\).
x-intercepts at \((2,0)\) and \((–2,0)\). \((–2,0)\) is a zero with multiplicity \(2\), and the graph bounces off the x-axis at this point. \((2,0)\) is a single zero and the graph crosses the axis at this point.
Key Equations
Rational Function \( \qquad \) \(f(x)=\dfrac{P(x)}{Q(x)}=\dfrac{a_px^p+a_{p−1}x^{p−1}+...+a_1x+a_0}{b_qx^q+b_{q−1}x^{q−1}+...+b_1x+b_0},\space Q(x)≠0\)
Key Concepts
- We can use arrow notation to describe local behavior and end behavior of the toolkit functions \(f(x)=\frac{1}{x}\) and \(f(x)=\frac{1}{x^2}\). See Example \(\PageIndex{1}\).
- A function that levels off at a horizontal value has a horizontal asymptote. A function can have more than one vertical asymptote. See Example.
- Application problems involving rates and concentrations often involve rational functions. See Example.
- The domain of a rational function includes all real numbers except those that cause the denominator to equal zero. See Example.
- The vertical asymptotes of a rational function will occur where the denominator of the function is equal to zero and the numerator is not zero. See Example.
- A removable discontinuity might occur in the graph of a rational function if an input causes both numerator and denominator to be zero. See Example.
- A rational function’s end behavior will mirror that of the ratio of the leading terms of the numerator and denominator functions. See Example, Example, Example, and Example.
- Graph rational functions by finding the intercepts, behavior at the intercepts and asymptotes, and end behavior. See Example.
- If a rational function has x-intercepts at \(x=x_1,x_2,…,x_n\), vertical asymptotes at \(x=v_1,v_2,…,v_m\), and no \(x_i=\) any \(v_j\), then the function can be written in the form