Sum of the roots of the equation x2+|x|−6=0 is
0
−1
5
None of these
Given equation is x2+|x|−6=0
⇒ |x|2+|x|−6=0
⇒ (|x|+3)(|x|−2)=0
⇒ |x|=−3 or 2 but |x|≥0,
Therefore, |x|=2 ⇒ x=−2 or 2.
Hence, the sum of the roots =−2+2=0