Tutorials › Calculus I › An Oscillatory Derivative Ratio with a Convergent Quotient

Indeterminate Limits and L'Hôpital's Rule · Tutorial 743 of 1495

An Oscillatory Derivative Ratio with a Convergent Quotient

Use a squeeze argument to find the quotient’s limit, then derivative calculations and sequences to prove that the derivative ratio oscillates without a limit.

Advanced 9 min read

What You'll Learn

  • Rewrite the quotient near zero and bound it using the range of sine.
  • Compute the derivatives of the numerator and denominator on a punctured interval.
  • Construct sequences approaching zero that give different derivative-ratio values.
  • Distinguish a limit of a quotient from a limit of its derivative ratio.
  • Identify why a missing derivative-ratio limit does not contradict L'Hôpital's Rule.

A Quotient Can Converge While Its Derivative Ratio Does Not

L'Hôpital's Rule is a powerful way to evaluate certain limits of quotients. It relates the limit of a quotient to the limit of the ratio of the derivatives of its numerator and denominator. That relationship is useful, but it is not an equivalence: the original quotient can have a limit even when the derivative ratio does not.

The functions in this example make that distinction visible. Their quotient approaches zero as \(x\) approaches zero, while the derivative ratio keeps taking values near both \(1\) and \(-1\). The quotient limit follows from a direct bound, and the failure of the derivative ratio to converge follows by examining two sequences.

The Functions and Their Quotient

For \(x\ne 0\), let

$$ f(x)=x^2\sin(1/x), \qquad g(x)=x. $$

Both functions approach zero as \(x\to 0\), so their quotient initially has the indeterminate form \(0/0\). For every \(x\ne 0\), the quotient simplifies to

$$ \frac{f(x)}{g(x)} = \frac{x^2\sin(1/x)}{x} = x\sin(1/x). $$

The sine factor oscillates increasingly rapidly near zero. But it is always between \(-1\) and \(1\). That bound controls the whole product: the factor \(x\) shrinks to zero, regardless of how the sine factor varies.

