We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > College Algebra: Co-requisite Course

Rational Expressions and Functions

Learning Objectives

  • Recognize and define a rational expression
  • Determine the domain of a rational expression
  • Simplify a rational expression
  • Rational functions
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 4x312x2\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  xx2\displaystyle \frac{x}{x-2} for x=2x=2

Substitute x=2x=2

222=20\displaystyle \begin{array}{l}\frac{2}{2-2}\\\text{}\\=\frac{2}{0}\end{array}

This means that for the expression xx2\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 xax\neq{a}

The reason you cannot divide any number c by zero (c0  =  ?)\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(?    0  =  c)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. x+7x2+8x9\displaystyle \frac{x+7}{{{x}^{2}}+8x-9}

Answer: Find any values for x that would make the denominator equal to 0 by setting the denominator equal to 0 and solving the equation.

x2+8x9=0x^{2}+8x-9=0

Solve the equation by factoring. The solutions are the values that are excluded from the domain.

(x+9)(x1)=0x=9   or   x=1\begin{array}{c}(x+9)(x-1)=0\\x=-9\,\,\,\text{or}\,\,\,x=1\end{array}

Answer

The domain is all real numbers except 9−9 and 11.

 

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 x2x^2 are all terms. Expressions are groups of terms connected by addition and subtraction.  2x252x^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: 2x212x\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.

2x212x=2xx232x=2xx232x\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 22=1 and xx=1\displaystyle \frac{2}{2}=1\text{ and }\frac{x}{x}=1, so our expression simplifies to x6\displaystyle \large\frac{x}{6}

Compare that to the expression 2x2+x122x\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!
Shattered pottery strewn across the floor. 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. x+3x2+12x+27\displaystyle \frac{x+3}{{{x}^{2}}+12x+27}

Answer: To find the domain (and the excluded values), find the values for which the denominator is equal to 0. Factor the quadratic, and apply the zero product principle.

x+3=0      or      x+9=0x=03      or      x=09x=3      or      x=9x=3      or      x=9\begin{array}{c}x+3=0\,\,\,\,\,\,\text{or}\,\,\,\,\,\,x+9=0\\x=0-3\,\,\,\,\,\,\text{or}\,\,\,\,\,\,x=0-9\\x=-3\,\,\,\,\,\,\text{or}\,\,\,\,\,\,x=-9\\\\x=-3\,\,\,\,\,\,\text{or}\,\,\,\,\,\,x=-9\end{array}

The domain is all real numbers except x=3x=-3 or x=9x=-9. Factor the numerator and denominator.  Identify the factors that are the same in the numerator and denominator, and simplify.

x+3x2+12x+27=x+3(x+3)(x+9)x+3(x+3)(x+9)=11x+9\displaystyle \large\begin{array}{c}\frac{x+3}{x^{2}+12x+27}\\\\=\frac{x+3}{\left(x+3\right)\left(x+9\right)}\\\\\frac{\cancel{x+3}}{\cancel{\left(x+3\right)}\left(x+9\right)}\\\\\normalsize=1\cdot\large\frac{1}{x+9}\end{array}

Answer

 x+3x2+12x+27=1x+9\displaystyle  \frac{x+3}{{{x}^{2}}+12x+27}=\frac{1}{x+9} The domain is all real numbers except 3−3 and 9−9.

Example

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

Answer: To find the domain, determine the values for which the denominator is equal to 0.

x3x220x=0x(x2x20)=0x(x5)(x+4)=0\begin{array}{r}x^{3}-x^{2}-20x=0\\x\left(x^{2}-x-20\right)=0\\x\left(x-5\right)\left(x+4\right)=0\end{array}

The domain is all real numbers except 0, 5, and −4. To simplify, factor the numerator and denominator of the rational expression. Identify the factors that are the same in the numerator and denominator, and simplify.

x2+10x+24x3x220x=(x+4)(x+6)x(x5)(x+4)=(x+4)(x+6)x(x5)(x+4)\displaystyle \large\begin{array}{c}\frac{x^{2}+10x+24}{x^{3}-x^{2}-20x}\\\\=\frac{\left(x+4\right)\left(x+6\right)}{x\left(x-5\right)\left(x+4\right)}\\\\=\frac{\cancel{\left(x+4\right)}\left(x+6\right)}{x\left(x-5\right)\cancel{\left(x+4\right)}}\end{array}

