Possible title: How to Construct a Surjection Map from N to Z

  • Thread starter missavvy
  • Start date
  • Tags
    Surjection
In summary, in order to find a surjection map f: N -> Z, one can construct an injection map g: Z -> N and then extend it to be defined on the remaining elements in N \setminus g(Z). It is also important to note that the function given in the conversation is not an injection due to the fact that g(-1) = g(1) = 1.
  • #1
missavvy
82
0
Surjection from N --> Z

Homework Statement



Find a surjection map,
f: N -> Z

Homework Equations





The Attempt at a Solution


I think this is equivalent to finding an injection map:
g: Z -> N

So I defined it:

g(z) =

-z, if z is negative
z, if z is positive

Is this incorrect?
 
Physics news on Phys.org
  • #2


1. It's not -- exactly -- equivalent to finding an injection [tex]g: \mathbb{Z} \to \mathbb{N}[/tex], because the inverse of such a [tex]g[/tex] is only a partial function [tex]\mathbb{N} \to \mathbb{Z}[/tex]; you have to extend it to be defined on [tex]\mathbb{N} \setminus g(\mathbb{Z})[/tex]. However, the result of that process is indeed a surjection [tex]\mathbb{N} \to \mathbb{Z}[/tex].

2. The function you give is not an injection; [tex]g(-1) = g(1) = 1[/tex].

It's probably easier to attack this problem by constructing the surjection you want "by hand". There are several simple algorithms which will work.
 

Related to Possible title: How to Construct a Surjection Map from N to Z

What is a surjection from N to Z?

A surjection from N to Z is a function that maps every element in the set of natural numbers (N) to a unique element in the set of integers (Z). This means that every integer has at least one corresponding natural number, but some natural numbers may not have a corresponding integer.

How is a surjection from N to Z different from a bijection?

A bijection is a function that is both injective (one-to-one) and surjective (onto). This means that every element in the domain has a unique corresponding element in the range, and every element in the range has a unique corresponding element in the domain. A surjection from N to Z is only surjective, meaning that every element in the range (Z) has at least one corresponding element in the domain (N), but not every element in the domain has a corresponding element in the range.

Can a surjection from N to Z be represented algebraically?

Yes, a surjection from N to Z can be represented algebraically as the function f(x) = x - 1 if x is even and f(x) = -x if x is odd. This function maps every natural number to a unique integer in the following pattern: 0, -1, 1, -2, 2, -3, 3, etc.

What is the cardinality of a surjection from N to Z?

The cardinality (size) of a surjection from N to Z is the same as the cardinality of the set of natural numbers, which is infinite. This means that there are infinitely many elements in both the domain (N) and the range (Z).

Why is a surjection from N to Z useful in mathematics?

A surjection from N to Z is useful in mathematics because it can help to prove that two sets have the same cardinality. By showing that there is a surjection from N to Z, we can conclude that the set of natural numbers and the set of integers have the same cardinality, even though the two sets are not identical.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
970
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
2K
  • Topology and Analysis
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
592
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
558
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
Back
Top