The sum of all the roots of the equation (x-1)2-5|x-1|+6=0 is [2026]
(4)
Let |x-1|=t
t2-5t+6=0
t=2 and t=3
|x-1|=2 and |x-1|=3
x-1±2 and x-1=±3
x=1±2 and x=1±3
∴Roots are 3,-1,4,-2
∴Sum of roots=3+(-1)+4+(-2)=4