The equation (cosp−1)x2+(cosp)x+sinp=0 in the variable x has real roots. Then p can take any value in the interval
The given equation is
(cosp−1)x2+(cosp)x+sinp=0
For this equation to have real roots, D≥0. Thus,
cos2p−4sinp(cosp−1)≥0
or cos2p−4sinpcosp+4sin2p+4sinp−4sin2p≥0
or (cosp−2sinp)2+4sinp(1−sinp)≥0
For every real value of p, we have
(cosp−2sinp)2≥0 and sinp(1−sinp)≥0
∴D≥0,∀sinp∈(0,π)