Thomaefüggvény
Thomaefüggvény, also known as Thomae's function or the popcorn function, is a classical example in real analysis illustrating a function that is continuous at every irrational point and discontinuous at every rational point. It is named after the 19th‑century German mathematician Johannes Thomae and is frequently cited for its simple definition and interesting convergence properties.
Definition: For x ∈ R, if x is irrational then f(x) = 0. If x is rational, write x
Properties: The range of the function is {0} ∪ {1/q : q ∈ N}. The function is bounded between
Integrability: On any closed interval, Thomaefüggvény is Riemann integrable and its integral is 0. The Lebesgue
Variants and usage: It is commonly studied on [0,1], with extensions to all of R by the
See also: Popcorn function, Dirichlet function. Further reading includes standard texts in real analysis discussing examples