Skip to main content

Functions MCQ: If f(x) is defined on [0,1] by the rule f(x)= x, &…

JEE · Mathematics · Functions

1 Medium +4 | -1 Analyzing
If f(x)f(x) is defined on [0,1][0,1] by the rule f(x)={x, if x∈Q1−x, if x∉Qf(x)=\left\{\begin{array}{cc}x, & \text { if } x \in Q \\ 1-x, & \text { if } x \notin Q\end{array}\right., then for x∈[0,1]x \in[0,1]
View answer and explanation
Correct option: B
(f∘f)(x)=x(f \circ f)(x)=x
Option B ((f∘f)(x)=x(f \circ f)(x)=x) is correct because applying the function composition twice results in the original input x, regardless of whether x is rational or irrational.
Solution approach
  1. Correct Answer + Core Reason: (f∘f)(x)=x(f \circ f)(x)=x. The composition of the function with itself returns the original input.

    Step-by-Step Solution:

    Step 1: Define the function f(x)f(x) and the composition (f∘f)(x)=f(f(x))(f \circ f)(x) = f(f(x)).

    Step 2: Consider the case when x∈Qx \in Q (x is rational). Then f(x)=xf(x) = x, and (f∘f)(x)=f(x)=x(f \circ f)(x) = f(x) = x.

    Step 3: Consider the case when x∉Qx \notin Q (x is irrational). Then f(x)=1−xf(x) = 1-x. Since xx is irrational, 1−x1-x is also irrational. Thus, (f∘f)(x)=f(1−x)=1−(1−x)=x(f \circ f)(x) = f(1-x) = 1 - (1-x) = x.

    Step 4: In both cases, (f∘f)(x)=x(f \circ f)(x) = x.

    Why other options are wrong:
    - Option A: (f∘f)(x)=1+x(f \circ f)(x)=1+x: This is incorrect because the composition always results in xx, not 1+x1+x.
    - Option C: (f∘f)(x)=1−x(f \circ f)(x)=1-x: This is incorrect because the composition always results in xx, not 1−x1-x.
    - Option D: None of these: This is incorrect because option B is correct.

    Key Concepts:
    - Function composition
    - Rational and irrational numbers

    Memory Aids:
    - Remember that applying the function twice cancels out the effect of the function.

    Quick Tips:
    - Consider different cases (rational and irrational) when dealing with piecewise functions.

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.