Computing limits

A graph can suggest where a function is headed, and its formula can help us work out the limit. When the function is continuous at the input we’re approaching, we can substitute that input. A hole in the graph can take more work. If we can rewrite the formula without changing its nearby outputs, the simpler expression may give us the height the graph approaches.
Rewriting helps at the far ends of a graph as well. The numerator and denominator of a fraction can both grow, while the fraction itself shrinks, levels off, or keeps growing. By comparing the two parts on the same scale, we can see which behavior to expect and calculate the limit.
By the end of this lesson, you should be able to:
- Recognize the forms \( \displaystyle \frac00 \) and \( \displaystyle \frac\infty\infty \) and explain why neither determines a limit by itself.
- Decide when continuity allows direct substitution and when to use factoring, a common denominator, or a conjugate to preserve nearby values and compute a limit.
- Compute limits of quotients involving polynomials and square roots at positive and negative infinity, and identify any horizontal asymptotes.
What is infinity divided by infinity?
Since any nonzero real number divided by itself gives , we might expect the same answer when the numerator and denominator both become indefinitely large. But does knowing that both quantities keep increasing tell us how they compare?
In Section \( 5.1 \), we followed outputs as the inputs approached infinity. Here we’ll watch the two parts of a fraction as well, so we can see how their growth affects the quotient.
To see what happens when we divide two quantities that approach infinity, consider the function
\[A(x)=\frac{x}{x^2+1}.\]
As we take larger inputs, we can follow the numerator and denominator separately and then compare them through their quotient. Starting with the supplied values at \( x=1 \), the table lets us track all three quantities, with the remaining quotients rounded to six decimal places.
| Input \( x \) | Numerator \( x \) | Denominator \( x^2+1 \) | Quotient \( A(x) \) |
|---|---|---|---|
| \( 1 \) | \( 1 \) | \( 2 \) | \( 0.500000 \) |
| \( 10 \) | |||
| \( 100 \) | |||
| \( 1000 \) |
As \( x \) increases, the numerator \( x \) approaches , and the denominator \( x^2+1 \) approaches . Although both parts increase, their sizes need not keep pace: the numerator appears to grow the denominator. The resulting quotients suggest that \( A(x) \) approaches as the input continues increasing.
The table gives us a few snapshots, all the way out to \( x=1000 \). The graph lets us see what happens between the smaller inputs. Move the input control to slide the point to the right and watch its height.
Input:
Although the numerator and denominator both keep increasing, the denominator grows much more quickly, making their quotient smaller. You can see that comparison in the curve as it flattens toward height \( 0 \), suggesting that the outputs approach zero as we travel farther right.
For the next comparison, we’ll keep the same denominator and use a numerator that grows faster.
\[B(x)=\frac{2x^2}{x^2+1}.\]
We’ll use the same inputs so the denominator column stays the same. That way we can see what changing the numerator does to the quotient. As before, the first row is supplied and the remaining quotients are rounded to six decimal places.
| Input \( x \) | Numerator \( 2x^2 \) | Denominator \( x^2+1 \) | Quotient \( B(x) \) |
|---|---|---|---|
| \( 1 \) | \( 2 \) | \( 2 \) | \( 1.000000 \) |
| \( 10 \) | |||
| \( 100 \) | |||
| \( 1000 \) |
As \( x \) increases, the numerator \( 2x^2 \) approaches , and the denominator \( x^2+1 \) approaches . Comparing their growth, the numerator now appears to grow the denominator. The resulting quotients suggest that \( B(x) \) approaches as the input continues increasing.
The graph gives us a closer view of the change suggested by the table. Move the input control to follow the curve toward larger inputs, watching how its height compares with the value you predicted.
Input:
Here the numerator and denominator grow at comparable rates, and the quotient settles toward \( 2 \). As you slide along the curve, its height rises toward that value even though both parts of the fraction continue increasing.
Our first two quotients approach different finite heights even though each compares two quantities approaching infinity. We can investigate a further possibility by replacing the numerator with a cubic expression:
\[C(x)=\frac{x^3}{x^2+1}.\]
The denominator column stays the same again. This time the table lets us see what a cubic numerator does to the quotient. The first row is given, and the remaining quotients are rounded to six decimal places.
| Input \( x \) | Numerator \( x^3 \) | Denominator \( x^2+1 \) | Quotient \( C(x) \) |
|---|---|---|---|
| \( 1 \) | \( 1 \) | \( 2 \) | \( 0.500000 \) |
| \( 10 \) | |||
| \( 100 \) | |||
| \( 1000 \) |
As \( x \) increases, the numerator \( x^3 \) approaches , and the denominator \( x^2+1 \) approaches . In this comparison, the numerator appears to grow the denominator. The resulting quotients suggest that \( C(x) \) as the input continues increasing.
We can follow this third comparison on the graph as well. Move the input control toward larger inputs and compare the changing height with the behavior of the first two curves.
Input:
This time the numerator grows much more quickly than the denominator, so the quotient keeps increasing as well. The curve continues rising as we travel right, with the outputs approaching positive infinity.
Returning to our opening question, we’ve now seen three different outcomes even though every numerator and denominator approaches infinity. Comparing how quickly the two parts grow helps us understand why their quotients behave differently:
For \( \displaystyle A(x)=\frac{x}{x^2+1} \), the numerator grows much more slowly than the denominator, and the quotient approaches \( 0 \).
For \( \displaystyle B(x)=\frac{2x^2}{x^2+1} \), the numerator and denominator grow at comparable rates, and the quotient approaches \( 2 \).
For \( \displaystyle C(x)=\frac{x^3}{x^2+1} \), the numerator grows much more quickly than the denominator, and the quotient approaches \( +\infty \).
Knowing only that both parts approach infinity .
“Infinity divided by infinity” tells us that both parts keep growing. We still need to know how their sizes compare. That’s why we call \( \displaystyle \frac\infty\infty \) an indeterminate form: the separate approaching behaviors of the two parts don’t determine their ratio.
The form zero divided by zero
Dividing a nonzero number by itself gives \( 1 \), so it’s tempting to say that \( \displaystyle \frac00=1 \): after all, we know that \( 0\cdot1=0 \). But \( 0\cdot2=0 \) as well, so the same reasoning would appear to give \( \displaystyle \frac00=2 \). Multiplying by zero gives zero no matter what number we start with, so there’s no unique quotient to assign to \( \displaystyle \frac00 \).
In calculus, we often encounter quotients whose numerator and denominator both approach zero. A limit lets us follow the quotient at nearby inputs, where the two parts may be shrinking at different rates. What matters is how their sizes compare as the input approaches its target.
Return to the function from Section \( 5.1 \):
\[f(x)=\frac{2x^2-3x-2}{x-2}.\]
At \( x=2 \), the numerator is \( 2(2)^2-3(2)-2=0 \) and the denominator is \( 2-2=0 \). Both parts are polynomials, so those values tell us what each part approaches. To find out what the quotient approaches, we’ll look at how the two parts are related near \( 2 \).
Cancellation and continuity
The quotient \( \displaystyle y=\frac{x}{x} \) shows how much we can learn from the nearby inputs. Since it equals \( 1 \) at every nonzero input and is undefined at \( x=0 \), its graph is a horizontal line with a hole at \( (0,1) \). The graph of \( y=1 \) has the same height at every other input and includes that point.
As \( x \) approaches zero, we look at inputs on either side with \( x\ne0 \). We can cancel the common factor \( x \) in the safety of a limit because it is nonzero at every input we’re using. Both graphs have height \( 1 \) at those inputs, so
\[\begin{aligned}\limit{x\to0}\frac{x}{x}&=\limit{x\to0}1\\&=1.\end{aligned}\]
Once we’ve found a simpler expression with the same nearby values, we can ask whether it’s continuous at the target. If it is, then the outputs approach its value at that point, and we can find that value by direct substitution.
The continuity facts from Section \( 5.1 \) tell us when we can take that last step. In the quotient we started with, factoring will leave us with a polynomial.
Cancellation has not filled the hole in the original function. It has given us a continuous expression with the same nearby values, whose value at the target tells us the limit. When an expression is already continuous at the target, we can substitute directly without first rewriting it.
Conjugates and common denominators
Factoring works once we can see a common factor. When the numerator contains a difference involving a square root, the identity \( (A-B)(A+B)=A^2-B^2 \) can help us find a common factor. We call the sum \( A+B \) the conjugate of the difference \( A-B \).
A common factor can also be hidden inside a difference of fractions. Combining the fractions over a common denominator lets us see the numerator as a single expression, which we can then factor.
Both techniques lead back to the same reasoning: preserve the nearby values, cancel a factor that is nonzero there, and use continuity to evaluate the resulting expression at the target.
The form infinity over infinity
In Explore, both parts of each fraction grew as we moved to the right, but the quotients went three different ways: one approached \( 0 \), another approached \( 2 \), and the third kept growing. This gives us another commonly-seen indeterminate form.
In Explore, all three quotients had denominator \( x^2+1 \). As \( x \) travels far from zero, \( x^2 \) grows while the \( 1 \) stays fixed. We can see how much each term contributes by dividing the numerator and denominator by \( x^2 \). This preserves the quotient for \( x\ne0 \) and rewrites the denominator as
\[\frac{x^2+1}{x^2}=1+\frac1{x^2}.\]
The \( x^2 \) term becomes \( 1 \), and the other term becomes \( \displaystyle \frac1{x^2} \), which approaches zero at either end. Since all three rewritten denominators approach \( 1 \), the difference between the quotients comes from what’s left in each numerator after we divide by \( x^2 \).
\[\begin{aligned}\frac{x}{x^2+1}&=\frac{\frac1x}{1+\frac1{x^2}},\\[6pt] \frac{2x^2}{x^2+1}&=\frac{2}{1+\frac1{x^2}},\\[6pt] \frac{x^3}{x^2+1}&=\frac{x}{1+\frac1{x^2}}.\end{aligned}\]
In \( A \), the numerator had a lower power than \( x^2 \). After division, that numerator becomes \( \displaystyle \frac1x \), so the quotient approaches \( 0 \) at both ends.
In \( B \), the numerator had the same power as \( x^2 \). After division, that numerator becomes \( 2 \), so the quotient approaches \( 2 \) at both ends.
In \( C \), the numerator had a higher power than \( x^2 \). After division, that numerator becomes \( x \). With the denominator approaching \( 1 \), the quotient follows \( x \) toward positive infinity on the right and negative infinity on the left.
The same idea works for other polynomial denominators because dividing by the highest power leaves the leading coefficient. Every lower-degree term ends up with a positive power of \( x \) in its denominator, so it approaches zero as we travel far in either direction. Once we know the denominator is heading toward a nonzero constant, we can look at what’s left in the numerator.
These calculations explain the degree pattern suggested by Explore. When the numerator has smaller degree, the rewritten numerator approaches zero; equal degrees leave the ratio of leading coefficients. When the numerator has larger degree, the highest power left in the numerator grows in magnitude. On the right that power is positive. On the left it is positive for an even exponent and negative for an odd exponent, as in \( C \). The signs of the leading coefficients matter as well. In \( C \) both coefficients are positive, so the quotient has the same sign as \( x \) at both ends.
In each case, the rewrite makes the relative growth visible and gives us a way to resolve the comparison represented by \( \displaystyle \frac\infty\infty \).
Compute the following limits and explain why direct substitution is valid.
\( \displaystyle \limit{x\to${a}}\left(${poly}\right)= \).
Solution
The polynomial is continuous at \( \displaystyle ${a} \). Substitution gives \( \displaystyle ${A} \), which is therefore the limit.
\( \displaystyle \limit{x\to${a}}\frac{${num}}{${den}}= \).
Solution
At \( \displaystyle x=${a} \), the numerator is \( \displaystyle ${N} \) and the denominator is \( \displaystyle ${D} \). The denominator is nonzero, so the rational function is continuous there. Direct substitution gives \( \displaystyle ${B} \).
Compute \( \displaystyle \limit{x\to${a}}\frac{${num}}{${den}} \).
The numerator factors as \( (${den})( \)\( ) \).
Solution
The difference-of-squares factorization is \( \displaystyle \left(${den}\right)\left(${other}\right) \).
Cancellation is valid when . After cancellation, the limit is .
Solution
At nearby inputs with \( \displaystyle x\ne${a} \), the factor \( \displaystyle ${den} \) is nonzero. The quotient then equals the polynomial \( \displaystyle ${other} \), which is continuous at \( \displaystyle ${a} \). Thus
\[\begin{aligned}\limit{x\to${a}}\frac{${num}}{${den}}&=\limit{x\to${a}}\left(${other}\right)\\&=${L}.\end{aligned}\]
Compute \( \displaystyle \limit{x\to${a}}\frac{${num}}{${den}}= \). Show the factorization you use and explain why the cancellation preserves the limit.
Solution
Factor the numerator:
\[${num}=\left(${den}\right)\left(${other}\right).\]
For \( \displaystyle x\ne${a} \), the common factor \( \displaystyle ${den} \) is nonzero. Canceling it preserves every nearby output used by the limit. The remaining polynomial is continuous, so
\[\begin{aligned}\limit{x\to${a}}\frac{${num}}{${den}}&=\limit{x\to${a}}\left(${other}\right)\\&=${L}.\end{aligned}\]
Compute \( \displaystyle \limit{x\to${a}}\frac{\frac{${k}}{${base}}-\left(${fixed_value}\right)}{${shift}}= \). Explain your algebra and the excluded inputs.
Solution
The common denominator \( ${scaled_x} \) lets us write the difference as one fraction. That brings the factor in the numerator into view. For \( x\ne${-h} \) and \( x\ne${a} \),
\[\begin{aligned}\frac{\frac{${k}}{${base}}-\left(${fixed_value}\right)}{${shift}}&=\frac{${combined_numerator}}{(${scaled_x})(${shift})}\\&=\frac{${-k}}{${scaled_x}}.\end{aligned}\]
The simplified denominator is nonzero at \( x=${a} \), because \( ${at_target} \) is nonzero. Substitution gives \( ${answer} \). The original quotient still excludes \( ${-h} \) and \( ${a} \); neither cancellation nor the limit restores those original values.
Compute \( \displaystyle \limit{x\to${a}}\frac{\sqrt{${inside}}-${r}}{${shift}}= \). Explain why your rewrite is valid near \( ${a} \).
Solution
For inputs close to \( ${a} \), the expression under the square root is positive. The conjugate \( \sqrt{${inside}}+${r} \) is positive there. We can multiply both parts by that same nonzero expression. The difference of squares gives us a factor of \( ${shift} \) in the numerator, so we can cancel it at nearby inputs and keep the coefficient \( ${k} \).
\[\begin{aligned}\frac{\sqrt{${inside}}-${r}}{${shift}}&=\frac{(${inside})-${r^2}}{(${shift})(\sqrt{${inside}}+${r})}\\&=\frac{${k}}{\sqrt{${inside}}+${r}}\qquad(x\ne${a}).\end{aligned}\]
The last expression is continuous at \( ${a} \). Its denominator becomes \( ${2*r} \), giving limit \( ${answer} \). The original quotient remains undefined at \( ${a} \).
Define \( \displaystyle f(x)=\frac{x^2-9}{x-3} \) for \( x\ne3 \), and assign \( f(3)=${c} \).
The left-hand limit at \( 3 \) is , the right-hand limit is , and the value at \( 3 \) is .
Solution
The quotient agrees with \( x+3 \) around \( 3 \), so its outputs approach \( \displaystyle 6 \) from both sides. The separately assigned value is \( \displaystyle f(3)=${c} \). Assigning that value leaves the nearby outputs unchanged.
Is the function continuous at \( 3 \)? Explain how to make it continuous.
Solution
It is not continuous because the common limit is \( \displaystyle 6 \), while the assigned value is \( \displaystyle ${c} \). Replace that one value by \( \displaystyle f(3)=6 \).
The red point is the original assigned value. Moving it to the green point makes the function continuous; the curve away from the assigned input stays the same.
A student gives this explanation:
“Let \( \displaystyle f(x)=\frac{x^2-9}{x-3} \). Canceling the \( x-3 \) factors gives \( x+3 \), so \( f(3)=6 \).”
Which part of the reasoning is valid, and where does it go wrong? The original value \( f(3) \) is , while \( \limit{x\to3}f(x)= \).
Solution
For \( \displaystyle x\ne3 \), the factor \( \displaystyle x-3 \) is nonzero, so cancellation shows that the original quotient and \( \displaystyle x+3 \) have the same nearby outputs.
At \( \displaystyle x=3 \), the original denominator is zero, so \( \displaystyle f(3) \) remains undefined. The polynomial \( \displaystyle x+3 \) is continuous at \( \displaystyle 3 \), so the common nearby behavior gives limit \( \displaystyle 6 \). Cancellation finds what happens around the point; it does not assign a value at the point.
For each limit, decide whether substitution works right away or whether an algebraic rewrite would help. Explain your first step and find the limit.
Compute \( \displaystyle \limit{x\to${a}}\frac{\sqrt{${inside}}-${r}}{${shift}}= \).
Solution
For inputs close to \( ${a} \), the expression under the square root is positive. The conjugate \( \sqrt{${inside}}+${r} \) is positive there. We can multiply both parts by that same nonzero expression. The difference of squares gives us a factor of \( ${shift} \) in the numerator, so we can cancel it at nearby inputs and keep the coefficient \( ${k} \).
\[\begin{aligned}\frac{\sqrt{${inside}}-${r}}{${shift}}&=\frac{(${inside})-${r^2}}{(${shift})(\sqrt{${inside}}+${r})}\\&=\frac{${k}}{\sqrt{${inside}}+${r}}\qquad(x\ne${a}).\end{aligned}\]
The last expression is continuous at \( ${a} \). Its denominator becomes \( ${2*r} \), giving limit \( ${answer} \). The original quotient remains undefined at \( ${a} \).
\( \displaystyle \limit{x\to${a}}\frac{${num}}{${den}}= \).
Solution
At \( \displaystyle x=${a} \), the numerator is \( \displaystyle ${N} \) and the denominator is \( \displaystyle ${D} \). The denominator is nonzero, so the rational function is continuous there. Direct substitution gives \( \displaystyle ${B} \).
Compute \( \displaystyle \limit{x\to${a}}\frac{${num}}{${den}}= \).
Solution
Factor the numerator:
\[${num}=\left(${den}\right)\left(${other}\right).\]
For \( \displaystyle x\ne${a} \), the common factor \( \displaystyle ${den} \) is nonzero. Canceling it preserves every nearby output used by the limit. The remaining polynomial is continuous, so
\[\begin{aligned}\limit{x\to${a}}\frac{${num}}{${den}}&=\limit{x\to${a}}\left(${other}\right)\\&=${L}.\end{aligned}\]
Compute \( \displaystyle \limit{x\to${a}}\frac{\frac{${k}}{${base}}-\left(${fixed_value}\right)}{${shift}}= \).
Solution
The common denominator \( ${scaled_x} \) lets us write the difference as one fraction. That brings the factor in the numerator into view. For \( x\ne${-h} \) and \( x\ne${a} \),
\[\begin{aligned}\frac{\frac{${k}}{${base}}-\left(${fixed_value}\right)}{${shift}}&=\frac{${combined_numerator}}{(${scaled_x})(${shift})}\\&=\frac{${-k}}{${scaled_x}}.\end{aligned}\]
The simplified denominator is nonzero at \( x=${a} \), because \( ${at_target} \) is nonzero. Substitution gives \( ${answer} \). The original quotient still excludes \( ${-h} \) and \( ${a} \); neither cancellation nor the limit restores those original values.
Construct two quotients whose numerators and denominators both approach zero as \( x\to0 \): one with limit \( -2 \), and one with limit \( -\infty \) from both sides. Then give two quotients of form \( \displaystyle \frac\infty\infty \) as \( x\to+\infty \) with different limits. Explain each construction.
Solution
For the first pair, \( \displaystyle \frac{-2x}{x} \) equals \( \displaystyle -2 \) away from zero, while \( \displaystyle \frac{-x^2}{x^4} \) equals \( \displaystyle -\frac1{x^2} \) and tends to \( \displaystyle -\infty \) from both sides. In both quotients the original parts approach zero.
For distant positive inputs, \( \displaystyle \frac{x}{x^2} \) approaches \( \displaystyle 0 \), while \( \displaystyle \frac{-3x^2}{x^2} \) stays at \( \displaystyle -3 \). All four parts approach positive or negative infinity, while their ratios approach different finite values. You can build other examples by changing how the two parts compare.
For \( \displaystyle f(x)=\frac{${numerator}}{${denominator}} \), the limit as \( x\to+\infty \) is and the limit as \( x\to-\infty \) is . Rewrite the quotient to justify both answers.
Solution
Divide both parts by \( \displaystyle x^2 \). With \( \displaystyle u=\frac1x \), the rewritten quotient is
\[\frac{${scaled_numerator}}{${scaled_denominator}}.\]
As \( \displaystyle x \) tends to either infinity, \( \displaystyle u \) approaches zero. The reciprocal terms therefore approach zero, leaving numerator approaching \( ${a} \) and denominator approaching the nonzero number \( ${b} \). Their quotient approaches \( ${answer} \), the common distant limit. You can see why the lower-degree terms stop affecting the quotient. After division, each has a power of \( x \) in its denominator.
Compare \( \displaystyle P(x)=\frac{${small_numerator}}{${denominator}} \) and \( \displaystyle Q(x)=\frac{${large_numerator}}{${denominator}} \).
The limit of \( P \) is as \( x\to+\infty \) and as \( x\to-\infty \). Explain why an unbounded numerator can give this result.
Solution
After division by \( \displaystyle x^2 \), the numerator is \( \displaystyle \frac{${a}}x \), which approaches zero, and the denominator is \( \displaystyle ${b}+\frac{${c}}{x^2} \), which approaches \( ${b} \). The original numerator grows in magnitude, but the denominator outgrows it.
As \( x\to+\infty \), \( Q \) tends to . As \( x\to-\infty \), it tends to . Justify the signs.
Solution
After division by \( x^2 \), the numerator is \( ${remaining} \) and the denominator approaches \( ${b} \). On the right the power of \( x \) is positive. On the left the exponent \( ${n-2} \) determines whether that power is positive or negative. Combining those signs with the signs of \( ${a} \) and \( ${b} \) gives \( ${right_prefix}\infty \) on the right and \( ${left_prefix}\infty \) on the left.
The blue curve has the lower-degree numerator. Follow the red curve beyond any poles to compare its two ends.
Consider \( \displaystyle f(x)=\frac{${linear}}{\sqrt{${inside}}} \). Factoring \( x^2 \) out from under the radical gives a factor of \( |x| \) outside it, because \( \sqrt{x^2}=|x| \).
The ratio \( \displaystyle \frac{x}{|x|} \) equals for positive inputs and for negative inputs.
Solution
When \( x>0 \), the absolute value is \( x \). When \( x<0 \), the absolute value is \( -x \). So the ratio has the same sign as \( x \) and magnitude \( 1 \).
The graph approaches height on the right and on the left. Explain how dividing by \( |x| \) gives both horizontal asymptotes.
Solution
For \( x\ne0 \), factoring gives \( \displaystyle \sqrt{${inside}}=|x|\sqrt{1+\frac{${c}}{x^2}} \). Dividing both parts by \( |x| \) gives
\[f(x)=\frac{\frac{${linear}}{|x|}}{\sqrt{1+\frac{${c}}{x^2}}}.\]
The new denominator approaches \( 1 \) at both ends. Any constant term in the numerator approaches zero after division by \( |x| \). The linear term contributes \( \displaystyle ${a}\cdot\frac{x}{|x|} \), giving horizontal asymptotes \( y=${a} \) on the right and \( y=${left_limit} \) on the left.
The curve approaches the green line on the right and the red line on the left.
For \( \displaystyle g(x)=\frac{\sqrt{${inside}}}{${linear}} \), the limit on the right is and the limit on the left is . Show how the square root affects the signs of the two limits.
Solution
The denominator vanishes at \( ${pole} \), but the end limits use inputs far from that point. For nonzero inputs where the quotient is defined, dividing both parts by \( |x| \) gives
\[g(x)=\frac{\sqrt{1+\frac{${c}}{x^2}}}{\frac{${linear}}{|x|}}.\]
The numerator approaches \( 1 \) in both directions. In the denominator, any constant term divided by \( |x| \) approaches zero, and the linear term contributes \( \displaystyle ${a}\cdot\frac{x}{|x|} \). The denominator approaches \( ${a} \) on the right and \( ${-a} \) on the left, giving horizontal asymptotes \( y=${right_limit} \) and \( y=${left_limit} \), respectively.
Consider \( \displaystyle h(x)=-1+\frac{x+2}{x^2+4} \). Find its horizontal asymptote in each direction, and the input where the graph crosses that line. Use this example to assess the claim that a graph can never cross an asymptote.
The distant limiting height is in both directions; the crossing input is .
Solution
The fraction has smaller numerator degree than denominator degree, so it approaches zero at either infinity. Hence the horizontal asymptote is \( \displaystyle y=-1 \). Its denominator is always positive. The added fraction is zero at \( \displaystyle -2 \), negative to the left and positive to the right, so the graph crosses that line there.
The graph can cross the line and still approach it as we travel far to the left or right.
The red crossing occurs at a finite input. The same graph approaches the dashed height at distant inputs. Its crossing does not change either distant limit.