Prove (0,1)=(0,1] - Showing f is 1-1

  • Thread starter Thread starter kathrynag
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on proving the equivalence of the intervals (0,1) and [0,1] in terms of cardinality, not equality. Participants clarify that (0,1) does not include the endpoints 0 and 1, while [0,1] does. The function f defined as f(1/n) = 1/(n-1) for n ≥ 2 and f(x) = x for all other x in (0,1) is proposed as a bijection to demonstrate that both sets have the same cardinality. Ultimately, the consensus is that while (0,1) and [0,1] are not equal, they can be shown to have the same cardinality through appropriate mappings.

PREREQUISITES
  • Understanding of real analysis concepts, particularly intervals and their properties.
  • Familiarity with functions, specifically bijections and their implications for cardinality.
  • Knowledge of set theory, including the definitions of subsets and equivalence relations.
  • Ability to manipulate mathematical notation and expressions accurately.
NEXT STEPS
  • Study the concept of bijections in set theory to understand how to prove cardinality.
  • Learn about the properties of intervals in real analysis, focusing on open and closed intervals.
  • Explore examples of functions that demonstrate bijections between different sets, such as f(x) = 1 - x.
  • Review proofs involving cardinality and equivalence relations to strengthen understanding of these concepts.
USEFUL FOR

Students of real analysis, mathematicians interested in set theory, and anyone seeking to understand the nuances of interval properties and cardinality in mathematical contexts.

  • #31
I got everything except for proving that [0,1) is equivalent to (0,1], proving that (0,1) is equivalent to [0,1].
I'm a little confused on these 2 steps.
 
Physics news on Phys.org
  • #32
kathrynag said:
I got everything except for proving that [0,1) is equivalent to (0,1], proving that (0,1) is equivalent to [0,1].
I'm a little confused on these 2 steps.

[0,1) is equivalent to (0,1]
I still can't quite grasp this.
I sort of have an idea about this one.
If A=[0,1), B=(0,1] and C=[0,1], then A=C-x1contained in C and B=C-x2
contained in C
A and B are equivalent because they both are C-some x. Is this somewhat
right? Cause this seems to make sense to me.
 
  • #33
"Equal" has a specific meaning: A= B if and only if the symbols "A" and "B" represent exactly the same thing. "Equivalent" varies: A is equivalent to B using some given equivalence relation. What equivalence relation are you using?

The obvious one would be "have the same cardinality" but you have assured us that is not the case!

Also, originally you were look at (0,1) and [0,1] and now you have changed to [0, 1) and (0, 1]. Is this a new problem?

If you are trying to prove they are the same cardinality, , looking at 1/n, 1/(n+1), 1/(n+2), etc. will do no good because the numbers you necessarily form a countable set and none of (0,1), [0,1], [0,1), nor (0,1] are countable.

Look at my original response, #8.
 
  • #34
HallsofIvy said:
"Equal" has a specific meaning: A= B if and only if the symbols "A" and "B" represent exactly the same thing. "Equivalent" varies: A is equivalent to B using some given equivalence relation. What equivalence relation are you using?

The obvious one would be "have the same cardinality" but you have assured us that is not the case!

Also, originally you were look at (0,1) and [0,1] and now you have changed to [0, 1) and (0, 1]. Is this a new problem?

If you are trying to prove they are the same cardinality, , looking at 1/n, 1/(n+1), 1/(n+2), etc. will do no good because the numbers you necessarily form a countable set and none of (0,1), [0,1], [0,1), nor (0,1] are countable.

Look at my original response, #8.
No same problem. These are the last 2 steps. Proving [0,1) is equivalent to (0,1] and then proving (0,1) is equivalent to [0,1]
 
  • #35
That's the hard way to do it! And, as I said before, what you are doing, looking at numbers of the form 1/n, is of no use because the integers are countable and none of these sets are countable.

As I said a long time ago, to define a one-to-one, onto function from [0,1] to (0,1)define f(x)= x for x any irrational number between 0 and 1, write all rational numbers in (0,1) in a list, r1, r2, etc. then define f(0)= r1, f(1)= r2, f(rn)= rn+2.
 
  • #36
HallsofIvy said:
That's the hard way to do it! And, as I said before, what you are doing, looking at numbers of the form 1/n, is of no use because the integers are countable and none of these sets are countable.

As I said a long time ago, to define a one-to-one, onto function from [0,1] to (0,1)define f(x)= x for x any irrational number between 0 and 1, write all rational numbers in (0,1) in a list, r1, r2, etc. then define f(0)= r1, f(1)= r2, f(rn)= rn+2.

The hard way to do it is the way I was told to do it with proving [0,1) is equivalent to (0,1].
 
  • #37
