Learning

open
close

Rational Functions

June 22, 2024 | by Bloom Code Studio

Learning Objectives

In this section, you will:

  • Use arrow notation.
  • Solve applied problems involving rational functions.
  • Find the domains of rational functions.
  • Identify vertical asymptotes.
  • Identify horizontal asymptotes.
  • Graph rational functions.

Suppose we know that the cost of making a product is dependent on the number of items, x,๐‘ฅ, produced. This is given by the equation C(x)=15,000xโˆ’0.1×2+1000.๐ถ(๐‘ฅ)=15,000๐‘ฅโˆ’0.1๐‘ฅ2+1000. If we want to know the average cost for producing x๐‘ฅ items, we would divide the cost function by the number of items, x.๐‘ฅ.

The average cost function, which yields the average cost per item for x๐‘ฅ items produced, is

f(x)=15,000xโˆ’0.1×2+1000x๐‘“(๐‘ฅ)=15,000๐‘ฅโˆ’0.1๐‘ฅ2+1000๐‘ฅ

Many other application problems require finding an average value in a similar way, giving us variables in the denominator. Written without a variable in the denominator, this function will contain a negative integer power.

In the last few sections, we have worked with polynomial functions, which are functions with non-negative integers for exponents. In this section, we explore rational functions, which have variables in the denominator.

Using Arrow Notation

We have seen the graphs of the basicย reciprocal functionย and the squared reciprocal function from our study of toolkit functions. Examine these graphs, as shown inย Figure 1, and notice some of their features.

Figure 1

Several things are apparent if we examine the graph of f(x)=1x.๐‘“(๐‘ฅ)=1๐‘ฅ.

  1. On the left branch of the graph, the curve approaches theย x-axisย (y=0)ย asย xโ†’โ€“โˆž.(๐‘ฆ=0)ย asย ๐‘ฅโ†’โ€“โˆž.
  2. As the graph approachesย x=0๐‘ฅ=0ย from the left, the curve drops, but as we approach zero from the right, the curve rises.
  3. Finally, on the right branch of the graph, the curves approaches theย x-axisย (y=0)ย asย xโ†’โˆž.(๐‘ฆ=0)ย asย ๐‘ฅโ†’โˆž.

To summarize, we useย arrow notationย to show thatย x๐‘ฅย orย f(x)๐‘“(๐‘ฅ)ย is approaching a particular value. Seeย Table 1.

SymbolMeaning
xโ†’aโˆ’๐‘ฅโ†’๐‘Žโˆ’x๐‘ฅ approaches a๐‘Ž from the left ( x<a๐‘ฅ<๐‘Ž but close to a๐‘Ž )
xโ†’a+๐‘ฅโ†’๐‘Ž+x๐‘ฅ approaches a๐‘Ž from the right ( x>a๐‘ฅ>๐‘Ž but close to a๐‘Ž )
xโ†’โˆž๐‘ฅโ†’โˆžx๐‘ฅ approaches infinity ( x๐‘ฅ increases without bound)
xโ†’โˆ’โˆž๐‘ฅโ†’โˆ’โˆžx๐‘ฅ approaches negative infinity ( x๐‘ฅ decreases without bound)
f(x)โ†’โˆž๐‘“(๐‘ฅ)โ†’โˆžthe output approaches infinity (the output increases without bound)
f(x)โ†’โˆ’โˆž๐‘“(๐‘ฅ)โ†’โˆ’โˆžthe output approaches negative infinity (the output decreases without bound)
f(x)โ†’a๐‘“(๐‘ฅ)โ†’๐‘Žthe output approaches a๐‘Ž
Tableย 1

Local Behavior of f(x)=1x๐‘“(๐‘ฅ)=1๐‘ฅ

Letโ€™s begin by looking at the reciprocal function, f(x)=1x.๐‘“(๐‘ฅ)=1๐‘ฅ. We cannot divide by zero, which means the function is undefined at x=0;๐‘ฅ=0; so zero is not in the domain. As the input values approach zero from the left side (becoming very small, negative values), the function values decrease without bound (in other words, they approach negative infinity). We can see this behavior in Table 2.

x๐‘ฅโ€“0.1โ€“0.01โ€“0.001โ€“0.0001
f(x)=1x๐‘“(๐‘ฅ)=1๐‘ฅโ€“10โ€“100โ€“1000โ€“10,000
Tableย 2

We write in arrow notation

as xโ†’0โˆ’,f(x)โ†’โˆ’โˆžas ๐‘ฅโ†’0โˆ’,๐‘“(๐‘ฅ)โ†’โˆ’โˆž

As the input values approach zero from the right side (becoming very small, positive values), the function values increase without bound (approaching infinity). We can see this behavior in Table 3.

x๐‘ฅ0.10.010.0010.0001
f(x)=1x๐‘“(๐‘ฅ)=1๐‘ฅ10100100010,000
Tableย 3

We write in arrow notation

Asย xโ†’0+,ย f(x)โ†’โˆž.Asย ๐‘ฅโ†’0+,ย ๐‘“(๐‘ฅ)โ†’โˆž.

Figure 2

This behavior creates aย vertical asymptote, which is a vertical line that the graph approaches but never crosses. In this case, the graph is approaching the vertical lineย x=0๐‘ฅ=0ย as the input becomes close to zero. Seeย Figure 3.

Figure 3

VERTICAL ASYMPTOTE

vertical asymptote of a graph is a vertical line x=a๐‘ฅ=๐‘Ž where the graph tends toward positive or negative infinity as the input approaches a๐‘Ž from either the left or the right. We write

As xโ†’aโ€“,f(x)โ†’ยฑโˆž or xโ†’a+,f(x)โ†’ยฑโˆž.As ๐‘ฅโ†’๐‘Žโ€“,๐‘“(๐‘ฅ)โ†’ยฑโˆž or ๐‘ฅโ†’๐‘Ž+,๐‘“(๐‘ฅ)โ†’ยฑโˆž.

End Behavior of f(x)=1x๐‘“(๐‘ฅ)=1๐‘ฅ

As the values ofย x๐‘ฅย approach infinity, the function values approach 0. As the values ofย x๐‘ฅย approach negative infinity, the function values approach 0. Seeย Figure 4. Symbolically, using arrow notation

