Article · Wikipedia archive · Last revised May 28, 2026

Dirichlet kernel

In mathematical analysis, the Dirichlet kernel, is the collection of periodic functions defined as

Last revised
May 28, 2026
Read time
≈ 10 min
Length
2,291 w
Citations
1
Source

In mathematical analysis, the Dirichlet kernel, is the collection of periodic functions defined as

D n ( x ) = k = n n e i k x = ( 1 + 2 k = 1 n cos ( k x ) ) = sin ( ( n + 1 / 2 ) x ) sin ( x / 2 ) , {\displaystyle D_{n}(x)=\sum _{k=-n}^{n}e^{ikx}=\left(1+2\sum _{k=1}^{n}\cos(kx)\right)={\frac {\sin \left(\left(n+1/2\right)x\right)}{\sin(x/2)}},}

where n is any nonnegative integer. The kernel functions are periodic with period 2 π {\displaystyle 2\pi } .

Plot restricted to one period [ L , L ] ,   L = π ,   {\displaystyle [-L,L],~L=\pi ,~} of the first few Dirichlet kernels showing their convergence to one of the Dirac delta distributions of the Dirac comb. source ↗

The importance of the Dirichlet kernel comes from its relation to Fourier series. The convolution of D n ( x ) {\displaystyle D_{n}(x)} with any function f {\displaystyle f} of period 2 π {\displaystyle 2\pi } is the n {\displaystyle n} th-degree Fourier series approximation to f {\displaystyle f} , i.e., we have

( D n f ) ( x ) = π π f ( y ) D n ( x y ) d y = 2 π k = n n f ^ ( k ) e i k x , {\displaystyle (D_{n}*f)(x)=\int _{-\pi }^{\pi }f(y)D_{n}(x-y)\,dy=2\pi \sum _{k=-n}^{n}{\hat {f}}(k)e^{ikx},}

where

f ^ ( k ) = 1 2 π π π f ( y ) e i k y d y {\displaystyle {\widehat {f}}(k)={\frac {1}{2\pi }}\int _{-\pi }^{\pi }f(y)e^{-iky}\,dy}

is the k {\displaystyle k} th Fourier coefficient of f {\displaystyle f} . This implies that in order to study convergence of Fourier series it is enough to study properties of the Dirichlet kernel.

The Dirichlet kernel was named for Peter Gustav Lejeune Dirichlet.

Applications

In signal processing, the Dirichlet kernel is often called the periodic sinc function:

P ( ω ) = D n ( x ) | x = 2 π ω / ω 0 = sin ( π M ω / ω 0 ) sin ( π ω / ω 0 ) {\displaystyle P(\omega )=D_{n}(x)|_{x=2\pi \omega /\omega _{0}}={\sin(\pi M\omega /\omega _{0}) \over \sin(\pi \omega /\omega _{0})}}

where M = 2 n + 1 3 {\displaystyle M=2n+1\geq 3} is an odd integer. In this form, ω {\displaystyle \omega } is the angular frequency, and ω 0 {\displaystyle \omega _{0}} is half of the periodicity in frequency. In this case, the periodic sinc function in the frequency domain can be thought of as the Fourier transform of a time bounded impulse train in the time domain:

p ( t ) = k = n n δ ( t k T ) {\displaystyle p(t)=\sum _{k=-n}^{n}\delta (t-kT)}

where T = π ω 0 {\displaystyle T={\frac {\pi }{\omega _{0}}}} is the time increment between each impulse and M = 2 n + 1 {\displaystyle M=2n+1} represents the number of impulses in the impulse train.

In optics, the Dirichlet kernel is part of the mathematical description of the diffraction pattern formed when monochromatic light passes through an aperture with multiple narrow slits of equal width and equally spaced along an axis perpendicular to the optical axis. In this case, M {\displaystyle M} is the number of slits.

Plot restricted to one period of the first few Dirichlet kernels (multiplied by 2 π {\displaystyle 2\pi } ). source ↗

L1 norm of the kernel function

Of particular importance is the fact that the L 1 {\displaystyle L^{1}} norm of D n {\displaystyle D_{n}} on [ 0 , 2 π ] {\displaystyle [0,2\pi ]} diverges to infinity as n {\displaystyle n\to \infty } . One can estimate that (using the big omega notation)

D n L 1 = Ω ( log n ) . {\displaystyle \|D_{n}\|_{L^{1}}=\Omega (\log n).}

By using a Riemann-sum argument to estimate the contribution in the largest neighbourhood of zero in which D n {\displaystyle D_{n}} is positive, and Jensen's inequality for the remaining part, it is also possible to show that:

D n L 1 4 Si ( π ) + 8 π log n {\displaystyle \|D_{n}\|_{L^{1}}\geq 4\operatorname {Si} (\pi )+{\frac {8}{\pi }}\log n}

where Si ( x ) {\textstyle \operatorname {Si} (x)} is the sine integral 0 x ( sin t ) / t d t . {\textstyle \int _{0}^{x}(\sin t)/t\,dt.}

