Skip to main content
Logo image

Section 12.1 Introduction 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.
Figure 12.1.1. Alternative Video Lesson

Subsection 12.1.1 Graphs of Rational Functions

Example 12.1.2.

When a drug is injected into a patient, the drugโ€™s concentration in the patientโ€™s bloodstream can be modeled by the function C, with formula
C(t)=3tt2+8
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. Using graphing technology, we will graph y=3tt2+8 and y=0.35 to examine the situation and answer some important questions.
Figure 12.1.3. Graph of C(t)=3tt2+8
  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?
Explanation.
  1. To determine the concentration after 10 hours, we will evaluate C at t=10. After 10 hours, the concentration will be about 0.2777 mgโ„L.
    C(10)=3(10)102+8=30108=518โ‰ˆ0.2777
  2. 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.
  3. 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.
  4. 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, the function values get closer and closer to zero. This is shown in Figure 4 and Figure 5.
    t C(t)
    24 0.123โ€ฆ
    48 0.062โ€ฆ
    72 0.041โ€ฆ
    96 0.031โ€ฆ
    120 0.020โ€ฆ
    Figure 12.1.4. Numerical Values for C(t)=3tt2+8
    Figure 12.1.5. Graph of C(t)=3tt2+8
In Section 5, weโ€™ll explore how to algebraically solve C(t)=0.35. For now, we will rely on technology to make the graph and determine intersection points.
The function C, where C(t)=3tt2+8, is a rational function, which is a type of function defined as follows.

Definition 12.1.6. Rational Function.

A rational function f is a function in the form
f(x)=P(x)Q(x)
where P and Q are polynomial functions, but Q is not the constant zero function.

Checkpoint 12.1.7.

Identify which of the following are rational functions and which are not.
  1. f defined by f(x)=25x2+325x2+3
    • ?
    • is
    • is not
    a rational function.
  2. Q defined by Q(x)=5x2+3x2x
    • ?
    • is
    • is not
    a rational function.
  3. g defined by g(t)=t5โˆ’t32t+1
    • ?
    • is
    • is not
    a rational function.
  4. P defined by P(x)=5x+3|2x+1|
    • ?
    • is
    • is not
    a rational function.
  5. h defined by h(x)=3x+1x2+1
    • ?
    • is
    • is not
    a rational function.
Explanation.
  1. f defined by f(x)=25x2+325x2+3 is a rational function as its formula is a polynomial divided by another polynomial.
  2. Q defined by Q(x)=5x2+3x2x is not a rational function because the numerator contains x and is therefore not a polynomial.
  3. g defined by g(t)=t5โˆ’t32t+1 is a rational function as its formula is a polynomial divided by another polynomial.
  4. P defined by P(x)=5x+3|2x+1| is not a rational function because the denominator contains the absolute value of an expression with variables in it.
  5. h defined by h(x)=3x+1x2+1 is not a rational function because the numerator contains 3x, which has a variable in the exponent.
A rational functionโ€™s graph is not always smooth like the one shown in Example 3. It could have breaks, as weโ€™ll see now.

Example 12.1.8.

Build a table and sketch the graph of the function f where f(x)=1xโˆ’2. Find the functionโ€™s domain and range.
Since x=2 makes the denominator 0, the function will be undefined for x=2. Weโ€™ll start by choosing various x-values and plotting the associated points.
x f(x) Point
โˆ’6 1โˆ’6โˆ’2 โˆ’0.125 (โˆ’6,โˆ’0.125)
โˆ’4 1โˆ’4โˆ’2 โ‰ˆโˆ’0.167 (โˆ’4,โˆ’16)
โˆ’2 1โˆ’2โˆ’2 โˆ’0.25 (โˆ’2,โˆ’0.25)
0 10โˆ’2 โˆ’0.5 (0,โˆ’0.5)
1 11โˆ’2 โˆ’1 (1,โˆ’1)
2 12โˆ’2 undefined
3 13โˆ’2 1 (3,1)
4 14โˆ’2 0.5 (4,0.5)
Figure 12.1.9. Initial Values of f(x)=1xโˆ’2
Figure 12.1.10. Initial Points for f(x)=1xโˆ’2
Note that extra points were chosen near x=2 in the Figure 9, but itโ€™s still not clear on the graph what happens really close to x=2. It will be essential that we include at least one x-value between 1 and 2 and also between 2 and 3.
Further, weโ€™ll note that dividing one number by a number that is close to 0 yields a large number. For example, 10.0005=2000. 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, then xโˆ’2 gets closer and closer to 0. And then 1xโˆ’2 takes very large values.
When we plot additional points closer and closer to 2, we get larger and larger results. To the left of 2, the results are negative, so the connected curve has an arrow pointing downward there. The opposite happens to the right of x=2, 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 1โˆ’6โˆ’2 โˆ’0.125 (โˆ’6,โˆ’0.125)
โˆ’4 1โˆ’4โˆ’2 โ‰ˆโˆ’0.167 (โˆ’4,โˆ’16)
โˆ’2 1โˆ’2โˆ’2 โˆ’0.25 (โˆ’2,โˆ’0.25)
0 10โˆ’2 โˆ’0.5 (0,โˆ’0.5)
1 11โˆ’2 โˆ’1 (1,โˆ’1)
1.5 11.5โˆ’2 โˆ’2 (1.5,โˆ’2)
1.8 11.8โˆ’2 โˆ’5 (1.8,โˆ’5)
2 12โˆ’2 undefined
2.1 12.2โˆ’2 5 (2.2,5)
2.5 12.5โˆ’2 2 (2.5,2)
3 13โˆ’2 1 (3,1)
4 14โˆ’2 0.5 (4,0.5)
Figure 12.1.11. Values of f(x)=1xโˆ’2
Figure 12.1.12. Full Graph of f(x)=1xโˆ’2
Note that in Figure 12, 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 (โˆ’โˆž,2)โˆช(2,โˆž) as the function is undefined at 2. 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 (โˆ’โˆž,0)โˆช(0,โˆž). See Checkpoint 11.2.26 for a discussion of how to see the range using a graph like this one.

