HERE IS A VERY LONG AND DETAILED SOLUTION. GO THROUGH IT LINE BY LINE SLOWLY AND CAREFULLY. GOOD LUCK:
Solve for x over the real numbers:
abs(x-9) = abs(x-5)+abs(x-1)
Split the equation into two possible cases:
x-9 = abs(x-5)+abs(x-1) or x-9 = -abs(x-5)-abs(x-1)
Subtract abs(x-5)+abs(x-1) from both sides:
-9+x-abs(x-5)-abs(x-1) = 0 or x-9 = -abs(x-5)-abs(x-1)
Subtract -9+x-abs(x-1) from both sides:
-abs(x-5) = 9-x+abs(x-1) or x-9 = -abs(x-5)-abs(x-1)
Multiply both sides by -1:
abs(x-5) = -9+x-abs(x-1) or x-9 = -abs(x-5)-abs(x-1)
Split the equation into two possible cases:
x-5 = -9+x-abs(x-1) or x-5 = 9-x+abs(x-1) or x-9 = -abs(x-5)-abs(x-1)
Subtract -9+x-abs(x-1) from both sides:
4+abs(x-1) = 0 or x-5 = 9-x+abs(x-1) or x-9 = -abs(x-5)-abs(x-1)
Subtract 4 from both sides:
abs(x-1) = -4 or x-5 = 9-x+abs(x-1) or x-9 = -abs(x-5)-abs(x-1)
By definition, absolute value is positive. Therefore abs(x-1) = -4 has no solution:
x-5 = 9-x+abs(x-1) or x-9 = -abs(x-5)-abs(x-1)
Subtract 9-x+abs(x-1) from both sides:
-14+2 x-abs(x-1) = 0 or x-9 = -abs(x-5)-abs(x-1)
Subtract 2 x-14 from both sides:
-abs(x-1) = 14-2 x or x-9 = -abs(x-5)-abs(x-1)
Multiply both sides by -1:
abs(x-1) = 2 x-14 or x-9 = -abs(x-5)-abs(x-1)
Split the equation into two possible cases:
x-1 = 2 x-14 or x-1 = 14-2 x or x-9 = -abs(x-5)-abs(x-1)
Subtract 2 x-1 from both sides:
-x = -13 or x-1 = 14-2 x or x-9 = -abs(x-5)-abs(x-1)
Multiply both sides by -1:
x = 13 or x-1 = 14-2 x or x-9 = -abs(x-5)-abs(x-1)
Add 2 x+1 to both sides:
x = 13 or 3 x = 15 or x-9 = -abs(x-5)-abs(x-1)
Divide both sides by 3:
x = 13 or x = 5 or x-9 = -abs(x-5)-abs(x-1)
Add abs(x-5)+abs(x-1) to both sides:
x = 13 or x = 5 or -9+x+abs(x-5)+abs(x-1) = 0
Subtract -9+x+abs(x-1) from both sides:
x = 13 or x = 5 or abs(x-5) = 9-x-abs(x-1)
Split the equation into two possible cases:
x = 13 or x = 5 or x-5 = 9-x-abs(x-1) or x-5 = -9+x+abs(x-1)
Subtract 9-x-abs(x-1) from both sides:
x = 13 or x = 5 or -14+2 x+abs(x-1) = 0 or x-5 = -9+x+abs(x-1)
Subtract 2 x-14 from both sides:
x = 13 or x = 5 or abs(x-1) = 14-2 x or x-5 = -9+x+abs(x-1)
Split the equation into two possible cases:
x = 13 or x = 5 or x-1 = 14-2 x or x-1 = 2 x-14 or x-5 = -9+x+abs(x-1)
Add 2 x+1 to both sides:
x = 13 or x = 5 or 3 x = 15 or x-1 = 2 x-14 or x-5 = -9+x+abs(x-1)
Divide both sides by 3:
x = 13 or x = 5 or x = 5 or x-1 = 2 x-14 or x-5 = -9+x+abs(x-1)
Subtract 2 x-1 from both sides:
x = 13 or x = 5 or x = 5 or -x = -13 or x-5 = -9+x+abs(x-1)
Multiply both sides by -1:
x = 13 or x = 5 or x = 5 or x = 13 or x-5 = -9+x+abs(x-1)
Subtract -9+x+abs(x-1) from both sides:
x = 13 or x = 5 or x = 5 or x = 13 or 4-abs(x-1) = 0
Subtract 4 from both sides:
x = 13 or x = 5 or x = 5 or x = 13 or -abs(x-1) = -4
Multiply both sides by -1:
x = 13 or x = 5 or x = 5 or x = 13 or abs(x-1) = 4
Split the equation into two possible cases:
x = 13 or x = 5 or x = 5 or x = 13 or x-1 = 4 or x-1 = -4
Add 1 to both sides:
x = 13 or x = 5 or x = 5 or x = 13 or x = 5 or x-1 = -4
Add 1 to both sides:
x = 13 or x = 5 or x = 5 or x = 13 or x = 5 or x = -3
abs(x-9) ⇒ abs(-9-3) = 12
abs(x-5)+abs(x-1) ⇒ abs(-5-3)+abs(-1-3) = 12:
So this solution is correct
abs(x-9) ⇒ abs(5-9) = 4
abs(x-5)+abs(x-1) ⇒ abs(5-5)+abs(5-1) = 4:
So this solution is correct
abs(x-9) ⇒ abs(13-9) = 4
abs(x-5)+abs(x-1) ⇒ abs(13-5)+abs(13-1) = 20:
So this solution is incorrect
The solutions are:
Answer: | x = 5 or x = -3