-1
$\begingroup$

Prove that the Dirichlet function $f$ below is a periodic function with no definite period. $$f(x)=\begin{cases}1 ,& x \,\ \text{is rational} \\ 0 ,& x \,\ \text{is irrational}\end{cases}$$

My attempt: A function is periodic with period $T$ if $f(x+T)=f(x)$. But this does not hold in case of this function. Moreover, I can intuitively state that the question statement is true, since the function assumes $1$ at random intervals and also $0$ at random intervals. But I cannot find any rigorous mathematical approach to prove this case.

Can anyone help? By the way, is the question logical, keeping rigorous mathematics in mind?

$\endgroup$
3
$\begingroup$

Hint: show that $f$ is periodic for each rational period $T$, i.e., for $T \in \mathbb{Q}$.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.