题目内容
已知向量a=(cos
,sin
),b=(cos
,-sin
),且x∈
.
(1)求a·b及|a+b|;
(2)若f(x)=a·b-|a+b|,求f(x)的最大值和最小值.
解 (1)a·b=cos
cos
-sin
sin
=cos 2x,
=2|cos x|,
∵x∈
,∴cos x>0,
∴|a+b|=2cos x.
(2)f(x)=cos 2x-2cos x=2cos2x-2cos x-1=2(cos x-
)2-
.
∵x∈
.∴
≤cos x≤1,
∴当cos x=
时,f(x)取得最小值-
;当cos x=1时,f(x)取得最大值-1.
练习册系列答案
相关题目