The roots of the equation x2 + x - (p +1) = 0, where p is a constant are
The correct option is
C
p,-(p+1)
The roots of the equation is x2 + x - p (p + 1) = 0, where p is a constant.
Its solution can be solved by using quadratic formula x=−b±√b2−4ac2a
This can be done as
On comparing the given equation with ax2+bx+c=0
a = 1, b = 1, c = -p(p+1)
∴x=−1±√12−4×1×{−p(p+1)}2×1
x=−1±√1−4(−p2−p)2
=−1±√(2p+1)22
=−1±(2p+1)2
=−1+(2p+1)2 or −1−(2p+1)2
=−1+(2p+1)2=2p2=p
=−1−(2p+1)2=−2−2p2=−1−p=−(p+1)
Therefore, the roots are given by x=p,−(p+1)
The correct answer is C.