The correct option is B 1
(p(x))2=1+xp(x+1) ⋯(1)
Let degree of p(x) be n.
So, degree of (p(x))2 is 2n and degree of 1+xp(x+1) is n+1.
⇒2n=n+1
⇒n=1
So, p(x)=ax+b
Putting p(x)=ax+b in (1), we get
(a2−a)x2+(2ab−a−b)x+(b2−1)=0
Since, the equation holds true for all real x,
a2−a=0,2ab−a−b=0,b2−1=0
⇒a=b=1
∴p(x)=x+1