# The Modified Dirichlet Function

The Modified Dirichlet Function

This modified Dirichlet function has many names: Thomae, Riemann, popcorn, raindrop, ruler. It is defined on the closed interval to be at reduced rationals and elsewhere. It has the curious property that it is continuous on the irrationals but discontinuous at every rational in .

[0,1]

1/q

p/q

0

(0,1)

In contrast, the Dirichlet function (not shown here) is defined to be on the rationals and on the irrationals. It is discontinuous everywhere and its dull graph consists of two blurry lines.

1

0