Skip to main content

Continuity MCQ: If f(x)= 1 if x is rational -1 if x is irrational…

JEE · Mathematics · Continuity

1 Medium +4 | -1 Understanding
If f(x)={1 if x is rational −1 if x is irrational f(x)=\left\{\begin{array}{c}1 \text { if } x \text { is rational } \\ -1 \text { if } x \text { is irrational }\end{array}\right. is continuous on
View answer and explanation
Correct option: B
ϕ\phi
Option B (ϕ\phi) is correct because the function is discontinuous everywhere, as the limit does not exist at any point.
Solution approach
  1. Correct Answer + Core Reason: ϕ\phi. The function is discontinuous everywhere.

    Step-by-Step Solution:

    Step 1: Consider a rational number 'a'. Then f(a) = 1.

    Step 2: The limit as x approaches 'a' through rational numbers is 1, but the limit as x approaches 'a' through irrational numbers is -1. Therefore, the limit does not exist at any rational number.

    Step 3: Consider an irrational number 'a'. Then f(a) = -1.

    Step 4: The limit as x approaches 'a' through irrational numbers is -1, but the limit as x approaches 'a' through rational numbers is 1. Therefore, the limit does not exist at any irrational number.

    Step 5: Since the limit does not exist at any point, the function is discontinuous everywhere. The set of points of continuity is the empty set, ϕ\phi.

    Why other options are wrong:
    - Option A: The function is not continuous on R.
    - Option C: The function is not continuous on (-1, 1).
    - Option D: The function is not continuous on (-1, 0).

    Key Concepts:
    - Continuity of a function
    - Limits
    - Rational and irrational numbers

    Memory Aids:
    - A function is continuous at a point if the limit exists at that point and is equal to the function's value at that point.

    Quick Tips:
    - To check for continuity, examine the limits from both sides of a point.

More Questions from Continuity

Practice all chapter MCQs →
Type at least 2 characters or jump directly:

Save your learning progress

Sign in with a free account to save your practice answers and quiz results, then return to them when you revise.

Scan to install TopAll Pro

Point your Android or iPhone camera at this code to open TopAll Pro. Try 2 chapters and 25 AI credits free first.

Question image

Use + and − to zoom, arrow keys or drag to pan, Escape to close.