18
$\begingroup$

How do you prove that $\displaystyle\sum^{n+1}_{j=1}\left|\cos\left(j\cdot x\right)\right|\geqslant \dfrac{n}{4}$, where $x\in\mathbb{R}$?

I tried mathematical induction, but it doesn't work. I also have some ideas on complex number solution, such as setting $z=\cos\left(x\right)+i\sin\left(x\right)$ and working on $Re\left(z\right)$, but neither does that work.

$\endgroup$
11
  • $\begingroup$ Can $x$ be any number? It does look like induction may be helpful but I haven't tried it myself. $\endgroup$
    – SBK
    Commented Oct 18, 2022 at 14:14
  • $\begingroup$ @T_M $x\in\mathbb{R}$ $\endgroup$ Commented Oct 18, 2022 at 14:21
  • 1
    $\begingroup$ This may help $\sum^n_{j=1}\cos jx =-\tfrac12 +\frac12\frac{\sin(2n+1)x/2}{\sin x/2}$ $\endgroup$
    – Mittens
    Commented Oct 18, 2022 at 14:31
  • $\begingroup$ @Bruno your counterexample fails because for example we can already have $\sum_{j=1}^{n+1} |\cos(jx)| \geq \frac{n+1}{4}$; from the inequality $A(n) \ge n/4$ and $A(n)+a_{n+1} \ge (n+1)/4$ we cannot deduce anything really about $a_{n+1}$ since $A(n)$ can be much bigger than $n/4$ $\endgroup$
    – Conrad
    Commented Oct 18, 2022 at 15:03
  • $\begingroup$ Oh I see! My bad yeah $\endgroup$
    – Bruno B
    Commented Oct 18, 2022 at 15:10

2 Answers 2

15
$\begingroup$

By periodicity $\left|\cos(jx)\right|=|\cos (j(\pi+x))|=|\cos (j(\pi-x))|$ and the fact that $\cos$ even, it's enough to assume $0 <x \le \pi/2$ as the inequality is obvious for $x=0$.

Note that $|\cos x|+|\cos 2x| \geqslant \dfrac{\sqrt{2}}{2} $ with equality at $x=\pi/4$ (splitting into $0 \leqslant x \leqslant \pi/4, \pi/4 \le x \le \pi/2$ and expliciting one gets a quadratic in $\cos x$ etc) so we can assume $n \ge 3$ since $\sqrt 2/2 \ge n/4$ for $n=1,2$

Now $$\sum^{n+1}_{j=1}|\cos(jx)| \ge \sum^{n+1}_{j=1}\cos^2(jx)=\frac{n+1}{2}+\frac{1}{2}\sum^{n+1}_{j=1}\cos(2jx)$$

Now $\sum^{n+1}_{j=1}\cos(2jx)=(\frac{\sin ((2n+3)x)}{\sin x}-1)/2$ and we know that $\sin x \ge \frac{2x}{\pi}$ so $$|(\frac{\sin ((2n+3)x)}{\sin x}-1)/2| \le \frac{1}{2}(\frac{\pi}{2x}+1)$$

Hence if $\frac{\pi}{2x}+1 \le n+2$ or $x \ge \frac{\pi}{2n+2}$ we have $$\sum^{n+1}_{j=1}|\cos(jx)| \ge \frac{n+1}{2}-\frac{1}{2}|(\frac{\sin ((2n+3)x)}{\sin x}-1)/2| \ge \frac{n+1}{2}-\frac{n+2}{4}=\frac{n}{4}$$

If $x \le \frac{\pi}{2n+3}$ then $(2n+3)x \le \pi$ so $\frac{\sin ((2n+3)x)}{\sin x} \ge 0$ hence $$\sum^{n+1}_{j=1}|\cos(jx)| \ge \frac{n+1}{2}-\frac{1}{4}\geqslant \frac{n}{4}$$