As xโ†’โˆž,f(x)โ†’0,and as xโ†’โˆ’โˆž,f(x)โ†’0.As ๐‘ฅโ†’โˆž,๐‘“(๐‘ฅ)โ†’0,and as ๐‘ฅโ†’โˆ’โˆž,๐‘“(๐‘ฅ)โ†’0.

Figure 4

Based on this overall behavior and the graph, we can see that the function approaches 0 but never actually reaches 0; it seems to level off as the inputs become large. This behavior creates aย horizontal asymptote, a horizontal line that the graph approaches as the input increases or decreases without bound. In this case, the graph is approaching the horizontal lineย y=0.๐‘ฆ=0.ย Seeย Figure 5.

Graph of f(x)=1/x with its vertical asymptote at x=0 and its horizontal asymptote at y=0.

Figure 5

HORIZONTAL ASYMPTOTE

horizontal asymptote of a graph is a horizontal line y=b๐‘ฆ=๐‘ where the graph approaches the line as the inputs increase or decrease without bound. We write

As xโ†’โˆžor xโ†’โˆ’โˆž,f(x)โ†’b.As ๐‘ฅโ†’โˆžor ๐‘ฅโ†’โˆ’โˆž,๐‘“(๐‘ฅ)โ†’๐‘.

EXAMPLE 1

Using Arrow Notation

Use arrow notation to describe the end behavior and local behavior of the function graphed inย Figure 6.

Graph of f(x)=1/(x-2)+4 with its vertical asymptote at x=2 and its horizontal asymptote at y=4.

Figure 6

Solution

Notice that the graph is showing a vertical asymptote at x=2,๐‘ฅ=2, which tells us that the function is undefined at x=2.๐‘ฅ=2.

As xโ†’2โˆ’,f(x)โ†’โˆ’โˆž,and as xโ†’2+,f(x)โ†’โˆž.As ๐‘ฅโ†’2โˆ’,๐‘“(๐‘ฅ)โ†’โˆ’โˆž,and as ๐‘ฅโ†’2+,๐‘“(๐‘ฅ)โ†’โˆž.

And as the inputs decrease without bound, the graph appears to be leveling off at output values of 4, indicating a horizontal asymptote at y=4.๐‘ฆ=4. As the inputs increase without bound, the graph levels off at 4.

As xโ†’โˆž,f(x)โ†’4and as xโ†’โˆ’โˆž,f(x)โ†’4.As ๐‘ฅโ†’โˆž,๐‘“(๐‘ฅ)โ†’4and as ๐‘ฅโ†’โˆ’โˆž,๐‘“(๐‘ฅ)โ†’4.

TRY IT #1

Use arrow notation to describe the end behavior and local behavior for the reciprocal squared function.

EXAMPLE 2

Using Transformations to Graph a Rational Function

Sketch a graph of the reciprocal function shifted two units to the left and up three units. Identify the horizontal and vertical asymptotes of the graph, if any.

Solution

Shifting the graph left 2 and up 3 would result in the function

f(x)=1x+2+3๐‘“(๐‘ฅ)=1๐‘ฅ+2+3

or equivalently, by giving the terms a common denominator,

f(x)=3x+7x+2๐‘“(๐‘ฅ)=3๐‘ฅ+7๐‘ฅ+2

The graph of the shifted function is displayed inย Figure 7.

Graph of f(x)=1/(x+2)+3 with its vertical asymptote at x=-2 and its horizontal asymptote at y=3.

Figure 7

Notice that this function is undefined at x=โˆ’2,๐‘ฅ=โˆ’2, and the graph also is showing a vertical asymptote at x=โˆ’2.๐‘ฅ=โˆ’2.

As xโ†’โˆ’2โˆ’, f(x)โ†’โˆ’โˆž,and as xโ†’โˆ’2+, f(x)โ†’โˆž.As ๐‘ฅโ†’โˆ’2โˆ’, ๐‘“(๐‘ฅ)โ†’โˆ’โˆž,and as ๐‘ฅโ†’โˆ’2+, ๐‘“(๐‘ฅ)โ†’โˆž.

As the inputs increase and decrease without bound, the graph appears to be leveling off at output values of 3, indicating a horizontal asymptote at y=3.๐‘ฆ=3.

As xโ†’ยฑโˆž, f(x)โ†’3.As ๐‘ฅโ†’ยฑโˆž, ๐‘“(๐‘ฅ)โ†’3.

Analysis

Notice that horizontal and vertical asymptotes are shifted left 2 and up 3 along with the function.

TRY IT #2

Sketch the graph, and find the horizontal and vertical asymptotes of the reciprocal squared function that has been shifted right 3 units and down 4 units.

Solving Applied Problems Involving Rational Functions

Inย Example 2, we shifted a toolkit function in a way that resulted in the functionย f(x)=3x+7x+2.๐‘“(๐‘ฅ)=3๐‘ฅ+7๐‘ฅ+2.ย This is an example of a rational function. Aย rational functionย is a function that can be written as the quotient of two polynomial functions. Many real-world problems require us to find the ratio of two polynomial functions. Problems involving rates and concentrations often involve rational functions.

RATIONAL FUNCTION

rational function is a function that can be written as the quotient of two polynomial functions P(x) and Q(x).๐‘ƒ(๐‘ฅ) and ๐‘„(๐‘ฅ).

f(x)=P(x)Q(x)=apxp+apโˆ’1xpโˆ’1+…+a1x+a0bqxq+bqโˆ’1xqโˆ’1+…+b1x+b0,Q(x)โ‰ 0๐‘“(๐‘ฅ)=๐‘ƒ(๐‘ฅ)๐‘„(๐‘ฅ)=๐‘Ž๐‘๐‘ฅ๐‘+๐‘Ž๐‘โˆ’1๐‘ฅ๐‘โˆ’1+…+๐‘Ž1๐‘ฅ+๐‘Ž0๐‘๐‘ž๐‘ฅ๐‘ž+๐‘๐‘žโˆ’1๐‘ฅ๐‘žโˆ’1+…+๐‘1๐‘ฅ+๐‘0,๐‘„(๐‘ฅ)โ‰ 0

EXAMPLE 3

Solving an Applied Problem Involving a Rational Function

