Proving Square is an Infinite Set

amiv4
Messages
24
Reaction score
0

Homework Statement



Prove that Square = {x ∈ N|∃y : N. x = y^2} is an infinite set.


Homework Equations



Definition 0.1. A set A is infinite if there is an injection f : A → A that is not also a surjection.

The Attempt at a Solution



I get how to show that there is an injection, but i don't get how to show that it is also not a surjection
 
Physics news on Phys.org
What injection are you looking at?
 
to prove the injection i thought u could do something like this

f(x) = f(y) for arbitrary x and y in N, then x^2 = y^2 and so x = y. and that proves an injection
 
amiv4 said:

Homework Statement



Prove that Square = {x ∈ N|∃y : N. x = y^2} is an infinite set.
What is the above supposed to be saying?
amiv4 said:

Homework Equations



Definition 0.1. A set A is infinite if there is an injection f : A → A that is not also a surjection.

The Attempt at a Solution



I get how to show that there is an injection, but i don't get how to show that it is also not a surjection
 
would it be that like 0 maps to 0, 1 to 1, 2 to 4, 3 to 9... so that shows injection but then like 5 doesn't map back to anything
 
Except you're supposed to have a map that goes from the set of squares to the set of squares. But the function that you're looking at will still work
 
so would it be like 4 mapped to 16 is an injection but if you go the other way 16 doesn't map back to 4 and that is why it isn't a surjection
 
What set is this? {x ∈ N|∃y : N. x = y^2}

Some characters are rendering as empty boxes.
 
it is bascially the set of square numbers
 
Back
Top