The correct option is B Statement 1 is true, statement 2 is true; statement 2 is a correct explanation for statement 1.
We have,
f(x)=ln|x|+bx2+ax
∴f′(x)=1x+2bx+a
Now at x=−1,f′(x)=0
⇒−1−2b+a=0
⇒a−2b=1⋯(1)
Also at x=2,f′(x)=0
⇒12+4b+a=0
⇒a+4b=−12⋯(2)
Solving (1) and (2) we get,
b=−14 and a=12
∴f′(x)=1x−x2+12
⇒f′′(x)=−1x2−12
Now, f′′(−1)=−32<0
and f′′(2)=−34<0
Hence, f has local maximum at x=−1 and at x=2.
⇒ Statement 1 is true, statement 2 is true; statement 2 is a correct explanation for statement 1.