Learning Objectives
- (8.1.1) – Recognize and define a rational expression
- Determine the domain of a rational expression
- (8.1.2) – Simplify a rational expression
- (8.1.3) – Defining Rational functions
- Determine the domain of a rational function
(8.1.1) – Recognize and define a rational expression
Rational expressions are fractions that have a polynomial in the numerator, denominator, or both. Although rational expressions can seem complicated because they contain variables, they can be simplified using the techniques used to simplify expressions such as [latex]\displaystyle \frac{4x^3}{12x^2}[/latex] combined with techniques for factoring polynomials. There are a couple ways to get yourself into trouble when working with rational expressions, equations and functions. One of them is dividing by zero, and the other is trying to divide across addition or subtraction.
Determine the domain of a rational expression
One sure way you can break math is to divide by zero. Consider the following rational expression evaluated at x = 2:
Evaluate [latex]\displaystyle \frac{x}{x-2}[/latex] for [latex]x=2[/latex]
Substitute [latex]x=2[/latex]
[latex]\large \begin{array}{l}\frac{2}{2-2}\\\text{}\\=\frac{2}{0}\end{array}[/latex]
This means that for the expression [latex]\displaystyle \frac{x}{x-2}[/latex], [latex]x[/latex] cannot be 2 because it will result in an undefined ratio. In general, finding values for a variable that will not result in division by zero is called finding the domain. Finding the domain of a rational expression or function will help you not break math.
Domain of a rational expression or equation
The domain of a rational expression or equation is a collection of the values for the variable that will not result in an undefined mathematical operation such as division by zero. For [latex]a[/latex] = any real number, we can notate the domain in the following way:
[latex]x[/latex] is all real numbers where [latex]x\neq{a}[/latex]
The reason you cannot divide any number [latex]c[/latex] by zero [latex]\displaystyle \left( \frac{c}{0}\,\,=\,\,? \right)\\[/latex] is that you would have to find a number that when you multiply it by 0 you would get back [latex]c \left( ?\,\,\cdot \,\,0\,\,=\,\,c \right)[/latex]. There are no numbers that can do this, so we say “division by zero is undefined”. In simplifying rational expressions you need to pay attention to what values of the variable(s) in the expression would make the denominator equal zero. These values cannot be included in the domain, so they’re called excluded values. Discard them right at the start, before you go any further.
(Note that although the denominator cannot be equivalent to 0, the numerator can—this is why you only look for excluded values in the denominator of a rational expression.)
For rational expressions, the domain will exclude values for which the value of the denominator is 0. The following example illustrates finding the domain of an expression. Note that this is exactly the same algebra used to find the domain of a function.
Example
Identify the domain of the expression. [latex]\displaystyle \frac{x+7}{{{x}^{2}}+8x-9}[/latex]
(8.1.2) – Simplify Rational Expressions
Before we dive in to simplifying rational expressions, let’s review the difference between a factor, a term, and an expression. This will hopefully help you avoid another way to break math when you are simplifying rational expressions.
Factors are the building blocks of multiplication. They are the numbers that you can multiply together to produce another number: 2 and 10 are factors of 20, as are 4, 5, 1, 20.
Terms are single numbers, or variables and numbers connected by multiplication. [latex]-4[/latex], [latex]6x[/latex] and [latex]x^2[/latex] are all terms.
Expressions are groups of terms connected by addition and subtraction. [latex]2x^2-5[/latex] is an expression.
This distinction is important when you are required to divide. Let’s use an example to show why this is important.
Simplify: [latex]\displaystyle \large\frac{2x^2}{12x}[/latex]
The numerator and denominator of this fraction consist of factors. To simplify it, we can divide without being impeded by addition or subtraction.
[latex]\displaystyle \begin{array}{cc}\Large\frac{2x^2}{12x}\\=\Large\frac{2\cdot{x}\cdot{x}}{2\cdot3\cdot2\cdot{x}}\\=\Large\frac{\cancel{2}\cdot{\cancel{x}}\cdot{x}}{\cancel{2}\cdot3\cdot2\cdot{\cancel{x}}}\end{array}[/latex]
We can do this because [latex]\displaystyle \frac{2}{2}=1\text{ and }\frac{x}{x}=1[/latex], so our expression simplifies to [latex]\displaystyle \large\frac{x}{6}[/latex]
Compare that to the expression [latex]\displaystyle \large\frac{2x^2+x}{12-2x}[/latex], notice the denominator and numerator consist of two terms connected by addition and subtraction. We have to tip-toe around the addition and subtraction. When asked to simplify it is tempting to want to cancel out like terms as we did when we just had factors. But you can’t do that, it will break math!
In the examples that follow, the numerator and the denominator are polynomials with more than one term, and we will show you how to properly simplify them by factoring – which turns expressions connected by addition and subtraction into terms connected by multiplication.
Example
Simplify and state the domain for the expression. [latex]\displaystyle \frac{x+3}{{{x}^{2}}+12x+27}[/latex]
Example
Simplify and state the domain for the expression. [latex]\displaystyle \frac{x^{2}+10x+24}{x^{3}-x^{2}-20x}[/latex]
We will show one last example of simplifying a rational expression. See if you can recognize the special product in the numerator.
Example
Simplify [latex]\displaystyle \frac{{x}^{2}-9}{{x}^{2}+4x+3}[/latex], state the domain.
In the following video we present another example of finding the domain of a rational expression.
Steps for Simplifying a Rational Expression
To simplify a rational expression, follow these steps:
- Determine the domain. The excluded values are those values for the variable that result in the expression having a denominator of 0.
- Factor the numerator and denominator.
- Find common factors for the numerator and denominator and simplify.
(8.1.3) – Defining Rational Functions
We started this section stating that a rational expression is an expression of the form [latex]\displaystyle \frac{p}{q} [/latex] where [latex]p[/latex] and [latex]q[/latex] are polynomials and [latex]q(x) \neq 0.[/latex] Similarly, we define a rational function as a function of the form:
[latex]\displaystyle R(x) = \frac{p(x)}{q(x)}[/latex]
where [latex]p(x)[/latex] and [latex]q(x)[/latex] are polynomial functions and [latex]q(x)[/latex] is not zero.
The domain of a rational function is all real numbers except for those values that would cause division by zero. We must eliminate any values that make [latex]q(x) = 0[/latex].
For example, [latex]\displaystyle f(x) = \frac{1}{x}[/latex] and [latex]\displaystyle f(x) = \frac{1}{x^2}[/latex] are examples of rational functions.
Finding the domain of rational functions
For the rational function [latex]\displaystyle f\left(x\right)=\frac{1}{x}[/latex] (also called the reciprocal function), we cannot divide by 0, so we must exclude 0 from the domain. Further, 1 divided by any value can never be 0, so the range also will not include 0. In set-builder notation, we could also write [latex]\left\{x|\text{ }x\ne 0\right\}[/latex], the set of all real numbers that are not zero.
For the rational function [latex]\displaystyle f\left(x\right)=\frac{1}{{x}^{2}}[/latex], we cannot divide by [latex]0[/latex], so we must exclude [latex]0[/latex] from the domain. There is also no [latex]x[/latex] that can give an output of 0, so 0 is excluded from the range as well. Note that the output of this function is always positive due to the square in the denominator, so the range includes only positive numbers.
How To: Given a rational function, find the domain.
- Identify the input values.
- Identify any restrictions on the input. If there is a denominator in the function’s formula, set the denominator equal to zero and solve for [latex]x[/latex] . If the function’s formula contains an even root, set the radicand greater than or equal to 0, and then solve.
- Write the domain in interval form, making sure to exclude any restricted values from the domain.
Example: Finding the Domain of a Rational Function
Find the domain of the function [latex]\displaystyle f\left(x\right)=\frac{x+1}{2-x}[/latex].
Example
Find the domain of the function: [latex]\displaystyle f\left(x\right)=\frac{1+4x}{2x - 1}[/latex].
Try It!