Remark 12.1.13.

The line x=2 in Example 8 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.

Example 12.1.14.

Algebraically find the domain of g(x)=3x2x2โˆ’2xโˆ’24. 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:
x2โˆ’2xโˆ’24=0(xโˆ’6)(x+4)=0
xโˆ’6=0orx+4=0x=6orx=โˆ’4
Since x=6 and x=โˆ’4 will cause the denominator to be 0, they are excluded from the domain. The functionโ€™s domain is {xโˆฃxโ‰ 6,xโ‰ โˆ’4}. In interval notation, the domain is (โˆ’โˆž,โˆ’4)โˆช(โˆ’4,6)โˆช(6,โˆž).
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. Weโ€™ll sketch an initial plot of these.
x 3x2x2โˆ’2xโˆ’24 x 3x2x2โˆ’2xโˆ’24
โˆ’10 3.125 1 โˆ’0.12
โˆ’9 3.24 2 โˆ’0.5
โˆ’8 3.428โ€ฆ 3 โˆ’1.285
โˆ’7 3.769โ€ฆ 4 โˆ’3
โˆ’6 4.5 5 โˆ’8.333โ€ฆ
โˆ’5 6.818โ€ฆ 6 undefined
โˆ’4 undefined 7 13.363โ€ฆ
โˆ’3 โˆ’3 8 8
โˆ’2 โˆ’0.75 9 6.230โ€ฆ
โˆ’1 โˆ’0.142โ€ฆ 10 5.357โ€ฆ
0 0โ€ฆ
Figure 12.1.15. Numerical Values for g
Figure 12.1.16. Initial Set-Up to Graph g
We can now begin to see what happens near x=โˆ’4 and x=6. 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. Choosing a few values, we find:
x g(x)
1000 3.0060โ€ฆ
2000 3.0030โ€ฆ
3000 3.0020โ€ฆ
4000 3.0015โ€ฆ
Figure 12.1.17. Values for Large Positive x
x g(x)
โˆ’1000 2.9940โ€ฆ
โˆ’2000 2.9970โ€ฆ
โˆ’3000 2.9980โ€ฆ
โˆ’4000 2.9985โ€ฆ
Figure 12.1.18. Values for Large Negative x
Thus for really large positive x and for really large negative x, we see that the function values get closer and closer to y=3. 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.
Figure 12.1.19. Asymptotes Added for Graphing g(x)=3x2x2โˆ’2xโˆ’24
Figure 12.1.20. Full Graph of g(x)=3x2x2โˆ’2xโˆ’24
Letโ€™s look at another example where a rational function is used to model real life data.

Example 12.1.21.

The monthly operation cost of Saquiโ€™s shoe company is approximately $300,000.00. The cost of producing each pair of shoes is $30.00. 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
Cยฏ(x)=30x+300000x.
Answer the following questions with technology.
  1. Whatโ€™s the average cost of producing 100 pairs of shoes? Of producing 1000 pairs? Of producing 10,000 pairs? Whatโ€™s the pattern?
  2. To make the average cost of producing each pair of shoes cheaper than $50.00, 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:
