Function with period (!)

General Mathematics
Post Reply
User avatar
Tolaso J Kos
Administrator
Administrator
Posts: 867
Joined: Sat Nov 07, 2015 6:12 pm
Location: Larisa
Contact:

Function with period (!)

#1

Post by Tolaso J Kos »

Give an example of a function \( f:\mathbb{R} \rightarrow \mathbb{R} \) such that any rational number is its period but any irrational is not. Also, prove that there exists no function \( g:\mathbb{R} \rightarrow \mathbb{R} \) such that any irrational is its period and any rational is not.
Imagination is much more important than knowledge.
Papapetros Vaggelis
Community Team
Posts: 426
Joined: Mon Nov 09, 2015 1:52 pm

Re: Function with period (!)

#2

Post by Papapetros Vaggelis »

We define \(\displaystyle{f:\mathbb{R}\longrightarrow \mathbb{R}}\) by

$$f(x)=\begin{cases}
1\,\,,x\in\mathbb{Q}\\
0\,\,,x\in\mathbb{R}-\mathbb{Q}
\end{cases}$$

which is better known as $\rm Dirichlet$ function. Here is a graph:
Image
If \(\displaystyle{T\in\mathbb{Q}}\), then : \(\displaystyle{f(x+T)=f(x)\,\,,\forall\,x\in\mathbb{R}}\) since :

$$x\in\mathbb{Q}\implies x+T\in\mathbb{Q}\implies f(x+T)=1=f(x)$$ and
$$x\in\mathbb{R}-\mathbb{Q}\implies x+T\in\mathbb{R}-\mathbb{Q}\implies f(x+T)=0=f(x)$$

Now, if \(\displaystyle{K\in\mathbb{R}-\mathbb{Q}}\), then :\(\displaystyle{f(1+K)=0\neq 1=f(1)}\) .

For the second part, suppose that there exists a function \(\displaystyle{g:\mathbb{R}\longrightarrow \mathbb{R}}\) such that any irrational is its period and any rational is not. Since \(\displaystyle{\pi}\) and \(\displaystyle{1-\pi}\) are irrational numbers, we get:

$$\forall\,x\in\mathbb{R}: g(x+1)=g((x+1-\pi)+\pi)=g(x+1-\pi)=g(x)$$

which means that the rational number \(\displaystyle{q=1}\) is a period of \(\displaystyle{g}\), a contradiction.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Who is online

Users browsing this forum: No registered users and 4 guests