f(x)=√3sin2x-(2cos²x-1)
=√3sin2x-cos2x
=2[(√3/2)sin2x-(1/2)cos2x]
=2[sin2xcos(π/6)-cos2xsin(π/6)]
=2sin(2x-π/6)
最小正周期是2π/2=π