Simplify. It is acceptable to either leave the denominator in factored form or to distribute multiplication.

x+6x(x5)   or   x+6x25x\displaystyle \frac{x+6}{x\left(x-5\right)}\,\,\,\text{or}\,\,\,\frac{x+6}{x^{2}-5x}

Answer

x+6x(x5)[/latex]or[latex]x+6x25x \displaystyle \frac{x+6}{x(x-5)}[/latex] or [latex] \frac{x+6}{{{x}^{2}}-5x} The domain is all real numbers except 0, 5, and 4−4.

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

Example

Simplify x29x2+4x+3\displaystyle \frac{{x}^{2}-9}{{x}^{2}+4x+3}, state the domain.

Answer: The special product in the numerator is a difference of squares. \displaystyle \begin{array}\frac{\left(x+3\right)\left(x - 3\right)}{\left(x+3\right)\left(x+1\right)}\hfill & \hfill & \hfill & \hfill & \text{Factor the numerator and the denominator}.\hfill \\ \frac{x - 3}{x+1}\hfill & \hfill & \hfill & \hfill & \text{Cancel common factor }\left(x+3\right).\hfill \end{array} With the denominator factored it is easier to find the domain of the expression. Determine the values for which the denominator is equal to 0. (x+3)=0,(x+1)=0x3, AND x1\begin{array}{cc}\left(x+3\right)=0,\left(x+1\right)=0\\x\ne-3,\text{ AND }x\ne-1\end{array}

Answer

x29x2+4x+3=x3x+1[/latex],Domain:[latex]x3, AND x1\displaystyle \frac{{x}^{2}-9}{{x}^{2}+4x+3}=\frac{x - 3}{x+1}[/latex], Domain: [latex]x\ne-3,\text{ AND }x\ne-1

  In the following video we present another example of finding the domain of a rational expression. https://youtu.be/tJiz5rEktBs

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.

Rational Functions

We started this section stating that a rational expression is an expression of the form pq\displaystyle \frac{p}{q} where pp and  qq are polynomials and q(x)0.q(x) \neq 0. Similarly, we define a rational function as a function of the form:

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

where p(x)p(x) and q(x)q(x) are polynomial functions and q(x)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)=0q(x) = 0. For example, f(x)=1x\displaystyle f(x) = \frac{1}{x} and f(x)=1x2\displaystyle f(x) = \frac{1}{x^2} are examples of rational functions.

Finding the domain of rational functions

For the rational function f(x)=1xf\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 {x x0}\left\{x|\text{ }x\ne 0\right\}, the set of all real numbers that are not zero. Reciprocal function f(x)=1/x. For the rational function f(x)=1x2f\left(x\right)=\frac{1}{{x}^{2}}, we cannot divide by 00, so we must exclude 00 from the domain. There is also no xx 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. Reciprocal squared function f(x)=1/x^2

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 xx . 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 f(x)=x+12x\displaystyle f\left(x\right)=\frac{x+1}{2-x}.

Answer: When there is a denominator, we want to include only values of the input that do not force the denominator to be zero. So, we will set the denominator equal to 0 and solve for xx.

{2x=0x=2x=2\begin{cases}2-x=0\hfill \\ -x=-2\hfill \\ x=2\hfill \end{cases}

Now, we will exclude 2 from the domain. The answers are all real numbers where x<2x<2 or x>2x>2. We can use a symbol known as the union, \cup , to combine the two sets. In interval notation, we write the solution: (,2)(2,)\left(\mathrm{-\infty },2\right)\cup \left(2,\infty \right). Line graph of x=!2. In interval form, the domain of ff is (,2)(2,)\left(-\infty ,2\right)\cup \left(2,\infty \right).

https://www.youtube.com/watch?v=v0IhvIzCc_I&feature=youtu.be

Example

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

Answer: (,12)(12,)\left(-\infty ,\frac{1}{2}\right)\cup \left(\frac{1}{2},\infty \right)

Try It!

 

Licenses & Attributions