SOLVER7 Study. Nothing Else.
Miscellaneous Exercise Chapter 2 Q5

Find the domain and the range of the real function \(f\) defined by \(f(x)=|x-1|.\)

CBSE Class 11 Maths · Relations and Functions

Solution

👶 Simple Explanation

Simple Explanation

Imagine a machine that measures how far any number is from the number 1 on a ruler. You can feed any number into this machine — big, small, negative, zero, anything! The machine always spits out a distance, and distances are never negative. So the output is always zero or bigger. Since every real number is a valid input, the domain is all real numbers, and since the output is always zero or more, the range is all numbers from zero upwards.

Answer: Domain \( = \mathbb{R} \) (all real numbers). Range \( = [0, \infty) \), i.e. all real numbers \( \ge 0 \).

📖 Domain and Range of f(x) = |x - 1|

Detailed Explanation

The domain of a real function is the set of all real numbers for which the function gives a valid real output. The range is the set of all possible output values. The given function \( f(x) = |x - 1| \) is a modulus (absolute value) function. The absolute value \( |a| \) of any real number \( a \) is defined as its distance from zero on the number line, so it is always non-negative. This means \( |x - 1| \ge 0 \) for every real \( x \). Because subtraction and taking the modulus are defined for every real number, we can plug in any real value of \( x \), so the domain has no restrictions.

Formula Used

\( |x - 1| = \begin{cases} x - 1, & x \ge 1 \\ -(x - 1), & x < 1 \end{cases} \) and \( |x - 1| \ge 0 \) for all real \( x \).

Solution

  1. Step 1: Find the domain. The function is \( f(x) = |x - 1| \). For any real value of \( x \), the expression \( x - 1 \) is a real number, and its modulus is also a real number. There is no division by zero and no square root, so nothing restricts \( x \).
  2. Step 2: Since every real number is allowed as an input, the domain is the set of all real numbers, that is \( \mathbb{R} \).
  3. Step 3: Find the range. By the definition of modulus, the value \( |x - 1| \) is the distance of \( x \) from \( 1 \), which can never be negative. Hence \( f(x) = |x - 1| \ge 0 \) for every real \( x \).
  4. Step 4: Check that every non-negative value is actually achieved. When \( x = 1 \), we get \( f(1) = |1 - 1| = 0 \). For any value \( k > 0 \), choosing \( x = 1 + k \) gives \( f(x) = |k| = k \). So the output takes the value \( 0 \) and every positive number.
  5. Step 5: Therefore the set of all possible outputs is all real numbers greater than or equal to zero, that is the interval \( [0, \infty) \).

Final Answer

Domain \( = \mathbb{R} \) (all real numbers). Range \( = [0, \infty) \), i.e. all real numbers \( \ge 0 \).

Common Mistake

A common mistake is to write the range as \( \mathbb{R} \) or to include negative values. Since \( |x - 1| \) is a distance, it can never be negative, so the range starts at \( 0 \), not below it.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write down the given function: \( f(x) = |x - 1| \). Reason: Clearly identifying the function prevents errors in the analysis that follows.
  2. Step 2: Check for any restrictions on the input \( x \). The expression inside the modulus, \( x - 1 \), involves only subtraction. There is no division (so no risk of dividing by zero) and no square root (so no risk of a negative under a root). Reason: These are the two most common sources of restrictions on a domain; since neither applies here, there are no restrictions.
  3. Step 3: Conclude the domain. Since every real number can be substituted for \( x \) without any issue, the domain is \( \mathbb{R} \). Reason: Any real \( x \) produces a valid real output, so the domain is unrestricted.
  4. Step 4: Determine the sign of the output. By the definition of modulus, \( |x - 1| \) represents the distance of \( x \) from \( 1 \) on the number line, which can never be negative. Therefore \( f(x) \ge 0 \) for every real \( x \). Reason: Distance is always non-negative, so the output of any absolute value function is always \( \ge 0 \).
  5. Step 5: Verify that the value \( 0 \) is actually achieved. Substituting \( x = 1 \): \[f(1) = |1 - 1| = |0| = 0\] Reason: We must confirm the minimum value is reached and is not just a lower bound.
  6. Step 6: Verify that every positive value is also achieved. For any \( k > 0 \), choose \( x = 1 + k \). Then \[f(1 + k) = |(1 + k) - 1| = |k| = k\] Reason: This confirms that no positive number is missing from the output, so the range extends to all non-negative reals.
  7. Step 7: Combine both findings to state the range. Since \( f(x) \ge 0 \) and every non-negative value is achieved, the range is \( [0, \infty) \). Reason: The range must include exactly those values that are actually produced by the function — no more, no less.

Final Answer

Domain \( = \mathbb{R} \) (all real numbers). Range \( = [0, \infty) \), i.e. all real numbers \( \ge 0 \).

Common Mistake

