## Section13.1Introduction to Rational Functions

In this chapter we will learn about rational functions, which are ratios of two polynomial functions. Creating this ratio inherently requires division, and we'll explore the effect this has on the graphs of rational functions and their domain and range.

### Subsection13.1.1Graphs of Rational Functions

When a drug is injected into a patient, the drug's concentration in the patient's bloodstream can be modeled by the function $C\text{,}$ with formula

\begin{equation*} C(t)=\frac{3t}{t^2+8} \end{equation*}

where $C(t)$ gives the drug's concentration, in milligrams per liter, $t$ hours since the injection. A new injection is needed when the concentration falls to $0.35$ milligrams per liter. Let's use graphing technology to explore this situation.

1. What is the concentration after 10 hours?

2. After how many hours since the first injection is the drug concentration greatest?

3. After how many hours since the first injection should the next injection be given?

4. What happens to the drug concentration if no further injections are given?

Using graphing technology, we will graph $y=\frac{3t}{t^2+8}$ and $y=0.35\text{.}$

To determine the concentration after 10 hours, we will evaluate $C$ at $t=10\text{.}$ After $10$ hours, the concentration will be about 0.2777āÆmgāL.

\begin{align*} C(10)\amp=\frac{3(10)}{10^2+8}\\ \amp=\frac{30}{108}\\ \amp=\frac{5}{18}\approx 0.2777 \end{align*}

Using the graph, we can see that the maximum concentration of the drug will be 0.53āÆmgāL and will occur after about $2.828$ hours.

The approximate points of intersection $(1.066,0.35)$ and $(7.506,0.35)$ tell us that the concentration of the drug will reach 0.35āÆmgāL after about $1.066$ hours and again after about $7.506$ hours. Given the rising, then falling shape of the graph, this means that another dose will need to be administered after about $7.506$ hours.

From the initial graph, it appears that the concentration of the drug will diminish to zero with enough time passing. Exploring further, we can see both numerically and graphically that for larger and larger values of $t\text{,}$ the function values get closer and closer to zero. This is shown in TableĀ 13.1.3 and FigureĀ 13.1.4.

 $t$ $C(t)$ $24$ $0.123\ldots$ $48$ $0.062\ldots$ $72$ $0.041\ldots$ $96$ $0.031\ldots$ $120$ $0.020\ldots$

In SectionĀ 13.5, we'll explore how to algebraically solve $C(t)=0.35\text{.}$ For now, we just relied on technology to make the graph and determine intersection points.

The function $C\text{,}$ where $C(t)=\frac{3t}{t^2+8}\text{,}$ is a rational function, which is a type of function defined as follows.

###### Definition13.1.5Rational Function

A rational function $f$ is a function in the form

\begin{equation*} f(x)=\frac{P(x)}{Q(x)} \end{equation*}

where $P$ and $Q$ are polynomial functions, but $Q$ is not the constant zero function.

###### Checkpoint13.1.6

A rational function's graph is not always smooth like the one shown in ExampleĀ 13.1.2. It could have breaks, as we'll see now.

###### Example13.1.7

Build a table and sketch the graph of the function $f$ where $f(x)=\frac{1}{x-2}\text{.}$ Find the function's domain and range.

Since $x=2$ makes the denominator $0\text{,}$ the function will be undefined for $x=2\text{.}$ We'll start by choosing various $x$-values and plotting the associated points.

 $x$ $f(x)$ Point $-6$ $\frac{1}{-6-2}=-0.125$ $(-6,-0.125)$ $-4$ $\frac{1}{-4-2}\approx -0.167$ $\left(-4,-\frac{1}{6}\right)$ $-2$ $\frac{1}{-2-2}\approx-0.25$ $(-2,-0.25)$ $0$ $\frac{1}{0-2}=-0.5$ $(0,-0.5)$ $1$ $\frac{1}{1-2}=-1$ $(1,-1)$ $2$ undefined $3$ $\frac{1}{3-2}=1$ $(3,1)$ $4$ $\frac{1}{4-2}=0.5$ $(4,0.5)$

Note that extra points were chosen near $x=2$ in the TableĀ 13.1.8, but it's still not clear on the graph what happens really close to $x=2\text{.}$ It will be essential that we include at least one $x$-value between $1$ and $2$ and also between $2$ and $3\text{.}$

