Hàm số \(f\left(x\right)\) liên tục trên đoạn \(\left[\frac{1}{2};2\right]\)
+)\(f'\left(x\right)=\frac{x^2+2x}{\left(x+1\right)^2};f'\left(x\right)=0\Leftrightarrow x=0\notin\left[\frac{1}{2};2\right]\)hoặc \(x=-2\notin\left[\frac{1}{2};2\right]\)
+) \(f\left(\frac{1}{2}\right)=\frac{7}{6};f\left(2\right)=\frac{7}{3}\)
Vậy \(minf\left(x\right)_{x\in\left[\frac{1}{2};2\right]}=\frac{7}{6}\) khi \(x=\frac{1}{2}\)
\(maxf\left(x\right)_{x\in\left[\frac{1}{2};2\right]}=\frac{7}{3}\) khi \(x=2\)