Clear Notion Academy

Limits, Continuity and Differentiability (Beyond Advanced) Practice: Let D(x)=1 if x is rational and D(x)=0 if x is irrational, and let f(x)=x ,D(x) . Which…

Question

Let D(x)=1D(x)=1 if xx is rational and D(x)=0D(x)=0 if xx is irrational, and let f(x)=x D(x)f(x)=x\,D(x). Which of the following statements are correct?

Options

  1. lim⁡x→0f(x)x\lim_{x\to0}\dfrac{f(x)}{x} does not exist
  2. lim⁡x→0f(x)∣x∣=0\lim_{x\to0}\dfrac{f(x)}{\sqrt{|x|}}=0
  3. lim⁡x→1f(x)\lim_{x\to1}f(x) exists
  4. lim⁡x→0(f(x))2x=0\lim_{x\to0}\dfrac{\big(f(x)\big)^{2}}{x}=0

Answer

Correct options: A, B, D

Hint

Bound ∣f(x)∣|f(x)| by something simple, and for each ratio ask whether a rational-only and an irrational-only sequence give the same limit.

Solution

f(x)x=D(x)\dfrac{f(x)}{x}=D(x) for x≠0x\ne0. Along rational x→0x\to0 it is 11, along irrational x→0x\to0 it is 00: no limit. The first statement is true. 0≤∣f(x)∣x∣∣≤∣x∣→00\le\left|\dfrac{f(x)}{\sqrt{|x|}}\right|\le\sqrt{|x|}\to0, so the limit is 00 by the squeeze theorem: true. Near x=1x=1, rational points give f(x)→1f(x)\to1 while irrational points give f(x)=0f(x)=0. Two sequences give two different limits, so the limit does not exist: false. f(x)2x=x D(x)2\dfrac{f(x)^2}{x}=x\,D(x)^2 and ∣x D(x)2∣≤∣x∣→0|x\,D(x)^2|\le|x|\to0: true. The statement about f/xf/x fails only because dividing by a single power of xx removes the vanishing factor that controls the oscillation.

More questions from Limits, Continuity and Differentiability (Beyond Advanced) Practice

Practise the full set: Limits, Continuity and Differentiability — Beyond Advanced