Skip to main content

Functions MCQ: The function f(x) = 1, x ∈ Q 0, x ∉ Q is

JEE · Mathematics · Functions

1 Medium +4 | -1 Understanding
The function f(x)={1,      x∈Q0,      x∉Qf\left( x \right) = \left\{ {\begin{array}{cccccccccccccccccccc} {1,\;\;\;x \in Q}\\ {0,\;\;\;x \notin Q} \end{array}} \right. is
View answer and explanation
Correct option: D
Periodic with indeterminate period
Option D (Periodic with indeterminate period) is correct because the function repeats for every rational number, but there's no smallest positive rational number.
Solution approach
  1. Correct Answer + Core Reason: Periodic with indeterminate period. The function is periodic with every rational number as a period, but there is no least positive rational number.

    Step-by-Step Solution:

    Step 1: Understand the function: f(x)={1,x∈Q0,x∉Qf(x) = \begin{cases} 1, & x \in \mathbb{Q} \\ 0, & x \notin \mathbb{Q} \end{cases}

    Step 2: Check for periodicity: A function f(x)f(x) is periodic if there exists a T>0T > 0 such that f(x+T)=f(x)f(x + T) = f(x) for all xx.

    Step 3: Let TT be a rational number. Then, if xx is rational, x+Tx + T is also rational, so f(x+T)=1=f(x)f(x + T) = 1 = f(x). If xx is irrational, x+Tx + T is also irrational, so f(x+T)=0=f(x)f(x + T) = 0 = f(x). Therefore, f(x+T)=f(x)f(x + T) = f(x) for all rational TT.

    Step 4: Since any rational number TT is a period, and there is no smallest positive rational number, the function is periodic with an indeterminate period.

    Why other options are wrong:
    - Option A (Periodic with period 1): While 1 is a period, it's not the only one, and there's no smallest positive period.
    - Option B (Periodic with period 2): While 2 is a period, it's not the only one, and there's no smallest positive period.
    - Option C (Not periodic): The function is periodic, as shown in Step 3.

    Key Concepts:
    - Periodic function
    - Rational numbers
    - Irrational numbers

    Memory Aids:
    - Remember that the sum of two rational numbers is rational, and the sum of a rational and an irrational number is irrational.

    Quick Tips:
    - Consider the properties of rational and irrational numbers when dealing with functions defined differently for rational and irrational inputs.

More Questions from Functions

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.