The correct options are
C −3
D −4+2√133
Vertex of f(x) will be at x = a2
Case-| : if a<0, then maximum value of f(x) is at x=0
∴f(0)=−5⇒a2+2a−3=0
⇒a=−3 or 1⇒a=−3
Case-|| : if a>2, then maximum value of f(x) is at x=1
∴f(1)=−5⇒a2+a−2=0
⇒a=−2or1 which is not possible
Case-||| : if 0<a<2, then maximum value is at x=a2
⇒f(a2)=−5⇒3a2+8a−12=0⇒a=−4±2√133
⇒a=−4+2√133 is possible
Ans: A,D