## 8.1 – Rational Expressions and Functions

### 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 $\displaystyle \frac{4x^3}{12x^2}$ 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  $\displaystyle \frac{x}{x-2}$ for $x=2$

Substitute $x=2$

$\large \begin{array}{l}\frac{2}{2-2}\\\text{}\\=\frac{2}{0}\end{array}$

This means that for the expression $\displaystyle \frac{x}{x-2}$, $x$ 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 $a$ = any real number, we can notate the domain in the following way:

$x$ is all real numbers where $x\neq{a}$

The reason you cannot divide any number $c$ by zero $\displaystyle \left( \frac{c}{0}\,\,=\,\,? \right)\\$ is that you would have to find a number that when you multiply it by 0 you would get back $c \left( ?\,\,\cdot \,\,0\,\,=\,\,c \right)$. 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. $\displaystyle \frac{x+7}{{{x}^{2}}+8x-9}$

# (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. $-4$, $6x$ and $x^2$ are all terms.

Expressions are groups of terms connected by addition and subtraction.  $2x^2-5$ 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: $\displaystyle \large\frac{2x^2}{12x}$

The numerator and denominator of this fraction consist of factors. To simplify it, we can divide without being impeded by addition or subtraction.

$\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}$

We can do this because $\displaystyle \frac{2}{2}=1\text{ and }\frac{x}{x}=1$, so our expression simplifies to $\displaystyle \large\frac{x}{6}$

Compare that to the expression $\displaystyle \large\frac{2x^2+x}{12-2x}$, 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!

Breaking 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. $\displaystyle \frac{x+3}{{{x}^{2}}+12x+27}$

### Example

Simplify and state the domain for the expression. $\displaystyle \frac{x^{2}+10x+24}{x^{3}-x^{2}-20x}$

We will show one last example of simplifying a rational expression. See if you can recognize the special product in the numerator.

### Example

Simplify $\displaystyle \frac{{x}^{2}-9}{{x}^{2}+4x+3}$, 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 $\displaystyle \frac{p}{q}$ where $p$ and  $q$ are polynomials and $q(x) \neq 0.$ Similarly, we define a rational function as a function of the form:

$\displaystyle R(x) = \frac{p(x)}{q(x)}$

where $p(x)$ and $q(x)$ are polynomial functions and $q(x)$ 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  $q(x) = 0$.

For example, $\displaystyle f(x) = \frac{1}{x}$ and $\displaystyle f(x) = \frac{1}{x^2}$ are examples of rational functions.

### Finding the domain of rational functions

For the rational function $\displaystyle f\left(x\right)=\frac{1}{x}$ (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 $\left\{x|\text{ }x\ne 0\right\}$, the set of all real numbers that are not zero.

For the rational function $\displaystyle f\left(x\right)=\frac{1}{{x}^{2}}$, we cannot divide by $0$, so we must exclude $0$ from the domain. There is also no $x$ 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.

1. Identify the input values.
2. 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 $x$ . If the function’s formula contains an even root, set the radicand greater than or equal to 0, and then solve.
3. 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 $\displaystyle f\left(x\right)=\frac{x+1}{2-x}$.

### Example

Find the domain of the function: $\displaystyle f\left(x\right)=\frac{1+4x}{2x - 1}$.