- Last updated

- Save as PDF

- Page ID
- 18368

- Anonymous
- LibreTexts

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}}}\)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{#1}}} \)

\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\id}{\mathrm{id}}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\kernel}{\mathrm{null}\,}\)

\( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\)

\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\)

\( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)

\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)

\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}}}\)

\( \newcommand{\vectorC}[1]{\textbf{#1}}\)

\( \newcommand{\vectorD}[1]{\overrightarrow{#1}}\)

\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}}\)

\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}}}\)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{#1}}} \)

\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

Learning Objectives

- Determine the restrictions to the domain of a rational expression.
- Simplify rational expressions.
- Simplify expressions with opposite binomial factors.
- Simplify and evaluate rational functions.

## Rational Expressions, Evaluation, and Restrictions

A rational number, or fraction \(\frac{a}{b}\), is a real number defined as a quotient of two integers * a* and

*, where \(b≠0\). Similarly, we define a rational expression, or algebraic fraction \(\frac{P}{Q}\), as the quotient of two polynomials*

**b***and*

**P***, where \(Q≠0\). Some examples of rational expressions follow:*

**Q**The example \(\frac{x+3}{x-5}\) consists of linear expressions in both the numerator and denominator. Because the denominator contains a variable, this expression is not defined for all values of * x*.

Example \(\PageIndex{1}\)

Evaluate \(\frac{x+3}{x-5}\) for the set of ** x**-values \(\{-3,4,5\}\).

**Solution**:

Substitute the values in for * x*.

\(\begin{array}{c|c}{x=-3} & {x=4} & {x=5} \\ \hline \frac{x+3}{x-5}=\frac{(\color{OliveGreen}{-3}\color{black}{)}+3}{(\color{OliveGreen}{-3}\color{black}{)}-5} & {\frac{x+3}{x-5}=\frac{(\color{OliveGreen}{4}\color{black}{)}+3}{(\color{OliveGreen}{4}\color{black}{)}-5}} & {\frac{x+3}{x-5}=\frac{(\color{OliveGreen}{5}\color{black}{)}+3}{(\color{OliveGreen}{5}\color{black}{)}-5}} \\ {=\frac{0}{-8}}&{=\frac{7}{-1}}&{=\frac{8}{0}\:\:\color{Cerulean}{Undefined}}\\{=0}&{=-7}&{}\end{array}\)

**Answer**:

When \(x=−3\), the value of the rational expression is \(0\); when \(x=4\), the value of the rational expression is \(−7\); and when \(x=5\), the value of the rational expression is undefined.

This example illustrates that variables are restricted to values that do not make the denominator equal to 0. The domain of a rational expression is the set of real numbers for which it is defined, and restrictions are the real numbers for which the expression is not defined. We often express the domain of a rational expression in terms of its restrictions.

Example \(\PageIndex{2}\)

Find the domain of the following:

\(\frac{x+7}{2 x^{2}+x-6}\)

**Solution**:

In this example, the numerator \(x+7\) is a linear expression and the denominator \(2x^{2}+x−6\) is a quadratic expression. If we factor the denominator, then we will obtain an equivalent expression.

\(\frac{x+7}{2 x^{2}+x-6}=\frac{x+7}{(2 x-3)(x+2)}\)

Because rational expressions are undefined when the denominator is 0, we wish to find the values for * x* that make it 0. To do this, apply the zero product property. Set each factor in the denominator equal to 0 and solve.

\((2 x-3)(x+2)=0\)

\(\begin{array}{ll}{2 x-3=0} & {\text { or } \quad x+2=0} \\ {2 x=3} &\qquad\quad {x=-2} \\ {x=\frac{3}{2}}\end{array}\)

We conclude that the original expression is defined for any real number except \(\frac{3}{2}\) and \(−2\). These two values are the restrictions to the domain. It is important to note that \(−7\) is * not *a restriction to the domain because the expression is defined as 0 when the numerator is 0.

\(\begin{aligned} \frac{x+7}{2 x^{2}+x-6} &=\frac{(\color{OliveGreen}{-7}\color{black}{)}+7}{2(\color{OliveGreen}{-7}\color{black}{)}^{2}+(\color{OliveGreen}{-7}\color{black}{)}-6} \\ &=\frac{0}{98-7-6} \\ &=\frac{0}{85} \\ &=0 \end{aligned}\)

**Answer**:

The domain consists of any real number * x*, where \(x≠\frac{3}{2}\) and \(x≠−2\).

We can express the domain of the previous example using notation as follows:

\(\begin{array}{cc}{\color{Cerulean} { Set-builder\: notation}} & {\color{Cerulean} {Interval\: notation}} \\ {\left\{x | x \neq-2, \frac{3}{2}\right\}} & {(-\infty,-2) \cup\left(-2, \frac{3}{2}\right) \cup\left(\frac{3}{2}, \infty\right)}\end{array}\)

The restrictions to the domain of a rational expression are determined by the denominator. Ignore the numerator when finding those restrictions.

Example \(\PageIndex{3}\)

Determine the domain:

\(\frac{x^{4}+x^{3}-2x^{2}-x}{x^{2}-1}\)

**Solution**:

To find the restrictions to the domain, set the denominator equal to 0 and solve:

\(\begin{array}{r}{x^{2}-1=0} \\ {(x+1)(x-1)=0}\end{array}\)

\(\begin{array}{rlrl}{x+1} & {=0} & {\text { or }} & {x-1=0} \\ {x} & {=-1} & &{x=1}\end{array}\)

These two values cause the denominator to be 0. Hence they are restricted from the domain.

**Answer**:

The domain consists of any real number * x*, where \(x≠±1\).

Example \(\PageIndex{4}\)

Determine the domain:

\(\frac{x^{2}-25}{4}\)

**Solution**:

There is no variable in the denominator and thus no restriction to the domain.

**Answer**:

The domain consists of all real numbers, **R**.

## Simplifying Rational Expressions

When simplifying fractions, look for common factors that cancel. For example,

\(\frac{12}{60}=\frac{1 \cdot \color{Cerulean}{\cancel{\color{black}{12}}}}{5 \cdot \color{Cerulean}{\cancel{\color{black}{12}}}}\color{black}{=}\frac{1}{5}\)

We say that the fraction \(\frac{12}{60}\) is equivalent to \(\frac{1}{5}\). Fractions are in simplest form if the numerator and denominator share no common factor other than \(1\). Similarly, when working with rational expressions, look for factors to cancel. For example,

\(\frac{x+4}{(x-3)(x+4)}=\frac{1 \cdot\color{Cerulean}{\cancel{\color{black}{(x+4)}}}}{(x-3)\color{Cerulean}{\cancel{\color{black}{(x+4)}}}}=\frac{1}{x-3}\)

The resulting rational expression is equivalent if it shares the same domain. Therefore, we must make note of the restrictions and write

\(\frac{x+4}{(x-3)(x+4)}=\frac{1}{x-3}, \text { where } x \neq 3 \text { and } x \neq-4\)

In words, \(\frac{x+4}{(x-3)(x+4)}\) is equivalent to\(\frac{1}{x-3}\), if \(x≠3\) and \(x≠−4\). We can verify this by choosing a few values with which to evaluate both expressions to see if the results are the same. Here we choose \(x=7\) and evaluate as follows:

\(\begin{aligned} \frac{x+4}{(x-3)(x+4)} &=\frac{1}{x-3} \\ \frac{(\color{OliveGreen}{7}\color{black}{)}+4}{(\color{OliveGreen}{7}\color{black}{-}3)(\color{OliveGreen}{7}\color{black}{+}4)} &=\frac{1}{(\color{OliveGreen}{7}\color{black}{)}-3} \\ \frac{11}{(4)(11)} &=\frac{1}{4} \\ \frac{1}{4} &=\frac{1}{4}\:\:\color{Cerulean}{\checkmark} \end{aligned}\)

It is important to state the restrictions before simplifying rational expressions because the simplified expression may be defined for restrictions of the original. In this case, the expressions are not equivalent. Here −4 is defined for the simplified equivalent but not for the original, as illustrated below:

\(\begin{aligned} \frac{x+4}{(x-3)(x+4)} &=\frac{1}{x-3} \\ \frac{(\color{OliveGreen}{-4}\color{black}{)}+4}{(\color{OliveGreen}{-4}\color{black}{-}3)(\color{OliveGreen}{-4}\color{black}{+}4)} &=\frac{1}{(\color{OliveGreen}{-4}\color{black}{)}-3} \\ \frac{0}{(-7)(0)} &=\frac{1}{-7} \\ \frac{0}{0} &=-\frac{1}{7} \quad \color{red}{x} \end{aligned}\)

Example \(\PageIndex{5}\)

Simplify and state the restriction:

\(\frac{25 x^{2}}{15 x^{3}}\)

**Solution**:

In this example, the expression is undefined when * x* is 0.

\(\frac{25 x^{2}}{15 x^{3}}=\frac{25(\color{OliveGreen}{0}\color{black}{)}^{2}}{15(\color{OliveGreen}{0}\color{black}{)}^{3}}=\frac{0}{0}\:\:\color{Cerulean}{Undefined}\)

Therefore, the domain consists of all real numbers * x*, where \(x≠0\). With this understanding, we can cancel common factors.

\(\begin{aligned} \frac{25 x^{2}}{15 x^{3}} &=\frac{5 \cdot \color{Cerulean}{\cancel{\color{black}{5 x^{2}}}}}{3 x \cdot \color{Cerulean}{\cancel{\color{black}{5 x^{2}}}}} \\ &=\frac{5}{3 x} \end{aligned}\)

**Answer**:

\(\frac{5}{3 x}\), where \(x\neq 0\)

Example \(\PageIndex{6}\)

State the restrictions and simplify:

\(\frac{3x(x-5)}{(2x-1)(x-5)}\)

**Solution**:

To determine the restrictions, set the denominator equal to 0 and solve.

\((2 x+1)(x-5)=0\)

\(\begin{array}{rlrl}{2 x+1} & {=0} & {\text { or }} & {x-5=0} \\ {2 x} & {=-1} & &{x=5} \\ {x} & {=-\frac{1}{2}}\end{array}\)

The domain consists of all real numbers except for \(−\frac{1}{2}\) and \(5\). Next, we find an equivalent expression by canceling common factors.

\(\begin{aligned} \frac{3 x(x-5)}{(2 x+1)(x-5)} &=\frac{3 x \color{Cerulean}{\cancel{\color{black}{(x-5)}}}}{(2 x+1)\color{Cerulean}{\cancel{\color{black}{(x-5)}}}} \\ &=\frac{3 x}{2 x+1} \end{aligned}\)

**Answer**:

\(\frac{3 x}{2 x+1}\), where \(x\neq -\frac{1}{2}\) and \(x\neq 5\)

Typically, rational expressions are not given in factored form. If this is the case, factor first and then cancel. The steps are outlined in the following example.

Example \(\PageIndex{7}\)

State the restrictions and simplify:

\(\frac{3 x+6}{x^{2}+x-2}\)

**Solution**:

**Step 1**: Completely factor the numerator and denominator.

\(\frac{3 x+6}{x^{2}+x-2}=\frac{3(x+2)}{(x-1)(x+2)}\)

**Step 2**: Determine the restrictions to the domain. To do this, set the denominator equal to 0 and solve.

\((x-1)(x+2)=0\)

\(\begin{array}{rlrl}{x-1} & {=0} & {\text { or }} & {x+2=0} \\ {x} & {=1} && {x=-2}\end{array}\)

The domain consists of all real numbers except \(−2\) and \(1\).

**Step 3**: Cancel common factors, if any.

\(\begin{aligned} \frac{3 x+6}{x^{2}+x-2} &=\frac{3\color{Cerulean}{\cancel{\color{black}{(x+2)}}}}{(x-1)\color{Cerulean}{\cancel{\color{black}{(x+2)}}}} \\ &=\frac{3}{x-1} \end{aligned}\)

**Answer**:

\(\frac{3}{x-1}\), where \(x\neq 1\) and \(x\neq -2\)

Example \(\PageIndex{8}\)

State the restrictions and simplify:

**Solution**:

First, factor the numerator and denominator.

Any value of * x* that results in a value of \(0\) in the denominator is a restriction. By inspection, we determine that the domain consists of all real numbers except \(4\) and \(3\). Next, cancel common factors.

\(\begin{array}{l}{=\color{black}{\frac{\color{Cerulean}{\cancel{\color{black}{(x-3)}}}\color{black}{(x+10)}}{(x-4)\color{Cerulean}{\cancel{\color{black}{(x-3)}}}}}} \\ {=\frac{x+10}{x-4}}\end{array}\)

**Answer**:

\(\frac{x+10}{x-4}\), where \(x\neq 3\) and \(x\neq 4\)

It is important to remember that we can only cancel factors of a product. A common mistake is to cancel terms. For example,

Exercise \(\PageIndex{1}\)

State the restrictions and simplify:

\(\frac{x^{2}-16}{5x^{2}-20x}\)

**Answer**-
\(\frac{x+4}{5 x}\), where \(x\neq 0\) and \(x\neq 4\)

In some examples, we will make a broad assumption that the denominator is nonzero. When we make that assumption, we do not need to determine the restrictions.

Example \(\PageIndex{9}\)

Simplify:

**(Assume all denominators are nonzero.)**

**Solution**:

Factor the numerator by grouping. Factor the denominator using the formula for a difference of squares.

Next, cancel common factors.

\(\begin{array}{l}{=\frac{\color{Cerulean}{\cancel{\color{black}{(x+y)}}}\color{black}{(y-3)}}{\color{Cerulean}{\cancel{\color{black}{(x+y)}}}\color{black}{(x-y)}}} \\ {=\frac{y-3}{x-y}}\end{array}\)

**Answer**:

\(\frac{y-3}{x-y}\)

## Opposite Binomial Factors

Recall that the opposite of the real number * a* is

*. Similarly, we can define the opposite of a polynomial*

**−a***to be*

**P***. We first consider the opposite of the binomial \(a−b\):*

**−P**\[-(a-b)=-a+b=b-a\]

This leads us to the opposite binomial property:

\[-(a-b)=(b-a)\]

This is equivalent to factoring out a \(–1\).

\[(b-a)=-1(a-b)\]

If \(a≠b\), then we can divide both sides by \((a−b)\) and obtain the following:

\(\frac{b-a}{a-b}=-1\)

Example \(\PageIndex{10}\)

State the restrictions and simplify:

\(\frac{3-x}{x-3}\)

**Solution**:

By inspection, we can see that the denominator is \(0\) if \(x=3\). Therefore, \(3\) is the restriction to the domain. Apply the opposite binomial property to the numerator and then cancel.

**Answer**:

\(\frac{3-x}{x-3}\), where \(x\neq 3\)

Since addition is commutative, we have

\[(a+b)=(b+a)\]

or

\(\frac{b+a}{a+b}=1\)

Take care not to confuse this with the opposite binomial property. Also, it is important to recall that

\(\frac{-a}{b}=-\frac{a}{b}=\frac{a}{-b}\)

In other words, show a negative fraction by placing the negative sign in the numerator, in front of the fraction bar, or in the denominator. Generally, negative denominators are avoided.

Example \(\PageIndex{11}\)

Simplify and state the restrictions:

\(\frac{4-x^{2}}{x^{2}+3 x-10}\)

**Solution**:

Begin by factoring the numerator and denominator.

\(\begin{aligned} \frac{4-x^{2}}{x^{2}+3 x-10} &=\frac{(2+x)\color{Cerulean}{(2-x)}}{\color{Cerulean}{(x-2)}\color{black}{(}x+5)}\qquad\qquad\quad\color{Cerulean}{The\:restrictions\:are\:x\neq2\:and\:x\neq-5.} \\ &=\frac{(2+x) \cdot(-1)\color{Cerulean}{\cancel{\color{black}{(x-2)}}}}{\color{Cerulean}{\cancel{\color{black}{(x-2)}}}\color{black}{(x+5)}}\quad\:\color{Cerulean}{Apply\:the\:opposite\:binomial\:property,\:then\:cancel.} \\ &=\frac{(2+x) \cdot(-1)}{(x+5)} \\ &=-\frac{2+x}{x+5} \quad \text { or } \quad=-\frac{x+2}{x+5} \end{aligned}\)

**Answer**:

\(-\frac{x+2}{x+5}\), where \(x\neq 2\) and \(x\neq -5\)

Exercise \(\PageIndex{2}\)

Simplify and state the restrictions:

**Answer**\(\frac{-2x+3}{x+5}\), where \(x\neq\pm 5\)

## Rational Functions

Rational functions have the form

\[r(x)=\frac{p(x)}{q(x)}\],

where* p(x)* and *q(x) *are polynomials and *q(x)≠0*. The domain of a rational function consists of all real numbers * x* such that the denominator

*q(x)≠0*.

Example \(\PageIndex{12}\)

- Simplify: \(r(x)=\frac{2 x^{2}+5 x-3}{6 x^{2}+18 x}\).
- State the domain.
- Calculate \(r(-2)\).

**Solution**:

a. To simplify the rational function, first factor and then cancel.

\(\begin{aligned} r(x) &=\frac{2 x^{2}+5 x-3}{6 x^{2}+18 x} \\ &=\frac{(2 x-1)\color{Cerulean}{\cancel{\color{black}{(x+3)}}}}{6 x\color{Cerulean}{\cancel{\color{black}{(x+3)}}}} \\ &=\frac{2 x-1}{6 x} \end{aligned}\)

b. To determine the restrictions, set the denominator of the original function equal to 0 and solve.

\(\begin{array}{l}{6 x^{2}+18 x=0} \\ {6 x(x+3)=0}\end{array}\)

\(\begin{array}{cc}{6 x=0} & {\text { or } \quad x+3=0} \\ {x=0} & {x=-3}\end{array}\)

The domain consists of all real numbers * x*, where \(x≠0\) and \(x≠−3\).

c. Since \(−2\) is not a restriction, substitute it for the variable * x* using the simplified form.

\(\begin{aligned} r(x) &=\frac{2 x-1}{6 x} \\ r(-2) &=\frac{2(\color{OliveGreen}{-2}\color{black}{)}-1}{6(\color{OliveGreen}{-2}\color{black}{)}} \\ &=\frac{-4-1}{-12} \\ &=\frac{-5}{-12} \\ &=\frac{5}{12} \end{aligned}\)

**Answer**:

a. \(\frac{2 x-1}{6 x}\) b. The domain is all real numbers except \(0\) and \(−3\). c. \(r(-2) = \frac{5}{12}\)

If a cost function \(C(x)\) represents the cost of producing * x* units, then the average cost \(c(x)\) is the cost divided by the number of units produced.

\[\color{Cerulean}{Average\:cost}\color{black}{:} c(x)=\frac{C(x)}{x}\]

Example \(\PageIndex{13}\)

The cost in dollars of producing t-shirts with a company logo is given by \(C(x)=7x+200\), where * x* represents the number of shirts produced. Determine the average cost of producing

- 40 t-shirts
- 250 t-shirts
- 1,000 t-shirts

**Solution**:

Set up a function representing the average cost.

\(c(x)=\frac{C(x)}{x}=\frac{7 x+200}{x}\)

Next, calculate c(40), c(250), and c(1000).

\(\begin{aligned} c(40) &=\frac{7(\color{OliveGreen}{40}\color{black}{)}+200}{\color{OliveGreen}{40}}=\frac{280+200}{40}=\frac{480}{40}=12.00 \\ c(250) &=\frac{7(\color{OliveGreen}{250}\color{black}{)}+200}{\color{OliveGreen}{250}}=\frac{1750+200}{250}=\frac{1950}{250}=7.80 \\ c(1000) &=\frac{7(\color{OliveGreen}{1000}\color{black}{)}+200}{\color{OliveGreen}{1000}}=\frac{7000+200}{1000}=\frac{7200}{1000}=7.20 \end{aligned}\)

**Answer**:

- If 40 t-shirts are produced, then the average cost per t-shirt is $12.00.
- If 250 t-shirts are produced, then the average cost per t-shirt is $7.80.
- If 1,000 t-shirts are produced, then the average cost per t-shirt is $7.20.

## Key Takeaways

- Rational expressions usually are not defined for all real numbers. The real numbers that give a value of 0 in the denominator are not part of the domain. These values are called restrictions.
- Simplifying rational expressions is similar to simplifying fractions. First, factor the numerator and denominator and then cancel the common factors. Rational expressions are simplified if there are no common factors other than 1 in the numerator and the denominator.
- Simplified rational expressions are equivalent for values in the domain of the original expression. Be sure to state the restrictions if the denominators are not assumed to be nonzero.
- Use the opposite binomial property to cancel binomial factors that involve subtraction. Use \(−(a−b)=b−a\) to replace factors that will then cancel. Do not confuse this with factors that involve addition, such as \((a+b)=(b+a)\).

Exercise \(\PageIndex{3}\) Rational Expressions

Evaluate for the given set of *x*-values.

- \(5x; {−1, 0, 1}\)
- \(\frac{4x^{3}}{x^{2}}; {−1, 0, 1} \)
- \(\frac{1}{x+9}; {−10, −9, 0} \)
- \(\frac{x+6}{x−5}; {−6, 0, 5}\)
- \(\frac{3x(x−2)}{2x−1}; {0, \frac{1}{2}, 2}\)
- \(\frac{9x^{2}−1}{x−7}; {0, \frac{1}{3}, 7} \)
- \(5x^{2}−9; {−3, 0, 3}\)
- \(\frac{x^{2}−2}{5x^{2}−3x−10}; {−5, −4, 5}\)
- Fill in the following chart:

*Figure \(\PageIndex{1}\)* - Fill in the following chart:

*Figure \(\PageIndex{2}\)* - Fill in the following chart:

*Figure \(\PageIndex{3}\)* - Fill in the following chart:

*Figure \(\PageIndex{4}\)*

**Answer**-
1. \(−5\), undefined, \(5\)

3. \(−1\), undefined, \(\frac{1}{9}\)

5. \(0\), undefined, \(0\)

7. Undefined, \(−\frac{5}{9}\), undefined

9.

11.

Exercise \(\PageIndex{4}\) Rational Expressions

An object’s weight depends on its height above the surface of earth. If an object weighs 120 pounds on the surface of earth, then its weight in pounds, *W*, *x* miles above the surface is approximated by the formula

\(W=\frac{120\cdot 4000^{2}}{(4000+x)^{2}}\)

For each problem below, approximate the weight of a 120-pound object at the given height above the surface of earth. (1 mile = 5,280 feet)

- 100 miles
- 1,000 miles
- 44,350 feet
- 90,000 feet

**Answer**-
1. 114 pounds

3. 119.5 pounds

Exercise \(\PageIndex{5}\) Rational Expressions

The price to earnings ratio (P/E) is a metric used to compare the valuations of similar publicly traded companies. The P/E ratio is calculated using the stock price and the earnings per share (EPS) over the previous 12-month period as follows:

P/E=price per share earnings per share

If each share of a company stock is priced at $22.40, then calculate the P/E ratio given the following values for the earnings per share.

- $1.40
- $1.21
- What happens to the P/E ratio when earnings decrease?
- What happens to the P/E ratio when earnings increase?

**Answer**-
1. 16

3. The P/E ratio increases.

Exercise \(\PageIndex{6}\) Rational Expressions

State the restrictions to the domain.

- \(\frac{1}{3x}\)
- \(\frac{3x^{2}}{7x^{5}}\)
- \(\frac{3x(x+1)}{x+4}\)
- \(\frac{2x^{2}(x−3)}{x−1}\)
- \(\frac{1}{5x−1}\)
- \(\frac{x−2}{3x−2}\)
- \(\frac{x−9}{5x(x−2)}\)
- \(\frac{1}{(x−3)(x+6)}\)
- \(\frac{x}{1−x^{2}}\)
- \(\frac{x^{2}−9}{x^{2}−36}\)
- \(\frac{1}{2x(x+3)(2x−1)}\)
- \(\frac{x−3}{(3x−1)(2x+3)}\)
- \(\frac{4x(2x+1)}{12x^{2}+x−1}\)
- \(\frac{x−5}{3x^{2}−15x}\)

**Answer**-
1. \(x≠0\)

3. \(x≠−4\)

5. \(x≠\frac{1}{5}\)

7. \(x≠0\) and \(x≠2\)

9. \(x≠±1\)

11. \(x≠0\), \(x≠−3\), and \(x≠\frac{1}{2}\)

13. \(x≠−\frac{1}{3}\) and \(x≠\frac{1}{4}\)

Exercise \(\PageIndex{7}\) Simplifying Rational Expressions

State the restrictions and then simplify.

- \(\frac{5x^{2}}{20x^{3}}\)
- \(\frac{12x^{6}}{60x}\)
- \(\frac{3x^{2}(x−2)}{9x(x−2)}\)
- \(\frac{20(x−3)(x−5)}{6(x−3)(x+1)}\)
- \(\frac{6x^{2}(x−8)}{36x(x+9)(x−8)}\)
- \(\frac{16x^{2}−1}{(4x+1)^{2}}\)
- \(\frac{9x^{2}−6x+1}{(3x−1)^{2}}\)
- \(\frac{x−7}{x^{2}−49}\)
- \(\frac{x^{2}−64}{x^{2}+8x}\)
- \(\frac{x+10}{x^{2}−100}\)
- \(\frac{2x^{3}−12x^{2}}{5x^{2}−30x}\)
- \(\frac{30x^{5}+60x^{4}}{2x^{3}−8x}\)
- \(\frac{2x−12}{x^{2}+x−6}\)
- \(\frac{x^{2}−x−6}{3x^{2}−8x−3}\)
- \(\frac{6x^{2}−25x+25}{3x^{2}+16x−35}\)
- \(\frac{3x^{2}+4x−1}{5x^{2}−9}\)
- \(\frac{x^{2}−10x+21}{x^{2}−4x−21}\)
- \(\frac{x^{3}−1}{x^{2}−1}\)
- \(\frac{x^{3}+8}{x^{2}−4}\)
- \(\frac{x^{4}−1}{6x^{2}−4}\)

**Answer**-
1. \(\frac{1}{4x}; x≠0\)

3. \(\frac{x}{3}; x≠0, 2\)

5. \(\frac{x}{6(x+9)}; x≠0,−9, 8\)

7. \(1; x≠\frac{1}{3}\)

9. \(\frac{x−8}{x}; x≠0,−8\)

11. \(\frac{2x}{5}; x≠0, 6\)

13. \(\frac{2x−12}{x^{2}+x−6}\; x≠−2, \frac{3}{2}\)

15. \(\frac{2x−5}{x+7}; x≠−7, \frac{5}{3}\)

17. \(\frac{x−3}{x+3}; x≠−3, 7\)

19. \(\frac{x^{2}-2 x+4}{x-2} ; x≠±2\)

Exercise \(\PageIndex{8}\) Simplifying Rational Expressions with Opposite Binomial Factors

State the restrictions and then simplify.

- \(\frac{x−9}{9−x}\)
- \(\frac{3x−2}{2−3x}\)
- \(\frac{x+6}{6+x}\)
- \(\frac{3x+1}{1+3x}\)
- \(\frac{(2x−5)(x−7)}{(7−x)(2x−1)}\)
- \(\frac{(3x+2)(x+5)}{(x−5)(2+3x)}\)
- \(\frac{x^{2}−4}{(2−x)^{2}}\)
- \(\frac{16−9x^{2}}{(3x+4)^{2}}\)
- \(\frac{4x^{2}(10−x)}{3x^{3}−300x}\)
- \(−\frac{2x+1}{4x^{3}−49x}\)
- \(\frac{2x^{2}−7x−4}{1−4x^{2}}\)
- \(\frac{9x^{2}−4}{4x−6x^{2}}\)
- \(\frac{x^{2}−5x−14}{7−15x+2x^{2}}\)
- \(\frac{2x^{3}+x^{2}−2x−1}{1+x−2x^{2}}\)
- \(\frac{x^{3}+2 x-3 x^{2}-6}{2+x^{2}}\)
- \(\frac{27+x^{3}}{x^{2}+6x+9}\)
- \(\frac{64−x^{3}}{x^{2}−8x+16}\)
- \(\frac{x^{2}+4}{4−x^{2}}\)

**Answer**-
1. \(−1; x≠9 \)

3. \(1; x≠−6 \)

5. \(\frac{−2x−5}{2x−1}; x≠\frac{1}{2},7\)

7. \(\frac{x+2}{x−2}; x≠2\)

9. \(−\frac{4x}{3(x+10)}; x≠±10, 0\)

11. \(\frac{x−4}{1−2x}; x≠±\frac{1}{2}\)

13. \(\frac{x+2}{2x−1}; x≠\frac{1}{2},7\)

15. \(x−3\); none

17. \(\frac{−16+4x+x^{2}}{x−4}; x≠4\)

Exercise \(\PageIndex{9}\) Simplifying Rational Expressions with Opposite Binomial Factors

Simplify. (Assume all denominators are nonzero.)

- \(−\frac{15x^{3}y^{2}}{5xy^{2}(x+y)}\)
- \(\frac{14x^{7}y^{2}(x−2y)^{4}}{7x^{8}y(x−2y)^{2}}\)
- \(\frac{y+x}{x^{2}−y^{2}}\)
- \(\frac{y−x}{x^{2}−y^{2}}\)
- \(\frac{x^{2}−y^{2}}{(x−y)^{2}}\)
- \(\frac{a^{2}−ab−6b^{2}}{a^{2}−6ab+9b^{2}}\)
- \(\frac{2a^{2}−11a+12}{−32+2a^{2}}\)
- \(\frac{a^{2}b−3a^{2}}{3a^{2}−3ab}\)
- \(\frac{x y^{2}-x+y^{3}-y}{x-x y^{2}}\)
- \(\frac{x^{3}−xy^{2}−x^{2}y+y}{3x^{2}−2xy+y^{2}}\)
- \(\frac{x^{3}−27}{x^{2}+3x+9}\)
- \(\frac{x^{2}−x+1}{x^{3}+1}\)

**Answer**-
1. \(−\frac{3x^{2}}{x+y}\)

3. \(\frac{1}{x−y}\)

5. \(\frac{x+y}{x−y}\)

7. \(\frac{2 a-3}{2(a+4)}\)

9. \(-\frac{x+y}{x}\)

11. \(x−3\)

Exercise \(\PageIndex{10}\) Rational Functions

Calculate the following.

- \(f(x)=\frac{5x}{x−3}; f(0), f(2), f(4)\)
- \(f(x)=\frac{x+7}{x^{2}+1}; f(−1), f(0), f(1) \)
- \(g(x)=\frac{x^{3}}{(x−2)^{2}}; g(0), g(2), g(−2) \)
- \(g(x)=\frac{x^{2}−9}{9−x^{2}}; g(−2), g(0), g(2) \)
- \(g(x)=\frac{x^{3}}{x^{2}+1}; g(−1), g(0), g(1)\)
- \(g(x)=\frac{5x+1}{x^{2}−25}; g(−\frac{1}{5}), g(−1), g(−5)\)

**Answer**-
1. f(0)=0, f(2)=−10, f(4)=20

3. g(0)=0, g(2) undefined, g(−2)=−\(\frac{1}{2}\)

5. g(−1)=−\(\frac{1}{2}\), g(0)=0, g(1)=\(\frac{1}{2}\)

Exercise \(\PageIndex{11}\) Rational Functions

State the restrictions to the domain and then simplify.

- \(f(x)=−\frac{3x^{2}−6x}{x^{2}+4x+4}\)
- \(f(x)=\frac{x^{2}+6x+9}{2x^{2}+5x−3 }\)
- \(g(x)=\frac{9−x}{x^{2}−81}\)
- \(g(x)=\frac{x^{3}−27}{3−x}\)
- \(g(x)=\frac{3x−15}{10−2x}\)
- \(g(x)=\frac{25−5x}{4x−20}\)
- The cost in dollars of producing coffee mugs with a company logo is given by \(C(x)=x+40\), where
*x*represents the number of mugs produced. Calculate the average cost of producing 100 mugs and the average cost of producing 500 mugs. - The cost in dollars of renting a moving truck for the day is given by \(C(x)=0.45x+90\), where
*x*represents the number of miles driven. Calculate the average cost per mile if the truck is driven 250 miles in one day. - The cost in dollars of producing sweat shirts with a custom design on the back is given by \(C(x)=1200+(12−0.05x)x\), where
*x*represents the number of sweat shirts produced. Calculate the average cost of producing 150 custom sweat shirts. - The cost in dollars of producing a custom injected molded part is given by \(C(x)=500+(3−0.001x)x\), where
*x*represents the number of parts produced. Calculate the average cost of producing 1,000 custom parts.

**Answer**-
1. \(f(x)=−\frac{3x}{x+2}; x≠−2 \)

3. \(g(x)=−\frac{1}{x+9}; x≠±9 \)

5. \(g(x)=−\frac{3}{2}; x≠5 \)

7. The average cost of producing 100 mugs is $1.40 per mug. The average cost of producing 500 mugs is $1.08 per mug.

9. $12.50

Exercise \(\PageIndex{12}\) Discussion Board

- Explain why \(\frac{b−a}{a−b}=−1\) and illustrate this fact by substituting some numbers for the variables.
- Explain why \(\frac{b+a}{a+b}=1\) and illustrate this fact by substituting some numbers for the variables.
- Explain why we cannot cancel x in the expression \(\frac{x}{x+1}\).

**Answer**-
1. Answers may vary

3. Answers may vary