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)=1x−2f(x) = \frac{1}{\pole{x - 2}} as xx gets close to 2\pole{2}.

Vertical Asymptotes
f(x)=1x−2f(x) = \dfrac{1}{\htmlClass{lc-green}{x - 2}}
2\htmlClass{lc-green}{2}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
??

Plugging x=2\pole{x = 2} into f(x)=1x−2f(x) = \frac{1}{\pole{x - 2}} gives 10\frac{1}{\pole{0}}, so there is no point on the graph at x=2\pole{x = 2}. Stepping right next to 2\pole{2} shows why the graph shoots straight up and down there:

Right of 2 (x=2.001):f(2.001)=12.001−2=10.001=1,000Left of 2 (x=1.999):f(1.999)=11.999−2=1−0.001=−1,000\displaystyle \begin{aligned} &\text{Right of } \pole{2} \ (x = 2.001){:} \\ &\quad \begin{aligned} f(2.001) &= \frac{1}{\pole{2.001 - 2}} = \frac{1}{\pole{0.001}} \\ &= 1{,}000 \end{aligned} \\[6pt] &\text{Left of } \pole{2} \ (x = 1.999){:} \\ &\quad \begin{aligned} f(1.999) &= \frac{1}{\pole{1.999 - 2}} = \frac{1}{\pole{-0.001}} \\ &= -1{,}000 \end{aligned} \end{aligned}

Dividing 11 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\pole{x = 2}.

−1\htmlClass{lc-mute}{-1}
1\htmlClass{lc-mute}{1}
3\htmlClass{lc-mute}{3}
4\htmlClass{lc-mute}{4}
5\htmlClass{lc-mute}{5}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
Vertical Asymptote\htmlClass{lc-green}{\text{Vertical Asymptote}}
x=2\htmlClass{lc-green}{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)=x2−x−2x−2f(x) = \frac{x^2 - x - 2}{\hole{x - 2}}.

