Skip to content
NCERT Exemplar · Q6

Q.Find whether the function is continuous or discontinuous at the indicated point: f(x)={∣x∣cos⁡1x,x≠00,x=0f(x) = \begin{cases} |x| \cos \dfrac{1}{x}, & x \ne 0 \\ 0, & x = 0 \end{cases} at x=0x = 0.

Goa GbshseShort· 3mImportance★★★★★
66% · 186/281 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The function is continuous at x=0x=0 because the limit of ∣x∣cos⁡(1/x)|x|\cos(1/x) as x→0x\to 0 equals 00, which matches the function value f(0)=0f(0)=0. The key idea: the product of a term that goes to zero (∣x∣|x|) and a bounded term (cos⁡(1/x)\cos(1/x)) always tends to zero.

The Concept: Continuity at a Point

For a function to be continuous at x=ax = a, three things must hold:

  1. f(a)f(a) is defined.
  2. lim⁡x→af(x)\lim_{x \to a} f(x) exists.
  3. lim⁡x→af(x)=f(a)\lim_{x \to a} f(x) = f(a).

Here, f(0)=0f(0) = 0 is given, so condition 1 is satisfied. The real question is whether the limit exists and equals zero. The function ∣x∣cos⁡(1/x)|x| \cos(1/x) is a classic example of the Squeeze Theorem in action — the cosine part oscillates wildly near zero, but it's trapped between −1-1 and 11, while ∣x∣|x| calmly marches to zero.

Watch out

A common mistake is to think cos⁡(1/x)\cos(1/x) has no limit as x→0x \to 0 (which is true), and then conclude the whole function has no limit. But that's wrong — the ∣x∣|x| factor "squeezes" the product to zero regardless of the oscillations.

Step-by-Step Solution

  1. Set up the limit we need to check

    We want lim⁡x→0f(x)=lim⁡x→0∣x∣cos⁡(1x)\displaystyle \lim_{x \to 0} f(x) = \lim_{x \to 0} |x| \cos\left(\frac{1}{x}\right).

    The function is defined piecewise, but for x≠0x \neq 0, it's just ∣x∣cos⁡(1/x)|x| \cos(1/x).

  2. Bound the oscillating part

    For any real tt, we know −1≤cos⁡t≤1-1 \leq \cos t \leq 1. So for any x≠0x \neq 0:

−1≤cos⁡(1x)≤1-1 \leq \cos\left(\frac{1}{x}\right) \leq 1

  1. Multiply by ∣x∣|x| (which is always non-negative) Multiplying the inequality by ∣x∣|x| preserves the direction: −∣x∣≤∣x∣cos⁡(1x)≤∣x∣-|x| \leq |x| \cos\left(\frac{1}{x}\right) \leq |x| …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.