hence assume $\frac{\pi}{2n+3} \le x \le \frac{\pi}{2(n+1)}$ then all $\cos jx \geqslant 0, j=1,..n+1$ since $(n+1)x \leqslant \pi/2$ hence:

$$\sum^{n+1}_{j=1}|\cos(jx)|=\sum^{n+1}_{j=1}\cos(jx)=(\frac{\sin ((n+3/2)x)}{\sin x/2}-1)/2$$

$\frac{\pi}{2}\le (n+3/2)x \le \frac{\pi}{2}+\frac{\pi}{4n+4}$ so $\sin ((n+3/2)x) \ge \cos \frac{\pi}{4n+4} \ge 1- (\frac{\pi}{4n+4})^2/2 $ while $\sin x/2 \le x/2 \le \frac{\pi}{4n+4}$ so $\frac{1}{ \sin x/2} \ge \frac{4n+4}{\pi}$, hence

$$2\sum^{n+1}_{j=1}|\cos(jx)| \ge \frac{4n+4}{\pi}(1- (\frac{\pi}{4n+4})^2/2 ) -1 \ge \frac{4n}{\pi}+4/\pi - \pi/32-1\ge \frac{n}{2}$$ since $n \ge 3$, so we are done!

Now $\int_0^{\pi/2}|\cos jx|dx=1, j \ge 1$ so $\int_0^{\pi/2}\sum^{n+1}_{j=1}|\cos(jx)|dx=n+1$ which suggests that the average sum is about $\frac{2n+2}{\pi}$ hence the lower bound $n/4$ most likely can be improved

$\endgroup$
6
  • $\begingroup$ It may be completely unrelated, but the problem (and your final remark) reminds me about math.stackexchange.com/q/2476812/42969, where an averaging technique is used to prove an inequality about complex numbers (which also involves the factor $1/\pi$). $\endgroup$
    – Martin R
    Commented Oct 18, 2022 at 17:39
  • $\begingroup$ @Martin I agree with that and maybe something along those lines can be obtained; if one puts $z_k=e^{ikx}$ one gets that a subsum of $|\sum \cos jx + i \sum \sin jx|$ for some indices is at least $\frac{n+1}{\pi}$ so if we can arrange that the $\cos$ part is large, it would work $\endgroup$
    – Conrad
    Commented Oct 18, 2022 at 17:43
  • $\begingroup$ For $n>3$, it appears $\sum_{j=1}^{2n}|\cos jx|\ge n$ where equality is achieved at odd multiples of $\pi/2$. $\endgroup$
    – TheSimpliFire
    Commented Oct 18, 2022 at 17:44
  • $\begingroup$ @TheSimpliFire wouldn't surprise me in the least as the sum is definitely bigger than $n/4$; maybe a careful analysis of the Chebyshev polynomials works to give the better bound (since the average is large $2(n+1)/\pi$ which is more than $5n/8$ and the Chebyshev polynomials are fairly flat) $\endgroup$
    – Conrad
    Commented Oct 18, 2022 at 17:45
  • $\begingroup$ @Conrad I've edited my comment to reflect the observation that the $-1/2$ term doesn't seem necessary for $n>3$. It seems Chebyshev is the way to go (maybe we could also bound using Weierstrass approximation and compare Fourier coefficients). $\endgroup$
    – TheSimpliFire
    Commented Oct 18, 2022 at 17:56
4
$\begingroup$

It has been shown in

that for fixed $x \in \Bbb R$, at least $\lfloor (n+1)/2 \rfloor$ indices $j \in \{ 1, 2, \ldots, n+1\}$ have the property that $$ |j \frac x\pi - k| \le \frac 13 \text{ for some integer $k$}. $$ For those indices $j$ is $|\cos(j x) | \ge \frac 12$. It follows that $$ \sum_{j=1}^{n+1} |\cos(j x) | \ge \left\lfloor \frac{n+1}2 \right\rfloor \frac 1 2 \ge \frac n 4 \, . $$

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .