Skip to main content

Functions MCQ: The domain and range of the function f given by…

JEE · Mathematics · Functions

1 Medium +4 | -1 Understanding
The domain and range of the function ff given by f(x)=2−∣x−5∣f(x)=2-|x-5| is
View answer and explanation
Correct option: B
Domain =R=R, Range =(−∞,2]=(-\infty, 2]
Option B (Domain =R=R, Range =(−∞,2]=(-\infty, 2]) is correct because the absolute value function is defined for all real numbers, and the maximum value of the function is 2.
Solution approach
  1. Correct Answer + Core Reason: Domain =R=R, Range =(−∞,2]=(-\infty, 2]. The domain is all real numbers, and the range is limited by the absolute value function.

    Step-by-Step Solution:

    Step 1: Determine the domain of f(x)=2−∣x−5∣f(x) = 2 - |x - 5|.

    Step 2: The absolute value function ∣x−5∣|x - 5| is defined for all real numbers. Therefore, the domain of f(x)f(x) is RR.

    Step 3: Determine the range of f(x)f(x).

    Step 4: Since ∣x−5∣≥0|x - 5| \geq 0 for all xx, we have −∣x−5∣≤0-|x - 5| \leq 0.

    Step 5: Adding 2 to both sides, we get 2−∣x−5∣≤22 - |x - 5| \leq 2. Therefore, f(x)≤2f(x) \leq 2.

    Step 6: The maximum value of f(x)f(x) is 2, which occurs when x=5x = 5. As xx moves away from 5, f(x)f(x) decreases without bound. Therefore, the range of f(x)f(x) is (−∞,2](-\infty, 2].

    Why other options are wrong:
    - Option A: Domain =R+=R^{+}, Range =(−∞,1]=(-\infty, 1] is incorrect because the domain is all real numbers, not just positive real numbers, and the range is (−∞,2](-\infty, 2].
    - Option C: Domain =R=R, Range =(−∞,2)=(-\infty, 2) is incorrect because the range includes the value 2.
    - Option D: Domain =R+=R^{+}, Range =(−∞,2]=(-\infty, 2] is incorrect because the domain is all real numbers, not just positive real numbers.

    Key Concepts:
    - Domain of a function
    - Range of a function
    - Absolute value function

    Memory Aids:
    - Remember that the absolute value function is always non-negative.

    Quick Tips:
    - Consider the behavior of the absolute value function to determine the range.

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.