This lack of uniform integrability is behind many divergence phenomena for the Fourier series. For example, together with the uniform boundedness principle, it can be used to show that the Fourier series of a continuous function may fail to converge pointwise, in rather dramatic fashion. See convergence of Fourier series for further details.

A precise proof of the first result that D n L 1 [ 0 , 2 π ] = Ω ( log n ) {\displaystyle \|D_{n}\|_{L^{1}[0,2\pi ]}=\Omega (\log n)} is given by

0 2 π | D n ( x ) | d x 0 π | sin [ ( 2 n + 1 ) x ] | x d x k = 0 2 n k π ( k + 1 ) π | sin s | s d s | k = 0 2 n 0 π sin s ( k + 1 ) π d s | = 2 π H 2 n + 1 2 π log ( 2 n + 1 ) , {\displaystyle {\begin{aligned}\int _{0}^{2\pi }|D_{n}(x)|\,dx&\geq \int _{0}^{\pi }{\frac {\left|\sin[(2n+1)x]\right|}{x}}\,dx\\[5pt]&\geq \sum _{k=0}^{2n}\int _{k\pi }^{(k+1)\pi }{\frac {\left|\sin s\right|}{s}}\,ds\\[5pt]&\geq \left|\sum _{k=0}^{2n}\int _{0}^{\pi }{\frac {\sin s}{(k+1)\pi }}\,ds\right|\\[5pt]&={\frac {2}{\pi }}H_{2n+1}\\[5pt]&\geq {\frac {2}{\pi }}\log(2n+1),\end{aligned}}}

where we have used the Taylor series identity that 2 / x 1 / | sin ( x / 2 ) | {\displaystyle 2/x\leq 1/\left|\sin(x/2)\right|} and where H n {\displaystyle H_{n}} are the first-order harmonic numbers.

Relation to the periodic delta function

The Dirichlet kernel is a periodic function which becomes the Dirac comb, i.e. the periodic delta function, in the limit

lim n D n ( ω ) = lim n k = n n e ± i ω k = k = e ± i 2 π k x = k = δ ( x k ) = 2 π k = δ ( ω 2 π k )   , {\displaystyle \lim _{n\to \infty }D_{n}(\omega )=\lim _{n\to \infty }\sum _{k=-n}^{n}e^{\pm i\omega k}=\sum _{k=-\infty }^{\infty }e^{\pm i2\pi kx}=\sum _{k=-\infty }^{\infty }\delta (x-k)=2\pi \sum _{k=-\infty }^{\infty }\delta (\omega -2\pi k)~,}

with the angular frequency ω = 2 π x {\displaystyle \omega =2\pi x} .

This can be inferred from the autoconjugation property of the Dirichlet kernel under forward and inverse Fourier transform:

F [ D n ( 2 π x ) ] ( ξ ) = F 1 [ D n ( 2 π x ) ] ( ξ ) = D n ( 2 π x ) e ± i 2 π ξ x d x = k = n + n δ ( ξ k ) comb n ( ξ ) {\displaystyle {\mathcal {F}}\left[D_{n}(2\pi x)\right](\xi )={\mathcal {F}}^{-1}\left[D_{n}(2\pi x)\right](\xi )=\int _{-\infty }^{\infty }D_{n}(2\pi x)e^{\pm i2\pi \xi x}\,dx=\sum _{k=-n}^{+n}\delta (\xi -k)\equiv \operatorname {comb} _{n}(\xi )}
F [ comb n ] ( x ) = F 1 [ comb n ] ( x ) = comb n ( ξ ) e ± i 2 π ξ x d ξ = D n ( 2 π x ) , {\displaystyle {\mathcal {F}}\left[\operatorname {comb} _{n}\right](x)={\mathcal {F}}^{-1}\left[\operatorname {comb} _{n}\right](x)=\int _{-\infty }^{\infty }\operatorname {comb} _{n}(\xi )e^{\pm i2\pi \xi x}\,d\xi =D_{n}(2\pi x),}

and comb n ( x ) {\displaystyle \operatorname {comb} _{n}(x)} goes to the Dirac comb Ш {\displaystyle \operatorname {\text{Ш}} } of period T = 1 {\displaystyle T=1} as n {\displaystyle n\rightarrow \infty } , which remains invariant under Fourier transform: F [ Ш ] = Ш {\displaystyle {\mathcal {F}}[\operatorname {\text{Ш}} ]=\operatorname {\text{Ш}} } . Thus D n ( 2 π x ) {\displaystyle D_{n}(2\pi x)} must also have converged to Ш {\displaystyle \operatorname {\text{Ш}} } as n {\displaystyle n\rightarrow \infty } .

In a different vein, consider Δ ( x ) {\displaystyle \Delta (x)} as the identity element for convolution on functions of period 2 π {\displaystyle 2\pi } . In other words, we have

f ( Δ ) = f {\displaystyle f*(\Delta )=f}

for every function f {\displaystyle f} of period 2π. The Fourier series representation of this "function" is

