若函數(shù)f(x)=(a?1)2?2sin2x?2acosx(0≤x≤π2)的最小值是-2,求實數(shù)a的值,并求出此時f(x)的最大值.
若函數(shù)
f(x)=(a?1)2?2sin2x?2acosx(0≤x≤)的最小值是-2,求實數(shù)a的值,并求出此時f(x)的最大值.
優(yōu)質(zhì)解答
函數(shù)f(x)=(a-1)
2-2sin
2x-2acosx
=(a-1)
2-2+cos
2x-2acosx
=2cos
2x-2acosx+a
2-2a-1.令t=cosx,則t∈[0,1],
y=2(t?)2+?2a?1,t∈[0,1]
①當
≤0,即a≤0時,
ymin=(a?1)2?2=?2,故a=1(舍)
②當
0<<1,即0<a<2時,
ymin=?2a?1=?2解得
a=2±,取
a=2?,此時y
max=-1
③當
≥1,即a≥2時,
ymin=a2?4a+1=?2解得a=1(舍)或a=3,,此時y
max=2
綜上,當
a=2?時y
max=-1;當a=3時y
max=2
我來回答
類似推薦