If $f(x)=a \log |x|+b x^2+x$ has extreme values at $x=-1$ and $x=2$, then the ordered pair $(a, b)=$
- (2 ,-1 )
- $\left(2,-\frac{1}{2}\right)$
- $(-1,2)$
- $\left(-\frac{1}{2}, 2\right)$
Solution

Also, given $x=2$ is the other extremity of $f(x)$. $ \begin{aligned} f^{\prime}(2) & =0 \\ \frac{a(2)}{4}+2 b(2)+1 & =0 \\ \frac{a}{2}+4 b+1 & =0 \end{aligned} $

Adding on Eqs. (i) and (ii), we get $ \begin{array}{rlrl} \Rightarrow & & 6 b+3 & =0 \\ \Rightarrow & b & =-\frac{1}{2} \end{array} $ Substituting $b=-\frac{1}{2}$ in Eq. (i), we get $ \begin{aligned} a & =2 \\ \therefore(a, b) & =\left(2,-\frac{1}{2}\right) \end{aligned} $ $\therefore$ Hence option (b) is correct
Asked in: AP EAMCET 2019 (20 Apr Shift 2)
Practice more Applications of Derivatives questions on Aicharya