Number of solutions of the equation |x2−2|x||=2x is
The number of values of 'a' for which the equation (x−1)2=|x−a| has exactly three solutions is