Tutorials › AP Calculus › Differences of Divergent Expressions

Optimization and L'Hôpital's Rule · Tutorial 415 of 999

Differences of Divergent Expressions

Transform an indeterminate difference into an eligible quotient, then use algebra and L'Hôpital's Rule carefully to evaluate the limit.

Advanced 9 min read

What You'll Learn

  • Recognize when a difference of two divergent expressions has the indeterminate form infinity minus infinity.
  • Rationalize radical differences and combine terms using a common denominator.
  • Use logarithm properties to reveal a quotient suitable for L'Hôpital's Rule.
  • Check the quotient's form and the differentiability conditions before differentiating.
  • Identify why differentiating the two terms of a difference directly is invalid.

Why a Difference of Divergent Expressions Needs Work

Suppose two functions both grow without bound as \(x\) increases. Their difference might also grow without bound, approach a finite number, or approach negative infinity. Knowing only that each function tends to infinity does not determine what happens to their difference.

For example, \(x-x\) is always zero, whereas \(2x-x=x\) grows without bound. These expressions share the same broad pattern: each term tends to infinity. The difference is therefore called an indeterminate form of type \(\infty-\infty\): the form alone does not tell us the limit.

Definition: A limit has the form \(\infty-\infty\) when the two terms being subtracted each tend to positive infinity (or, in the corresponding case, both tend to negative infinity). This description does not determine the limit of their difference.

L'Hôpital's Rule is a rule for certain quotients, not for differences. To use it here, first rewrite the difference as a quotient and then check that the quotient satisfies the rule's conditions. The algebraic rewrite is often the main work.

Two Useful Ways to Rewrite a Difference

One common method is to combine terms over a common denominator. Another is to multiply a difference of radicals by its conjugate. Both methods preserve the value of the expression wherever the quantities used in the rewrite are defined and the denominator is nonzero.

For a difference of squares, the identity

$$ a-b=\frac{a^2-b^2}{a+b} $$

holds whenever \(a+b\ne 0\). Indeed, the numerator factors as \((a-b)(a+b)\), so division by \(a+b\) gives \(a-b\). For radicals, this identity is the familiar conjugate method. It can turn a difference of two large quantities into a quotient whose numerator is much simpler.

After the rewrite, the quotient must still be checked. L'Hôpital's Rule applies to a quotient in the \(0/0\) or \(\infty/\infty\) form when the numerator and denominator are differentiable near the limit point, the denominator's derivative is nonzero there, and the limit of the quotient of derivatives exists (including as an infinite limit). The hypotheses must hold on a relevant interval approaching the limit point. The rule then says the original quotient has the same limit as the derivative quotient.

Key procedure: Rewrite the difference exactly, verify that the new expression is a quotient of type \(0/0\) or \(\infty/\infty\), check the rule's differentiability and denominator conditions, and only then apply L'Hôpital's Rule.

Worked Example: A Radical Difference with a Finite Limit

Worked Example: A Radical Difference with a Finite Limit

Evaluate \(\displaystyle \lim_{x\to\infty}\bigl(\sqrt{x^2+3x}-x\bigr)\).

As \(x\to\infty\), both \(\sqrt{x^2+3x}\) and \(x\) tend to infinity, so the difference has the form \(\infty-\infty\). Multiply by the conjugate and simplify:

$$ \begin{aligned} \sqrt{x^2+3x}-x &=\frac{(\sqrt{x^2+3x}-x)(\sqrt{x^2+3x}+x)} {\sqrt{x^2+3x}+x}\\ &=\frac{x^2+3x-x^2}{\sqrt{x^2+3x}+x}\\ &=\frac{3x}{\sqrt{x^2+3x}+x}. \end{aligned} $$

For sufficiently large positive \(x\), the denominator is positive. The transformed quotient is of type \(\infty/\infty\). Its numerator and denominator are differentiable for \(x>0\), and the derivative of the denominator is positive there, so L'Hôpital's Rule applies:

$$ \begin{aligned} \lim_{x\to\infty}\frac{3x}{\sqrt{x^2+3x}+x} &=\lim_{x\to\infty} \frac{3}{\dfrac{2x+3}{2\sqrt{x^2+3x}}+1}\\ &=\frac{3}{1+1}\\ &=\frac{3}{2}. \end{aligned} $$

To check, divide the simplified quotient's numerator and denominator by \(x\), which is positive as \(x\to\infty\):

$$ \frac{3x}{\sqrt{x^2+3x}+x} =\frac{3}{\sqrt{1+3/x}+1} \longrightarrow \frac{3}{1+1} =\frac{3}{2}. $$

The check agrees with the result. The large terms in the original difference nearly cancel, leaving the finite value \(\frac{3}{2}\).

Worked Example: Combine Terms Before Applying the Rule

Worked Example: Combine Terms Before Applying the Rule

Evaluate \(\displaystyle \lim_{x\to\infty}\left(x-\frac{x^2}{x+1}\right)\).

Here, \(x\to\infty\) and \(\frac{x^2}{x+1}\to\infty\), so the difference is of type \(\infty-\infty\). Put the terms over a common denominator:

$$ \begin{aligned} x-\frac{x^2}{x+1} &=\frac{x(x+1)}{x+1}-\frac{x^2}{x+1}\\ &=\frac{x^2+x-x^2}{x+1}\\ &=\frac{x}{x+1}. \end{aligned} $$

