\(A=\left|m^2-m-6\right|=\left|\left(m-3\right)\left(m+2\right)\right|\)
Vì m>=-2 nên m+2>=0
Vì m<=2 thì m<3
=>m-3<0
=>A=(3-m)(m+2)=3m+6-m2-2m
\(=-m^2+m+6\)
\(=-\left(m^2-m-6\right)\)
\(=-\left(m^2-m+\dfrac{1}{4}-\dfrac{25}{4}\right)\)
\(=-\left(m-\dfrac{1}{2}\right)^2+\dfrac{25}{4}< =\dfrac{25}{4}\forall m\)
Dấu '=' xảy ra khi \(m-\dfrac{1}{2}=0\)
=>\(m=\dfrac{1}{2}\)