I have an inequality $$||x|-1|+||x|+2|=3$$. Id like to graph it. I've done with just one absolute value within another absolute value, but I can't seem to grasp how to do this one. Also, I'm having some trouble setting cases for the algebraic route: I've done 6 cases in total - $$x<-2, -2<x<-1, -1<x<0, 0<x<1, 1<x<2, 2<x$$ i think i did it right. Here is how I got to these cases:
- |x|={x, x>0 & -x, x<0}
- |x-1|={x-1, x>1 & -x-1, x<1}
- |-x-1|={-x-1, x<-1 & x+1, x>-1}
- |x+2|={x+2, x>-2 & -x-2, x<-2}
- |-x+2|={-x+2, x<2 & x-2, x>2}
Did I set my cases correctly? Also, I know how the graph is supposed to look like, I just don't know how to get to it.
