Skip to main content

Functions MCQ: If f: R → R, f(x)= x|x|-4, & x ∈ Q x|x|-√3 & x ∈…

JEE · Mathematics · Functions

1 Easy +4 | -1 Analyzing
If f:R→R,f(x)={x∣x∣−4,x∈Qx∣x∣−3x∈Qf: R \rightarrow R, f(x)=\left\{\begin{array}{cc}x|x|-4, & x \in Q \\ x|x|-\sqrt{3} & x \in Q\end{array}\right., then f(x)f(x) is
View answer and explanation
Correct option: D
many to one and into
Option B (many to one and onto) is incorrect. The correct answer is many to one and into because f(2) = f(3(1/4)) indicating many-to-one, and f(x) ≠ -√3 for all x ∈ R, indicating into.
Solution approach
  1. Correct Answer + Core Reason: many to one and into. f(2) = f(3(1/4)) and f(x) ≠ -√3 for all x ∈ R.

    Step-by-Step Solution:

    Step 1: Analyze the function definition: f(x) = \begincases x|x| - 4, & x ∈ Q x|x| - √3, & x ∈ Q \endcases

    Step 2: Check if the function is one-to-one. If f(x1)=f(x2)f(x_1) = f(x_2), then x1=x2x_1 = x_2.

    Step 3: Consider f(2)f(2) where 2∈Q2 \in Q. f(2)=2∣2∣−4=4−4=0f(2) = 2|2| - 4 = 4 - 4 = 0.

    Step 4: Consider f(31/4)f(3^{1/4}) where 31/4∉Q3^{1/4} \notin Q. f(31/4)=(31/4)∣31/4∣−3=31/2−3=3−3=0f(3^{1/4}) = (3^{1/4})|3^{1/4}| - \sqrt{{3}} = 3^{1/2} - \sqrt{{3}} = \sqrt{{3}} - \sqrt{{3}} = 0.

    Step 5: Since f(2)=f(31/4)=0f(2) = f(3^{1/4}) = 0 but 2≠31/42 \neq 3^{1/4}, the function is many-to-one.

    Step 6: Check if the function is onto. For ff to be onto, for every y∈Ry \in R, there must exist an x∈Rx \in R such that f(x)=yf(x) = y.

    Step 7: Consider the range of f(x)f(x). If x∈Qx \in Q, f(x)=x∣x∣−4f(x) = x|x| - 4. If x∉Qx \notin Q, f(x)=x∣x∣−3f(x) = x|x| - \sqrt{{3}}.

    Step 8: Notice that f(x)f(x) can never be equal to −3-\sqrt{{3}} because if x∈Qx \in Q, f(x)=x∣x∣−4f(x) = x|x| - 4 and if x∉Qx \notin Q, f(x)=x∣x∣−3f(x) = x|x| - \sqrt{{3}}. To get −3-\sqrt{{3}}, we would need x∣x∣−4=−3x|x| - 4 = -\sqrt{{3}} which implies x∣x∣=4−3x|x| = 4 - \sqrt{{3}}. However, if x∉Qx \notin Q, we would need x∣x∣−3=−3x|x| - \sqrt{{3}} = -\sqrt{{3}} which implies x∣x∣=0x|x| = 0, so x=0x=0. Therefore, f(x)f(x) cannot be −3-\sqrt{{3}}.

    Step 9: Since there is a value in the codomain (R) that is not in the range of f, the function is into.

    Step 10: Conclusion: The function is many-to-one and into.

    Why other options are wrong:
    - Option A (one to one and onto): The function is not one-to-one (many-to-one) and not onto (into).
    - Option C (one to one and into): The function is not one-to-one (many-to-one).
    - Option D (many to one and into): This option is the correct one.

    Key Concepts:
    - One-to-one function
    - Onto function
    - Many-to-one function
    - Into function

    Memory Aids:
    - One-to-one: Each input maps to a unique output.
    - Onto: Every element in the codomain has a corresponding element in the domain.
    - Many-to-one: Multiple inputs can map to the same output.
    - Into: Not every element in the codomain has a corresponding element in the domain.

    Quick Tips:
    - Check for one-to-one by seeing if f(x1)=f(x2)f(x_1) = f(x_2) implies x1=x2x_1 = x_2.
    - Check for onto by seeing if every element in the codomain has a corresponding element in the domain.

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.