Function f(x): Rationals = 0, Irrationals = 1

  • Thread starter Thread starter Lonewolf
  • Start date Start date
  • Tags Tags
    Function
AI Thread Summary
The function f(x) defined as 0 for rational numbers and 1 for irrational numbers is commonly known as the characteristic function of the set of irrationals, denoted as χ(R - Q). It is also referred to as the "salt and pepper" function and is a specific case of the Dirichlet function. Participants in the discussion express a desire for a simpler name and mnemonic for this function, with suggestions like "the 0 if rational and 1 if irrational function." There is some confusion regarding the spelling of "Dirichlet," with differing opinions on its pronunciation. The conversation highlights the function's prevalence in mathematics and the need for clear terminology.
Lonewolf
Messages
329
Reaction score
1
The function defined over the real numbers as

Code:
f(x) = {0, x rational
       {1, x irrational

appears quite a lot in mathematics textbooks. Does anybody know if this function has a commonly accepted name?
 
Mathematics news on Phys.org
Well, it's the characteristc function of the set of irrationals, \chi (R - Q).
 
I've heard it called the "salt and pepper" function.
 
i've got a simple name and a mnemoic to remember it's name.

name: the 0 if rational and 1 if irrational function.
simple mnemoic: tziraoiif
 
Originally posted by phoenixthoth
i've got a simple name and a mnemoic to remember it's name.

name: the 0 if rational and 1 if irrational function.
simple mnemoic: tziraoiif

that doesn't sound simple
 
What do you mean? I think it rolls right off the tounge.
 
Probably Dirchlet Function(Check Spelling)
 
Sure about that? The name Dirichlet has popped quite a number of time in my textbooks. I've never heard of Dirchlet.
 
Back
Top