# What is the domain and range of y=abs(x-5)?

Domain: $\left(- \infty , + \infty\right)$
Range: $\left[0 , + \infty\right)$

#### Explanation:

$x$ can take on any real number value (negative , zero, positive).

$y$ can only have zero and all positive real numbers. It can not have negative values.

Kindly see the graph of $y = \left\mid x - 5 \right\mid$

graph{y=abs(x-5)[-20,20,-10,10]}

Feb 10, 2016

Domain : Any real Number ; Range : Any positive real number

#### Explanation:

Here the domain (values of x) is any real number.
And the range (values of y) is any non-negative real number.