Is There a True Bijection Between the Natural Numbers and the Integers?

  • Thread starter Thread starter Jeroslaw
  • Start date Start date
  • Tags Tags
    Bijection
AI Thread Summary
A bijection exists between the natural numbers (including 0) and the integers, defined by n mapping to k based on whether n is even or odd. However, issues arise when considering the mapping of 0, as both n = 0 and n = 1 lead to k = 0, challenging the bijection's uniqueness. This confusion suggests that the standard mapping may not account for 0 correctly, as it implies more natural numbers than integers. By modifying the function to exclude 0 from the natural numbers, a proper bijection can be achieved. The discussion highlights the need for clarity in defining the sets involved in the bijection.
Jeroslaw
Messages
8
Reaction score
0
There is a bijection between the natural numbers (including 0) and the integers (positive, negative, 0). The bijection from N -> Z is n -> k if n = 2k OR n -> -k if n = 2k + 1.

For example, if n = 4, then k = 2 because 2(2) = 4. If n = 3, then k = -1 because 2(1) + 1 = 3.

My problem arises because if n = 1, then k = 0 and if n = 0, then k = 0. If n = 1, then 2(0) +1 = 1. If n = 0, then 2(0) = 0. If this function is inverted, then the element 0 in Z will map to both 0 and 1. That violates the assumption that the function is a bijection.

Of course, this is wrong. It implies that there are more natural numbers than integers, which cannot be since the natural numbers are a proper subset of the integers. The problem is that the 0 I derived from n = 1 should be negative, whereas the 0 from n = 0 should be positive, but these are equivalent in the case of 0. Anyone know how to resolve this?
 
Physics news on Phys.org
Well your mapping simply isn't a bijection. everything in N greater than 0 maps to a unique number in Z, but there's nothing left for 0. it isn't so hard to make room for 0 by modifying the function for either even or odd arguments.
 
So what you're saying is that the standard textbook presentation of the bijection between N and Z is not quite correct, right?
 
Are you sure that the natural numbers in your book includes the 0?? Looks like it would be fine if you excluded the zero. n = 1 maps to 0, n = 2 maps to 1, n = 3 maps to -1..and so on.
 
I'm taking a look at intuitionistic propositional logic (IPL). Basically it exclude Double Negation Elimination (DNE) from the set of axiom schemas replacing it with Ex falso quodlibet: ⊥ → p for any proposition p (including both atomic and composite propositions). In IPL, for instance, the Law of Excluded Middle (LEM) p ∨ ¬p is no longer a theorem. My question: aside from the logic formal perspective, is IPL supposed to model/address some specific "kind of world" ? Thanks.
I was reading a Bachelor thesis on Peano Arithmetic (PA). PA has the following axioms (not including the induction schema): $$\begin{align} & (A1) ~~~~ \forall x \neg (x + 1 = 0) \nonumber \\ & (A2) ~~~~ \forall xy (x + 1 =y + 1 \to x = y) \nonumber \\ & (A3) ~~~~ \forall x (x + 0 = x) \nonumber \\ & (A4) ~~~~ \forall xy (x + (y +1) = (x + y ) + 1) \nonumber \\ & (A5) ~~~~ \forall x (x \cdot 0 = 0) \nonumber \\ & (A6) ~~~~ \forall xy (x \cdot (y + 1) = (x \cdot y) + x) \nonumber...
Back
Top