PrecalculusPolynomial and Rational Functions2 of 4
Polynomial and Rational Functions · 2
Rational Functions: Asymptotes and Holes
A rational function puts one polynomial over another. Its graph can have vertical asymptotes or holes, and it can approach a horizontal or slanted line at the ends.
1
Vertical Asymptotes
A vertical asymptote is a vertical line the graph shoots up or down along because the denominator shrinks to zero there with nothing on top to stop the fraction from blowing up. Let's look at what happens to f(x)=x−21 as x gets close to 2.
Vertical Asymptotes
Plugging x=2 into f(x)=x−21 gives 01, so there is no point on the graph at x=2. Stepping right next to 2 shows why the graph shoots straight up and down there:
Right of 2(x=2.001):f(2.001)=2.001−21=0.0011=1,000Left of 2(x=1.999):f(1.999)=1.999−21=−0.0011=−1,000
Dividing 1 by a tiny number makes the output huge, so the curve shoots up on the right and plunges down on the left along the vertical asymptote x=2.
2
Holes in the Graph
Not every zero in the denominator causes a vertical asymptote. After we cancel all matching factors, a zero of the original denominator gives a hole if the simplified denominator is nonzero there, as in f(x)=x−2x2−x−2.
Holes in the Graph
f(x)=x−2x2−x−2
At x=2:
asymptote or hole?
Text solution
Factor top and bottomWe factor the numerator first to see if it shares the factor that makes the denominator zero at x=2.
f(x)=x−2x2−x−2=x−2(x−2)(x+1)
Cancel matching factorsFor every x=2, the matching x−2 factors divide to 1, so the function follows a straight line everywhere except at x=2.
f(x)=x+1,x=2
Plug into the simplified functionWe plug x=2 into the simplified expression to find the exact height of the missing point.
y=2+1=3⟹Hole at (2,3)
In f(x)=x−2(x−a)(x+1), the zero in the denominator at x=2 creates a vertical asymptote for every value of a except a=2, where the numerator hits zero at the exact same spot and turns the vertical asymptote into a hole at (2,3).
For this function, the zero on the bottom gives a vertical asymptote unless the matching factor on top cancels it, leaving a hole.
3
Horizontal Asymptotes
Factoring tells us what happens near the zeros of the denominator in the middle of the graph; now we want to find the end behavior when x gets huge. A horizontal asymptote is a flat line the graph levels off onto at the far left and far right ends.
Horizontal Asymptotes
When x is out in the millions, smaller terms barely matter compared to the highest power of x on top and the highest power of x on the bottom:
When the numerator has a higher degree than the denominator, the top grows faster than the bottom, so there is no horizontal asymptote. If the top degree beats the bottom degree by just 1, the ends of the graph settle onto a diagonal line called a slant asymptote, which we can find for f(x)=x−1x2+2x−1 by dividing the denominator into the numerator.
Slant Asymptotes and Crossing Asymptotes
f(x)=x−1x2+2x−1
Slant asymptote: y=?
Text solution
Compare the highest powersThe numerator is degree 2 and the denominator is degree 1, so for huge x the ratio of the highest powers xx2=x grows like a diagonal line.
Top degree (2)−Bottom degree (1)=1⟹Slant asymptote
Divide the bottom into the topDividing x2+2x−1 by x−1 rewrites the fraction as a straight-line quotient plus a remainder fraction.
f(x)=x−1x2+2x−1=x+3+remainderx−12
Drop the remainder for huge xWhen x is huge, x−12 shrinks to zero and the graph settles onto the quotient line.
Slant asymptote: y=x+3
In f(x)=x+3+x−12, the remainder fraction x−12 is the curve's height minus the height of the line y=x+3. Near x=1 its magnitude grows without bound, while toward the far ends it approaches zero and the curve approaches y=x+3.
Dividing the fraction splits the graph's height into a slanted line plus a vertical gap from the remainder.
If the numerator beats the denominator by 2 or more degrees, there is neither a horizontal nor a slant asymptote. For f(x)=x−1x3+2x−1, the leading terms give xx3=x2, and division gives f(x)=x2+x+3+x−12. The graph approaches the parabola y=x2+x+3 at both ends.
A graph can never cross a vertical asymptote because the function is undefined where the denominator is zero, but it can cross a horizontal or slant asymptote in the middle of the graph where x is small and the lower-power terms still matter.
5
Finding All Asymptotes and Holes
Now let's put all of these steps together on a single function, f(x)=x2−x−62x2+2x−4, to find all of its holes and asymptotes at once.
Finding All Asymptotes and Holes
f(x)=x2−x−62x2+2x−4
Holes=?
Vertical asymptotes=?
Horizontal asymptote=?
Text solution
Factor top and bottomWe pull out the leading 2 on top and factor both quadratics to see every zero in the denominator.
f(x)=x2−x−62x2+2x−4=(x−3)(x+2)2(x−1)(x+2)
Cancel matching factors for the holeThe matching x+2 factors cancel, leaving a hole at x=−2 whose y-coordinate comes from plugging x=−2 into the simplified fraction.
f(x)=x−32(x−1)(x=−2),−2−32(−2−1)=56=1.2,Hole at (−2,1.2)
Keep remaining bottom factors for vertical asymptotesThe factor x−3 stays in the denominator with nothing to cancel it, so the graph blows up at x=3.
Vertical asymptote: x=3
Compare the highest powers for the horizontal asymptoteThe highest powers on top and bottom tie, so their ratio gives the horizontal asymptote.
x22x2=2⟹Horizontal asymptote: y=2
6
Writing a Rational Function from Its Features
We can also run this reasoning backward to build a rational function f(x) from scratch when we are given its features: a vertical asymptote at x=4, a horizontal asymptote at y=5, and a hole at (−1,3).
Writing a Rational Function from Its Features
Text solution
Put the vertical asymptote on the bottomA vertical asymptote at x=4 requires an uncanceled x−4 factor in the denominator.
x−4?
Put matching factors on top and bottom for the holeA hole at x=−1 needs an x+1 factor on the bottom and an identical x+1 factor on top to cancel it.
(x−4)(x+1)x+1
Include a tunable factor to match the horizontal asymptoteBecause the denominator has two factors, we put 5(x−a) on top so the degrees tie with a leading ratio of 5.
f(x)=(x−4)(x+1)5(x−a)(x+1)
Cancel and plug in the hole's coordinatesAfter canceling x+1, we plug x=−1 into the simplified fraction and set the height equal to 3 to solve for a.
−1−45(−1−a)=3⟹−(−1−a)=3⟹a=2
Putting a=2 back in gives f(x)=(x−4)(x+1)5(x−2)(x+1).
In f(x)=(x−4)(x+1)5(x−a)(x+1), changing a moves the hole up and down along x=−1 while keeping the asymptotes at x=4 and y=5 fixed, except when the hole is placed at height y=5, where a=4 makes x−4 cancel the remaining denominator factor and removes the vertical asymptote.
The extra factor on top sets the hole's height without moving either asymptote, unless it matches the bottom factor and cancels the vertical asymptote.
7
Long-Run Behavior in Word Problems
In a problem where t represents time, a long-run value is the value a quantity approaches as t gets large. When a rational function approaches a finite value, we can find it from its horizontal asymptote. Suppose a mixing tank starts with 100 liters of fresh water (0 grams of salt), and a hose pumps in 10 liters of water and 300 grams of salt per minute. The water is mixed evenly, and none flows out. We want to find the salt concentration C(t) after t minutes and its steady-state value in the long run.
Long-Run Behavior in Word Problems
Text solution
Write total salt over total waterAfter t minutes, the hose has added 300t grams of salt and 10t liters of water to the starting 100 liters.
C(t)=10t+100300t
Take the highest powers for the long runAs t gets huge, the starting 100 liters of fresh water barely matters next to 10t, so the concentration levels off at the horizontal asymptote.
Everything in a rational function comes down to two places: where the denominator hits zero, and where x gets huge.
To see what happens where the denominator is zero, factor the top and bottom first. In f(x)=(x−3)(x+2)2(x−1)(x+2), the factor x+2 cancels with the top, so x=−2 leaves a hole whose height comes from plugging x=−2 into the simplified fraction x−32(x−1). The factor x−3 stays on the bottom with nothing to cancel it, so it blows up into a vertical asymptote at x=3. Don't list vertical asymptotes before factoring, or you will mistake a hole for an asymptote.
To see what happens at the far ends when x is huge, compare only the highest powers of x:
Bottom wins in degree
x2−43x+5≈x23x=x3→0, giving a horizontal asymptote at y=0.
Degrees tie
2x2−96x2+x−1≈2x26x2=3, giving a horizontal asymptote at the ratio of the leading numbers, y=3 (this is also the steady-state value in word problems).
Top wins by 1 degree
x−1x2+2x−1=x+3+x−12 has no horizontal asymptote; divide the bottom into the top and drop the remainder to get the slant asymptotey=x+3. Don't do long division unless the top degree beats the bottom degree by 1. If the degrees tie or the bottom is bigger, reading the highest powers already gives the horizontal asymptote, and if the top wins by 2 or more degrees (like x−1x3+2x−1≈x2), there is no straight-line asymptote at the ends at all.
8
Practice
1
Find all vertical asymptotes, horizontal asymptotes, and the coordinates of any holes for f(x)=2x2−8x+63x2−3x−18.
Don't set the unfactored denominator to zero and call both x=3 and x=1 vertical asymptotes; check which factor cancels first.
Pull out the constant factor on top and bottom first so the quadratics are easy to factor, then see which denominator factor cancels.
Factoring out 3 on top and 2 on the bottom gives:
f(x)=2(x2−4x+3)3(x2−x−6)=2(x−3)(x−1)3(x−3)(x+2)
(Warning: Don't set the unfactored denominator to zero and call both x=3 and x=1 vertical asymptotes; check which factor cancels first.)
The x−3 factors cancel, leaving the simplified function for x=3:
f(x)=2(x−1)3(x+2)
(Warning: Keep the leading 3 and 2 when plugging in x=3; dropping them gives the wrong hole height 25.)
Plugging x=3 into the simplified function gives y=2(3−1)3(3+2)=415, while the remaining x−1 factor on the bottom gives a vertical asymptote and the tied highest powers 2x23x2 give the horizontal asymptote:
Find all vertical, horizontal, or slant asymptotes for f(x)=x−32x2−5x−1.
Check whether x=3 makes the numerator zero, then compare the top and bottom degrees to see what kind of end-behavior asymptote to look for.
At x=3, the numerator is 2(3)2−5(3)−1=2=0, so nothing cancels and there is a vertical asymptote at x=3.
Because the top degree (2) beats the bottom degree (1) by 1, there is no horizontal asymptote. Dividing 2x2−5x−1 by x−3 gives:
x−32x2−5x−1=2x+1+x−32
(Warning: When subtracting 2x(x−3)=2x2−6x from 2x2−5x, be careful with the negative sign: −5x−(−6x)=+x, not −11x, which would give the wrong line y=2x−11.)
Dropping the remainder x−32 for huge x leaves:
Vertical asymptote: Slant asymptote: x=3,y=2x+1
3
Find the vertical and horizontal asymptotes of f(x)=x2−9x−2, and explain why the graph can cross its horizontal asymptote at (2,0) but can never cross its vertical asymptotes.
Factor the difference of squares on the bottom, then compare the highest powers of x on top and bottom.
Factoring the denominator gives:
f(x)=(x−3)(x+3)x−2
Nothing cancels, so both denominator factors remain as vertical asymptotes at x=3 and x=−3.
For huge x, compare the highest powers:
x2x=x1⟶0
(Warning: Don't just divide the leading numbers 11=1 to get y=1; the denominator has a higher power of x, so it shrinks the fraction to 0.)
The graph crosses y=0 at (2,0) because a horizontal asymptote only describes end behavior for huge x, whereas at a vertical asymptote the denominator is zero, so the function has no value there at all.
4
Does f(x)=x+12x3+x2−5 have a horizontal or slant asymptote? Find any vertical asymptotes and describe what happens to the graph at the far ends.
Check how many degrees the numerator beats the denominator by, and reduce the ratio of the highest powers for huge x.
At x=−1, the numerator is 2(−1)3+(−1)2−5=−6=0, so there is a vertical asymptote at x=−1.
Comparing the highest powers for huge x gives:
x2x3=2x2
(Warning: Don't divide the polynomials and call the quadratic quotient a slant asymptote; a slant asymptote must be a straight line, which only happens when the top beats the bottom by 1 degree.)
Because the top degree (3) beats the bottom degree (1) by 2, there is no horizontal asymptote and no slant asymptote. At both far ends, the function grows like 2x2 and approaches positive infinity. The vertical asymptote is x=−1.
5
Write the equation of a rational function f(x) with a vertical asymptote at x=1, a horizontal asymptote at y=4, and a hole at (3,−2).
Build the fraction with (x−1) on the bottom, matching (x−3) factors on top and bottom, and a tunable factor 4(x−a) on top so the degrees tie.
Putting all three pieces together gives:
f(x)=(x−1)(x−3)4(x−a)(x−3)
Canceling x−3 and plugging in the hole's coordinates (3,−2) gives:
3−14(3−a)=−2
(Warning: Don't forget the leading 4 when simplifying; dropping it gives 23−a=−2 and a=7.)
Simplifying 24=2 gives 2(3−a)=−2, so 3−a=−1 and a=4:
f(x)=(x−1)(x−3)4(x−4)(x−3)
6
A mixing tank starts with 200 liters of water containing 400 grams of salt. At t=0, a hose begins pumping in 10 liters of water and 250 grams of salt per minute. The water is mixed evenly, and none flows out. Write a function C(t) for the salt concentration (in grams per liter) after t minutes, and find the steady-state concentration in the long run.
Write total grams of salt over total liters of water at time t, making sure to include the starting amounts in both.
After t minutes, the tank contains 250t+400 grams of salt and 10t+200 liters of water:
C(t)=10t+200250t+400
(Warning: Don't leave out the starting 400 grams of salt on top, and for the steady state don't divide the constant terms 200400=2, which is the starting concentration at t=0.)
As t gets huge, the +400 and +200 barely matter and the highest powers reduce to 10t250t=25, giving a steady-state concentration of 25 grams/liter.