kathrynag already stated a bijection between (0, 1) and (0, 1] in the very first post of this thread. (It doesn't take too much effort from that to conclude there is a bijection between (0, 1) and [0, 1].) Her problem is showing that it is one-to-one and onto.

I suggest practicing showing that simpler functions are bijections, such as f : R -> R defined by f(x) = 5 - x^3, so that you understand the form of the proof.
 
  • #38
mutton said:
kathrynag already stated a bijection between (0, 1) and (0, 1] in the very first post of this thread. (It doesn't take too much effort from that to conclude there is a bijection between (0, 1) and [0, 1].) Her problem is showing that it is one-to-one and onto.

I suggest practicing showing that simpler functions are bijections, such as f : R -> R defined by f(x) = 5 - x^3, so that you understand the form of the proof.

f(a)=5-a^3
f(b)-5-b^3
5-x^3=5-b^3
a^3=b^3
a=b
Thus 1-1

y=5-x^3
-y+5=x^3
x=(-y+5)^1/3
x includes all real numbers. Thus onto.
Then how do i work around proving [0,1) is equivalent to (0,1]?
Like I thought about using f(x)=1-x because f(0)=1 and f(1)=0 but then that would be a mpping and that's not quite right.
 
  • #39
Ok could I still use C=[0,1]
Then A=C-x element of C
B=C
but B=C-null set
null set is an element of C
so A=C- some elemnt of C=B?
 
  • #40
Ok I know [0,1) is equivalent to (0,1] by f(x)=1-x
Now I'm having trouble finding a similar function for (0,1) equivalent to [0,1]
 
  • #41
Ok, I found something else. 2 sets A and B are equivalent iff there is a 1-1 function from A onto B.
 
  • #42
After reading this topic, I am completely speechless.
 
  • #43
kathrynag said:
Ok, I found something else. 2 sets A and B are equivalent iff there is a 1-1 function from A onto B.

This would make a lot more sense to us if equivalent is replaced with cardinally equivalent.

kathrynag said:
f(a)=5-a^3
f(b)-5-b^3
5-x^3=5-b^3
a^3=b^3
a=b
Thus 1-1

y=5-x^3
-y+5=x^3
x=(-y+5)^1/3
x includes all real numbers. Thus onto.
Then how do i work around proving [0,1) is equivalent to (0,1]?
Like I thought about using f(x)=1-x because f(0)=1 and f(1)=0 but then that would be a mpping and that's not quite right.

That is right, so use this method to show that the function you stated in your first post is a bijection between (0, 1) and (0, 1]. The proof will be longer because that function is case-defined.

You already have f(x) = 1 - x, a bijection between [0, 1) and (0, 1], which is easier to show.

If you also have a bijection between [0, 1) and [0, 1], then that implies (0, 1) and [0, 1] are cardinally equivalent. If you want a single bijection between (0, 1) and [0, 1], think about how you can "combine" the 3 functions.
 
Last edited:
  • #44
mutton said:
This would make a lot more sense to us if equivalent is replaced with cardinally equivalent.



That is right, so use this method to show that the function you stated in your first post is a bijection between (0, 1) and (0, 1]. The proof will be longer because that function is case-defined.

You already have f(x) = 1 - x, a bijection between [0, 1) and (0, 1], which is easier to show.

If you also have a bijection between [0, 1) and [0, 1], then that implies (0, 1) and [0, 1] are cardinally equivalent. If you want a single bijection between (0, 1) and [0, 1], think about how you can "combine" the 3 functions.
Well, the book says nothing about cardinally equivalence, so i would assume my professor would not expect me to use that term.
Ok, so (0,1) and (0,1]
For f(x)=x, we get 0 and 1
For f(1/n)=1/(n-1), we get {1/1/2,1/1,1/4...}
Thus, (0,1]


[0, 1) and [0, 1]
For this I use {0}U(0,1) because I already know (0,1) is a bijection to (0,1]. Thus we have a bijection to [0,1].

Ok, for (0,1) equivalent to [0,1].
Let f(x)=x for all elemnt not of the form 1/n
Then we get the points (0,1)
Thne for all other points let f(x)={0}U 1/(n-1)
 
  • #45
kathrynag said:
Well, the book says nothing about cardinally equivalence, so i would assume my professor would not expect me to use that term.
Ok, so (0,1) and (0,1]
For f(x)=x, we get 0 and 1
For f(1/n)=1/(n-1), we get {1/1/2,1/1,1/4...}
Thus, (0,1]

You don't get 1 from f(x) = x.

Also, what about all other points not in {0, 1, 1/2, 1/3, 1/4, ...}?

[0, 1) and [0, 1]
For this I use {0}U(0,1) because I already know (0,1) is a bijection to (0,1]. Thus we have a bijection to [0,1].

Right idea, but you need to say it precisely because \{0\} \cup (0, 1) \ne (0, 1]. Do you mean given a bijection f : (0, 1) \rightarrow (0, 1], define g : [0, 1) \rightarrow [0, 1] by g(0) = 0, and g(x) = f(x) for x \in (0, 1)?

Thne for all other points let f(x)={0}U 1/(n-1)

This is not an element of \mathbb{R}.
 
  • #46
mutton said:
You don't get 1 from f(x) = x.

Also, what about all other points not in {0, 1, 1/2, 1/3, 1/4, ...}?



Right idea, but you need to say it precisely because \{0\} \cup (0, 1) \ne (0, 1]. Do you mean given a bijection f : (0, 1) \rightarrow (0, 1], define g : [0, 1) \rightarrow [0, 1] by g(0) = 0, and g(x) = f(x) for x \in (0, 1)?



This is not an element of \mathbb{R}.

Yeah, but from f(x)=x I get all points not of the form 1/n.
All other points not in {0,1,1/2,1/3,1/4...} are in f(x)=x


Yeah, i guess setting g(0)=0 and g(x)=f(x) would work.

So then let f:(0,1)-->(0,1] and let g:(0,1)-->[0,1]
Let f(x)=g(x) for all x in (0,1) and let g(1)=0?
 
  • #47
kathrynag said:
Yeah, but from f(x)=x I get all points not of the form 1/n.
All other points not in {0,1,1/2,1/3,1/4...} are in f(x)=x

Close. 0 is not in the range of f. I mentioned 0 only because you mentioned 0.

So then let f:(0,1)-->(0,1] and let g:(0,1)-->[0,1]
Let f(x)=g(x) for all x in (0,1) and let g(1)=0?

g(1) cannot be defined because the domain of g is (0, 1).
 
  • #48
mutton said:
Close. 0 is not in the range of f. I mentioned 0 only because you mentioned 0.



g(1) cannot be defined because the domain of g is (0, 1).

Ok, 0 is not even in f.

So then let f:(0,1)-->(0,1] and let g:(0,1)-->[0,1]
Let f(x)=g(x) for all x in (0,1)
Is this part correct? I know there needs to be some number to equal 0 right?
Let g(x)=f(x)=?
 
  • #49
If If f:(0,1)-->(0,1] then there is NO "x" left over to give f(x)= 0. That's the whole point.
 
  • #50
Ok I understand that.
 
  • #51
kathrynag said:
Ok, 0 is not even in f.

So then let f:(0,1)-->(0,1] and let g:(0,1)-->[0,1]
Let f(x)=g(x) for all x in (0,1)
Is this part correct? I know there needs to be some number to equal 0 right?
Let g(x)=f(x)=?

Is that the right idea or not?
I just am unsure of what x value to plug into g(x)=0
 
  • #52
Ok, I'm going to lay out what I've done thus far.


proving f is a 1-1 function from (0,1) into (0,1].
Let a=1/m b=1/n
f(a)=1/(m-1) f(b)=1/(n-1)
f(a)=f(b)
m=n
1/m=1/n
a=b

f(a)=a f(b)=b
f(a)=f(b)
a=b


proving f is a function from (0,1) onto (0,1]:
To prove f:A-->B is onto, let B be arbitrary and show there exists a in A such that f(a)=b. I need to show that I am f=B.
y=1/(n-1)
n=1/(y-1)
y-1=1/n
f inverse=1/n+1
f inverse =(1+n)/n
f inverse of b=(1+b)/b=a
f(a)=1/[(1+b)/b-1]=1/1/b=b

y=x
x=y
f inverse=x
f inverse (b)=b=a
f(a)=a=b

Finding a 1-1 function from [0,1) onto [0,1]
[0, 1) and [0, 1]
given a bijection f:(0,1)-->(0,1] , define g:[0,1)-->[0,1] by g(0) =0, and g(x) = f(x) for x in (0,1)

Proving [0,1) is equivalent to (0,1]:
Use the function f(x)=1-x

Proving (0,1) is equivalent to [0,1]:
So then let f:(0,1)-->(0,1] and let g:(0,1)-->[0,1]
Let f(x)=g(x) for all x in (0,1)
Is this part correct? I know there needs to be some number to equal 0
right?
Let g(x)=f(x)=?
 
  • #53
Ok, do I use a composition?
Let f:(0,1)-->(0,1]
Let g:=[0,1)-->[0,1]
Let g(x)=1-x
Then h(x)=g(f(x))
 
  • #54
Ok then I would also need to define g(0) as 0 right because we get:
h(x)=g([0,1]).
No never mind because I should be doing
h(x)=f(g(x)
=f([0,1]
f(0)=1 and f(1)=0
Please let me know if this is right!
 
  • #55
Also f(x)=1-x
and g:[0,1)-->[0,1]
 
  • #56
Ok it's all figured out. They key was letting [0,1) was f(x)=x in (0,1) and f(0)=1. Then I just used transitivity.
 

Similar threads

  • · Replies 58 ·
2
Replies
58
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
6
Views
1K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
7
Views
2K
Replies
1
Views
2K
Replies
3
Views
2K