Definition 13.1.5 Rational Function
A rational function \(f\) is a function in the form
where \(P\) and \(Q\) are polynomial functions, but \(Q\) is not the constant zero function.
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.
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
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.
What is the concentration after 10 hours?
After how many hours since the first injection is the drug concentration greatest?
After how many hours since the first injection should the next injection be given?
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}.
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.
A rational function \(f\) is a function in the form
where \(P\) and \(Q\) are polynomial functions, but \(Q\) is not the constant zero function.
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.
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.
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.
Algebraically find the domain of \(g(x)=\frac{3x^2}{x^2-2x-24}\text{.}\) Use technology to sketch a graph of this function.
To find a rational function's domain, we set the denominator equal to \(0\) and solve:
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.
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
Answer the following questions with technology.
What's the average cost of producing \(100\) pairs of shoes? Of \(1{,}000\) pairs? Of \(10{,}000\) pairs? What's the pattern?
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?
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?
We will graph the function with technology. After adjusting window settings, we have:
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.
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.
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:
\(x\) | \(g(x)\) |
\(100000\) | \(33\) |
\(1000000\) | \(31\) |
\(10000000\) | \(30.03\) |
\(100000000\) | \(30.003\) |
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.
The population of deer in a forest can be modeled by
where \(x\) is the number of years in the future. Answer the following questions.
How many deer live in this forest this year?
How many deer will live in this forest \(9\) years later? Round your answer to an integer.
After how many years, the deer population will be \(472\text{?}\) Round your answer to an integer.
Use a calculator to answer this question: As time goes on, the population levels off at about how many deer?
The population of deer in a forest can be modeled by
where \(x\) is the number of years in the future. Answer the following questions.
How many deer live in this forest this year?
How many deer will live in this forest \(9\) years later? Round your answer to an integer.
After how many years, the deer population will be \(327\text{?}\) Round your answer to an integer.
Use a calculator to answer this question: As time goes on, the population levels off at about how many deer?
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
where \(x\lt 60\text{.}\)
Answer the following questions with a graphing calculator. Round your answers to integers.
If \(44\) customers arrived in the store in the past hour, there are approximately customers waiting in line.
If there are \(7\) customers waiting in line, approximately customers arrived in the past hour.
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
where \(x\lt 55\text{.}\)
Answer the following questions with a graphing calculator. Round your answers to integers.
If \(48\) customers arrived in the store in the past hour, there are approximately customers waiting in line.
If there are \(2\) customers waiting in line, approximately customers arrived in the past hour.
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}\)
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}}\)
Find the domain of \(\displaystyle{h}\) where \(\displaystyle{h(x)={\frac{2x}{x-8}}}\text{.}\)
Find the domain of \(\displaystyle{F}\) where \(\displaystyle{F(x)={\frac{5x}{x-1}}}\text{.}\)
Find the domain of \(\displaystyle{G}\) where \(\displaystyle{G(x)={\frac{10-6x}{x^{2}-16x+63}}}\text{.}\)
Find the domain of \(\displaystyle{H}\) where \(\displaystyle{H(x)={\frac{7x-2}{x^{2}-x-72}}}\text{.}\)
Find the domain of \(\displaystyle{H}\) where \(\displaystyle{H(x)={\frac{7x+2}{x^{2}-10x}}}\text{.}\)
Find the domain of \(\displaystyle{K}\) where \(\displaystyle{K(x)={-\frac{7x+5}{x^{2}-4x}}}\text{.}\)
Find the domain of \(\displaystyle{f}\) where \(\displaystyle{f(x)={\frac{6x+3}{x^{2}-100}}}\text{.}\)
Find the domain of \(\displaystyle{g}\) where \(\displaystyle{g(x)={-\frac{x+9}{x^{2}-9}}}\text{.}\)
Find the domain of the function \(c\) defined by \(\displaystyle{c(x)=\frac{x - 4}{x^{2}}}\)
Find the domain of the function \(p\) defined by \(\displaystyle{p(x)=\frac{x - 2}{x^{5}}}\)
Find the domain of the function \(q\) defined by \(\displaystyle{q(x)=\frac{x - 2}{x^2+16}}\)
Find the domain of the function \(m\) defined by \(\displaystyle{m(x)=\frac{x+3}{x^2+81}}\)
Find the domain of the function \(m\) defined by \(\displaystyle{m(x)=\frac{x+5}{x + 5}}\)
Find the domain of the function \(b\) defined by \(\displaystyle{b(x)=\frac{x+7}{x + 7}}\)
A function is graphed.
What is its domain?
A function is graphed.
What is its domain?
A function is graphed.
What is its domain?
A function is graphed.
What is its domain?
A function is graphed.
This function has domain and range .
A function is graphed.
This function has domain and range .
A function is graphed.
This function has domain and range .
A function is graphed.
This function has domain and range .
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.
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.
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.
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.
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.
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.
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.