After running out of pre-packaged supplies, a nurse in a refugee camp is preparing an intravenous sugar solution for patients in the camp hospital. A large mixing tank currently contains 100 gallons of distilled water into which 5 pounds of sugar have been mixed. A tap will open pouring 10 gallons per minute of distilled water into the tank at the same time sugar is poured into the tank at a rate of 1 pound per minute. Find the ratio of sugar to water, in pounds per gallon in the tank after 12 minutes. Is that a greater ratio of sugar to water, in pounds per gallon than at the beginning?

Solution

Let t๐‘ก be the number of minutes since the tap opened. Since the water increases at 10 gallons per minute, and the sugar increases at 1 pound per minute, these are constant rates of change. This tells us the amount of water in the tank is changing linearly, as is the amount of sugar in the tank. We can write an equation independently for each:

water: W(t)sugar: S(t)==100+10tin gallons5+1tin poundswater: ๐‘Š(๐‘ก)=100+10๐‘กin gallonssugar: ๐‘†(๐‘ก)=5+1๐‘กin pounds

The ratio of sugar to water, in pounds per gallon, C๐ถ , will be the ratio of pounds of sugar to gallons of water

C(t)=5+t100+10t๐ถ(๐‘ก)=5+๐‘ก100+10๐‘ก

The ratio of sugar to water, in pounds per gallon after 12 minutes is given by evaluating C(t)๐ถ(๐‘ก) at t=12.๐‘ก=12.

C(12)==5+12100+10(12)17220๐ถ(12)=5+12100+10(12)=17220

This means the ratio of sugar to water, in pounds per gallon is 17 pounds of sugar to 220 gallons of water.

At the beginning, the ratio of sugar to water, in pounds per gallon is

C(0)==5+0100+10(0)120๐ถ(0)=5+0100+10(0)=120

Since 17220โ‰ˆ0.08>120=0.05,17220โ‰ˆ0.08>120=0.05, the ratio of sugar to water, in pounds per gallon is greater after 12 minutes than at the beginning.

TRY IT #3

There are 1,200 first-year and 1,500 second-year students at a rally at noon. After 12 p.m., 20 first-year students arrive at the rally every five minutes while 15 second-year students leave the rally. Find the ratio of first-year to second-year students at 1 p.m.

Finding the Domains of Rational Functions

A vertical asymptote represents a value at which a rational function is undefined, so that value is not in the domain of the function. A reciprocal function cannot have values in its domain that cause the denominator to equal zero. In general, to find the domain of a rational function, we need to determine which inputs would cause division by zero.

DOMAIN OF A RATIONAL FUNCTION

The domain of a rational function includes all real numbers except those that cause the denominator to equal zero.

HOW TO

Given a rational function, find the domain.

  1. Set the denominator equal to zero.
  2. Solve to find theย x-values that cause the denominator to equal zero.
  3. The domain is all real numbers except those found in Step 2.

EXAMPLE 4

Finding the Domain of a Rational Function

Find the domain of f(x)=x+3×2โˆ’9.๐‘“(๐‘ฅ)=๐‘ฅ+3๐‘ฅ2โˆ’9.

Solution

Begin by setting the denominator equal to zero and solving.

x2โˆ’9x2x===09ยฑ3๐‘ฅ2โˆ’9=0๐‘ฅ2=9๐‘ฅ=ยฑ3

The denominator is equal to zero when x=ยฑ3.๐‘ฅ=ยฑ3. The domain of the function is all real numbers except x=ยฑ3.๐‘ฅ=ยฑ3.

Analysis

A graph of this function, as shown inย Figure 8, confirms that the function is not defined whenย x=ยฑ3.๐‘ฅ=ยฑ3.

Graph of f(x)=1/(x-3) with its vertical asymptote at x=3 and its horizontal asymptote at y=0.

Figure 8

There is a vertical asymptote at x=3๐‘ฅ=3 and a hole in the graph at x=โˆ’3.๐‘ฅ=โˆ’3. We will discuss these types of holes in greater detail later in this section.

TRY IT #4

Find the domain of f(x)=4×5(xโˆ’1)(xโˆ’5).๐‘“(๐‘ฅ)=4๐‘ฅ5(๐‘ฅโˆ’1)(๐‘ฅโˆ’5).

Identifying Vertical Asymptotes of Rational Functions

By looking at the graph of a rational function, we can investigate its local behavior and easily see whether there are asymptotes. We may even be able to approximate their location. Even without the graph, however, we can still determine whether a given rational function has any asymptotes, and calculate their location.

Vertical Asymptotes

The vertical asymptotes of a rational function may be found by examining the factors of the denominator that are not common to the factors in the numerator. Vertical asymptotes occur at the zeros of such factors.

HOW TO

Given a rational function, identify any vertical asymptotes of its graph.

  1. Factor the numerator and denominator.
  2. Note any restrictions in the domain of the function.
  3. Reduce the expression by canceling common factors in the numerator and the denominator.
  4. Note any values that cause the denominator to be zero in this simplified version. These are where the vertical asymptotes occur.
  5. Note any restrictions in the domain where asymptotes do not occur. These are removable discontinuities, or โ€œholes.โ€

EXAMPLE 5

Identifying Vertical Asymptotes

Find the vertical asymptotes of the graph of k(x)=5+2×22โˆ’xโˆ’x2.๐‘˜(๐‘ฅ)=5+2๐‘ฅ22โˆ’๐‘ฅโˆ’๐‘ฅ2.

Solution

First, factor the numerator and denominator.

k(x)==5+2×22โˆ’xโˆ’x25+2×2(2+x)(1โˆ’x)๐‘˜(๐‘ฅ)=5+2๐‘ฅ22โˆ’๐‘ฅโˆ’๐‘ฅ2=5+2๐‘ฅ2(2+๐‘ฅ)(1โˆ’๐‘ฅ)

To find the vertical asymptotes, we determine where this function will be undefined by setting the denominator equal to zero:

(2+x)(1โˆ’x)x==0โˆ’2,1(2+๐‘ฅ)(1โˆ’๐‘ฅ)=0๐‘ฅ=โˆ’2,1

Neitherย x=โ€“2๐‘ฅ=โ€“2ย norย x=1๐‘ฅ=1ย are zeros of the numerator, so the two values indicate two vertical asymptotes. The graph inย Figure 9ย confirms the location of the two vertical asymptotes.

