JEE Main 2012 Mathematics question — Local maxima and minima and concavity
Let a,b∈R be such that the function f given by f(x)=ln∣x∣+bx2+ax,x=0 has extreme values at x=−1 and x=2. Statement 1: f has local maximum at x=−1 and at x=2. Statement 2: a=21 and b=4−1.
SOLUTION
Key idea: At the extreme points f′=0. Solve for a,b, then check the sign of f′′.
f′(x)=x1+2bx+a (valid for x<0 too, since dxdln∣x∣=x1).
f′(−1)=0: −1−2b+a=0. f′(2)=0: 21+4b+a=0.
Subtracting: 23+6b=0⇒b=−41, and then a=1+2b=21. Statement 2 is true.
f′′(x)=−x21+2b=−x21−21<0 for all x=0. So both x=−1 and x=2 are local maxima, and Statement 1 is true.
These values of a,b are what make f′′<0, so Statement 2 explains Statement 1.