Wednesday, 16 November 2016

calculus - Bijection between an open and a closed interval



Recently, I answered to this problem:





Given $a ]a,b[ to [a,b].




using an "iterative construction" (see below the rule).



My question is: is it possible to solve the problem finding a less exotic function?



I mean: I know such a bijection cannot be monotone, nor globally continuous; but my f(x) has a lot of jumps... Hence, can one do without so many discontinuities?







W.l.o.g. assume a=1 and b=1 (the general case can be handled by translation and rescaling).
Let:



(1) X0:=]1,12][12,1[, and



(2) $f_0(x):=\begin{cases}
-x-\frac{3}{2} &\text{, if } -1 if } \frac{1}{2}\leq

x<1\\ 0 &\text{, otherwise} \end{cases}$,



so that the graph of f0(x) is made of two segment (parallel to the line y=x) and one segment laying on the x axis; then define by induction:



(3) Xn+1:=12Xn, and



(4) fn+1(x):=12fn(2x)



for nN (hence Xn=12nX0 and fn=12nf0(2nx)).




Then the function f:]1,1[R:



(5) f(x):=+n=0fn(x)



is a bijection from ]1,1[ to [1,1].



Proof: i. First of all, note that {Xn}nN is a pairwise disjoint covering of ]1,1[{0}. Moreover the range of each fn(x) is fn(]1,1[)=[12n,12n+1[{0}]12n+1,12n].



ii. Let x]1,1[. If x=0, then f(x)=0 by (5). If x0, then there exists only one νN s.t. xXν, hence f(x)=fν(x). Therefore f(x) is well defined.




iii. By i and ii, f(x) for x\lesseqgtr 0 and the range of f(x) is:



f(]-1,1[)=\bigcup_{n\in \mathbb{N}} f(]-1,1[) =[-1,1],



therefore f(x) is surjective.



iv. On the other hand, if x\neq y \in ]-1,1[, then: if there exists \nu \in \mathbb{N} s.t. x,y\in X_\nu, then f(x)=f_\nu (x)\neq f_\nu (y)=f(y) (for f_\nu (x) restrited to X_\nu is injective); if x\in X_\nu and y\in X_\mu, then f(x)=f_\nu (x)\neq f_\mu(y)=f(y) (for the restriction of f_\nu (x) to X_\nu and of f_\mu(x) to X_\mu have disjoint ranges); finally if x=0\neq y, then f(x)=0\neq f(y) (because of ii).
Therefore f(x) is injective, hence a bijection between ]-1,1[ and [-1,1]. \square


Answer



It seems that your construction is fine, however coarse and crude. We usually give this question in the introductory course of set theory, the solution is quite elegant too.




Firstly, it is very clear that this function cannot be continuous. Consider a sequence approaching the ends of the interval, the function cannot be continuous there.



Secondly, without the loss of generality assume the interval is [0,1]. Define f(x) as following:
f(x) = \left\{ \begin{array}{1 1} \frac{1}{2} & \mbox{if } x = 0\\ \frac{1}{2^{n+2}} & \mbox{if } x = \frac{1}{2^n}\\ x & \mbox{otherwise} \end{array} \right.



It is relatively simple to show that this function is as needed.


No comments:

Post a Comment

real analysis - How to find lim_{hrightarrow 0}frac{sin(ha)}{h}

How to find \lim_{h\rightarrow 0}\frac{\sin(ha)}{h} without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...