Rewrite an expression without absolute value signs

732 Views Asked by At

I'm trying to rewrite $2x − |x − |x + 1||$ without the absolute value signs. If I input this into Wolfram Alpha, it returns the alternate form: $2x-\sqrt{\left(x-\sqrt{(x+1)^2}\right)^2}$. Any help on how to arrive to this form would be appreciated.