Skip to content
Miscellaneous Exercise · Q5

Q.Find the domain and the range of the real function ff defined by f(x)=∣x−1∣f(x) = |x - 1|.

Uttarakhand UbseTextbookSubjective· 2mImportance★★★★★est
51% · 51/100 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The absolute-value function f(x)=∣x−1∣f(x) = |x - 1| measures distance from 11 on the number line, so it accepts all real inputs and produces all non-negative outputs.

Domain: R\mathbb{R}, Range: [0,∞)[0, \infty)

Why this works: Understanding absolute value as distance

The expression ∣x−1∣|x - 1| represents the distance between xx and 11 on the real number line. Distance is always defined (you can measure how far any real number is from 11) and distance is never negative. These two geometric facts immediately tell us what inputs are allowed and what outputs are possible.

Finding the domain

1. Check for restrictions

The function f(x)=∣x−1∣f(x) = |x - 1| involves only subtraction and the absolute-value operation. Neither of these operations imposes any restriction:

  • We can subtract 11 from any real number
  • We can take the absolute value of any real number

There are no denominators that could be zero, no even roots of potentially negative quantities, no logarithms of non-positive numbers. The function is defined everywhere.

2. Conclude the domain

Since f(x)f(x) is defined for every real number xx, the domain is the entire real line:

Domain=R=(−∞,∞)\text{Domain} = \mathbb{R} = (-\infty, \infty)

Finding the range

3. Understand what absolute value produces

By definition, ∣a∣≥0|a| \geq 0 for any real number aa. This means f(x)=∣x−1∣≥0f(x) = |x - 1| \geq 0 for all xx. So the range is contained in [0,∞)[0, \infty).

4. Check if zero is attained

Can f(x)=0f(x) = 0? Yes, when ∣x−1∣=0|x - 1| = 0, which happens precisely when x−1=0x - 1 = 0, i.e., x=1x = 1. So f(1)=0f(1) = 0 and zero is in the range.

5. Check if all positive values are attained …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.