derihlet function return 1 if the input is rational.

and 0 if the input is irrational.

prove that Dirichlet function is periodic

and prove that every rational number is its period

??

Printable View

- December 17th 2008, 08:50 AMtransgalacticderichlet function question..
derihlet function return 1 if the input is rational.

and 0 if the input is irrational.

prove that Dirichlet function is periodic

and prove that every rational number is its period

?? - December 17th 2008, 08:57 AMIsomorphism
I think all that needs is the following observation:

For a fixed rational r,

1) Every rational can be written as sum of another rational and r, uniquely.

2) Every irrational can be written as sum of another irrational and r, uniquely.

f(x+r) = f(x) for all x, where f is the Dirichlet function. - December 17th 2008, 09:25 AMtransgalactic
f(x+r) = f(x)

how this expression proves the its periodic? - December 17th 2008, 09:37 AMIsomorphism
- December 17th 2008, 09:52 AMtransgalactic
thanks you are correct

how to prove the second part that

each rational number is its period?

i think i can use f(x+r) = f(x)and say that

for every rational number "r"

i get same number

is it ok? - December 17th 2008, 08:37 PMIsomorphismQuote:

i think i can use f(x+r) = f(x)and say that

for every rational number "r"

*Exactly*!

For every r, f(x+r) = f(x) and thus r is the period of the function.

Thus every rational is the period of the function.