The sum of all the real roots of the equation
|x−2|2+|x−2|−2=0 is
7
4
1
none of these
Putting y = |x – 2|, we can rewrite (1) as
y2+y−2=0 or y2+2y−y−2=0⇒ y(y+2)−(y+2)=0⇒(y−1)(y+2)=0As y=|x−2|≥0,y+2≥2∴ y−1=0⇒y=1⇒ |x−2|=1⇒x−2=±1⇒ x=2±1⇒x=3 or 1
∴ Sum of the roots = 4