Definition: The derivative ratio for \(f\) and \(g\) is \(f'(x)/g'(x)\), where the derivatives exist and \(g'(x)\ne 0\). It is distinct from the original quotient \(f(x)/g(x)\).

Worked Example: Evaluate the Original Quotient Limit

Worked Example: Evaluate the Original Quotient Limit

Find \(\lim_{x\to 0} f(x)/g(x)\) for the functions above.

For \(x\ne 0\), the quotient is \(x\sin(1/x)\). Since \(-1\le \sin(1/x)\le 1\), multiplication by \(x\) requires care about the sign of \(x\). An absolute-value bound avoids that issue:

$$ \left|\frac{f(x)}{g(x)}\right| = |x|\,|\sin(1/x)| \le |x|\cdot 1 = |x|. $$

The lower and upper bounds can therefore be written as

$$ -|x| \le x\sin(1/x) \le |x|. $$

As \(x\to 0\), both \(-|x|\) and \(|x|\) tend to zero. The squeeze theorem gives

$$ \lim_{x\to 0}\frac{f(x)}{g(x)} = \lim_{x\to 0}x\sin(1/x) = 0. $$

Check the bound: the absolute value of the quotient is at most \(|x|\), which can be made arbitrarily small by taking \(x\) sufficiently close to zero. Thus the value zero is consistent with, and forced by, the estimate.

Compute the Derivative Ratio

For \(x\ne 0\), differentiate \(f(x)=x^2\sin(1/x)\) using the product rule and chain rule. The derivative of \(x^2\) is \(2x\), and the derivative of \(\sin(1/x)\) is \(\cos(1/x)(-1/x^2)\). Hence

$$ \begin{aligned} f'(x) &=2x\sin(1/x)+x^2\cos(1/x)\left(-\frac{1}{x^2}\right)\\ &=2x\sin(1/x)-\cos(1/x). \end{aligned} $$

Since \(g(x)=x\), its derivative is \(g'(x)=1\). Therefore the derivative ratio, for \(x\ne 0\), is

$$ \frac{f'(x)}{g'(x)} = 2x\sin(1/x)-\cos(1/x). $$

The first term, \(2x\sin(1/x)\), tends to zero: its absolute value is at most \(2|x|\). The cosine term, however, does not approach a single value. We can establish the resulting failure of the derivative ratio to converge precisely by choosing sequences.

Worked Example: Find Two Sequences with Different Derivative-Ratio Values

For positive integers \(n\), define

$$ a_n=\frac{1}{2\pi n}, \qquad b_n=\frac{1}{(2n+1)\pi}. $$

Both sequences consist of positive numbers and approach zero as \(n\to\infty\). At \(x=a_n\), the reciprocal is \(1/a_n=2\pi n\). Thus \(\sin(1/a_n)=0\), \(\cos(1/a_n)=1\), and

$$ \frac{f'(a_n)}{g'(a_n)} = 2a_n\cdot 0-1 = -1. $$

At \(x=b_n\), the reciprocal is \(1/b_n=(2n+1)\pi\). Therefore \(\sin(1/b_n)=0\), \(\cos(1/b_n)=-1\), and

$$ \frac{f'(b_n)}{g'(b_n)} = 2b_n\cdot 0-(-1) = 1. $$

The derivative ratio equals \(-1\) along a sequence approaching zero and \(1\) along another sequence approaching zero. If it had a limit at zero, its values along every sequence approaching zero would tend to that same limit. These two constant sequences of values contradict that requirement. Thus the derivative ratio has no limit.

Check: \(a_n\to0\) and \(b_n\to0\), while the corresponding ratios remain exactly \(-1\) and \(1\). The difference is not a small approximation error; the two subsequential values are distinct.

Why the Two Conclusions Are Compatible

The original quotient and the derivative ratio are different functions. In this case, the original quotient is \(x\sin(1/x)\), whose absolute value is bounded by \(|x|\). The derivative ratio is \(2x\sin(1/x)-\cos(1/x)\), which includes an unshrinking oscillatory term.

The distinction is captured by the direction of L'Hôpital's Rule. In its \(0/0\) form, a standard version says that if \(f\) and \(g\) are differentiable on a punctured interval around \(a\), \(f(x)\to 0\) and \(g(x)\to 0\) as \(x\to a\), \(g'(x)\ne 0\) there, and \(f'(x)/g'(x)\) tends to a finite limit \(L\), then \(f(x)/g(x)\) tends to \(L\), provided the quotient is defined on that punctured interval. The rule gives a conclusion when its derivative-ratio limit exists and its hypotheses hold.

Here, the \(0/0\) conditions on \(f\) and \(g\) hold, both functions are differentiable for \(x\ne 0\), and \(g'(x)=1\ne 0\). But the derivative ratio has no limit. So this version of L'Hôpital's Rule does not produce a conclusion about the quotient. It does not follow that the quotient has no limit; the direct bound already proves that it does.

Theorem takeaway: A limit of the derivative ratio can, under the hypotheses of L'Hôpital's Rule, establish a limit of the original quotient. The derivative-ratio limit is not a necessary condition for the original quotient to converge.

Worked Example: Check the Quotient Limit Along the Same Sequences

Worked Example: Check the Quotient Limit Along the Same Sequences

Use \(a_n=1/(2\pi n)\) and \(b_n=1/((2n+1)\pi)\) to evaluate the original quotient along each sequence.

Since \(\sin(1/a_n)=\sin(2\pi n)=0\),

$$ \frac{f(a_n)}{g(a_n)} = a_n\sin(1/a_n) = \frac{1}{2\pi n}\cdot 0 = 0. $$

Similarly, \(\sin(1/b_n)=\sin((2n+1)\pi)=0\), so

$$ \frac{f(b_n)}{g(b_n)} = b_n\sin(1/b_n) = \frac{1}{(2n+1)\pi}\cdot 0 = 0. $$

These particular sequences do not by themselves prove that the quotient tends to zero: checking selected sequences is not a substitute for controlling all \(x\) near zero. The earlier bound does provide that control. Here, the calculation confirms that the two sequences producing different derivative-ratio values do not produce different quotient limits.

Check: both sequences give quotient value zero for every positive integer \(n\), in agreement with the limit established by the squeeze theorem.

A Common Mistake: Reversing the Rule

A tempting but invalid argument is: “The derivative ratio has no limit, so the original quotient has no limit.” This reverses the implication supplied by L'Hôpital's Rule. A rule that can prove a quotient limit when the derivative ratio converges does not say that the quotient must fail to converge when the derivative ratio does not.

For these functions, the incorrect inference would stop after observing the values \(-1\) and \(1\) along the two sequences and conclude that \(f(x)/g(x)\) has no limit. The correction is to examine \(f(x)/g(x)\) itself:

$$ \left|\frac{f(x)}{g(x)}\right| = |x|\,|\sin(1/x)| \le |x| \longrightarrow 0. $$

That bound proves the quotient limit directly. The derivative ratio is useful information about the derivatives, but its oscillation does not undo the bound on the original quotient.

Why This Example Matters

This example clarifies what to do when applying L'Hôpital's Rule. First verify that the original quotient has an appropriate indeterminate form and that the differentiability and denominator-derivative conditions hold. Then evaluate the derivative ratio only if its limit can help. If that ratio does not have a limit, the method has not resolved the original limit; another argument may still succeed.

In particular, a direct inequality can be more informative than differentiating. The factor \(x\) in \(x\sin(1/x)\) forces the product toward zero because the sine factor remains bounded. In the derivative, differentiating the rapidly varying input \(1/x\) introduces a term that retains the oscillation. The two behaviors are compatible because the derivative ratio is not the original quotient.

Check Your Understanding

Answer each question using the functions \(f(x)=x^2\sin(1/x)\) and \(g(x)=x\) near zero.

  1. What inequality bounds the absolute value of \(f(x)/g(x)\), and how does it establish the quotient limit?
  2. Compute \(f'(x)\) for \(x\ne0\), showing where the chain rule contributes a factor of \(-1/x^2\).
  3. What values does \(f'(x)/g'(x)\) take along \(a_n=1/(2\pi n)\) and \(b_n=1/((2n+1)\pi)\)?
  4. Why do those two sequences prove that the derivative ratio has no limit?
  5. Why does the failure of the derivative ratio to converge not imply that the original quotient has no limit?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): 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