## Section 12.3 Domains of Rational Functions

ΒΆWhen presented with a formula for a function named \(f\text{,}\) barring any stated restrictions, the domain of \(f\) is the set of all real numbers for which the formula returns a real number. For example, \(9\) is in the domain of the function \(f(x)=\sqrt{x-5}\) because the value of \(f(9)\) is a real number (specifically \(2\)) where as \(1\) is not in the domain because when we apply the formula to \(1\) the result is \(\sqrt{-4}\) which is not a real number.

A rational function is a function whose formula can be written in the form \(\frac{p(x)}{q(x)}\) where \(p(x)\) and \(q(x)\) are both polynomial functions. Determining the domain of a rational function essentially boils down to determining the values of \(x\) that do not lie in the domain. The values excluded from the domain are the values that result in division by zero (which leads to an undefined result).

To help facilitate identifying the values that cause the denominator to evaluate to zero, we generally completely factor the denominators of rational expressions. For reasons of simplification, which is discussed in the next section, we also completely factor the numerators of rational expression.

Let's determine the domain of the function \(f(x)=\frac{x+3}{x^2-12x+20}\text{.}\) We begin by completely factoring the denominator of the rational expression.

From the factored expression we can see that the value of \(x\) can be neither \(10\) nor \(2\) as either of those values would cause division by \(0\text{.}\) Consequently, the domain of \(f\) consists of all real numbers other that \(2\) and \(10\text{.}\) Using set builder notation we express the domain as \(\{x\mid x \neq 2, x \neq 10\}\) and using interval notation we express the domain as \((-\infty,2) \cup (2,10) \cup (10,\infty)\text{.}\)

###### Example 12.3.1.

Determine the domain of the function \(g(t)=\frac{6}{t^2+9t}\text{.}\)

We begin by factoring.

The input variable for \(g\) is \(t\text{,}\) so we need to determine the values of \(t\) that would result in division by zero. The two values are \(0\) and \(-9\text{,}\) so those are the two values that are not in the domain of \(g\text{.}\) So the domain of \(g\text{,}\) stated using set builder notation, is \(\{x \mid x \neq -9, x \neq 0\}\text{.}\) Using interval notation, the domain of \(g\) is expressed as \((-\infty,-9) \cup (-9,0) \cup (9,\infty)\text{.}\)

###### Example 12.3.2.

Determine the domain of \(f(x)=\frac{x-2}{x^3-8}\text{.}\)

This example requires the factor formula \(a^3-b^3=(a-b)(x^2+ab+b^2)\text{.}\)

Factoring we have:

If we replace \(x\) with \(2\text{,}\) the resultant expression is \(\frac{0}{0}\text{,}\) which is just as undefined as any other expression involving division by zero. So \(2\) is not in the domain of \(f\text{.}\) It turns out that \(2\) is the only value of \(x\) that results in division by zero. The easiest way to see this is to look at the original denominator. If \(x^3-8=0\text{,}\) then \(x^3=8\text{.}\) The only real number that cubes to \(8\) is \(2\text{,}\) so that is the only number not in the domain of \(f\text{.}\) So the domain of \(f\) is \(\{x \mid x \neq 2\}\) or, equivalently, \((-\infty,2) \cup (2,\infty)\text{.}\)

### Exercises Exercises

Determine the domain of each function. State each domain using both set builder notation and interval notation.

###### 1.

\(f(x)=\frac{2x-8}{x^2-16}\)

The domain of \(f\) is \(\{x \mid x \neq -4, x \neq 4\}\text{.}\)

The domain of \(f\) is \((-\infty,-4)\cup(-4,4)\cup(4,\infty)\text{.}\)

###### 2.

\(g(t)=\frac{t}{t^2-5t-6}\)

The domain of \(g\) is \(\{t \mid t \neq -1, t \neq 6\}\text{.}\)

The domain of \(g\) is \((-\infty,-1) \cup (-1,6) \cup (6,\infty)\text{.}\)

###### 3.

\(h(x)=\frac{4x+8}{2x^2-8x}+\frac{x-3}{x^2-6x+8}\)

The domain of \(h\) is \(\{x \mid x \neq 0, x \neq 2, x \neq 4\}\text{.}\)

The domain of \(h\) is \((-\infty,0) \cup (0,2) \cup (2,4) \cup (4,\infty)\text{.}\)

###### 4.

\(m(t)=\frac{t+7}{t^2+49}\)

Over the real numbers, \(t^2+49\) never equals zero.

The domain of \(m\) is \(\{t \mid t \in \mathbb{R}\}\text{.}\)

The domain of \(m\) is \((-\infty,\infty)\text{.}\)

###### 5.

\(p(x)=\frac{1}{x^3-8}\)

Note that \(x^2+2x+4\) never equals zero over the real numbers. That can be confirmed with the quadratic formula.

The domain of \(p\) is \(\{x \mid x \neq 2\}\text{.}\)

The domain of \(p\) is \((-\infty,2) \cup (2,\infty)\text{.}\)