One common mistake: students sometimes write the range as \( (-\infty, \infty) \) forgetting that the modulus (absolute value) can never be negative, or they restrict the domain to \( x \ge 1 \) by confusing the condition inside the modulus with a restriction on \( x \).

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Given: \( f(x) = |x - 1| \). No restrictions on \( x \) (no division, no square root), so Domain \( = \mathbb{R} \).
  2. Step 2: By definition of modulus, \( |x - 1| \ge 0 \) for all \( x \in \mathbb{R} \).
  3. Step 3: At \( x = 1 \): \( f(1) = 0 \). For any \( k \ge 0 \), take \( x = 1 + k \) so \( f(x) = k \). Every non-negative value is achieved, giving Range \( = [0, \infty) \).

Answer: Domain \( = \mathbb{R} \) (all real numbers). Range \( = [0, \infty) \), i.e. all real numbers \( \ge 0 \).

➕ More Examples

More Examples

Example 1

Question: Find the domain and range of the real function \( f \) defined by \( f(x) = |x + 3| \).

Solution: Step 1: Find the Domain. The expression inside the absolute value is \( x + 3 \), which is a polynomial. Polynomials are defined for every real number, so there is no restriction on \( x \). Therefore, the domain of \( f \) is the set of all real numbers, i.e., \( \mathbb{R} \). Step 2: Find the Range. By the definition of absolute value, for any real number \( x \): \[ |x + 3| \ge 0 \] This means \( f(x) \ge 0 \) for all \( x \in \mathbb{R} \). Also, every non-negative real number \( y \ge 0 \) is achieved: setting \( x + 3 = y \) gives \( x = y - 3 \), and then \( f(y - 3) = |y| = y \). So every value \( y \ge 0 \) is attained. Therefore, the range of \( f \) is the set of all non-negative real numbers, i.e., \( [0, \infty) \).

Answer: Domain: \( \mathbb{R} \) (all real numbers); Range: \( [0, \infty) \)

Example 2

Question: Find the domain and range of the real function \( g \) defined by \( g(x) = |2x - 5| + 1 \).

Solution: Step 1: Find the Domain. The expression \( 2x - 5 \) is a polynomial, defined for all real \( x \). Adding the constant 1 does not introduce any restriction. Therefore, the domain of \( g \) is \( \mathbb{R} \). Step 2: Find the Range. First, note that for any real number \( x \): \[ |2x - 5| \ge 0 \] Adding 1 to both sides: \[ |2x - 5| + 1 \ge 1 \] So \( g(x) \ge 1 \) for all \( x \in \mathbb{R} \). The minimum value \( g(x) = 1 \) is achieved when \( |2x - 5| = 0 \), i.e., when \( 2x - 5 = 0 \), which gives \( x = \dfrac{5}{2} \). For any value \( y \ge 1 \), we need \( |2x - 5| = y - 1 \ge 0 \). This gives \( 2x - 5 = y - 1 \) or \( 2x - 5 = -(y - 1) \), both of which have real solutions. So every value \( y \ge 1 \) is attained. Therefore, the range of \( g \) is \( [1, \infty) \).

Answer: Domain: \( \mathbb{R} \) (all real numbers); Range: \( [1, \infty) \)

🎯 Try a Similar Question

Try a Similar Question

Question: Find the domain and range of the real function \( g \) defined by \( g(x) = |2x + 3| - 1 \).

Solution

  1. Step 1: Identify the expression inside the absolute value: The function is \( g(x) = |2x + 3| - 1 \). The expression inside the absolute value is \( 2x + 3 \). There are no square roots, logarithms, or denominators, so the expression \( 2x + 3 \) is defined for every real number \( x \).
  2. Step 2: Determine the Domain: Since \( 2x + 3 \) is a polynomial, it is defined for all \( x \in \mathbb{R} \). Therefore, \( g(x) \) is defined for all real numbers. Domain of \( g \) = \( \mathbb{R} \).
  3. Step 3: Analyse the absolute value part: By the definition of absolute value, for any real number \( x \): \[ |2x + 3| \ge 0 \] The value \( |2x + 3| = 0 \) when \( 2x + 3 = 0 \), i.e. when \( x = -\dfrac{3}{2} \). For all other values of \( x \), \( |2x + 3| > 0 \). So \( |2x + 3| \) takes every value in \( [0, \infty) \).
  4. Step 4: Determine the Range of g(x): Since \( |2x + 3| \ge 0 \), subtracting 1 gives: \[ g(x) = |2x + 3| - 1 \ge 0 - 1 = -1 \] The minimum value \( g(x) = -1 \) is achieved at \( x = -\dfrac{3}{2} \). As \( x \) moves away from \( -\dfrac{3}{2} \) in either direction, \( g(x) \) increases without bound. Therefore, \( g(x) \) takes every value greater than or equal to \( -1 \).
  5. Step 5: State the final answer: Domain of \( g \) = \( \mathbb{R} \) (all real numbers). Range of \( g \) = \( [-1, \infty) \), i.e. all real numbers \( y \) satisfying \( y \ge -1 \).

Answer: Domain = \( \mathbb{R} \) (all real numbers). Range = \( [-1, \infty) \), i.e. all real numbers greater than or equal to \( -1 \).

Everything you get with Solver7

More questions in Relations and Functions