The correct option is
B p−qThe given equation
x3+px+q=0 can be written as
x3+0.x2+px+q=0
Hence we can see that the coefficient of x3 is 1
the coefficient of the term x2 is 0,
coefficient of term x is p and coefficient of term x is q.
If a,b,c are the roots of the equation,
Then for a polynomial, we know that the sum of the roots of a eqaution,
,→a+b+c=−coefficient of x2coefficient of x3
→a+b+c = 0. (coefficient of x2 is zero.)
Also sum of the roots taken two as at time,
→ab+bc+ca=+ coefficient of xcoefficient of x3
→ab+bc+ca=p
The product of the roots of the polynomial,
→abc=−coefficient of constant termcoefficient of x3
→abc=q
From above information we know that,
⇒a+b+c=0 ...(1)
⇒ab+bc+ca=p ...(2)
⇒abc=−q...(3)
Now the value of the determinant ∣∣
∣
∣∣(1+a)111(1+b)111(1+c)∣∣
∣
∣∣
= (1+a)((1+b)(1+c)−1)−1((1+c)(1)−1))+1((1)(1)−(1+b))
⇒(1+a)(bc+b+c)−1−c+1+1−1−b
⇒bc+b+c+abc+ab+ac−1−c+1+1−1−b
⇒ab+bc+ac+abc
Taking values from eq(2) and eq.(3), we get the Value of the determinant,
∣∣
∣
∣∣(1+a)111(1+b)111(1+c)∣∣
∣
∣∣= p−q
Hence correct option is B.