Figure 12.1.22. Graph of Cยฏ(x)=30x+300000x
  1. To answer this question, we locate the points where x values are 100, 1000 and 10,000. They are (100,3030),(1000,330) and (10000,60). They imply:
    • If the company produces 100 pairs of shoes, the average cost of producing one pair is $3030.00.
    • If the company produces 1,000 pairs of shoes, the average cost of producing one pair is $330.00.
    • If the company produces 10,000 pairs of shoes, the average cost of producing one pair is $60.00.
    We can see the more shoes her company produces, the lower the average cost.
  2. To answer this question, we locate the point where its y-value is 50. With technology, we graph both y=Cยฏ(x) and y=50, and locate their intersection.
    Figure 12.1.23. Intersection of Cยฏ(x)=30x+300000x and y=50
    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. 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
    Figure 12.1.24. Values for Large Positive x
    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. 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.

Reading Questions 12.1.2 Reading Questions

3.

If there is a rational function with a vertical asymptote at x=7, what does that mean about the denominator of the rational function?

Exercises 12.1.3 Exercises

Rational Functions in Context.

1.
The population of deer in a forest can be modeled by
P(x)=460x+9302x+3
where x is the number of years since the year 1900.
  1. How many deer lived in this forest in the year 1900?
  2. How many deer live in this forest 20 years after 1900?
  3. How many years since 1900 was it (or will it be) when the deer population was (or will be) 238?
  4. Use a calculator or graphing 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
P(x)=210x+11503x+5
where x is the number of years since the year 1900.
  1. How many deer lived in this forest in the year 1900?
  2. How many deer live in this forest 8 years after 1900?
  3. How many years since 1900 was it (or will it be) when the deer population was (or will be) 104?
  4. Use a calculator or graphing 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
C(x)=x23600โˆ’60x
where x<60.
Answer the following questions with a graphing calculator. Round your answers to integers.
  1. If 46 customers arrived in the store in the past hour, there are approximately customers waiting in line.
  2. If there are 8 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
C(x)=x23025โˆ’55x
where x<55.
Answer the following questions with a graphing calculator. Round your answers to integers.
  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.

Identify Rational Functions.

5.
Select all rational functions. There are several correct answers.
  • c(x)=6x2+2xโˆ’66+|x|
  • b(x)=6x2+2xโˆ’66
  • a(x)=6x2+2xโˆ’66โˆ’2x6
  • r(x)=6x2+2xโˆ’66โˆ’2xโˆ’6
  • n(x)=6x2+2xโˆ’66โˆ’2x6
  • t(x)=6โˆ’2x36x0.7+2xโˆ’6
  • m(x)=6x+26x+2
  • s(x)=6x2+2xโˆ’66โˆ’2x6
  • h(x)=66x2+2xโˆ’6
6.
Select all rational functions. There are several correct answers.
  • a(x)=6x2+6xโˆ’24โˆ’2x6
  • t(x)=4โˆ’2x36x0.7+6xโˆ’2
  • r(x)=6x2+6xโˆ’24โˆ’2xโˆ’6
  • m(x)=6x+66x+6
  • h(x)=46x2+6xโˆ’2
  • s(x)=6x2+6xโˆ’24โˆ’2x6
  • b(x)=6x2+6xโˆ’24
  • c(x)=6x2+6xโˆ’24+|x|
  • n(x)=6x2+6xโˆ’24โˆ’2x6

Domain.

9.
Find the domain of K where K(x)=2xโˆ’5x2โˆ’11x+10.
10.
Find the domain of f where f(x)=4โˆ’5xx2โˆ’16x+60.
17.
Find the domain of the function B defined by B(x)=x+8x2+49
18.
Find the domain of the function q defined by q(x)=x+10x2+100
19.
Find the domain of the function y defined by y(x)=xโˆ’9xโˆ’9
20.
Find the domain of the function n defined by n(x)=xโˆ’6xโˆ’6

Exercise Group.

Graphing Technology.

29.
In a forest, the number of deer can be modeled by the function f(t)=360t+2800.9t+7, where t stands for the number of years from now. Answer the question with technology.
After 25 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(t)=120t+2000.6t+4, where t stands for the number of years from now. Answer the question with technology.
After years, there would be approximately 140 deer living in the forest.
31.
In a forest, the number of deer can be modeled by the function f(t)=140t+5400.4t+9, where t stands for the number of years from now. Answer the question with technology.
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)=6tt2+8, where t is the number of hours since the drug is injected. Answer the following question with technology.
The drugโ€™s concentration after 1 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 Cm>, with C(t)=7tt2+5, where t is the number of hours since the drug is injected. Use technology to complete the following sentence.
The drugโ€™s concentration is 0.99 milligrams per liter hours after injection and then again hours after injection.
34.
The concentration of a drug in a patientโ€™s blood stream, in milligrams per liter, can be modeled by the function C(t)=7tt2+9, where t is the number of hours since the drug is injected. Answer the following question with technology.
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)=9tt2+7, where t is the number of hours since the drug is injected. Answer the following question with technology.
As time goes on, the drugโ€™s concentration in the patientโ€™s blood stream levels off at approximately milligrams per liter.
You have attempted 1 of 2 activities on this page.