Graph of k(x)=(5+2x)^2/(2-x-x^2) with its vertical asymptotes at x=-2 and x=1 and its horizontal asymptote at y=-2.

Figure 9

Removable Discontinuities

Occasionally, a graph will contain a hole: a single point where the graph is not defined, indicated by an open circle. We call such a hole a removable discontinuity.

For example, the function f(x)=x2โˆ’1×2โˆ’2xโˆ’3๐‘“(๐‘ฅ)=๐‘ฅ2โˆ’1๐‘ฅ2โˆ’2๐‘ฅโˆ’3 may be re-written by factoring the numerator and the denominator.

f(x)=(x+1)(xโˆ’1)(x+1)(xโˆ’3)๐‘“(๐‘ฅ)=(๐‘ฅ+1)(๐‘ฅโˆ’1)(๐‘ฅ+1)(๐‘ฅโˆ’3)

Notice thatย x+1๐‘ฅ+1ย is a common factor to the numerator and the denominator. The zero of this factor,ย x=โˆ’1,๐‘ฅ=โˆ’1,ย is the location of the removable discontinuity. Notice also thatย xโ€“3๐‘ฅโ€“3ย is not a factor in both the numerator and denominator. The zero of this factor,ย x=3,๐‘ฅ=3,ย is the vertical asymptote. Seeย Figure 10. [Note that removable discontinuities may not be visible when we use a graphing calculator, depending upon the window selected.]

Graph of f(x)=(x^2-1)/(x^2-2x-3) with its vertical asymptote at x=3 and a removable discontinuity at x=-1.

Figure 10

REMOVABLE DISCONTINUITIES OF RATIONAL FUNCTIONS

removable discontinuity occurs in the graph of a rational function at x=a๐‘ฅ=๐‘Ž if a๐‘Ž is a zero for a factor in the denominator that is common with a factor in the numerator. We factor the numerator and denominator and check for common factors. If we find any, we set the common factor equal to 0 and solve. This is the location of the removable discontinuity. This is true if the multiplicity of this factor is greater than or equal to that in the denominator. If the multiplicity of this factor is greater in the denominator, then there is still an asymptote at that value.

EXAMPLE 6

Identifying Vertical Asymptotes and Removable Discontinuities for a Graph

Find the vertical asymptotes and removable discontinuities of the graph of k(x)=xโˆ’2×2โˆ’4.๐‘˜(๐‘ฅ)=๐‘ฅโˆ’2๐‘ฅ2โˆ’4.

Solution

Factor the numerator and the denominator.

k(x)=xโˆ’2(xโˆ’2)(x+2)๐‘˜(๐‘ฅ)=๐‘ฅโˆ’2(๐‘ฅโˆ’2)(๐‘ฅ+2)

Notice that there is a common factor in the numerator and the denominator, xโ€“2.๐‘ฅโ€“2. The zero for this factor is x=2.๐‘ฅ=2. This is the location of the removable discontinuity.

Notice that there is a factor in the denominator that is not in the numerator,ย x+2.๐‘ฅ+2.ย The zero for this factor isย x=โˆ’2.๐‘ฅ=โˆ’2.ย The vertical asymptote isย x=โˆ’2.๐‘ฅ=โˆ’2.ย Seeย Figure 11.

Graph of k(x)=(x-2)/(x-2)(x+2) with its vertical asymptote at x=-2 and a removable discontinuity at x=2.

Figure 11

The graph of this function will have the vertical asymptote at x=โˆ’2,๐‘ฅ=โˆ’2, but at x=2๐‘ฅ=2 the graph will have a hole.

TRY IT #5

Find the vertical asymptotes and removable discontinuities of the graph of f(x)=x2โˆ’25×3โˆ’6×2+5x.๐‘“(๐‘ฅ)=๐‘ฅ2โˆ’25๐‘ฅ3โˆ’6๐‘ฅ2+5๐‘ฅ.

Identifying Horizontal Asymptotes of Rational Functions

While vertical asymptotes describe the behavior of a graph as the output gets very large or very small, horizontal asymptotes help describe the behavior of a graph as the input gets very large or very small. Recall that a polynomialโ€™s end behavior will mirror that of the leading term. Likewise, a rational functionโ€™s end behavior will mirror that of the ratio of the function that is the ratio of the leading terms.

There are three distinct outcomes when checking for horizontal asymptotes:

Case 1: If the degree of the denominator > degree of the numerator, there is a horizontal asymptote at y=0.๐‘ฆ=0.

Example: f(x)=4x+2×2+4xโˆ’5Example: ๐‘“(๐‘ฅ)=4๐‘ฅ+2๐‘ฅ2+4๐‘ฅโˆ’5

In this case, the end behavior isย f(x)โ‰ˆ4xx2=4x.๐‘“(๐‘ฅ)โ‰ˆ4๐‘ฅ๐‘ฅ2=4๐‘ฅ.ย This tells us that, as the inputs increase or decrease without bound, this function will behave similarly to the functionย g(x)=4x,๐‘”(๐‘ฅ)=4๐‘ฅ,ย and the outputs will approach zero, resulting in a horizontal asymptote atย y=0.๐‘ฆ=0.ย Seeย Figure 12. Note that this graph crosses the horizontal asymptote.

Graph of f(x)=(4x+2)/(x^2+4x-5) with its vertical asymptotes at x=-5 and x=1 and its horizontal asymptote at y=0.

Figure 12 Horizontal asymptote y=0๐‘ฆ=0 when f(x)=p(x)q(x),q(x)โ‰ 0where degree ofp<degree of q.๐‘“(๐‘ฅ)=๐‘(๐‘ฅ)๐‘ž(๐‘ฅ),๐‘ž(๐‘ฅ)โ‰ 0where degree of๐‘<degree of ๐‘ž.

Case 2: If the degree of the denominator < degree of the numerator by one, we get a slant asymptote.

Example: f(x)=3×2โˆ’2x+1xโˆ’1Example: ๐‘“(๐‘ฅ)=3๐‘ฅ2โˆ’2๐‘ฅ+1๐‘ฅโˆ’1