The transformed quotient is of type \(\infty/\infty\). For \(x>0\), its denominator is nonzero, and both functions are differentiable. The derivative of the denominator is \(1\), so L'Hôpital's Rule applies:

$$ \lim_{x\to\infty}\frac{x}{x+1} = \lim_{x\to\infty}\frac{1}{1} =1. $$

Check the result by another exact simplification:

$$ \frac{x}{x+1}=1-\frac{1}{x+1}\longrightarrow 1-0=1. $$

The subtraction of two divergent quantities leaves a finite limit. Combining the terms exposed the cancellation before the limit was evaluated.

Worked Example: A Logarithmic Difference

Worked Example: A Logarithmic Difference

Evaluate \(\displaystyle \lim_{x\to\infty}\bigl(\ln(x^2+x)-2\ln x\bigr)\).

For positive \(x\), both logarithmic terms tend to infinity. Use the logarithm laws to combine the difference:

$$ \begin{aligned} \ln(x^2+x)-2\ln x &=\ln\left(\frac{x^2+x}{x^2}\right)\\ &=\ln\left(1+\frac{1}{x}\right). \end{aligned} $$

This expression tends to zero. To illustrate an application of L'Hôpital's Rule, express it as a product containing a quotient of type \(0/0\):

$$ \ln\left(1+\frac{1}{x}\right) = \left(\frac{\ln(1+1/x)}{1/x}\right)\left(\frac{1}{x}\right). $$

In the quotient, the numerator and denominator both tend to zero. For \(x>0\), both are differentiable, and the derivative of the denominator is nonzero. Differentiating the numerator and denominator gives:

$$ \begin{aligned} \frac{d}{dx}\ln\left(1+\frac{1}{x}\right) &=\frac{-1/x^2}{1+1/x} =-\frac{1}{x(x+1)},\\ \frac{d}{dx}\left(\frac{1}{x}\right) &=-\frac{1}{x^2}. \end{aligned} $$

Therefore, L'Hôpital's Rule gives:

$$ \lim_{x\to\infty}\frac{\ln(1+1/x)}{1/x} = \lim_{x\to\infty} \frac{-1/[x(x+1)]}{-1/x^2} = \lim_{x\to\infty}\frac{x}{x+1} =1. $$

The remaining factor tends to zero, so the product tends to \(1\cdot 0=0\). Thus the original difference has limit \(0\). As a check, its simplified form \(\ln(1+1/x)\) tends to \(\ln(1)=0\), since the natural logarithm is continuous at \(1\).

Why the Rewriting Works

An algebraic rewrite does not change the value of an expression on the domain where the rewrite is valid. In the radical example, multiplying by the conjugate introduced a factor equal to \(1\), provided the conjugate was nonzero. The difference of squares then reduced the numerator to a simpler expression. In the rational example, putting both terms over one denominator combined their numerators exactly.

These rewrites matter because L'Hôpital's Rule compares the rates of change of a numerator and denominator. A difference by itself is not a quotient in either of the forms covered by the rule. Once a valid quotient is obtained, the rule can apply if its hypotheses hold. The transformation does not guarantee that it will: the resulting quotient may not be \(0/0\) or \(\infty/\infty\), or another required condition may fail.

1
Identify the two limits.
Check that each term really diverges in the direction suggested by the expression.
2
Choose an exact rewrite.
Try a common denominator, a conjugate, or a logarithm identity when appropriate.
3
Check the new form.
Determine whether the quotient is \(0/0\) or \(\infty/\infty\), and verify the differentiability and denominator conditions.
4
Apply and verify.
Differentiate only after the checks, evaluate the resulting limit, and compare with a direct check when one is available.

Common Pitfall: Differentiating the Difference Directly

A frequent error is to treat L'Hôpital's Rule as permission to differentiate the terms in any indeterminate expression. For the first example, this incorrect calculation would be:

$$ \lim_{x\to\infty} \left(\sqrt{x^2+3x}-x\right) \ \overset{\text{wrong}}{=}\ \lim_{x\to\infty} \left(\frac{2x+3}{2\sqrt{x^2+3x}}-1\right) =1-1=0. $$

The last limit is indeed the limit of the difference of the derivatives, but L'Hôpital's Rule does not say it equals the limit of the original difference. The original expression is not a quotient of type \(0/0\) or \(\infty/\infty\). The conjugate rewrite provides an eligible quotient and gives the correct limit, \(\frac{3}{2}\).

Takeaway: The label \(\infty-\infty\) signals that further work is needed; it is not permission to differentiate. First produce an equivalent quotient, then verify L'Hôpital's Rule's conditions.

Check Your Understanding

For each question, identify the indeterminate difference, choose a valid rewrite, and check whether L'Hôpital's Rule is applicable before using it.

  1. What information does the form \(\infty-\infty\) provide, and what does it leave undetermined?
  2. Why is multiplying \(\sqrt{x^2+5x}-x\) by its conjugate a useful first step as \(x\to\infty\)?
  3. Rewrite \(x-\frac{x^2}{x+2}\) as one quotient. What form does that quotient have as \(x\to\infty\)?
  4. What key condition makes the direct differentiation of \(\sqrt{x^2+3x}-x\) an invalid use of L'Hôpital's Rule?
  5. After rewriting a difference as a quotient, name two conditions you should check before applying L'Hôpital's Rule.

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon