Dirichlet function

From HandWiki
Short description: Indicator function of rational numbers

In mathematics, the Dirichlet function[1][2] is the indicator function 𝟏 of the set of rational numbers over the set of real numbers , i.e. 𝟏(x)=1 for a real number x if x is a rational number and 𝟏(x)=0 if x is not a rational number (i.e. is an irrational number). 𝟏(x)={1x0x

It is named after the mathematician Peter Gustav Lejeune Dirichlet.[3] It is an example of a pathological function which provides counterexamples to many situations.

Topological properties

  • The Dirichlet function is nowhere continuous. We can prove this by reference to the definition of a continuous function to show that it violates the continuity properties at both rational and irrational arguments: Its restrictions to the set of rational numbers and to the set of irrational numbers are