Further, we'll note that dividing one number by a number that is close to $0$ yields a large number. For example, $\frac{1}{0.0005}=2000\text{.}$ In fact, the smaller the number is that we divide by, the larger our result becomes. So when $x$ gets closer and closer to $2\text{,}$ then $x-2$ gets closer and closer to $0\text{.}$ And then $\frac{1}{x-2}$ takes very large values.

When we plot additional points closer and closer to $2\text{,}$ we get larger and larger results. To the left of $2\text{,}$ the results are negative, so the connected curve has an arrow pointing downward there. The opposite happens to the right of $x=2\text{,}$ and an arrow points upward. We'll also draw the vertical line $x=2$ as a dashed line to indicate that the graph never actually touches it.

 $x$ $f(x)$ Point $-6$ $\frac{1}{-6-2}=-0.125$ $(-6,-0.125)$ $-4$ $\frac{1}{-4-2}\approx -0.167$ $\left(-4,-\frac{1}{6}\right)$ $-2$ $\frac{1}{-2-2}\approx-0.25$ $(-2,-0.25)$ $0$ $\frac{1}{0-2}=-0.5$ $(0,-0.5)$ $1$ $\frac{1}{1-2}=-1$ $(1,-1)$ $1.5$ $\frac{1}{1.5-2}=-2$ $(1.5,-2)$ $1.9$ $\frac{1}{1.9-2}=-10$ $(1,-10)$ $2$ undefined $2.1$ $\frac{1}{2.1-2}=10$ $(2.1,10)$ $2.5$ $\frac{1}{2.5-2}=2$ $(2.5,2)$ $3$ $\frac{1}{3-2}=1$ $(3,1)$ $4$ $\frac{1}{4-2}=0.5$ $(4,0.5)$

Note that in FigureĀ 13.1.11, the line $y=0$ was also drawn as a dashed line. This is because the values of $y=f(x)$ will get closer and closer to zero as the inputs become more and more positive (or negative).

We know that the domain of this function is $(-\infty,2)\cup(2,\infty)$ as the function is undefined at $2\text{.}$ We can determine this algebraically, and it is also evident in the graph.

We can see from the graph that the range of the function is $(-\infty,0)\cup(0,\infty)\text{.}$ See CheckpointĀ 10.2.27 for a discussion of how to see the range using a graph like this one.

###### Remark13.1.12

The line $x=2$ in ExampleĀ 13.1.7 is referred to as a vertical asymptote. The line $y=0$ is referred to as a horizontal asymptote. We'll use this vocabulary when referencing such lines, but the classification of vertical asymptotes and horizontal asymptotes is beyond the scope of this book.

###### Example13.1.13

Algebraically find the domain of $g(x)=\frac{3x^2}{x^2-2x-24}\text{.}$ Use technology to sketch a graph of this function.

Explanation

To find a rational function's domain, we set the denominator equal to $0$ and solve:

\begin{align*} x^2-2x-24\amp=0\\ (x-6)(x+4)\amp=0 \end{align*}
\begin{align*} x-6\amp=0\amp\text{or}\amp\amp x+4\amp=0\\ x\amp=6\amp\text{or}\amp\amp x\amp=-4 \end{align*}

Since $x=6$ and $x=-4$ will cause the denominator to be $0\text{,}$ they are excluded from the domain. The function's domain is $\left\{x \mid x\ne6, x\ne-4\right\}\text{.}$ In interval notation, the domain is $(-\infty,-4)\cup(-4,6)\cup(6,\infty)\text{.}$

To begin creating this graph, we'll use technology to create a table of function values, making sure to include values near both $-4$ and $6\text{.}$ We'll sketch an initial plot of these.

 $x$ $g(x)=\frac{3x^2}{x^2-2x-24}$ $-10$ $3.125$ $-9$ $3.24$ $-8$ $3.428\ldots$ $-7$ $3.769\ldots$ $-6$ $4.5$ $-5$ $6.818\ldots$ $-4$ undefined $-3$ $-3$ $-2$ $-0.75$ $-1$ $-0.142\ldots$ $0$ $0\ldots$ $1$ $-0.12$ $2$ $-0.5$ $3$ $-1.285$ $4$ $-3$ $5$ $-8.333\ldots$ $6$ undefined $7$ $13.363\ldots$ $8$ $8$ $9$ $6.230\ldots$ $10$ $5.357\ldots$

