问题 解答题
已知函数f(x)=2sinxcosx+cos2x(x∈R).
(1)当x取什么值时,函数f(x)取得最大值,并求其最大值;
(2)若θ为锐角,且f(θ+
π
8
)=
2
3
,求tanθ的值.
答案

(1)f(x)=2sinxcosx+cos2x=sin2x+cos2x(1分)

=

2
(
2
2
sin2x+
2
2
cos2x)(2分)

=

2
sin(2x+
π
4
).(3分)

∴当2x+

π
4
=2kπ+
π
2
,即x=kπ+
π
8
(k∈
Z)时,函数f(x)取得最大值,其值为
2

(5分)

(2)解法1:∵f(θ+

π
8
)=
2
3
,∴
2
sin(2θ+
π
2
)=
2
3
.(6分)

cos2θ=

1
3
.(7分)

∵θ为锐角,即0<θ<

π
2
,∴0<2θ<π.

sin2θ=

1-cos2
=
2
2
3
.(8分)

tan2θ=

sin2θ
cos2θ
=2
2
.(9分)

2tanθ
1-tan2θ
=2
2
.(10分)

2
tan2θ+tanθ-
2
=0.

(

2
tanθ-1)(tanθ+
2
)=0.

tanθ=

2
2
tanθ=-
2
(不合题意,舍去)(11分)

tanθ=

2
2
.(12分)

解法2:∵f(θ+

π
8
)=
2
3
,∴
2
sin(2θ+
π
2
)=
2
3

cos2θ=

1
3
.(7分)

2cos2θ-1=

1
3
.(8分)

∵θ为锐角,即0<θ<

π
2

cosθ=

6
3
.(9分)

sinθ=

1-cos2θ
=
3
3
.(10分)

tanθ=

sinθ
cosθ
=
2
2
.(12分)

解法3:∵f(θ+

π
8
)=
2
3
,∴
2
sin(2θ+
π
2
)=
2
3

cos2θ=

1
3
.(7分)

∵θ为锐角,即0<θ<

π
2
,∴0<2θ<π.

sin2θ=

1-cos2
=
2
2
3
.(8分)

tanθ=

sinθ
cosθ
(9分)

=

2sinθcosθ
2cos2θ
(10分)

=

sin2θ
1+cos2θ
=
2
2
.(12分)

单项选择题
单项选择题