← Back to learning objective

Limit at positive infinity of a piecewise rational function

Consider the piecewise function g(x)={x2−1x−1x<53x+2x+1x≥5g(x) = \begin{cases} \dfrac{x^2-1}{x-1} & x < 5 \\ \dfrac{3x+2}{x+1} & x \ge 5 \end{cases}

Find lim⁡x→+∞g(x).\lim_{x \to +\infty} g(x). State the value of the limit, and identify the corresponding horizontal asymptote of gg.

Hint

As x→+∞x \to +\infty, you are always in the region where x≥5x \ge 5, so only the second piece, 3x+2x+1\frac{3x+2}{x+1}, matters. Compare the degrees of the numerator and denominator, or divide every term by the highest power of xx in the denominator.

Step-by-step solution

Since we only care about x→+∞x \to +\infty, and the definition g(x)=3x+2x+1g(x) = \frac{3x+2}{x+1} applies for all x≥5x \ge 5, the piece for x<5x<5 is irrelevant here. So we need lim⁡x→+∞3x+2x+1\lim_{x\to+\infty} \frac{3x+2}{x+1}.

Divide numerator and denominator by xx (the highest power of xx appearing in the denominator): 3x+2x+1=3+2/x1+1/x.\frac{3x+2}{x+1} = \frac{3 + 2/x}{1 + 1/x}. As x→+∞x \to +\infty, the terms 2/x2/x and 1/x1/x both go to 0, leaving 3+01+0=3\frac{3+0}{1+0} = 3.

Therefore lim⁡x→+∞g(x)=3\lim_{x\to+\infty} g(x) = 3, and since the numerator and denominator have equal degree, this matches the shortcut of taking the ratio of leading coefficients (3/13/1). This means y=3y = 3 is a horizontal asymptote of gg.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap