The correct option is D 3
Substituting y=0, we get
g(x)=g(0)+g(x)
⇒g(0)=0
Let y=c , where c is a constant. On substituting we get,
g(x+c)=g(x)+g(c)+3xc(x+c)
Differentiating with respect to x, we get,
g′(x+c)=g′(x)+6cx+3c2
Now, if we consider c→0, and take limits on both sides and divide by c, we get
limc→0g′(x+c)−g′(x)c=limc→06x+3c
⇒g′′(x)=6x
⇒g′(x)=3x2+k , where k is a constant.
g′(0)=−4
⇒k=−4
⇒g′(x)=3x2−4
⇒g(x)=x3−4x+m , where m is a constant
g(0)=0
⇒g(x)=x3−4x=x(x2−4)
g(x)=0, will have three real roots