Question
Question: Let \[f:[0,1]\to R\] be defined by \[f(x)=\left\\{ \begin{aligned} & 1,\text{ if }x\text{ is rat...
Let f:[0,1]→R be defined by f(x)=\left\\{ \begin{aligned}
& 1,\text{ if }x\text{ is rational} \\\
& 0,\text{ if }x\text{ is irrational} \\\
\end{aligned} \right.
Show that the limit does not exist.
Solution
Hint: For every number x that is rational, there exists a value in the neighborhood of x, i.e. (x−Δ,x+Δ) which is irrational. Similarly, for every number y that is irrational there exists a value in the neighborhood of y, i.e. (y−Δ,y+Δ) that is rational.
The given function is f(x)=\left\\{ \begin{aligned}
& 1,\text{ if }x\text{ is rational} \\\
& 0,\text{ if }x\text{ is irrational} \\\
\end{aligned} \right. . We need to show that the limit does not exist for the given function .
Let us assume that the limit exists. So , in such case , there should be a number Δ>0, such that for all y∈R with ∣y−x∣<Δ , it should satisfy the condition ∣f(y)−f(x)∣<1.
i.e. ∀y∈(x−Δ,x+Δ),∣f(y)−f(x)∣<1
Now , if x is rational , there exists y∈(x−Δ,x+Δ) such that y is irrational. For example , 1.4=1014 is a rational number and in its neighborhood , we have 2=1.4142... which is irrational .
So, ∣f(y)−f(x)∣=∣0−1∣=1
i.e. ∣f(y)−f(x)∣<1
Hence , we can clearly see that it contradicts the statement that if the limit exists then there should be a number Δ>0, such that for all y∈R with ∣y−x∣<Δ , it should satisfy the condition ∣f(y)−f(x)∣<1 .
Hence , the statement that the limit exists is wrong , or we can simply say that the limit does not exist .
Note: If x is irrational, there exists y∈(x−Δ,x+Δ) which is rational . For example , 2=1.4142... is an irrational number and in its neighborhood , we have 1.4=1014which is rational . So , ∣f(y)−f(x)∣=∣0−1∣=1 , which , again , contradicts the fact ∣f(y)−f(x)∣<1. So , it will contradict the statement that if the limit exists then there should be a number Δ>0, such that for all y∈R with ∣y−x∣<Δ , it should satisfy the condition ∣f(y)−f(x)∣<1 . Hence , the limit does not exist .