We can now begin to see what happens near $x=-4$ and $x=6\text{.}$ These are referred to as vertical asymptotes and will be graphed as dashed vertical lines as they are features of the graph but do not include function values.

The last thing we need to consider is what happens for large positive values of $x$ and large negative values of $x\text{.}$ Choosing a few values, we find:

 $x$ $g(x)$ $1000$ $3.0060\ldots$ $2000$ $3.0030\ldots$ $3000$ $3.0020\ldots$ $4000$ $3.0015\ldots$
 $x$ $g(x)$ $-1000$ $2.9940\ldots$ $-2000$ $2.9970\ldots$ $-3000$ $2.9980\ldots$ $-4000$ $2.9985\ldots$

Thus for really large positive $x$ and for really large negative $x\text{,}$ we see that the function values get closer and closer to $y=3\text{.}$ This is referred to as the horizontal asymptote, and will be graphed as a dashed horizontal line on the graph.

Putting all of this together, we can sketch a graph of this function.

Let's look at another example where a rational function is used to model real life data.

###### Example13.1.20

The monthly operation cost of Saqui's shoe company is approximately $\300{,}000.00\text{.}$ The cost of producing each pair of shoes is $\30.00\text{.}$ As a result, the cost of producing $x$ pairs of shoes is $30x+300000$ dollars, and the average cost of producing each pair of shoes can be modeled by

\begin{equation*} \bar{C}(x)=\frac{30x+300000}{x}\text{.} \end{equation*}

Answer the following questions with technology.

1. What's the average cost of producing $100$ pairs of shoes? Of $1{,}000$ pairs? Of $10{,}000$ pairs? What's the pattern?

2. To make the average cost of producing each pair of shoes cheaper than $\50.00\text{,}$ at least how many pairs of shoes must Saqui's company produce?

3. Assume that her company's shoes are very popular. What happens to the average cost of producing shoes if more and more people keep buying them?

Explanation

We will graph the function with technology. After adjusting window settings, we have:

1. What's the average cost of producing $100$ pairs of shoes? $1{,}000$ pairs? $10{,}000$ pairs? What's the pattern?

To answer this question, we locate the points where $x$ values are $100\text{,}$ $1{,}000$ and $10{,}000\text{.}$ They are $(100,3030), (1000,330)$ and $(10000,60)\text{.}$ They imply:

• If the company produces $100$ pairs of shoes, the average cost of producing one pair is $\3{,}030.00\text{.}$

• If the company produces $1{,}000$ pairs of shoes, the average cost of producing one pair is $\330.00\text{.}$

• If the company produces $10{,}000$ pairs of shoes, the average cost of producing one pair is $\60.00\text{.}$

We can see the more shoes her company produces, the lower the average cost.

2. To make the average cost of producing each pair of shoes cheaper than $\50.00\text{,}$ at least how many pairs of shoes must Saqui's company produce?

To answer this question, we locate the point where its $y$-value is $50\text{.}$ With technology, we graph both $y=\bar{C}(x)$ and $y=50\text{,}$ and locate their intersection.

The intersection $(15000,50)$ implies the average cost of producing one pair is $\50.00$ if her company produces $15{,}000$ pairs of shoes.

3. Assume her company's shoes are very popular. What happens to the average cost of producing shoes if more and more people keep buying them?

To answer this question, we substitute $x$ with some large numbers, and use technology to create a table of values:

We can estimate that the average cost of producing one pair is getting closer and closer to $\30.00$ as her company produces more and more pairs of shoes.

Note that the cost of producing each pair is $\30.00\text{.}$ This implies, for big companies whose products are very popular, the cost of operations can be ignored when calculating the average cost of producing each unit of product.

### Subsection13.1.2Exercises

###### 1

The population of deer in a forest can be modeled by

\begin{equation*} P(x) = {\frac{3920x+1540}{8x+7}} \end{equation*}

where $x$ is the number of years in the future. Answer the following questions.