In this case, the end behavior is f(x)โ‰ˆ3x2x=3x.๐‘“(๐‘ฅ)โ‰ˆ3๐‘ฅ2๐‘ฅ=3๐‘ฅ. This tells us that as the inputs increase or decrease without bound, this function will behave similarly to the function g(x)=3x.๐‘”(๐‘ฅ)=3๐‘ฅ. As the inputs grow large, the outputs will grow and not level off, so this graph has no horizontal asymptote. However, the graph of g(x)=3x๐‘”(๐‘ฅ)=3๐‘ฅ looks like a diagonal line, and since f๐‘“ will behave similarly to g,๐‘”, it will approach a line close to y=3x.๐‘ฆ=3๐‘ฅ. This line is a slant asymptote.

To find the equation of the slant asymptote, divideย 3×2โˆ’2x+1xโˆ’1.3๐‘ฅ2โˆ’2๐‘ฅ+1๐‘ฅโˆ’1.ย The quotient isย 3x+1,3๐‘ฅ+1,ย and the remainder is 2. The slant asymptote is the graph of the lineย g(x)=3x+1.๐‘”(๐‘ฅ)=3๐‘ฅ+1.ย Seeย Figure 13.

Graph of f(x)=(3x^2-2x+1)/(x-1) with its vertical asymptote at x=1 and a slant asymptote aty=3x+1.

Figure 13 Slant asymptote when f(x)=p(x)q(x),q(x)โ‰ 0๐‘“(๐‘ฅ)=๐‘(๐‘ฅ)๐‘ž(๐‘ฅ),๐‘ž(๐‘ฅ)โ‰ 0 where degree of p>degree of qby1.๐‘>degree of ๐‘žby1.

Case 3: If the degree of the denominator = degree of the numerator, there is a horizontal asymptote at y=anbn,๐‘ฆ=๐‘Ž๐‘›๐‘๐‘›, where an๐‘Ž๐‘› and bn๐‘๐‘› are the leading coefficients of p(x)๐‘(๐‘ฅ) and q(x)๐‘ž(๐‘ฅ) for f(x)=p(x)q(x),q(x)โ‰ 0.๐‘“(๐‘ฅ)=๐‘(๐‘ฅ)๐‘ž(๐‘ฅ),๐‘ž(๐‘ฅ)โ‰ 0.

Example: f(x)=3×2+2×2+4xโˆ’5Example: ๐‘“(๐‘ฅ)=3๐‘ฅ2+2๐‘ฅ2+4๐‘ฅโˆ’5

In this case, the end behavior isย f(x)โ‰ˆ3x2x2=3.๐‘“(๐‘ฅ)โ‰ˆ3๐‘ฅ2๐‘ฅ2=3.ย This tells us that as the inputs grow large, this function will behave like the functionย g(x)=3,๐‘”(๐‘ฅ)=3,ย which is a horizontal line. Asย xโ†’ยฑโˆž,f(x)โ†’3,๐‘ฅโ†’ยฑโˆž,๐‘“(๐‘ฅ)โ†’3,ย resulting in a horizontal asymptote atย y=3.๐‘ฆ=3.ย Seeย Figure 14. Note that this graph crosses the horizontal asymptote.

Graph of f(x)=(3x^2+2)/(x^2+4x-5) with its vertical asymptotes at x=-5 and x=1 and its horizontal asymptote at y=3.

Figure 14 Horizontal asymptote when f(x)=p(x)q(x),q(x)โ‰ 0where degree of p=degree of q.๐‘“(๐‘ฅ)=๐‘(๐‘ฅ)๐‘ž(๐‘ฅ),๐‘ž(๐‘ฅ)โ‰ 0where degree of ๐‘=degree of ๐‘ž.

Notice that, while the graph of a rational function will never cross a vertical asymptote, the graph may or may not cross a horizontal or slant asymptote. Also, although the graph of a rational function may have many vertical asymptotes, the graph will have at most one horizontal (or slant) asymptote.

It should be noted that, if the degree of the numerator is larger than the degree of the denominator by more than one, the end behavior of the graph will mimic the behavior of the reduced end behavior fraction. For instance, if we had the function

f(x)=3×5โˆ’x2x+3๐‘“(๐‘ฅ)=3๐‘ฅ5โˆ’๐‘ฅ2๐‘ฅ+3

with end behavior

f(x)โ‰ˆ3x5x=3×4,๐‘“(๐‘ฅ)โ‰ˆ3๐‘ฅ5๐‘ฅ=3๐‘ฅ4,

the end behavior of the graph would look similar to that of an even polynomial with a positive leading coefficient.

xโ†’ยฑโˆž, f(x)โ†’โˆž๐‘ฅโ†’ยฑโˆž, ๐‘“(๐‘ฅ)โ†’โˆž

HORIZONTAL ASYMPTOTES OF RATIONAL FUNCTIONS

The horizontal asymptote of a rational function can be determined by looking at the degrees of the numerator and denominator.

  • Degree of numeratorย is less thanย degree of denominator: horizontal asymptote atย y=0.๐‘ฆ=0.
  • Degree of numeratorย is greater than degree of denominator by one: no horizontal asymptote; slant asymptote.
  • Degree of numeratorย is equal toย degree of denominator: horizontal asymptote at ratio of leading coefficients.

EXAMPLE 7

Identifying Horizontal and Slant Asymptotes

For the functions listed, identify the horizontal or slant asymptote.

  1. โ“ย g(x)=6×3โˆ’10x2x3+5×2๐‘”(๐‘ฅ)=6๐‘ฅ3โˆ’10๐‘ฅ2๐‘ฅ3+5๐‘ฅ2
  2. โ“‘ย h(x)=x2โˆ’4x+1x+2โ„Ž(๐‘ฅ)=๐‘ฅ2โˆ’4๐‘ฅ+1๐‘ฅ+2
  3. โ“’ย k(x)=x2+4xx3โˆ’8๐‘˜(๐‘ฅ)=๐‘ฅ2+4๐‘ฅ๐‘ฅ3โˆ’8

Solution

