# 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