1. How many deer live in this forest this year?

2. How many deer will live in this forest $9$ years later? Round your answer to an integer.

3. After how many years, the deer population will be $472\text{?}$ Round your answer to an integer.

4. Use a calculator to answer this question: As time goes on, the population levels off at about how many deer?

###### 2

The population of deer in a forest can be modeled by

\begin{equation*} P(x) = {\frac{2970x+180}{9x+2}} \end{equation*}

where $x$ is the number of years in the future. Answer the following questions.

1. How many deer live in this forest this year?

2. How many deer will live in this forest $9$ years later? Round your answer to an integer.

3. After how many years, the deer population will be $327\text{?}$ Round your answer to an integer.

4. Use a calculator to answer this question: As time goes on, the population levels off at about how many deer?

###### 3

In a certain store, cashiers can serve $60$ customers per hour on average. If $x$ customers arrive at the store in a given hour, then the average number of customers $C$ waiting in line can be modeled by the function

\begin{equation*} C(x) = {\frac{x^{2}}{3600-60x}} \end{equation*}

where $x\lt 60\text{.}$

1. If $44$ customers arrived in the store in the past hour, there are approximately customers waiting in line.

2. If there are $7$ customers waiting in line, approximately customers arrived in the past hour.

###### 4

In a certain store, cashiers can serve $55$ customers per hour on average. If $x$ customers arrive at the store in a given hour, then the average number of customers $C$ waiting in line can be modeled by the function

\begin{equation*} C(x) = {\frac{x^{2}}{3025-55x}} \end{equation*}

where $x\lt 55\text{.}$

1. If $48$ customers arrived in the store in the past hour, there are approximately customers waiting in line.

2. If there are $2$ customers waiting in line, approximately customers arrived in the past hour.

###### 5

Select all rational functions. There are several correct answers.

• $n(x)=\frac{3 x^2 + 6 \sqrt{x} - 4}{3 - 2 x^{3}}$

• $m(x)=\frac{3 x + 6}{3 x +6}$

• $r(x)=\frac{3 x^2 + 6 x - 4}{3 - 2 x^{-3}}$

• $t(x)=\frac{3 - 2 x^3}{3 x^{0.7} + 6 x - 4}$

• $b(x)=\frac{3 x^2 + 6 x - 4}{3}$

• $s(x)=\frac{\sqrt{3} x^2 + 6 x - 4}{3 - 2 x^{3}}$

• $c(x)=\frac{3 x^2 + 6 x - 4}{3 + \lvert x \rvert }$

• $a(x)=\frac{3 x^2 + 6 x - 4}{3 - 2 x^{3}}$

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

###### 6

Select all rational functions. There are several correct answers.

• $t(x)=\frac{8 - 2 x^3}{3 x^{0.7} + 3 x - 7}$

• $s(x)=\frac{\sqrt{3} x^2 + 3 x - 7}{8 - 2 x^{3}}$

• $m(x)=\frac{3 x + 3}{3 x +3}$

• $r(x)=\frac{3 x^2 + 3 x - 7}{8 - 2 x^{-3}}$

• $a(x)=\frac{3 x^2 + 3 x - 7}{8 - 2 x^{3}}$

• $c(x)=\frac{3 x^2 + 3 x - 7}{8 + \lvert x \rvert }$

• $h(x)=\frac{8}{3 x^2 + 3 x - 7}$

• $b(x)=\frac{3 x^2 + 3 x - 7}{8}$

• $n(x)=\frac{3 x^2 + 3 \sqrt{x} - 7}{8 - 2 x^{3}}$

###### 7

Find the domain of $\displaystyle{h}$ where $\displaystyle{h(x)={\frac{2x}{x-8}}}\text{.}$

###### 8

Find the domain of $\displaystyle{F}$ where $\displaystyle{F(x)={\frac{5x}{x-1}}}\text{.}$

###### 9

Find the domain of $\displaystyle{G}$ where $\displaystyle{G(x)={\frac{10-6x}{x^{2}-16x+63}}}\text{.}$

###### 10

Find the domain of $\displaystyle{H}$ where $\displaystyle{H(x)={\frac{7x-2}{x^{2}-x-72}}}\text{.}$

