a) Ta có: \(y' = 6{x^2} - 6x + 5 = 6\left( {{x^2} - x + \frac{5}{6}} \right) = 6{\left( {x - \frac{1}{2}} \right)^2} + \frac{7}{2} > 0\;\forall x \in \left[ {0;2} \right]\)
Do đó, hàm số \(y = 2{x^3} - 3{x^2} + 5x + 2\) đồng biến trên \(\left[ {0;2} \right]\).
Ta có: \(y\left( 0 \right) = 2;y\left( 2 \right) = {2.2^3} - {3.2^2} + 5.2 + 2 = 16\)
Do đó, \(\mathop {\max }\limits_{\left[ {0;2} \right]} y = y\left( 2 \right) = 16,\mathop {\min }\limits_{\left[ {0;2} \right]} y = y\left( 0 \right) = 2\)
b) Ta có: \(y' = {e^{ - x}} - \left( {x + 1} \right){e^{ - x}} = {e^{ - x}}\left( {1 - x - 1} \right) = - x.{e^{ - x}}\)
\(y' = 0 \Leftrightarrow - x.{e^{ - x}} = 0 \Leftrightarrow x = 0\) (thỏa mãn \(x \in \left[ { - 1;1} \right]\))
\(y\left( { - 1} \right) = 0;y\left( 0 \right) = 1;y\left( 1 \right) = \frac{2}{e}\)
Do đó, \(\mathop {\max }\limits_{\left[ { - 1;1} \right]} y = y\left( 0 \right) = 1,\mathop {\min }\limits_{\left[ { - 1;1} \right]} y = y\left( { - 1} \right) = 0\)