The correct option is C (−5,5)
Given: x2−6|x|+5−|p|=0 ...(1)
Let |x|=t, then equation becomes:
t2−6t+5−|p|=0 ...(2)
For the eq.(1), to have four distinct real roots, eq.(2) must have two distinct positive roots.
So, t2−6t+5−|p|=0 should have both roots greater than zero.
Let f(t)=t2−6t+5−|p|
Using the concept of location of roots, we have
(i)D>0(ii)−b2a>0(iii)f(0)>0
(i)D>0⇒(−6)2+4|p|>0⇒36+4|p|>0⇒p∈R
(ii)−b2a>0⇒−(−6)2>0⇒p∈R
(iii)f(0)>0⇒5−|p|>0⇒5>|p|⇒|p|<5⇒p∈(−5,5)
From cases (i),(ii),(iii) ⇒ p∈(−5,5)