已知函数
f(x)=cos4x−2sinxcosx−sin4x.
(1) 求
f(x) 的最小正周期;
(2) 若
x∈[0,2π],求
f(x) 的最大值,最小值.
\begin{solution}
\begin{enumerate}
\item 由
cos4x−sin4x=(cos2x−sin2x)(cos2x+sin2x)=cos2x,且
2sinxcosx=sin2x,得
f(x)=cos2x−sin2x=2cos(2x+4π). 因为自变量
x 的系数为
2,所以
f(x) 的最小正周期为
T=22π=π.
\item 令
t=2x,则
t∈[0,π],并设
φ(t)=cost−sint,于是
f(x)=φ(t). 有
φ′(t)=−sint−cost,在区间
[0,π] 内令
φ′(t)=0,得
t=43π. 比较端点和驻点的函数值:
φ(0)=1,
φ(43π)=−2,
φ(π)=−1. 因而当
t=0,即
x=0 时,
f(x) 取得最大值
1;当
t=43π,即
x=83π 时,
f(x) 取得最小值
−2.
\end{enumerate}
\end{solution}