The graph of the absolute value function is
Then, using the rules of transformation of functions you can graph the given function. Some of these rules are:
*If you have -f(x) the function is reflected over the x-axis.
*If you have f(x-h) the function moves h units to the right.
*If you have f(x) + k the function moves k units up
*If you have a*f(x), where a > 1, the function is stretched vertically by a factor of a.
So, in this case
And the graph will be
Now, by definition, the domain of a function f(x) is the set of all values for which the function is defined, so since the absolute value function is defined for all reals, then the domain of this function will be
On the other hand, the range of the function is the set of all values that y or f(x) takes. So, as you can see in the graph, the maximum value that the function takes is 1, then the range of this function will be
On the other hand, As you can see in the graph, the function has an increasing interval for the x whose values are in
And the function has a decreasing interval for the x whose values are in
Some rules of transformation of functions:
*If you have -f(x) the function is reflected over the x-axis.
*If you have f(x-h) the function moves h units to the right.
*If you have f(x) + k the function moves k units up
*If you have a*f(x), where a > 1, the function is stretched vertically by a factor of a.