Section 8.2 Rational Functions
In this section, we will learn about rational functions, which are ratios of two polynomial functions. Creating this ratio inherently requires division and we'll explore the effect this has on the domain of the function.
Subsection 8.2.1 Introduction to Rational Functions
Definition 8.2.1. Rational Function.
A rational function \(f\) is a function in the form
where \(P\) and \(Q\) are polynomial functions, but \(Q\) is not the constant zero function.
Example 8.2.2.
The following functions are examples of rational functions.
Notice that each of these functions is the result of dividing a polynomial expression, which can include a constant, by another polynomial expression (except for zero). This is what makes each of them a rational function.
Checkpoint 8.2.3.
Subsection 8.2.2 Finding the Domain of a Rational Function
Recall that the domain of a function is the collection of all valid input values for that function. Since a rational function is the quotient of two polynomials, there is a possibility that there will be division by zero, which will make the rational expression undefined. This will occur whenever the polynomial in the denominator is equal to zero.
Thus, the domain of a rational function will be restricted to all real numbers except for any values of the variable which will make the denominator equal to zero. Hence, to find the domain of a rational function we need only set the denominator equal to zero and then solve the resulting equation. That will tell us which values of the variable to eliminate from the set of real numbers, to give us the domain.
Example 8.2.4.
Let \(f\) be a function where \(f(x)=\frac{1}{x-2}\text{.}\) Find the function's domain.
By setting the denominator, \(x-2\text{,}\) equal to zero and solving that equation, we obtain a solution of \(x=2\text{.}\) This tells us that \(x=2\) makes the denominator \(0\text{,}\) so the function will be undefined for \(x=2\text{.}\) Therefore, the domain of function \(f\) is all real numbers except \(x=2\text{.}\) In set-builder notation, the domain is \(\left\{x \mid x\ne2\right\}\text{.}\)
Example 8.2.5.
Algebraically find the domain of \(g(x)=\frac{3x^2}{x^2-2x-24}\text{.}\)
To find a rational function's domain, we set the denominator equal to \(0\) and solve:
Since \(x=6\) and \(x=-4\) will cause the denominator to be \(0\text{,}\) they are excluded from the domain. The function's domain is \(\left\{x \mid x\ne6, x\ne-4\right\}\text{.}\)
Subsection 8.2.3 Simplifying Rational Expressions
Consider the two rational functions below. At first glance, which function looks simpler?
It can be argued that the function \(g\) is simpler, at least with regard to the ease with which we can determine its domain, quickly evaluate it, and also determine where its function value is zero. All of these things are considerably more difficult with the function \(f\text{.}\)
These two functions are actually the same function. Using factoring and the same process of canceling that's used with numerical ratios, we will learn how to simplify the function \(f\) into the function \(g\text{.}\) (The full process for simplifying \(f(x)=\frac{8x^3-12x^2+8x-12}{2x^3-3x^2+10x-15}\) will be shown in Example 8.2.13.)
To see a simple example of the process for simplifying a rational function or expression, let's look at simplifying \(\frac{14}{21}\) and \(\frac{(x+2)(x+7)}{(x+3)(x+7)}\) by canceling common factors:
Remark 8.2.6. Adding Domain Restrictions.
The statement “for \(x\neq -7\)” was added when the factor of \(x+7\) was canceled from both the numerator and denominator. This is because \(\frac{(x+2)(x+7)}{(x+3)(x+7)}\) was undefined where \(x=-7\text{,}\) so the simplified version must also be undefined for \(x=-7\text{.}\)
Remark 8.2.7.
It may be tempting to want to try to simplify \(\frac{x+2}{x+3}\) into \(\frac{2}{3}\) by canceling each \(x\) that appears. These \(x\)'s are terms that are added though, and canceling (a process of dividing) is only possible with factors.
The process of canceling factors will be key to simplifying rational expressions and functions. If the expression or function is not given in factored form, then this will be our first step. We'll now look at a few more examples.
Example 8.2.8.
Simplify the rational function \(Q(x)=\frac{3x-12}{x^2+x-20}\) and state the domain of this function.
To start, we'll factor the numerator and denominator. We'll then cancel any factors common to both the numerator and denominator.
The domain of this function will incorporate the explicit domain restriction \(x\neq 4\) that was stated when the factor of \(x-4\) was canceled from both the numerator and denominator. We will also exclude \(-5\) from the domain as this value would make the denominator zero. Thus, the domain of \(Q\) is \(\left\{x\mid x\neq -5,4\right\}\text{.}\)
Warning 8.2.9.
When simplifying the function \(Q\) in Example 8.2.8, we cannot simply write \(Q(x)=\frac{3}{x+5}\text{.}\) The reason is that this would result in our simplified version of the function \(Q\) having a different domain than the original \(Q\text{.}\) More specifically, for our original function \(Q\text{,}\) it held that \(Q(4)\) was undefined, and this still needs to be true for the simplified form of \(Q\text{.}\)
Example 8.2.10.
Simplify the rational function \(R(y)=\frac{-y-2y^2}{2y^3-y^2-y}\) and state the domain of this function.
The domain of this function will incorporate the explicit restrictions \(y\neq 0, y\neq -\frac{1}{2}\) that were stated when the factors of \(y\) and \(2y+1\) were canceled from both the numerator and denominator. Since the factor \(y-1\) is still in the denominator, we also need the restriction that \(y\neq 1\text{,}\) but only when stating the domain of \(R\text{.}\) Therefore, the domain of \(R\) is \(\left\{y\mid y\neq -\frac{1}{2},0,1\right\}\text{.}\)
Example 8.2.11.
Simplify the expression \(\frac{9y+2y^2-5}{y^2-25}\text{.}\)
To start, we need to recognize that \(9y+2y^2-5\) is not written in standard form (where terms are written from highest degree to lowest degree). Before attempting to factor this expression, we'll re-write it as \(2y^2+9y-5\text{.}\)
Example 8.2.12.
Simplify the expression \(\frac{-48z+24z^2-3z^3}{4-z}\text{.}\)
To begin simplifying this expression, we will rewrite each polynomial in descending order. Then we'll factor out the GCF, including the constant \(-1\) from both the numerator and denominator because their leading terms are negative.
Example 8.2.13.
Simplify the rational function \(f(x)=\frac{8x^3-12x^2+8x-12}{2x^3-3x^2+10x-15}\) and state the domain of this function.
To simplify this rational function, we'll first note that both the numerator and denominator have four terms. To factor them we'll need to use factoring by grouping. (Note that if this technique didn't work, very few other approaches would be possible.) Once we've used factoring by grouping, we'll cancel any factors common to both the numerator and denominator and state the associated restrictions.
In determining the domain of this function, we'll need to account for any implicit and explicit restrictions. When the factor \(2x-3\) was canceled, the explicit statement of \(x\neq \frac{3}{2}\) was given. The denominator in the final simplified form of this function has \(x^2+5\text{.}\) There is no value of \(x\) for which \(x^2+5=0\text{,}\) so the only restriction is that \(x\neq \frac{3}{2}\text{.}\) Therefore, the domain is \(\left\{ x\mid x\neq \frac{3}{2}\right\}\text{.}\)
Example 8.2.14.
Simplify the expression \(\frac{3y-x}{x^2-xy-6y^2}\text{.}\) (In this example, there are two variables. It is still possible that in examples like this, there can be domain restrictions when simplifying rational expressions. However, since we are not studying functions of more than one variable, this textbook ignores domain restrictions with examples containing more than one variable like this one.)
Note that the expressions \(3y-x\) and \(x-3y\) are opposites, since they differ by a factor of \(-1\text{.}\) Binomials that are opposites can be easily identified as being of the form \(a-b\) and \(b-a\text{.}\) By factoring out a factor of \(-1\text{,}\) this enables us to identify a common factor that can be cancelled, which is what we did in the first step.
Exercises 8.2.4 Exercises
Rational Functions Exercises
1.
Select all rational functions. There are several correct answers.
\(\displaystyle s(x)=\frac{\sqrt{2} x^2 + 6 x - 5}{7 - 8 x^{2}}\)
\(\displaystyle h(x)=\frac{7}{2 x^2 + 6 x - 5}\)
\(\displaystyle r(x)=\frac{2 x^2 + 6 x - 5}{7 - 8 x^{-2}}\)
\(\displaystyle a(x)=\frac{2 x^2 + 6 x - 5}{7 - 8 x^{2}}\)
\(\displaystyle c(x)=\frac{2 x^2 + 6 x - 5}{7 + \lvert x \rvert }\)
\(\displaystyle b(x)=\frac{2 x^2 + 6 x - 5}{7}\)
\(\displaystyle t(x)=\frac{7 - 8 x^3}{2 x^{0.7} + 6 x - 5}\)
\(\displaystyle n(x)=\frac{2 x^2 + 6 \sqrt{x} - 5}{7 - 8 x^{2}}\)
\(\displaystyle m(x)=\frac{2 x + 6}{2 x +6}\)
2.
Select all rational functions. There are several correct answers.
\(\displaystyle h(x)=\frac{5}{3 x^2 + 3 x - 8}\)
\(\displaystyle c(x)=\frac{3 x^2 + 3 x - 8}{5 + \lvert x \rvert }\)
\(\displaystyle a(x)=\frac{3 x^2 + 3 x - 8}{5 - 8 x^{3}}\)
\(\displaystyle t(x)=\frac{5 - 8 x^3}{3 x^{0.7} + 3 x - 8}\)
\(\displaystyle m(x)=\frac{3 x + 3}{3 x +3}\)
\(\displaystyle s(x)=\frac{\sqrt{3} x^2 + 3 x - 8}{5 - 8 x^{3}}\)
\(\displaystyle r(x)=\frac{3 x^2 + 3 x - 8}{5 - 8 x^{-3}}\)
\(\displaystyle n(x)=\frac{3 x^2 + 3 \sqrt{x} - 8}{5 - 8 x^{3}}\)
\(\displaystyle b(x)=\frac{3 x^2 + 3 x - 8}{5}\)
3.
Find the domain of the function \(a\) defined by \(\displaystyle{a(x)=\frac{x - 4}{x^{5}}}\)
4.
Find the domain of the function \(m\) defined by \(\displaystyle{m(x)=\frac{x - 1}{x^{4}}}\)
5.
Find the domain of the function \(y\) defined by \(\displaystyle{y(x)=\frac{x+1}{x^2+36}}\)
6.
Find the domain of the function \(A\) defined by \(\displaystyle{A(x)=\frac{x+3}{x^2+64}}\)
7.
Find the domain of the function \(A\) defined by \(\displaystyle{A(x)=\frac{x+6}{x + 6}}\)
8.
Find the domain of the function \(r\) defined by \(\displaystyle{r(x)=\frac{x+8}{x + 8}}\)
Simplifying Rational Expressions with One Variable
9.
Select all correct simplifications, ignoring possible domain restrictions.
\(\displaystyle \frac{9 x+10}{9}=x+10\)
\(\displaystyle \frac{x+10}{x}=10\)
\(\displaystyle \frac{10}{x+10}=\frac{1}{x}\)
\(\displaystyle \frac{10}{x+10}=\frac{1}{x+1}\)
\(\displaystyle \frac{9 x+10}{x + 10}=9\)
\(\displaystyle \frac{x+ 10}{x+10}=1\)
\(\displaystyle \frac{x}{9 x}=\frac{1}{9}\)
\(\displaystyle \frac{10 x}{x}=10\)
\(\displaystyle \frac{9(x-10)}{x -10}=9\)
\(\displaystyle \frac{x+10}{10}=x\)
\(\displaystyle \frac{x+10}{x+9}=\frac{10}{9}\)
10.
Select all correct simplifications, ignoring possible domain restrictions.
\(\displaystyle \frac{3 x+2}{3}=x+2\)
\(\displaystyle \frac{x+2}{2}=x\)
\(\displaystyle \frac{x+2}{x}=2\)
\(\displaystyle \frac{3(x-2)}{x -2}=3\)
\(\displaystyle \frac{x}{3 x}=\frac{1}{3}\)
\(\displaystyle \frac{2 x}{x}=2\)
\(\displaystyle \frac{x+2}{x+3}=\frac{2}{3}\)
\(\displaystyle \frac{2}{x+2}=\frac{1}{x}\)
\(\displaystyle \frac{2}{x+2}=\frac{1}{x+1}\)
\(\displaystyle \frac{3 x+2}{x + 2}=3\)
\(\displaystyle \frac{x+ 2}{x+2}=1\)
11.
Simplify the following expressions, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{x+3}{x+3}}=}\)
\(\displaystyle{{\frac{x+3}{3+x}}=}\)
\(\displaystyle{{\frac{x-3}{x-3}}=}\)
\(\displaystyle{{\frac{x-3}{3-x}}=}\)
12.
Simplify the following expressions, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{y+8}{y+8}}=}\)
\(\displaystyle{{\frac{y+8}{8+y}}=}\)
\(\displaystyle{{\frac{y-8}{y-8}}=}\)
\(\displaystyle{{\frac{y-8}{8-y}}=}\)
13.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{y-5}{\left(y+6\right)\!\left(y-5\right)}}=}\)
14.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{r+2}{\left(r+4\right)\!\left(r+2\right)}}=}\)
15.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{3\!\left(r-8\right)}{\left(r+10\right)\!\left(r-8\right)}}=}\)
16.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{8\!\left(t+5\right)}{\left(t+8\right)\!\left(t+5\right)}}=}\)
17.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{\left(t-2\right)\!\left(t-5\right)}{5-t}}=}\)
18.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{\left(t+8\right)\!\left(t-2\right)}{2-t}}=}\)
19.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{5x+45}{x+9}}=}\)
20.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{-10x-70}{x+7}}=}\)
21.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{4y}{y^{2}+7y}}=}\)
22.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{2y}{y^{2}-4y}}=}\)
23.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{6r-r^{2}}{r^{2}-2r-24}}=}\)
24.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{4r-r^{2}}{r^{2}-5r+4}}=}\)
25.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{t^{2}+2t}{4-t^{2}}}=}\)
26.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{t^{2}-6t}{36-t^{2}}}=}\)
27.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{-t^{2}+4t}{16-t^{2}}}=}\)
28.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{-x^{2}-2x}{-6-5x-x^{2}}}=}\)
29.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{5x^{2}+3x-2}{-x+3-4x^{2}}}=}\)
30.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{3y^{2}+7y+4}{y+5-4y^{2}}}=}\)
31.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{y^{2}+6y+8}{-8y-y^{2}-16}}=}\)
32.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{r^{2}-3r-10}{-4r-r^{2}-4}}=}\)
33.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{-r^{2}+3r+18}{r^{2}-36}}=}\)
34.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{-t^{2}+6t-5}{t^{2}-25}}=}\)
35.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{5t^{2}+t-4}{-11t-5-6t^{2}}}=}\)
36.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{3t^{2}+t-2}{-9t-5-4t^{2}}}=}\)
37.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{-5x^{2}-x^{3}}{x^{2}+4x-5}}=}\)
38.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{-5x^{4}-x^{5}}{x^{2}+6x+5}}=}\)
39.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{y^{5}-5y^{4}+6y^{3}}{y^{5}-4y^{4}+3y^{3}}}=}\)
40.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{y^{4}-3y^{3}-18y^{2}}{y^{4}+2y^{3}-3y^{2}}}=}\)
41.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{r^{3}-64}{r^{2}-16}}=}\)
42.
Simplify the following expression, and if applicable, write the restricted domain on the simplified expression.
\(\displaystyle{{\frac{r^{3}+27}{r^{2}-9}}=}\)
Simplifying Rational Expressions with More Than One Variable
43.
Simplify this expression.
\(\displaystyle{{\frac{3tx-t^{2}x^{2}}{t^{2}x^{2}-4tx+3}}=}\)
44.
Simplify this expression.
\(\displaystyle{{\frac{3tr-t^{2}r^{2}}{t^{2}r^{2}-9tr+18}}=}\)
45.
Simplify this expression.
\(\displaystyle{{\frac{6t-30y}{t^{2}-4ty-5y^{2}}}=}\)
46.
Simplify this expression.
\(\displaystyle{{\frac{3x-9t}{x^{2}+xt-12t^{2}}}=}\)
47.
Simplify this expression.
\(\displaystyle{{\frac{-x^{2}+6xr-8r^{2}}{x^{2}-4r^{2}}}=}\)
48.
Simplify this expression.
\(\displaystyle{{\frac{-y^{2}+yx+20x^{2}}{y^{2}-16x^{2}}}=}\)
49.
Simplify this expression.
\(\displaystyle{{\frac{3y^{2}t^{2}-yt-4}{-7yt-5-2y^{2}t^{2}}}=}\)
50.
Simplify this expression.
\(\displaystyle{{\frac{2r^{2}t^{2}+5rt+3}{-11rt-5-6r^{2}t^{2}}}=}\)
51.
Simplify the function formula, and if applicable, write the restricted domain.
\(\displaystyle{ g(r) = {\frac{r+4}{r^{2}+r-12}} }\)
Reduced \(g(r)=\)
52.
Simplify the function formula, and if applicable, write the restricted domain.
\(\displaystyle{ K(t) = {\frac{t+8}{t^{2}+11t+24}} }\)
Reduced \(K(t)=\)
53.
Simplify the function formula, and if applicable, write the restricted domain.
\(\displaystyle{ F(t) = {\frac{t^{3}-4t}{t^{3}-3t^{2}-10t}} }\)
Reduced \(F(t)=\)
54.
Simplify the function formula, and if applicable, write the restricted domain.
\(\displaystyle{ g(t) = {\frac{t^{3}-36t}{t^{3}+4t^{2}-12t}} }\)
Reduced \(g(t)=\)
55.
Simplify the function formula, and if applicable, write the restricted domain.
\(\displaystyle{ H(x) = {\frac{x^{4}+10x^{3}+25x^{2}}{5x^{4}+23x^{3}-10x^{2}}} }\)
Reduced \(H(x)=\)
56.
Simplify the function formula, and if applicable, write the restricted domain.
\(\displaystyle{ F(x) = {\frac{x^{4}-2x^{3}+x^{2}}{3x^{4}-5x^{3}+2x^{2}}} }\)
Reduced \(F(x)=\)
57.
Simplify the function formula, and if applicable, write the restricted domain.
\(\displaystyle{ f(y) = {\frac{5y^{3}-2y^{2}}{5y^{3}-22y^{2}+8y}} }\)
Reduced \(f(y)=\)
58.
Simplify the function formula, and if applicable, write the restricted domain.
\(\displaystyle{ H(y) = {\frac{2y^{3}-y^{2}}{2y^{3}+y^{2}-y}} }\)
Reduced \(H(y)=\)