For these solutions, we will use f(x)=p(x)q(x), q(x)โ‰ 0.๐‘“(๐‘ฅ)=๐‘(๐‘ฅ)๐‘ž(๐‘ฅ), ๐‘ž(๐‘ฅ)โ‰ 0.

  1. โ“ย g(x)=6×3โˆ’10x2x3+5×2:๐‘”(๐‘ฅ)=6๐‘ฅ3โˆ’10๐‘ฅ2๐‘ฅ3+5๐‘ฅ2:ย The degree ofย p=degreeย ofย q=3,๐‘=degreeย ofย ๐‘ž=3,ย so we can find the horizontal asymptote by taking the ratio of the leading terms. There is a horizontal asymptote atย y=62๐‘ฆ=62ย orย y=3.๐‘ฆ=3.
  2. โ“‘ย h(x)=x2โˆ’4x+1x+2:โ„Ž(๐‘ฅ)=๐‘ฅ2โˆ’4๐‘ฅ+1๐‘ฅ+2:ย The degree ofย p=2๐‘=2ย and degree ofย q=1.๐‘ž=1.ย Sinceย p>q๐‘>๐‘žย by 1, there is a slant asymptote found atย x2โˆ’4x+1x+2.๐‘ฅ2โˆ’4๐‘ฅ+1๐‘ฅ+2.ย The quotient isย xโ€“6๐‘ฅโ€“6ย and the remainder is 13. There is a slant asymptote atย y=xโ€“6.๐‘ฆ=๐‘ฅโ€“6.
  3. โ“’ย k(x)=x2+4xx3โˆ’8:๐‘˜(๐‘ฅ)=๐‘ฅ2+4๐‘ฅ๐‘ฅ3โˆ’8:ย The degree ofย p=2<๐‘=2<ย degree ofย q=3,๐‘ž=3,ย so there is a horizontal asymptoteย y=0.๐‘ฆ=0.

EXAMPLE 8

Identifying Horizontal Asymptotes

In the sugar concentration problem earlier, we created the equation C(t)=5+t100+10t.๐ถ(๐‘ก)=5+๐‘ก100+10๐‘ก.

Find the horizontal asymptote and interpret it in context of the problem.

Solution

Both the numerator and denominator are linear (degree 1). Because the degrees are equal, there will be a horizontal asymptote at the ratio of the leading coefficients. In the numerator, the leading term is t,๐‘ก, with coefficient 1. In the denominator, the leading term is 10t,10๐‘ก, with coefficient 10. The horizontal asymptote will be at the ratio of these values:

tโ†’โˆž, C(t)โ†’110๐‘กโ†’โˆž, ๐ถ(๐‘ก)โ†’110

This function will have a horizontal asymptote at y=110.๐‘ฆ=110.

This tells us that as the values of t increase, the values of C๐ถ will approach 110.110. In context, this means that, as more time goes by, the concentration of sugar in the tank will approach one-tenth of a pound of sugar per gallon of water or 110110 pounds per gallon.

EXAMPLE 9

Identifying Horizontal and Vertical Asymptotes

Find the horizontal and vertical asymptotes of the function

f(x)=(xโˆ’2)(x+3)(xโˆ’1)(x+2)(xโˆ’5)๐‘“(๐‘ฅ)=(๐‘ฅโˆ’2)(๐‘ฅ+3)(๐‘ฅโˆ’1)(๐‘ฅ+2)(๐‘ฅโˆ’5)

Solution

First, note that this function has no common factors, so there are no potential removable discontinuities.

The function will have vertical asymptotes when the denominator is zero, causing the function to be undefined. The denominator will be zero at x=1,โ€“2,and 5,๐‘ฅ=1,โ€“2,and 5, indicating vertical asymptotes at these values.

The numerator has degree 2, while the denominator has degree 3. Since the degree of the denominator is greater than the degree of the numerator, the denominator will grow faster than the numerator, causing the outputs to tend towards zero as the inputs get large, and so asย xโ†’ยฑโˆž,ย f(x)โ†’0.๐‘ฅโ†’ยฑโˆž,ย ๐‘“(๐‘ฅ)โ†’0.ย This function will have a horizontal asymptote atย y=0.๐‘ฆ=0.ย Seeย Figure 15.

Graph of f(x)=(x-2)(x+3)/(x-1)(x+2)(x-5) with its vertical asymptotes at x=-2, x=1, and x=5 and its horizontal asymptote at y=0.

Figure 15

TRY IT #6

Find the vertical and horizontal asymptotes of the function:

f(x)=(2xโˆ’1)(2x+1)(xโˆ’2)(x+3)๐‘“(๐‘ฅ)=(2๐‘ฅโˆ’1)(2๐‘ฅ+1)(๐‘ฅโˆ’2)(๐‘ฅ+3)

INTERCEPTS OF RATIONAL FUNCTIONS

A rational function will have a y-intercept at f(0)๐‘“(0) , if the function is defined at zero. A rational function will not have a y-intercept if the function is not defined at zero.

Likewise, a rational function will have x-intercepts at the inputs that cause the output to be zero. Since a fraction is only equal to zero when the numerator is zero, x-intercepts can only occur when the numerator of the rational function is equal to zero.

EXAMPLE 10

Finding the Intercepts of a Rational Function

Find the intercepts of f(x)=(xโˆ’2)(x+3)(xโˆ’1)(x+2)(xโˆ’5).๐‘“(๐‘ฅ)=(๐‘ฅโˆ’2)(๐‘ฅ+3)(๐‘ฅโˆ’1)(๐‘ฅ+2)(๐‘ฅโˆ’5).

Solution

We can find the y-intercept by evaluating the function at zero

f(0)====(0โˆ’2)(0+3)(0โˆ’1)(0+2)(0โˆ’5)โˆ’610โˆ’35โˆ’0.6๐‘“(0)=(0โˆ’2)(0+3)(0โˆ’1)(0+2)(0โˆ’5)=โˆ’610=โˆ’35=โˆ’0.6

The x-intercepts will occur when the function is equal to zero:

00x===(xโˆ’2)(x+3)(xโˆ’1)(x+2)(xโˆ’5)(xโˆ’2)(x+3)2,โˆ’3This is zero when the numerator is zero.0=(๐‘ฅโˆ’2)(๐‘ฅ+3)(๐‘ฅโˆ’1)(๐‘ฅ+2)(๐‘ฅโˆ’5)This is zero when the numerator is zero.0=(๐‘ฅโˆ’2)(๐‘ฅ+3)๐‘ฅ=2,โˆ’3

