Thomae's function
Function that is discontinuous at rationals and continuous at irrationals
Thomae's function is a real-valued function of a real variable that can be defined as: f ( x ) = { 1 q if x = p q ( x is rational), with p ∈ Z and q ∈ N coprime 0 if x is irrational. {\displaystyle f(x)={\begin{cases}{\frac {1}{q}}&{\text{if }}x={\tfrac {p}{q}}\quad (x{\text{ is rational), with }}p\in \mathbb {Z} {\text{ and }}q\in \mathbb {N} {\text{ coprime}}\\0&{\text{if }}x{\text{ is irrational.}}\end{cases}}} It is named after Carl Johannes Thomae, but has many other names: the popcorn function, the raindrop function, the countable cloud f...
Nº Q776401 ★
Common · Knowledge
Thomae's function
Function that is discontinuous at rationals and continuous at irrationals
Thomae's function is a real-valued function of a real variable that can be defined as: f ( x ) = { 1 q if x = p q ( x is rational), with p ∈ Z and q ∈ N coprime 0 if x is irrational. {\displaystyle f(x)={\begin{cases}{\frac {1}{q}}&{\text{if }}x={\tfrac {p}{q}}\quad (x{\text{ is rational), with }}p\in \mathbb {Z} {\text{ and }}q\in \mathbb {N} {\text{ coprime}}\\0&{\text{if }}x{\text{ is irrational.}}\end{cases}}} It is named after Carl Johannes Thomae, but has many other names: the popcorn function, the raindrop function, the countable cloud f...
Last price
—
Floor price
—
7-day median
—
30-day sales
0
30-day range
—
In circulation
0
Price history
median
low – high
sales
No sales in this period
Show table
| Date | median | Low | High | sales |
|---|
Sales history
- Last sale
- —
- 30-day average
- —
- 30-day low
- —
- 30-day high
- —
- Sales 7d
- 0
- Sales 30d
- 0
No sales yet.
Anonymous sales: no buyer or seller shown. Figures count player-to-player sales only.
From Wikipedia
Thomae's function is a real-valued function of a real variable that can be defined as: f ( x ) = { 1 q if x = p q ( x is rational), with p ∈ Z and q ∈ N coprime 0 if x is irrational. {\displaystyle f(x)={\begin{cases}{\frac {1}{q}}&{\text{if }}x={\tfrac {p}{q}}\quad (x{\text{ is rational), with }}p\in \mathbb {Z} {\text{ and }}q\in \mathbb {N} {\text{ coprime}}\\0&{\text{if }}x{\text{ is irrational.}}\end{cases}}} It is named after Carl Johannes Thomae, but has many other names: the popcorn function, the raindrop function, the countable cloud function, the modified Dirichlet function, the ruler function (not to be confused with the integer ruler function), the Riemann function, or the Stars over Babylon (John Horton Conway's name). Thomae mentioned it as an example for an integrable function with infinitely many discontinuities in an early textbook on Riemann's notion of integration. Since every rational number has a unique representation with coprime (also termed relatively prime) p ∈ Z {\displaystyle p\in \mathbb {Z} } and q ∈ N {\displaystyle q\in \mathbb {N} } , the function is well-defined. Note that q = + 1 {\displaystyle q=+1} is the only number in N {\displaystyle \mathbb {N} } that is coprime to p = 0. {\displaystyle p=0.} It is a modification of the Dirichlet function, which is 1 at rational numbers and 0 elsewhere.
Text: Wikipédia, CC BY-SA 4.0. · Image: Smithers888 (Public domain) ·
Related cards
Dirichlet function
Indicator function of rational numbers
Nº Q948386 ★★
Real-valued continuous functions
Continuous function whose domain and range are a subset of the real numbers
Nº Q176977 ★★★
Digamma function
Logarithmic derivative of the gamma function
Nº Q905326 ★★
Riemann zeta function
Analytic function
Nº Q187235 ★★★★
Error function
Sigmoid shape special function which occurs in probability, statistics and partial differential equations
Nº Q579262 ★★★
Rational root theorem
Theorem
Nº Q180345 ★★