What is the domain and range of the function f(x) = |x - 2|

Expert Answers

An illustration of the letter 'A' in a speech bubbles

The domain and range of the function f(x) = |x - 2| has to be determined. The domain of a function is all values of x for which the value of f(x) is defined. The range of the function is all values of f(x) for values of x that lie in the domain.

The absolute value function f(x) = |x| is defined as f(x) = x for x>=0 and f(x) = -x for x <0.

If f(x) = |x - 2| the value of f(x) is defined for all values of x. The domain of the function is the set of real numbers R. The value of f(x) = |x - 2| is never negative,. For value of x < 2, the function f(x) = 2 - x which is positive. The range of the function is therefore the set `[0, oo)` .

Approved by eNotes Editorial Team
Illustration of a paper plane soaring out of a book

We’ll help your grades soar

Start your 48-hour free trial and unlock all the summaries, Q&A, and analyses you need to get better grades now.

  • 30,000+ book summaries
  • 20% study tools discount
  • Ad-free content
  • PDF downloads
  • 300,000+ answers
  • 5-star customer support
Start your 48-Hour Free Trial