Skip to main content

Functions MCQ: If f:R → R is given by f(x) = - 1, when x is…

JEE · Mathematics · Functions

1 Medium +4 | -1 Application
If f:R→Rf:R \to R is given by
f(x)={−1,  when    x    is    rational1,  when    x    is    irrational,f\left( x \right) = \left\{ {\begin{array}{cccccccccccccccccccc} { - 1,\;when\;\;x\;\;is\;\;rational}\\ {1,\;when\;\;x\;\;is\;\;irrational} \end{array}} \right.,
Then (fof)(1−3)\left( {fof} \right)\left( {1 - \sqrt 3 } \right) is equal to
View answer and explanation
Correct option: B
−1- 1
Option B (-1) is correct because the function f(x) returns -1 for rational numbers and 1 for irrational numbers. Since 1 - √3 is irrational, f(1 - √3) = 1, which is rational, so f(1) = -1.
Solution approach
  1. Correct Answer + Core Reason: −1- 1. Since 1−31 - \sqrt 3 is irrational, f(1−3)=1f(1-\sqrt 3) = 1, which is rational, so f(1)=−1f(1) = -1.

    Step-by-Step Solution:

    Step 1: Given function: f(x)={−1,  when    x    is    rational1,  when    x    is    irrationalf\left( x \right) = \left\{ {\begin{array}{cccccccccccccccccccc} { - 1,\;when\;\;x\;\;is\;\;rational}\\ {1,\;when\;\;x\;\;is\;\;irrational} \end{array}} \right.

    Step 2: Evaluate f(1−3)f(1 - \sqrt{3}). Since 1−31 - \sqrt{3} is irrational, f(1−3)=1f(1 - \sqrt{3}) = 1.

    Step 3: Evaluate (fof)(1−3)=f(f(1−3))=f(1)(fof)(1 - \sqrt{3}) = f(f(1 - \sqrt{3})) = f(1).

    Step 4: Since 1 is rational, f(1)=−1f(1) = -1.

    Final Answer: −1- 1

    Why other options are wrong:
    - Option A: This is incorrect because it assumes that f(1)=1f(1) = 1, but since 1 is rational, f(1)=−1f(1) = -1.
    - Option C: This is incorrect because the function only returns -1 or 1, not 3\sqrt{3}.
    - Option D: This is incorrect because the correct answer is -1.

    Key Concepts:
    - Function composition
    - Rational and irrational numbers

    Memory Aids:
    - Remember the definition of the function: -1 for rational, 1 for irrational.

    Quick Tips:
    - Carefully evaluate the function at each step of the composition.

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.