Ta có : \(f'\left(x\right)=2x+\frac{2}{1-2x}=\frac{-4x^2+2x+2}{1-2x}=0\Leftrightarrow-4x^2+2x+2=0\)
\(\Leftrightarrow\left[\begin{array}{nghiempt}x=-\frac{1}{2}\in\left[-2;0\right]\\x=1\notin\left[-2;0\right]\end{array}\right.\)
Mà :
\(\begin{cases}f\left(-2\right)=4-\ln5;x=-2\\f\left(-\frac{1}{2}\right)=\frac{1}{4}-\ln2=\frac{1-4\ln2}{4};x=-\frac{1}{2}\\\end{cases}\)