SOLUTION: -4+|-x+1|=2 solve for x

Algebra ->  Equations -> SOLUTION: -4+|-x+1|=2 solve for x      Log On


   



Question 1073338: -4+|-x+1|=2 solve for x
Answer by josgarithmetic(39617) About Me  (Show Source):
You can put this solution on YOUR website!
-x%2B1 can be 0 or positive.
-4-x%2B1=2
-x=2%2B4-1
-x=5
x=-5
-
CHECK THIS RESULT
-4%2Babs%28-%28-5%29%2B1%29=-4%2Babs%285%2B1%29=-4%2B6=2
Yes, this part works.


-x%2B1 can be negative.
-4%2B%28-1%29%28-x%2B1%29=2
-4%2Bx-1=2
x=2%2B4%2B1
x=7
-
CHECK THIS RESULT
-4%2B%28-1%29%28-7%2B1%29=-4%2B%28-1%29%28-6%29=-4%2B6=2
This worked.

----------------------------
x=-5 or x=7
----------------------------