Definition13.1.5Rational 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.333âŻ^{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 ExerciseÂ 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 a 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 the company produce?
Assume the 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 the 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 the 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 the company produces \(15{,}000\) pairs of shoes.
Assume the 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 the 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.
Rational Functions Exercises
Select all rational functions. There are several correct answers.
\(s(x)=\frac{\sqrt{5} x^2 + 2 x - 6}{8 - 3 x^{5}}\)
\(c(x)=\frac{5 x^2 + 2 x - 6}{8 + \lvert x \rvert }\)
\(t(x)=\frac{8 - 3 x^3}{5 x^{0.7} + 2 x - 6}\)
\(m(x)=\frac{5 x + 2}{5 x +2}\)
\(n(x)=\frac{5 x^2 + 2 \sqrt{x} - 6}{8 - 3 x^{5}}\)
\(a(x)=\frac{5 x^2 + 2 x - 6}{8 - 3 x^{5}}\)
\(b(x)=\frac{5 x^2 + 2 x - 6}{8}\)
\(r(x)=\frac{5 x^2 + 2 x - 6}{8 - 3 x^{-5}}\)
\(h(x)=\frac{8}{5 x^2 + 2 x - 6}\)
To receive full credit, you must get each checkbox correct.
Select all rational functions. There are several correct answers.
\(r(x)=\frac{6 x^2 + 7 x - 2}{6 - 3 x^{-6}}\)
\(m(x)=\frac{6 x + 7}{6 x +7}\)
\(b(x)=\frac{6 x^2 + 7 x - 2}{6}\)
\(a(x)=\frac{6 x^2 + 7 x - 2}{6 - 3 x^{6}}\)
\(t(x)=\frac{6 - 3 x^3}{6 x^{0.7} + 7 x - 2}\)
\(s(x)=\frac{\sqrt{6} x^2 + 7 x - 2}{6 - 3 x^{6}}\)
\(c(x)=\frac{6 x^2 + 7 x - 2}{6 + \lvert x \rvert }\)
\(n(x)=\frac{6 x^2 + 7 \sqrt{x} - 2}{6 - 3 x^{6}}\)
\(h(x)=\frac{6}{6 x^2 + 7 x - 2}\)
To receive full credit, you must get each checkbox correct.
Find the domain of the function \(A\) defined by \(\displaystyle{A(x)=\frac{x+4}{x^{3}}}\)
Find the domain of the function \(q\) defined by \(\displaystyle{q(x)=\frac{x+7}{x^{2}}}\)
Find the domain of the function \(b\) defined by \(\displaystyle{b(x)=\frac{x+9}{x^2+25}}\)
Find the domain of the function \(m\) defined by \(\displaystyle{m(x)=\frac{x - 10}{x^2+9}}\)
Find the domain of the function \(r\) defined by \(\displaystyle{r(x)=\frac{x - 8}{x - 8}}\)
Find the domain of the function \(C\) defined by \(\displaystyle{C(x)=\frac{x - 5}{x - 5}}\)
A functionâs graph is shown below.
What is the domain of this function?
A functionâs graph is shown below.
What is the domain of this function?
A functionâs graph is shown below.
What is the domain of this function?
A functionâs graph is shown below.
What is the domain of this function?
A functionâs graph is shown below.
Note that the function has a horizontal asymptote and a vertical asymptote. Use interval notation to answer the following questions.
The domain of this function is .
The range of this function is .
A functionâs graph is shown below.
Note that the function has a horizontal asymptote and a vertical asymptote. Use interval notation to answer the following questions.
The domain of this function is .
The range of this function is .
A functionâs graph is shown below.
Note that the function has a horizontal asymptote and a vertical asymptote. Use interval notation to answer the following questions.
The domain of this function is .
The range of this function is .
A functionâs graph is shown below.
Note that the function has a horizontal asymptote and a vertical asymptote. Use interval notation to answer the following questions.
The domain of this function is .
The range of this function is .
The population of deer in a forest can be modeled by
\(\displaystyle{ P(x) = {\frac{1160x+1400}{4x+5}} }\)
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 \(6\) years later? Round your answer to an integer.
After how many years, the deer population will be \(289\text{?}\) Round your answer to an integer.
Use a calculator to answer this question: Very many years in the future, about how many deer will live in this forest?
The population of deer in a forest can be modeled by
\(\displaystyle{ P(x) = {\frac{650x+1350}{5x+9}} }\)
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 \(6\) years later? Round your answer to an integer.
After how many years, the deer population will be \(131\text{?}\) Round your answer to an integer.
Use a calculator to answer this question: Very many years in the future, about how many deer will live in this forest?
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
\(\displaystyle{ C(x) = {\frac{x^{2}}{3600-60x}} }\)
where \(x\lt 60\text{.}\)
Answer the following questions with a graphing calculator. Round your answers to integers.
If \(53\) customers arrived in the store in the past hour, there are approximately customers waiting in line.
If there are \(3\) customers waiting in line, approximately customers arrived in the past hour.
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
\(\displaystyle{ C(x) = {\frac{x^{2}}{3600-60x}} }\)
where \(x\lt 60\text{.}\)
Answer the following questions with a graphing calculator. Round your answers to integers.
If \(45\) customers arrived in the store in the past hour, there are approximately customers waiting in line.
If there are \(6\) customers waiting in line, approximately customers arrived in the past hour.
Graphing Technology Exercises
In a forest, the number of deer can be modeled by the function \(f(x)={\frac{80t+240}{0.4t+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 10 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{70t+720}{0.2t+8}}\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 140 deer living in the forest.
In a forest, the number of deer can be modeled by the function \(f(x)={\frac{400t+500}{0.8t+5}}\text{,}\) where \(t\) stands for the number of years from now. Answer the question with technology. Round your answer to one decimal place.
In the long run, there would be 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{2t}{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.
The drugâs concentration after 6 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{3t}{t^{2}+8}}\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.48 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{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.
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{6t}{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.
In the long run, the drugâs concentration in the patientâs blood stream is milligrams per liter.