Dirichlet function
In mathematics, the Dirichlet function[1][2] is the indicator function [math]\displaystyle{ \mathbf{1}_\Q }[/math] of the set of rational numbers [math]\displaystyle{ \Q }[/math], i.e. [math]\displaystyle{ \mathbf{1}_\Q(x) = 1 }[/math] if x is a rational number and [math]\displaystyle{ \mathbf{1}_\Q(x) = 0 }[/math] if x is not a rational number (i.e. is an irrational number). [math]\displaystyle{ \mathbf 1_\Q(x) = \begin{cases} 1 & x \in \Q \\ 0 & x \notin \Q \end{cases} }[/math]
It is named after the mathematician Peter Gustav Lejeune Dirichlet.[3] It is an example of pathological function which provides counterexamples to many situations.
Topological properties
- The Dirichlet function is nowhere continuous.
Its restrictions to the set of rational numbers and to the set of irrational numbers are constants and therefore continuous. The Dirichlet function is an archetypal example of the Blumberg theorem.Proof
- If y is rational, then f(y) = 1. To show the function is not continuous at y, we need to find an ε such that no matter how small we choose δ, there will be points z within δ of y such that f(z) is not within ε of f(y) = 1. In fact, 1⁄2 is such an ε. Because the irrational numbers are dense in the reals, no matter what δ we choose we can always find an irrational z within δ of y, and f(z) = 0 is at least 1⁄2 away from 1.
- If y is irrational, then f(y) = 0. Again, we can take ε = 1⁄2, and this time, because the rational numbers are dense in the reals, we can pick z to be a rational number as close to y as is required. Again, f(z) = 1 is more than 1⁄2 away from f(y) = 0.
- The Dirichlet function can be constructed as the double pointwise limit of a sequence of continuous functions, as follows: [math]\displaystyle{ \forall x \in \R, \quad \mathbf{1}_{\Q}(x) = \lim_{k \to \infty} \left(\lim_{j\to\infty}\left(\cos(k!\pi x)\right)^{2j}\right) }[/math] for integer j and k. This shows that the Dirichlet function is a Baire class 2 function. It cannot be a Baire class 1 function because a Baire class 1 function can only be discontinuous on a meagre set.[4]
Periodicity
For any real number x and any positive rational number T, [math]\displaystyle{ \mathbf{1}_\Q(x + T) = \mathbf{1}_\Q(x) }[/math]. The Dirichlet function is therefore an example of a real periodic function which is not constant but whose set of periods, the set of rational numbers, is a dense subset of [math]\displaystyle{ \R }[/math].
Integration properties
- The Dirichlet function is not Riemann-integrable on any segment of [math]\displaystyle{ \R }[/math] despite being bounded because the set of its discontinuity points is not negligible (for the Lebesgue measure).
- The Dirichlet function provides a counterexample showing that the monotone convergence theorem is not true in the context of the Riemann integral.
Proof
Using an enumeration of the rational numbers between 0 and 1, we define the function fn (for all nonnegative integer n) as the indicator function of the set of the first n terms of this sequence of rational numbers. The increasing sequence of functions fn (which are nonnegative, Riemann-integrable with a vanishing integral) pointwise converges to the Dirichlet function which is not Riemann-integrable.
- The Dirichlet function is Lebesgue-integrable on [math]\displaystyle{ \R }[/math] and its integral over [math]\displaystyle{ \R }[/math] is zero because it is zero except on the set of rational numbers which is negligible (for the Lebesgue measure).
See also
- Thomae's function, a variation that is discontinuous only at the rational numbers
References
- ↑ Hazewinkel, Michiel, ed. (2001), "Dirichlet-function", Encyclopedia of Mathematics, Springer Science+Business Media B.V. / Kluwer Academic Publishers, ISBN 978-1-55608-010-4, https://www.encyclopediaofmath.org/index.php?title=p/d032860
- ↑ Dirichlet Function — from MathWorld
- ↑ Lejeune Dirichlet, Peter Gustav (1829). "Sur la convergence des séries trigonométriques qui servent à représenter une fonction arbitraire entre des limites données". Journal für die reine und angewandte Mathematik 4: 157–169. https://eudml.org/doc/183134.
- ↑ Dunham, William (2005). The Calculus Gallery. Princeton University Press. pp. 197. ISBN 0-691-09565-5.
Original source: https://en.wikipedia.org/wiki/Dirichlet function.
Read more |