Holes in the Graph
f(x)\displaystyle f(x) =x2−x−2x−2\displaystyle = \dfrac{x^2 - x - 2}{\hole{x - 2}}
At x=2:\displaystyle \text{At } \hole{x = 2}\text{:}
asymptote or hole?\displaystyle \text{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\hole{x = 2}.
f(x)\displaystyle f(x) =x2−x−2x−2\displaystyle = \frac{x^2 - x - 2}{\hole{x - 2}} =(x−2)(x+1)x−2\displaystyle = \frac{\hole{(x - 2)}(x + 1)}{\hole{x - 2}}
Cancel matching factorsFor every x≠2\hole{x \neq 2}, the matching x−2\hole{x - 2} factors divide to 11, so the function follows a straight line everywhere except at x=2\hole{x = 2}.
f(x)\displaystyle f(x) =x+1,x≠2\displaystyle = x + 1, \quad \hole{x \neq 2}
Plug into the simplified functionWe plug x=2\hole{x = 2} into the simplified expression to find the exact height of the missing point.
y\displaystyle y =2+1\displaystyle = \hole{2} + 1 =3  ⟹  Hole at (2,3)\displaystyle = 3 \implies \text{Hole at } \hole{(2, 3)}

In f(x)=(x−a)(x+1)x−2f(x) = \frac{\tune{(x - a)}(x + 1)}{\pole{x - 2}}, the zero in the denominator at x=2\pole{x = 2} creates a vertical asymptote for every value of a\tune{a} except a=2\tune{a = 2}, where the numerator hits zero at the exact same spot and turns the vertical asymptote into a hole at (2,3)\hole{(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 xx gets huge. A horizontal asymptote is a flat line the graph levels off onto at the far left and far right ends.

Horizontal Asymptotes
f(x)=3x+5x2−4f(x) = \dfrac{3x + 5}{x^2 - 4}
x=−1,000,000x = -1{,}000{,}000
x=1,000,000x = 1{,}000{,}000
?\htmlClass{lc-pink}{?}
?\htmlClass{lc-pink}{?}

When xx is out in the millions, smaller terms barely matter compared to the highest power of xx on top and the highest power of xx on the bottom:

Bottom degree wins:f(x)=3x+5x2−4≈3xx2=3x⟶0  ⟹  Horizontal asymptote y=0Degrees tie:f(x)=6x2+x−12x2−9≈6x22x2=62=3  ⟹  Horizontal asymptote y=3\displaystyle \begin{aligned} &\text{Bottom degree wins:} \\ &f(x) = \frac{\ends{3x} + 5}{\ends{x^2} - 4} \approx \frac{\ends{3x}}{\ends{x^2}} = \frac{3}{x} \longrightarrow 0 \\ &\qquad \implies \text{Horizontal asymptote } \ends{y = 0} \\[8pt] &\text{Degrees tie:} \\ &f(x) = \frac{\ends{6x^2} + x - 1}{\ends{2x^2} - 9} \approx \frac{\ends{6x^2}}{\ends{2x^2}} = \frac{6}{2} = 3 \\ &\qquad \implies \text{Horizontal asymptote } \ends{y = 3} \end{aligned}
4

Slant Asymptotes and Crossing Asymptotes

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 11, the ends of the graph settle onto a diagonal line called a slant asymptote, which we can find for f(x)=x2+2x−1x−1f(x) = \frac{x^2 + 2x - 1}{x - 1} by dividing the denominator into the numerator.

Slant Asymptotes and Crossing Asymptotes
f(x)\displaystyle f(x) =x2+2x−1x−1\displaystyle = \dfrac{x^2 + 2x - 1}{x - 1}
Slant asymptote: y=  ?\displaystyle \text{Slant asymptote: } \ends{y = \;?}
Text solution
Compare the highest powersThe numerator is degree 22 and the denominator is degree 11, so for huge xx the ratio of the highest powers x2x=x\frac{\ends{x^2}}{\ends{x}} = x grows like a diagonal line.
Top degree (2)−Bottom degree (1)\displaystyle \text{Top degree } (2) - \text{Bottom degree } (1) =1  ⟹  Slant asymptote\displaystyle = 1 \implies \text{Slant asymptote}
Divide the bottom into the topDividing x2+2x−1x^2 + 2x - 1 by x−1x - 1 rewrites the fraction as a straight-line quotient plus a remainder fraction.
f(x)=x2+2x−1x−1=x+3+2x−1⏟remainder\displaystyle \begin{aligned} f(x) &= \frac{x^2 + 2x - 1}{x - 1} \\ &= \ends{x + 3} + \underbrace{\remainder{\frac{2}{x - 1}}}_{\text{remainder}} \end{aligned}
Drop the remainder for huge xxWhen xx is huge, 2x−1\remainder{\frac{2}{x - 1}} shrinks to zero and the graph settles onto the quotient line.
Slant asymptote: y=x+3\displaystyle \text{Slant asymptote: } \ends{y = x + 3}

In f(x)=x+3+2x−1f(x) = \ends{x + 3} + \remainder{\frac{2}{x - 1}}, the remainder fraction 2x−1\remainder{\frac{2}{x - 1}} is the curve's height minus the height of the line y=x+3\ends{y = x + 3}. Near x=1\pole{x = 1} its magnitude grows without bound, while toward the far ends it approaches zero and the curve approaches y=x+3\ends{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 22 or more degrees, there is neither a horizontal nor a slant asymptote. For f(x)=x3+2x−1x−1f(x) = \frac{x^3 + 2x - 1}{x - 1}, the leading terms give x3x=x2\frac{\ends{x^3}}{\ends{x}} = x^2, and division gives f(x)=x2+x+3+2x−1f(x) = \ends{x^2 + x + 3} + \remainder{\frac{2}{x - 1}}. The graph approaches the parabola y=x2+x+3\ends{y = x^2 + x + 3} at both ends.

x=2\htmlClass{lc-green}{x = 2}
y=2\htmlClass{lc-pink}{y = 2}

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 xx 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)=2x2+2x−4x2−x−6f(x) = \frac{2x^2 + 2x - 4}{x^2 - x - 6}, to find all of its holes and asymptotes at once.

Finding All Asymptotes and Holes
f(x)\displaystyle f(x) =2x2+2x−4x2−x−6\displaystyle = \dfrac{2x^2 + 2x - 4}{x^2 - x - 6}
Holes\displaystyle \hspace{9.6em}\mathllap{\hole{\text{Holes}}} =?\displaystyle = \mathrlap{?}\hspace{0.8em}
Vertical asymptotes\displaystyle \hspace{9.6em}\mathllap{\pole{\text{Vertical asymptotes}}} =?\displaystyle = \mathrlap{?}\hspace{0.8em}
Horizontal asymptote\displaystyle \hspace{9.6em}\mathllap{\ends{\text{Horizontal asymptote}}} =?\displaystyle = \mathrlap{?}\hspace{0.8em}
Text solution
Factor top and bottomWe pull out the leading 22 on top and factor both quadratics to see every zero in the denominator.
f(x)\displaystyle f(x) =2x2+2x−4x2−x−6\displaystyle = \frac{2x^2 + 2x - 4}{x^2 - x - 6} =2(x−1)(x+2)(x−3)(x+2)\displaystyle = \frac{2(x - 1)\hole{(x + 2)}}{\pole{(x - 3)}\hole{(x + 2)}}
Cancel matching factors for the holeThe matching x+2\hole{x + 2} factors cancel, leaving a hole at x=−2\hole{x = -2} whose yy-coordinate comes from plugging x=−2\hole{x = -2} into the simplified fraction.
f(x)=2(x−1)x−3(x≠−2),2(−2−1)−2−3=65=1.2,Hole at (−2,1.2)\displaystyle \begin{aligned} &f(x) = \frac{2(x - 1)}{\pole{x - 3}} \quad (\hole{x \neq -2}), \\ &\frac{2(\hole{-2} - 1)}{\hole{-2} - 3} = \frac{6}{5} = 1.2, \\ &\text{Hole at } \hole{(-2, 1.2)} \end{aligned}
Keep remaining bottom factors for vertical asymptotesThe factor x−3\pole{x - 3} stays in the denominator with nothing to cancel it, so the graph blows up at x=3\pole{x = 3}.
Vertical asymptote: x=3\displaystyle \text{Vertical asymptote: } \pole{x = 3}
Compare the highest powers for the horizontal asymptoteThe highest powers on top and bottom tie, so their ratio gives the horizontal asymptote.
2x2x2=2  ⟹  Horizontal asymptote: y=2\displaystyle \begin{aligned} &\frac{\ends{2x^2}}{\ends{x^2}} = 2 \\ &\implies \text{Horizontal asymptote: } \\ &\qquad \ends{y = 2} \end{aligned}
6

Writing a Rational Function from Its Features

We can also run this reasoning backward to build a rational function f(x)f(x) from scratch when we are given its features: a vertical asymptote at x=4\pole{x = 4}, a horizontal asymptote at y=5\ends{y = 5}, and a hole at (−1,3)\hole{(-1, 3)}.

Writing a Rational Function from Its Features
x=4\htmlClass{lc-green}{x = 4}
(−1,3)\htmlClass{lc-blue}{(-1, 3)}
y=5\htmlClass{lc-pink}{y = 5}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
f(x)=?f(x) = {?}
Text solution
Put the vertical asymptote on the bottomA vertical asymptote at x=4\pole{x = 4} requires an uncanceled x−4\pole{x - 4} factor in the denominator.
?x−4\displaystyle \frac{?}{\pole{x - 4}}
Put matching factors on top and bottom for the holeA hole at x=−1\hole{x = -1} needs an x+1\hole{x + 1} factor on the bottom and an identical x+1\hole{x + 1} factor on top to cancel it.
x+1(x−4)(x+1)\displaystyle \frac{\hole{x + 1}}{\pole{(x - 4)}\hole{(x + 1)}}
Include a tunable factor to match the horizontal asymptoteBecause the denominator has two factors, we put 5(x−a)\ends{5}\tune{(x - a)} on top so the degrees tie with a leading ratio of 5\ends{5}.
f(x)\displaystyle f(x) =5(x−a)(x+1)(x−4)(x+1)\displaystyle = \frac{\ends{5}\tune{(x - a)}\hole{(x + 1)}}{\pole{(x - 4)}\hole{(x + 1)}}
Cancel and plug in the hole's coordinatesAfter canceling x+1\hole{x + 1}, we plug x=−1\hole{x = -1} into the simplified fraction and set the height equal to 3\hole{3} to solve for a\tune{a}.
5(−1−a)−1−4\displaystyle \frac{5(\hole{-1} - \tune{a})}{\hole{-1} - 4} =3  ⟹  −(−1−a)\displaystyle = \hole{3} \implies -(-1 - \tune{a}) =3  ⟹  a=2\displaystyle = \hole{3} \implies \tune{a = 2}

Putting a=2\tune{a = 2} back in gives f(x)=5(x−2)(x+1)(x−4)(x+1)f(x) = \frac{\ends{5}\tune{(x - 2)}\hole{(x + 1)}}{\pole{(x - 4)}\hole{(x + 1)}}.

In f(x)=5(x−a)(x+1)(x−4)(x+1)f(x) = \frac{\ends{5}\tune{(x - a)}\hole{(x + 1)}}{\pole{(x - 4)}\hole{(x + 1)}}, changing a\tune{a} moves the hole up and down along x=−1\hole{x = -1} while keeping the asymptotes at x=4\pole{x = 4} and y=5\ends{y = 5} fixed, except when the hole is placed at height y=5\ends{y = 5}, where a=4\tune{a = 4} makes x−4\tune{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 tt represents time, a long-run value is the value a quantity approaches as tt gets large. When a rational function approaches a finite value, we can find it from its horizontal asymptote. Suppose a mixing tank starts with 100100 liters of fresh water (00 grams of salt), and a hose pumps in 10\ends{10} liters of water and 300\ends{300} grams of salt per minute. The water is mixed evenly, and none flows out. We want to find the salt concentration C(t)C(t) after tt minutes and its steady-state value in the long run.

Long-Run Behavior in Word Problems
100 L100\text{ L}
0 g0\text{ g}
10 L/min\htmlClass{lc-pink}{10}\text{ L/min}
300 g/min\htmlClass{lc-pink}{300}\text{ g/min}
C(t)=?C(t) = {?}
Text solution
Write total salt over total waterAfter tt minutes, the hose has added 300t\ends{300t} grams of salt and 10t\ends{10t} liters of water to the starting 100100 liters.
C(t)\displaystyle C(t) =300t10t+100\displaystyle = \frac{\ends{300t}}{\ends{10t} + 100}
Take the highest powers for the long runAs tt gets huge, the starting 100100 liters of fresh water barely matters next to 10t\ends{10t}, so the concentration levels off at the horizontal asymptote.
300t10t=30  ⟹  Steady-state concentration: 30 grams/liter\displaystyle \begin{aligned} &\frac{\ends{300t}}{\ends{10t}} = 30 \\ &\implies \text{Steady-state concentration: } \\ &\qquad \ends{30}\text{ grams/liter} \end{aligned}

Key concepts

Everything in a rational function comes down to two places: where the denominator hits zero, and where xx gets huge.

To see what happens where the denominator is zero, factor the top and bottom first. In f(x)=2(x−1)(x+2)(x−3)(x+2)f(x) = \frac{2(x - 1)\hole{(x + 2)}}{\pole{(x - 3)}\hole{(x + 2)}}, the factor x+2\hole{x + 2} cancels with the top, so x=−2\hole{x = -2} leaves a hole whose height comes from plugging x=−2\hole{x = -2} into the simplified fraction 2(x−1)x−3\frac{2(x - 1)}{\pole{x - 3}}. The factor x−3\pole{x - 3} stays on the bottom with nothing to cancel it, so it blows up into a vertical asymptote at x=3\pole{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 xx is huge, compare only the highest powers of xx:

Bottom wins in degree

3x+5x2−4≈3xx2=3x→0\frac{\ends{3x} + 5}{\ends{x^2} - 4} \approx \frac{\ends{3x}}{\ends{x^2}} = \frac{3}{x} \to 0, giving a horizontal asymptote at y=0\ends{y = 0}.

Degrees tie

6x2+x−12x2−9≈6x22x2=3\frac{\ends{6x^2} + x - 1}{\ends{2x^2} - 9} \approx \frac{\ends{6x^2}}{\ends{2x^2}} = 3, giving a horizontal asymptote at the ratio of the leading numbers, y=3\ends{y = 3} (this is also the steady-state value in word problems).

Top wins by 11 degree

x2+2x−1x−1=x+3+2x−1\frac{x^2 + 2x - 1}{x - 1} = \ends{x + 3} + \remainder{\frac{2}{x - 1}} has no horizontal asymptote; divide the bottom into the top and drop the remainder to get the slant asymptote y=x+3\ends{y = x + 3}. Don't do long division unless the top degree beats the bottom degree by 11. If the degrees tie or the bottom is bigger, reading the highest powers already gives the horizontal asymptote, and if the top wins by 22 or more degrees (like x3+2x−1x−1≈x2\frac{x^3 + 2x - 1}{x - 1} \approx x^2), 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)=3x2−3x−182x2−8x+6f(x) = \frac{3x^2 - 3x - 18}{2x^2 - 8x + 6}.

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 33 on top and 22 on the bottom gives:
f(x)\displaystyle f(x) =3(x2−x−6)2(x2−4x+3)\displaystyle = \frac{3(x^2 - x - 6)}{2(x^2 - 4x + 3)} =3(x−3)(x+2)2(x−3)(x−1)\displaystyle = \frac{3\hole{(x - 3)}(x + 2)}{2\hole{(x - 3)}\pole{(x - 1)}}
(Warning: Don't set the unfactored denominator to zero and call both x=3x = 3 and x=1x = 1 vertical asymptotes; check which factor cancels first.)
The x−3\hole{x - 3} factors cancel, leaving the simplified function for x≠3\hole{x \neq 3}:
f(x)\displaystyle f(x) =3(x+2)2(x−1)\displaystyle = \frac{3(x + 2)}{2\pole{(x - 1)}}
(Warning: Keep the leading 33 and 22 when plugging in x=3\hole{x = 3}; dropping them gives the wrong hole height 52\frac{5}{2}.)
Plugging x=3\hole{x = 3} into the simplified function gives y=3(3+2)2(3−1)=154y = \frac{3(\hole{3} + 2)}{2(\hole{3} - 1)} = \frac{15}{4}, while the remaining x−1\pole{x - 1} factor on the bottom gives a vertical asymptote and the tied highest powers 3x22x2\frac{\ends{3x^2}}{\ends{2x^2}} give the horizontal asymptote:
Hole: (3,154),Vertical asymptote: x=1,Horizontal asymptote: y=32\displaystyle \begin{aligned} \text{Hole: } & \hole{\left(3, \tfrac{15}{4}\right)}, \\ \text{Vertical asymptote: } & \pole{x = 1}, \\ \text{Horizontal asymptote: } & \ends{y = \tfrac{3}{2}} \end{aligned}
2

Find all vertical, horizontal, or slant asymptotes for f(x)=2x2−5x−1x−3f(x) = \frac{2x^2 - 5x - 1}{x - 3}.

Check whether x=3x = 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\pole{x = 3}, the numerator is 2(3)2−5(3)−1=2≠02(3)^2 - 5(3) - 1 = 2 \neq 0, so nothing cancels and there is a vertical asymptote at x=3\pole{x = 3}.
Because the top degree (22) beats the bottom degree (11) by 11, there is no horizontal asymptote. Dividing 2x2−5x−12x^2 - 5x - 1 by x−3x - 3 gives:
2x2−5x−1x−3\displaystyle \frac{2x^2 - 5x - 1}{x - 3} =2x+1+2x−3\displaystyle = \ends{2x + 1} + \remainder{\frac{2}{x - 3}}
(Warning: When subtracting 2x(x−3)=2x2−6x2x(x - 3) = 2x^2 - 6x from 2x2−5x2x^2 - 5x, be careful with the negative sign: −5x−(−6x)=+x-5x - (-6x) = +x, not −11x-11x, which would give the wrong line y=2x−11y = 2x - 11.)
Dropping the remainder 2x−3\remainder{\frac{2}{x - 3}} for huge xx leaves:
Vertical asymptote: x=3,Slant asymptote: y=2x+1\displaystyle \begin{aligned} \text{Vertical asymptote: } & \pole{x = 3}, \\ \text{Slant asymptote: } & \ends{y = 2x + 1} \end{aligned}
3

Find the vertical and horizontal asymptotes of f(x)=x−2x2−9f(x) = \frac{x - 2}{x^2 - 9}, and explain why the graph can cross its horizontal asymptote at (2,0)(2, 0) but can never cross its vertical asymptotes.

Factor the difference of squares on the bottom, then compare the highest powers of xx on top and bottom.

Factoring the denominator gives:
f(x)\displaystyle f(x) =x−2(x−3)(x+3)\displaystyle = \frac{x - 2}{\pole{(x - 3)}\pole{(x + 3)}}
Nothing cancels, so both denominator factors remain as vertical asymptotes at x=3\pole{x = 3} and x=−3\pole{x = -3}.
For huge xx, compare the highest powers:
xx2\displaystyle \frac{\ends{x}}{\ends{x^2}} =1x⟶0\displaystyle = \frac{1}{x} \longrightarrow 0
(Warning: Don't just divide the leading numbers 11=1\frac{1}{1} = 1 to get y=1y = 1; the denominator has a higher power of xx, so it shrinks the fraction to 00.)
Vertical asymptotes: x=3, x=−3,Horizontal asymptote: y=0\displaystyle \begin{aligned} \text{Vertical asymptotes: } & \pole{x = 3}, \ \\ & \pole{x = -3}, \\ \text{Horizontal asymptote: } & \ends{y = 0} \end{aligned}
The graph crosses y=0\ends{y = 0} at (2,0)(2, 0) because a horizontal asymptote only describes end behavior for huge xx, whereas at a vertical asymptote the denominator is zero, so the function has no value there at all.
4

Does f(x)=2x3+x2−5x+1f(x) = \frac{2x^3 + x^2 - 5}{x + 1} 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 xx.

At x=−1\pole{x = -1}, the numerator is 2(−1)3+(−1)2−5=−6≠02(-1)^3 + (-1)^2 - 5 = -6 \neq 0, so there is a vertical asymptote at x=−1\pole{x = -1}.
Comparing the highest powers for huge xx gives:
2x3x\displaystyle \frac{\ends{2x^3}}{\ends{x}} =2x2\displaystyle = 2x^2
(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 11 degree.)
Because the top degree (33) beats the bottom degree (11) by 22, there is no horizontal asymptote and no slant asymptote. At both far ends, the function grows like 2x22x^2 and approaches positive infinity. The vertical asymptote is x=−1\pole{x = -1}.
5

Write the equation of a rational function f(x)f(x) with a vertical asymptote at x=1\pole{x = 1}, a horizontal asymptote at y=4\ends{y = 4}, and a hole at (3,−2)\hole{(3, -2)}.

Build the fraction with (x−1)(x - 1) on the bottom, matching (x−3)(x - 3) factors on top and bottom, and a tunable factor 4(x−a)4(x - a) on top so the degrees tie.

Putting all three pieces together gives:
f(x)\displaystyle f(x) =4(x−a)(x−3)(x−1)(x−3)\displaystyle = \frac{\ends{4}\tune{(x - a)}\hole{(x - 3)}}{\pole{(x - 1)}\hole{(x - 3)}}
Canceling x−3\hole{x - 3} and plugging in the hole's coordinates (3,−2)\hole{(3, -2)} gives:
4(3−a)3−1\displaystyle \frac{4(\hole{3} - \tune{a})}{\hole{3} - 1} =−2\displaystyle = \hole{-2}
(Warning: Don't forget the leading 44 when simplifying; dropping it gives 3−a2=−2\frac{3 - a}{2} = -2 and a=7a = 7.)
Simplifying 42=2\frac{4}{2} = 2 gives 2(3−a)=−22(3 - \tune{a}) = \hole{-2}, so 3−a=−13 - \tune{a} = -1 and a=4\tune{a = 4}:
f(x)\displaystyle f(x) =4(x−4)(x−3)(x−1)(x−3)\displaystyle = \frac{\ends{4}\tune{(x - 4)}\hole{(x - 3)}}{\pole{(x - 1)}\hole{(x - 3)}}
6

A mixing tank starts with 200200 liters of water containing 400400 grams of salt. At t=0t = 0, a hose begins pumping in 1010 liters of water and 250250 grams of salt per minute. The water is mixed evenly, and none flows out. Write a function C(t)C(t) for the salt concentration (in grams per liter) after tt minutes, and find the steady-state concentration in the long run.

Write total grams of salt over total liters of water at time tt, making sure to include the starting amounts in both.

After tt minutes, the tank contains 250t+400\ends{250t} + 400 grams of salt and 10t+200\ends{10t} + 200 liters of water:
C(t)\displaystyle C(t) =250t+40010t+200\displaystyle = \frac{\ends{250t} + 400}{\ends{10t} + 200}
(Warning: Don't leave out the starting 400400 grams of salt on top, and for the steady state don't divide the constant terms 400200=2\frac{400}{200} = 2, which is the starting concentration at t=0t = 0.)
As tt gets huge, the +400+400 and +200+200 barely matter and the highest powers reduce to 250t10t=25\frac{\ends{250t}}{\ends{10t}} = 25, giving a steady-state concentration of 25 grams/liter\ends{25}\text{ grams/liter}.