题目内容

6.求函数f(x)=m(sinx+cosx)+sin2x(x∈R)的最大值.

分析 换元法,设t=sinx+cosx,由三角函数知识可得t∈[-$\sqrt{2}$,$\sqrt{2}$],且sin2x=t2-1,可得f(x)=m(sinx+cosx)+sin2x=mt+t2-1,由二次函数区间的最值可得.

解答 解:设t=sinx+cosx=$\sqrt{2}$sin(x+$\frac{π}{4}$)∈[-$\sqrt{2}$,$\sqrt{2}$],
∴t2=(sinx+cosx)2=1+sin2x,
∴sin2x=t2-1,
∴f(x)=m(sinx+cosx)+sin2x=mt+t2-1=(t-$\frac{m}{2}$)2-$\frac{1}{4}{m}^{2}$-1,
当$\frac{m}{2}$≤0时,即m≤0时,此时f(x)max=f($\sqrt{2}$)=1+$\sqrt{2}$m,
当$\frac{m}{2}$>0时,即m>0时,此时f(x)max=f(-$\sqrt{2}$)=1-$\sqrt{2}$m,
故f(x)max=$\left\{\begin{array}{l}{1+\sqrt{2}m,m≤0}\\{1-\sqrt{2}m,n>0}\end{array}\right.$.

点评 本题考查三角函数的值域,涉及换元法和三角函数的值域以及二次函数区间的最值,属中档题.

练习册系列答案
相关题目

违法和不良信息举报电话:027-86699610 举报邮箱:58377363@163.com

精英家教网