a, \(y=sin^2x-2sinx+3cos^2x\)
\(=sin^2x-2sinx+3\left(1-sin^2x\right)\)
\(=3-2sinx-2sin^2x\)
Đặt \(sinx=t\left(t\in\left[0;1\right]\right)\)
\(\Rightarrow y=f\left(t\right)=3-2t-2t^2\)
\(\Rightarrow y_{min}=min\left\{f\left(0\right);f\left(1\right)\right\}=-1\)
\(y_{max}=max\left\{f\left(0\right);f\left(1\right)\right\}=3\)
b, \(y=sinx-cosx+sin2x+5\)
\(=sinx-cosx-\left(sinx-cosx\right)^2+6\)
Đặt \(sinx-cosx=t\left(t\in\left[-\sqrt{2};\sqrt{2}\right]\right)\)
\(\Rightarrow y=f\left(t\right)=-t^2+t+6\)
\(\Rightarrow y_{min}=min\left\{f\left(-\sqrt{2}\right);f\left(0\right)\right\}=4-\sqrt{2}\)
\(y_{max}=max\left\{f\left(-\sqrt{2}\right);f\left(0\right)\right\}=6\)
c, \(y=sinx-cosx+sinx.cosx-3\)
\(=sinx-cosx-\dfrac{1}{2}\left(sinx-cosx\right)^2-\dfrac{5}{2}\)
Đặt \(sinx-cosx=t\left(t\in\left[-\sqrt{2};\sqrt{2}\right]\right)\)
\(\Rightarrow y=f\left(t\right)=-\dfrac{1}{2}t^2+t-\dfrac{5}{2}\)
\(\Rightarrow y_{min}=min\left\{f\left(-\sqrt{2}\right);f\left(\sqrt{2}\right);f\left(1\right)\right\}=-\dfrac{7+2\sqrt{2}}{2}\)
\(y_{max}=max\left\{f\left(-\sqrt{2}\right);f\left(\sqrt{2}\right);f\left(1\right)\right\}=-2\)