|x-1| + |x-5| = |x-9| we can write this as
√[(x -1)^2] + √ [(x - 5)^2] = √ [(x - 9)^2 ] square both sides
(x - 1)^2 + 2√[ (x -5)^2 * (x -1)^2] + (x -5)^2 = (x - 9)^2 simplify
x^2 - 2x + 1 + 2√[ (x -5)^2 * (x -1)^2] + x^2 - 10x + 25 = x^2 - 18x + 81
2√[ (x -5)^2 * (x -1)^2] = -x^2 - 6x + 55
2√[ (x -5)^2 * (x -1)^2] = - [x^2 + 6x - 55] factor the right side
2√[ (x -5)^2 * (x -1)^2] = - (x + 11)(x - 5) square both sides
4 (x - 5)^2 * (x - 1)^2 = (x + 11)^2 (x - 5)^2
4(x - 5)^2 * (x - 1)^2 - (x - 5)^2 (x + 11)^2 = 0 factor out (x - 5)^2
(x - 5)^2 [ 4(x - 1)^2 - (x + 11)^2 ] = 0 simplify
(x - 5)^2 [ 4x^2 - 8x + 4 - x^2 - 22x - 121] = 0
(x - 5)^2 [ 3x^2 - 30x - 117] = 0
(x - 5)^2 [ x^2 - 10x - 39] * 3 = 0 divide through by 3 and factor
( x - 5)^2 [ (x - 13) ( x + 3) ] = 0
So.........setting each factor to 0 we have that x = 5 or x = 13 or x = -3
x = 13 is an extraneous solution produced by squaring both sides........reject it
The other two solutions x = 5 or x = -3 are good
