Find the domain and range of the following real functions: \( f(x) = – |x|\)
CBSE Class 11 Maths · Relations and Functions
CBSE Class 11 Maths · Relations and Functions
Imagine a machine that takes any number, ignores its sign, then flips the result below zero. You can feed any number you like into this machine — big, small, negative, zero — so it works for every number imaginable. That collection of all numbers you can feed in is called the domain. Whatever comes out is always zero or less, because flipping a non-negative value always lands at or below zero. The output can touch zero but can never climb above it, so the range is everything from zero downward.
Answer: Domain \( = \mathbb{R} = \left( -\infty, \infty \right) \) and Range \( = \left( -\infty, 0 \right] \).
The domain of a real function is the set of all real inputs for which the function gives a valid real output. The range is the set of all possible output values. Here the function is \( f(x) = -|x| \). The absolute value \( |x| \) is defined for every real number, so there is no restriction on the input. To find the range, we study what values \( -|x| \) can take. Since \( |x| \) is always non-negative, its negative is always non-positive.
\( |x| = x \) if \( x \ge 0 \), and \( |x| = -x \) if \( x < 0 \). Also \( |x| \ge 0 \) for all real \( x \).
Domain \( = \mathbb{R} = \left( -\infty, \infty \right) \) and Range \( = \left( -\infty, 0 \right] \).
A common mistake is to think the range is \( \left[ 0, \infty \right) \) by copying the range of \( |x| \), forgetting that the negative sign flips all outputs to non-positive values.
Domain \( = \mathbb{R} = \left( -\infty, \infty \right) \) and Range \( = \left( -\infty, 0 \right] \).
One common mistake: students sometimes write the range as \( \left( -\infty, 0 \right) \) (open at \( 0 \)), forgetting that \( f(0) = -|0| = 0 \) means \( 0 \) is actually achieved and must be included with a closed bracket \( ] \).
Answer: Domain \( = \mathbb{R} = \left( -\infty, \infty \right) \) and Range \( = \left( -\infty, 0 \right] \).
Question: Find the domain and range of the real function \( f(x) = 3 - |x| \).
Solution: Step 1 — Find the Domain. The expression |x| is defined for every real number x, and subtracting it from 3 introduces no additional restriction. Therefore the domain is all of \( \mathbb{R} \). Domain = \( \mathbb{R} \) (all real numbers). Step 2 — Find the Range. We know that for every real x, \( |x| \ge 0 \). Multiplying both sides of \( |x| \ge 0 \) by \(-1\) reverses the inequality: \[ -|x| \le 0 \] Adding 3 throughout: \[ 3 - |x| \le 3 \] So \( f(x) \le 3 \) for all x. Also, as \( |x| \to \infty \), the value \( 3 - |x| \to -\infty \), so f(x) can take every value down to \( -\infty \). The maximum value \( f(x) = 3 \) is achieved when \( |x| = 0 \), i.e., when \( x = 0 \). Therefore the range is \( \left( -\infty,\, 3 \right] \).
Answer: Domain: \( \mathbb{R} \). Range: \( \left( -\infty, 3 \right] \).
Question: Find the domain and range of the real function \( g(x) = |x + 2| \).
Solution: Step 1 — Find the Domain. The absolute value \( |x + 2| \) is defined for every real number x since we can add 2 to any real number and then take its absolute value. There are no square roots or denominators to worry about. Domain = \( \mathbb{R} \) (all real numbers). Step 2 — Find the Range. Let \( t = x + 2 \). As x ranges over all real numbers, t also ranges over all real numbers. By definition, \( |t| \ge 0 \) for all \( t \in \mathbb{R} \). Hence: \[ g(x) = |x + 2| = |t| \ge 0 \] The value \( g(x) = 0 \) is achieved when \( x + 2 = 0 \), i.e., when \( x = -2 \), which is a real number, so 0 is included in the range. For any value \( y \ge 0 \), we can solve \( |x + 2| = y \), giving \( x = y - 2 \) or \( x = -y - 2 \), both real. So every non-negative real number is attained. Therefore the range is \( \left[ 0,\, \infty \right) \).
Answer: Domain: \( \mathbb{R} \). Range: \( \left[ 0, \infty \right) \).
Question: Find the domain and range of the real function defined by \( f(x) = 3 - 2|x| \).
Answer: Domain \( = \mathbb{R} = \left( -\infty, \infty \right) \) and Range \( = \left( -\infty, 3 \right] \).