Δ ( x ) k = e i k x = ( 1 + 2 k = 1 cos ( k x ) ) . {\displaystyle \Delta (x)\sim \sum _{k=-\infty }^{\infty }e^{ikx}=\left(1+2\sum _{k=1}^{\infty }\cos(kx)\right).}

(This Fourier series converges to the function almost nowhere.) Therefore, the Dirichlet kernel, which is just the sequence of partial sums of this series, can be thought of as an approximate identity. Abstractly speaking it is not however an approximate identity of positive elements (hence the failures in pointwise convergence mentioned above).

Proof of the trigonometric identity

The trigonometric identity

k = n n e i k x = sin ( ( n + 1 / 2 ) x ) sin ( x / 2 ) {\displaystyle \sum _{k=-n}^{n}e^{ikx}={\frac {\sin((n+1/2)x)}{\sin(x/2)}}}

displayed at the top of this article may be established as follows. First recall that the sum of a finite geometric series is

k = 0 n a r k = a 1 r n + 1 1 r . {\displaystyle \sum _{k=0}^{n}ar^{k}=a{\frac {1-r^{n+1}}{1-r}}.}

In particular, we have

k = n n r k = r n 1 r 2 n + 1 1 r . {\displaystyle \sum _{k=-n}^{n}r^{k}=r^{-n}\cdot {\frac {1-r^{2n+1}}{1-r}}.}

Multiply both the numerator and the denominator by r 1 / 2 {\displaystyle r^{-1/2}} , getting

r n 1 / 2 r 1 / 2 1 r 2 n + 1 1 r = r n 1 / 2 r n + 1 / 2 r 1 / 2 r 1 / 2 . {\displaystyle {\frac {r^{-n-1/2}}{r^{-1/2}}}\cdot {\frac {1-r^{2n+1}}{1-r}}={\frac {r^{-n-1/2}-r^{n+1/2}}{r^{-1/2}-r^{1/2}}}.}

In the case r = e i x {\displaystyle r=e^{ix}} we have

k = n n e i k x = e ( n + 1 / 2 ) i x e ( n + 1 / 2 ) i x e i x / 2 e i x / 2 = 2 i sin ( ( n + 1 / 2 ) x ) 2 i sin ( x / 2 ) = sin ( ( n + 1 / 2 ) x ) sin ( x / 2 ) {\displaystyle \sum _{k=-n}^{n}e^{ikx}={\frac {e^{-(n+1/2)ix}-e^{(n+1/2)ix}}{e^{-ix/2}-e^{ix/2}}}={\frac {-2i\sin((n+1/2)x)}{-2i\sin(x/2)}}={\frac {\sin((n+1/2)x)}{\sin(x/2)}}}

as required.

Alternative proof of the trigonometric identity

Start with the series

f ( x ) = 1 + 2 k = 1 n cos ( k x ) . {\displaystyle f(x)=1+2\sum _{k=1}^{n}\cos(kx).}

Multiply both sides by sin ( x / 2 ) {\textstyle \sin(x/2)} and use the trigonometric identity

cos ( a ) sin ( b ) = sin ( a + b ) sin ( a b ) 2 {\displaystyle \cos(a)\sin(b)={\frac {\sin(a+b)-\sin(a-b)}{2}}}

to reduce the terms in the sum.

sin ( x / 2 ) f ( x ) = sin ( x / 2 ) + k = 1 n ( sin ( ( k + 1 2 ) x ) sin ( ( k 1 2 ) x ) ) {\displaystyle \sin(x/2)f(x)=\sin(x/2)+\sum _{k=1}^{n}\left(\sin((k+{\tfrac {1}{2}})x)-\sin((k-{\tfrac {1}{2}})x)\right)}

which telescopes down to the result.

Variant of identity

If the sum is only over non-negative integers (which may arise when computing a discrete Fourier transform that is not centered), then using similar techniques we can show the following identity:

k = 0 N 1 e i k x = e i ( N 1 ) x / 2 sin ( N x / 2 ) sin ( x / 2 ) {\displaystyle \sum _{k=0}^{N-1}e^{ikx}=e^{i(N-1)x/2}{\frac {\sin(N\,x/2)}{\sin(x/2)}}}

Another variant is

D n ( x ) cos ( n x ) = sin ( n x ) tan ( x 2 ) {\displaystyle D_{n}(x)-\cos(nx)={\frac {\sin \left(nx\right)}{\tan({\frac {x}{2}})}}}

and this can be easily proved by using an identity sin ( α + β ) = sin ( α ) cos ( β ) + cos ( α ) sin ( β ) {\displaystyle \sin(\alpha +\beta )=\sin(\alpha )\cos(\beta )+\cos(\alpha )\sin(\beta )} .1

See also

See also

References

References

  1. Fay, Temple H.; Kloppers, P. Hendrik (2001). "The Gibbs' phenomenon". International Journal of Mathematical Education in Science and Technology. 32 (1): 73–89. doi:10.1080/00207390117151. S2CID 120595055.
Sources

Sources