Fejér sum (source code)

= Fejér sum
{c}
{title2=$\sigma_n(f)$}

With the $N$-term convention, the <Fejér sum> of an integrable $2\pi$-periodic function is
$$
\sigma_Nf=\frac1N\sum_{j=0}^{N-1}S_jf
=\frac1{2\pi}\int_{-\pi}^{\pi}F_N(t)f(\cdot-t)dt.
$$
The <Fejér kernel> formula gives the finite frequency expansion
$$
\sigma_Nf(x)=\sum_{|k|<N}\left(1-\frac{|k|}{N}\right)\widehat f(k)e^{ikx}.
$$
Each mode is tapered linearly rather than sharply retained or discarded. The degree is at most $N-1$, and $\sigma_1f$ is the mean of $f$.

For $f(x)=\cos x$ and $N\ge2$, the result is $(1-1/N)\cos x$. This checks the precise finite-index error in <Fejér saturation on a Fourier mode>. The nonnegative kernel gives <Fejér summation is a uniform-norm contraction>, and <Fejér's theorem> explains uniform convergence for continuous input. Neither property asserts that a sum of a sign-changing function is pointwise nonnegative.