Theย y-intercept isย (0,โ€“0.6),(0,โ€“0.6),ย theย x-intercepts areย (2,0)(2,0)ย andย (โ€“3,0).(โ€“3,0).ย Seeย Figure 16.

Graph of f(x)=(x-2)(x+3)/(x-1)(x+2)(x-5) with its vertical asymptotes at x=-2, x=1, and x=5, its horizontal asymptote at y=0, and its intercepts at (-3, 0), (0, -0.6), and (2, 0).

Figure 16

TRY IT #7

Given the reciprocal squared function that is shifted right 3 units and down 4 units, write this as a rational function. Then, find the x– and y-intercepts and the horizontal and vertical asymptotes.

Graphing Rational Functions

Inย Example 9, we see that the numerator of a rational function reveals theย x-intercepts of the graph, whereas the denominator reveals the vertical asymptotes of the graph. As with polynomials, factors of the numerator may have integer powers greater than one. Fortunately, the effect on the shape of the graph at those intercepts is the same as we saw with polynomials.

The vertical asymptotes associated with the factors of the denominator will mirror one of the two toolkit reciprocal functions. When the degree of the factor in the denominator is odd, the distinguishing characteristic is that on one side of the vertical asymptote the graph heads towards positive infinity, and on the other side the graph heads towards negative infinity. Seeย Figure 17.

Graph of y=1/x with its vertical asymptote at x=0.

Figure 17

When the degree of the factor in the denominator is even, the distinguishing characteristic is that the graph either heads toward positive infinity on both sides of the vertical asymptote or heads toward negative infinity on both sides. Seeย Figure 18.

Graph of y=1/x^2 with its vertical asymptote at x=0.

Figure 18

For example, the graph ofย f(x)=(x+1)2(xโˆ’3)(x+3)2(xโˆ’2)๐‘“(๐‘ฅ)=(๐‘ฅ+1)2(๐‘ฅโˆ’3)(๐‘ฅ+3)2(๐‘ฅโˆ’2)ย is shown inย Figure 19.

Graph of f(x)=(x+1)^2(x-3)/(x+3)^2(x-2) with its vertical asymptotes at x=-3 and x=2, its horizontal asymptote at y=1, and its intercepts at (-1, 0), (0, 1/6), and (3, 0).

Figure 19

  • At theย x-interceptย x=โˆ’1๐‘ฅ=โˆ’1ย corresponding to theย (x+1)2(๐‘ฅ+1)2ย factor of the numerator, the graph “bounces”, consistent with the quadratic nature of the factor.
  • At theย x-interceptย x=3๐‘ฅ=3ย corresponding to theย (xโˆ’3)(๐‘ฅโˆ’3)ย factor of the numerator, the graph passes through the axis as we would expect from a linear factor.
  • At the vertical asymptoteย x=โˆ’3๐‘ฅ=โˆ’3ย corresponding to theย (x+3)2(๐‘ฅ+3)2ย factor of the denominator, the graph heads towards positive infinity on both sides of the asymptote, consistent with the behavior of the functionย f(x)=1×2.๐‘“(๐‘ฅ)=1๐‘ฅ2.
  • At the vertical asymptoteย x=2,๐‘ฅ=2,ย corresponding to theย (xโˆ’2)(๐‘ฅโˆ’2)ย factor of the denominator, the graph heads towards positive infinity on the left side of the asymptote and towards negative infinity on the right side.

HOW TO

Given a rational function, sketch a graph.

  1. Evaluate the function at 0 to find theย y-intercept.
  2. Factor the numerator and denominator.
  3. For factors in the numerator not common to the denominator, determine where each factor of the numerator is zero to find theย x-intercepts.
  4. Find the multiplicities of theย x-intercepts to determine the behavior of the graph at those points.
  5. For factors in the denominator, note the multiplicities of the zeros to determine the local behavior. For those factors not common to the numerator, find the vertical asymptotes by setting those factors equal to zero and then solve.
  6. For factors in the denominator common to factors in the numerator, find the removable discontinuities by setting those factors equal to 0 and then solve.
  7. Compare the degrees of the numerator and the denominator to determine the horizontal or slant asymptotes.
  8. Sketch the graph.

EXAMPLE 11

Graphing a Rational Function

Sketch a graph of f(x)=(x+2)(xโˆ’3)(x+1)2(xโˆ’2).๐‘“(๐‘ฅ)=(๐‘ฅ+2)(๐‘ฅโˆ’3)(๐‘ฅ+1)2(๐‘ฅโˆ’2).

Solution

We can start by noting that the function is already factored, saving us a step.

Next, we will find the intercepts. Evaluating the function at zero gives the y-intercept:

f(0)==(0+2)(0โˆ’3)(0+1)2(0โˆ’2)3๐‘“(0)=(0+2)(0โˆ’3)(0+1)2(0โˆ’2)=3

To find the x-intercepts, we determine when the numerator of the function is zero. Setting each factor equal to zero, we find x-intercepts at x=โ€“2๐‘ฅ=โ€“2 and x=3.๐‘ฅ=3. At each, the behavior will be linear (multiplicity 1), with the graph passing through the intercept.

We have a y-intercept at (0,3)(0,3) and x-intercepts at (โ€“2,0)(โ€“2,0) and (3,0).(3,0).

To find the vertical asymptotes, we determine when the denominator is equal to zero. This occurs when x+1=0๐‘ฅ+1=0 and when xโ€“2=0,๐‘ฅโ€“2=0, giving us vertical asymptotes at x=โ€“1๐‘ฅ=โ€“1 and x=2.๐‘ฅ=2.

There are no common factors in the numerator and denominator. This means there are no removable discontinuities.

Finally, the degree of denominator is larger than the degree of the numerator, telling us this graph has a horizontal asymptote at y=0.๐‘ฆ=0.

To sketch the graph, we might start by plotting the three intercepts. Since the graph has noย x-intercepts between the vertical asymptotes, and theย y-intercept is positive, we know the function must remain positive between the asymptotes, letting us fill in the middle portion of the graph as shown inย Figure 20.

Graph of only the middle portion of f(x)=(x+2)(x-3)/(x+1)^2(x-2) with its intercepts at (-2, 0), (0, 3), and (3, 0).

