Concept:
- Extreme values occur where \(f'(x)=0\). At such a point, \(f''(x)\lt 0\) gives a local maximum and \(f''(x)\gt 0\) gives a local minimum.
- For \(x\neq0\), \(\dfrac{d}{dx}\ln|x|=\dfrac1x\).
Step 1: Find \(f'(x)\) and use the extreme points
For \(f(x)=\ln|x|+bx^2+ax\), \(x\ne0\), \[ f'(x)=\frac1x+2bx+a. \] Extreme values at \(x=-1\) and \(x=2\) mean \(f'(-1)=0\) and \(f'(2)=0\): \[ -1-2b+a=0,\qquad \frac12+4b+a=0. \]
Step 2: Solve for \(a\) and \(b\)
Subtracting the first equation from the second: \(\dfrac32+6b=0\), so \(b=-\dfrac14\). Then \(a=1+2b=1-\dfrac12=\dfrac12\). Hence \(a=\dfrac12\) and \(b=-\dfrac14\), which is exactly Statement 2, so Statement 2 is true.
Step 3: Test Statement 1 with the second derivative
\[ f''(x)=-\frac1{x^2}+2b=-\frac1{x^2}-\frac12. \] This is negative for every \(x\neq0\). In particular \(f''(-1)=-\tfrac32\lt 0\) and \(f''(2)=-\tfrac14-\tfrac12=-\tfrac34\lt 0\). So \(f\) has a local maximum at both \(x=-1\) and \(x=2\), and Statement 1 is true.
Step 4: Does Statement 2 explain Statement 1?
Statement 1 follows precisely because the values \(a=\tfrac12\), \(b=-\tfrac14\) found in Statement 2 make \(f''\) negative at both points. Without those values the sign of \(f''\) could not be decided, so Statement 2 is a correct explanation of Statement 1.
Step 5: Conclusion
Both statements are true, and Statement 2 (the values of \(a\) and \(b\)) explains why both extreme points are maxima. Hence, the correct option is (B).