a) Prove that every function of the form
f(x)=2a0+cosx+n=2∑Nancos(nx)
with ∣a0∣<1, has positive as well as negative values in the period
[0,2π).
b) Prove that the function
F(x)=n=1∑100cos(n23x)
has at least 40 zeros in the interval (0,1000).
Solution (official)
a) Let us consider the integral
∫02πf(x)(1±cosx)dx=π(a0±1).
The assumption that f(x)≥0 implies a0≥1. Similarly, if
f(x)≤0 then a0≤−1. In both cases we have a contradiction
with the hypothesis of the problem.
b) We shall prove that for each integer N and for each real number
h≥24 and each real number y the function
FN(x)=n=1∑Ncos(xn23)
changes sign in the interval (y,y+h). The assertion will follow
immediately from here.
Consider the integrals
I1=∫yy+hFN(x)dx,I2=∫yy+hFN(x)cosxdx.
If FN(x) does not change sign in (y,y+h) then we have
∣I2∣≤∫yy+h∣FN(x)∣dx=∫yy+hFN(x)dx=∣I1∣.
Hence, it is enough to prove that
∣I2∣>∣I1∣.
Obviously, for each α=0 we have
∫yy+hcos(αx)dx≤∣α∣2.
Hence
∣I1∣=n=1∑N∫yy+hcos(xn23)dx≤2n=1∑Nn231<2(1+∫1∞t23dt)=6.(1)
On the other hand we have
I2=n=1∑N∫yy+hcosxcos(xn23)dx=21∫yy+h(1+cos(2x))dx+21n=2∑N∫yy+h(cos(x(n23−1))+cos(x(n23+1)))dx=21h+Δ,
where
∣Δ∣≤21(1+2n=2∑N(n23−11+n23+11))≤21+2n=2∑Nn23−11.
We use that n23−1≥32n23 for
n≥3 and we get
∣Δ∣≤21+223−12+3n=3∑Nn231<21+22−12+3∫2∞t23dt<6.
Hence
∣I2∣>21h−6.(2)
We use that h≥24 and inequalities (1), (2) and we obtain
∣I2∣>∣I1∣. The proof is completed.