Question: Rewrite the function f(x) =||x|-1| as a piecewise function.
The Attempt at a Solution
I tried considering the following absolute value functions:
|x| = x, if x [tex]\geq[/tex] 0
= -x, if x < 0
|x-1| = x-1, if x [tex]\geq[/tex] 1
=-(x-1), if x < 1
But I'm not sure on how to go from there, or if I did something wrong with the process shown above. I was thinking that the there might be something wrong with part 2).