Skip to main content

Functions MCQ: If the functions f(x) and g(x) are defined on R →…

JEE · Mathematics · Functions

1 Medium +4 | -1 Analyzing
If the functions f(x)f(x) and g(x)g(x) are defined on R→RR \rightarrow R such that f(x)={0,x∈ rational x,x∈ irrational ;g(x)={0,x∈ irrational x,x∈ rational f(x)=\left\{\begin{array}{ll}0, & x \in \text { rational } \\ x, & x \in \text { irrational }\end{array} ; g(x)= \begin{cases}0, & x \in \text { irrational } \\ x, & x \in \text { rational }\end{cases}\right. then (f−g)(x)(f-g)(x) is
View answer and explanation
Correct option: A
one-one and onto
Option A (one-one and onto) is correct because the function (f-g)(x) maps each real number to a unique real number, covering the entire real number set.
Solution approach
  1. Correct Answer + Core Reason: one-one and onto. The function (f-g)(x) is a bijection from R to R.

    Step-by-Step Solution:

    Step 1: Define the functions f(x) and g(x).\nf(x) = 0 if x is rational, x if x is irrational.\ng(x) = 0 if x is irrational, x if x is rational.

    Step 2: Find (f-g)(x).
    (f-g)(x) = f(x) - g(x).\nIf x is rational, (f-g)(x) = 0 - x = -x.\nIf x is irrational, (f-g)(x) = x - 0 = x.\nSo, (f-g)(x) = \begin{{cases}} -x, & x ∈ \text{{ rational }} \\ x, & x ∈ \text{{ irrational }} \end{{cases}}

    Step 3: Check if (f-g)(x) is one-one.\nLet (f-g)(x1) = (f-g)(x2).\nCase 1: x1 and x2 are rational. Then -x1 = -x2 => x1 = x2.\nCase 2: x1 and x2 are irrational. Then x1 = x2.\nCase 3: x1 is rational and x2 is irrational. Then -x1 = x2. This is only possible if x1 = x2 = 0. So, x1 = x2.\nTherefore, (f-g)(x) is one-one.

    Step 4: Check if (f-g)(x) is onto.\nFor any y in R, if y is rational, then (f-g)(-y) = -(-y) = y. If y is irrational, then (f-g)(y) = y.\nSo, for every y in R, there exists an x in R such that (f-g)(x) = y. Therefore, (f-g)(x) is onto.

    Step 5: Conclusion.
    (f-g)(x) is both one-one and onto.

    Why other options are wrong:
    - Option B: This is incorrect because the function is both one-one and onto.
    - Option C: This is incorrect because the function is both one-one and onto.
    - Option D: This is incorrect because the function is both one-one and onto.

    Key Concepts:
    - One-one functions
    - Onto functions
    - Rational and irrational numbers

    Memory Aids:
    - One-one: Each input maps to a unique output.
    - Onto: Every element in the codomain has a corresponding element in the domain.

    Quick Tips:
    - When dealing with piecewise functions, consider different cases for different intervals or conditions.

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.