###### 11

Find the domain of $\displaystyle{H}$ where $\displaystyle{H(x)={\frac{7x+2}{x^{2}-10x}}}\text{.}$

###### 12

Find the domain of $\displaystyle{K}$ where $\displaystyle{K(x)={-\frac{7x+5}{x^{2}-4x}}}\text{.}$

###### 13

Find the domain of $\displaystyle{f}$ where $\displaystyle{f(x)={\frac{6x+3}{x^{2}-100}}}\text{.}$

###### 14

Find the domain of $\displaystyle{g}$ where $\displaystyle{g(x)={-\frac{x+9}{x^{2}-9}}}\text{.}$

###### 15

Find the domain of the function $c$ defined by $\displaystyle{c(x)=\frac{x - 4}{x^{2}}}$

###### 16

Find the domain of the function $p$ defined by $\displaystyle{p(x)=\frac{x - 2}{x^{5}}}$

###### 17

Find the domain of the function $q$ defined by $\displaystyle{q(x)=\frac{x - 2}{x^2+16}}$

###### 18

Find the domain of the function $m$ defined by $\displaystyle{m(x)=\frac{x+3}{x^2+81}}$

###### 19

Find the domain of the function $m$ defined by $\displaystyle{m(x)=\frac{x+5}{x + 5}}$

###### 20

Find the domain of the function $b$ defined by $\displaystyle{b(x)=\frac{x+7}{x + 7}}$

###### 21

A function is graphed.

What is its domain?

###### 22

A function is graphed.

What is its domain?

###### 23

A function is graphed.

What is its domain?

###### 24

A function is graphed.

What is its domain?

###### 25

A function is graphed.

This function has domain and range .

###### 26

A function is graphed.

This function has domain and range .

###### 27

A function is graphed.

This function has domain and range .

###### 28

A function is graphed.

This function has domain and range .

###### 29

In a forest, the number of deer can be modeled by the function $f(x)={\frac{180t+270}{0.6t+3}}\text{,}$ where $t$ stands for the number of years from now. Answer the question with technology. Round your answer to a whole number.

After 30 years, there would be approximately deer living in the forest.

###### 30

In a forest, the number of deer can be modeled by the function $f(x)={\frac{180t+900}{0.4t+9}}\text{,}$ where $t$ stands for the number of years from now. Answer the question with technology. Round your answer to one decimal place.

After years, there would be approximately 350 deer living in the forest.

###### 31

In a forest, the number of deer can be modeled by the function $f(x)={\frac{25t+180}{0.1t+6}}\text{,}$ where $t$ stands for the number of years from now. Answer the question with technology. Round your answer to one decimal place.

As time goes on, the population levels off at approximately deer living in the forest.

###### 32

The concentration of a drug in a patientās blood stream, in milligrams per liter, can be modeled by the function $C(t)={\frac{3t}{t^{2}+6}}\text{,}$ where $t$ is the number of hours since the drug is injected. Answer the following question with technology. Round your answer to two decimal places if needed.

The drugās concentration after 8 hours is milligrams per liter.

###### 33

The concentration of a drug in a patientās blood stream, in milligrams per liter, can be modeled by the function $C(t)={\frac{4t}{t^{2}+9}}\text{,}$ where $t$ is the number of hours since the drug is injected. Answer the following question with technology. Round your answer to two decimal places if needed. If there are more than one answer, use commas to separate them.

hours since injection, the drugās concentration is 0.22 milligrams per liter.

###### 34

The concentration of a drug in a patientās blood stream, in milligrams per liter, can be modeled by the function $C(t)={\frac{5t}{t^{2}+7}}\text{,}$ where $t$ is the number of hours since the drug is injected. Answer the following question with technology. Round your answer to two decimal places if needed.

hours since injection, the drugās concentration is at the maximum value of milligrams per liter.

###### 35

The concentration of a drug in a patientās blood stream, in milligrams per liter, can be modeled by the function $C(t)={\frac{7t}{t^{2}+4}}\text{,}$ where $t$ is the number of hours since the drug is injected. Answer the following question with technology. Round your answer to two decimal places if needed.

As time goes on, the drugās concentration in the patientās blood stream levels off at approximately milligrams per liter.