Figure 20

The factor associated with the vertical asymptote at x=โˆ’1๐‘ฅ=โˆ’1 was squared, so we know the behavior will be the same on both sides of the asymptote. The graph heads toward positive infinity as the inputs approach the asymptote on the right, so the graph will head toward positive infinity on the left as well.

For the vertical asymptote atย x=2,๐‘ฅ=2,ย the factor was not squared, so the graph will have opposite behavior on either side of the asymptote. Seeย Figure 21. After passing through theย x-intercepts, the graph will then level off toward an output of zero, as indicated by the horizontal asymptote.

Graph of f(x)=(x+2)(x-3)/(x+1)^2(x-2) with its vertical asymptotes at x=-1 and x=2, its horizontal asymptote at y=0, and its intercepts at (-2, 0), (0, 3), and (3, 0).

Figure 21

TRY IT #8

Given the function f(x)=(x+2)2(xโˆ’2)2(xโˆ’1)2(xโˆ’3),๐‘“(๐‘ฅ)=(๐‘ฅ+2)2(๐‘ฅโˆ’2)2(๐‘ฅโˆ’1)2(๐‘ฅโˆ’3), use the characteristics of polynomials and rational functions to describe its behavior and sketch the function.

Writing Rational Functions

Now that we have analyzed the equations for rational functions and how they relate to a graph of the function, we can use information given by a graph to write the function. A rational function written in factored form will have an x-intercept where each factor of the numerator is equal to zero. (An exception occurs in the case of a removable discontinuity.) As a result, we can form a numerator of a function whose graph will pass through a set of x-intercepts by introducing a corresponding set of factors. Likewise, because the function will have a vertical asymptote where each factor of the denominator is equal to zero, we can form a denominator that will produce the vertical asymptotes by introducing a corresponding set of factors.

WRITING RATIONAL FUNCTIONS FROM INTERCEPTS AND ASYMPTOTES

If a rational function has x-intercepts at x=x1,x2,…,xn,๐‘ฅ=๐‘ฅ1,๐‘ฅ2,…,๐‘ฅ๐‘›, vertical asymptotes at x=v1,v2,โ€ฆ,vm,๐‘ฅ=๐‘ฃ1,๐‘ฃ2,โ€ฆ,๐‘ฃ๐‘š, and no xi=any vj,๐‘ฅ๐‘–=any ๐‘ฃ๐‘—, then the function can be written in the form:

f(x)=a(xโˆ’x1)p1(xโˆ’x2)p2โ‹ฏ(xโˆ’xn)pn(xโˆ’v1)q1(xโˆ’v2)q2โ‹ฏ(xโˆ’vm)qn๐‘“(๐‘ฅ)=๐‘Ž(๐‘ฅโˆ’๐‘ฅ1)๐‘1(๐‘ฅโˆ’๐‘ฅ2)๐‘2โ‹ฏ(๐‘ฅโˆ’๐‘ฅ๐‘›)๐‘๐‘›(๐‘ฅโˆ’๐‘ฃ1)๐‘ž1(๐‘ฅโˆ’๐‘ฃ2)๐‘ž2โ‹ฏ(๐‘ฅโˆ’๐‘ฃ๐‘š)๐‘ž๐‘›

where the powers pi๐‘๐‘– or qi๐‘ž๐‘– on each factor can be determined by the behavior of the graph at the corresponding intercept or asymptote, and the stretch factor a๐‘Ž can be determined given a value of the function other than the x-intercept or by the horizontal asymptote if it is nonzero.

HOW TO

Given a graph of a rational function, write the function.

  1. Determine the factors of the numerator. Examine the behavior of the graph at theย x-intercepts to determine the zeroes and their multiplicities. (This is easy to do when finding the โ€œsimplestโ€ function with small multiplicitiesโ€”such as 1 or 3โ€”but may be difficult for larger multiplicitiesโ€”such as 5 or 7, for example.)
  2. Determine the factors of the denominator. Examine the behavior on both sides of each vertical asymptote to determine the factors and their powers.
  3. Use any clear point on the graph to find the stretch factor.

EXAMPLE 12

Writing a Rational Function from Intercepts and Asymptotes

Write an equation for the rational function shown inย Figure 22.

Graph of a rational function.

Figure 22

Solution

The graph appears to haveย x-intercepts atย x=โ€“2๐‘ฅ=โ€“2ย andย x=3.๐‘ฅ=3.ย At both, the graph passes through the intercept, suggesting linear factors. The graph has two vertical asymptotes. The one atย x=โ€“1๐‘ฅ=โ€“1ย seems to exhibit the basic behavior similar toย 1x,1๐‘ฅ,ย with the graph heading toward positive infinity on one side and heading toward negative infinity on the other. The asymptote atย x=2๐‘ฅ=2ย is exhibiting a behavior similar toย 1×2,1๐‘ฅ2,ย with the graph heading toward negative infinity on both sides of the asymptote. Seeย Figure 23.

Graph of a rational function denoting its vertical asymptotes and x-intercepts.

Figure 23

We can use this information to write a function of the form

f(x)=a(x+2)(xโˆ’3)(x+1)(xโˆ’2)2๐‘“(๐‘ฅ)=๐‘Ž(๐‘ฅ+2)(๐‘ฅโˆ’3)(๐‘ฅ+1)(๐‘ฅโˆ’2)2

To find the stretch factor, we can use another clear point on the graph, such as the y-intercept (0,โ€“2).(0,โ€“2).

โˆ’2โˆ’2a===a(0+2)(0โˆ’3)(0+1)(0โˆ’2)2aโˆ’64โˆ’8โˆ’6=43โˆ’2=๐‘Ž(0+2)(0โˆ’3)(0+1)(0โˆ’2)2โˆ’2=๐‘Žโˆ’64๐‘Ž=โˆ’8โˆ’6=43

This gives us a final function ofย f(x)=4(x+2)(xโˆ’3)3(x+1)(xโˆ’2)2.๐‘“(๐‘ฅ)=4(๐‘ฅ+2)(๐‘ฅโˆ’3)3(๐‘ฅ+1)(๐‘ฅโˆ’2)2.

RELATED POSTS

View all

view all