Explicit Bijection from N to NxN

  • Context: Graduate 
  • Thread starter Thread starter phoenixthoth
  • Start date Start date
  • Tags Tags
    Bijection Explicit
Click For Summary
SUMMARY

The discussion presents a closed-form bijection from the natural numbers N to the Cartesian product N x N. The mapping is defined as (m,n) |-> x, where x = (1/2)m^2 + (1/2)n^2 + mn - (1/2)m - (3/2)n + 1. The user utilized Mathematica for algebraic simplification but struggled to find the inverse function. Additionally, the conversation explores the implications of this bijection for double sums and suggests a method for extending the bijection to N x N x N using specific formulas for m(x) and n(x).

PREREQUISITES
  • Understanding of bijections in set theory
  • Familiarity with Cartesian products and double sums
  • Basic algebra skills for manipulating equations
  • Experience with Mathematica for computational assistance
NEXT STEPS
  • Research methods for finding inverses of complex functions
  • Explore the implications of bijections on double sums and convergence
  • Learn about extending bijections to higher dimensions, specifically N x N x N
  • Investigate error estimation techniques for multivariable sums
USEFUL FOR

Mathematicians, computer scientists, and students interested in combinatorial mathematics, particularly those working with bijections and their applications in summation and integration.

phoenixthoth
Messages
1,600
Reaction score
2
for this post, let N = {1, 2, 3, ...}.

Q: explicitly write down a closed form bijection with domain N and range N x N. (no need to prove its a bijection... just write down the formula.)


this may lead you off track, but the way i did it was to first find a formula from N x N to N and then invert it.
let (m, n) be an element of N x N and q = 1/2.
then the map is given by (m,n) |-> x, where
x = q m^2 +q n^2 + m n - q m - 3 q n + 1.
maybe I'm admitting how much i lack in algebra skillz by saying this, but i found it hard to invert this function... i did cheat and used mathematica to do the algebra i asked of it, but it didn't actually find the inverse by itself. i only used it to simplify expressions and isolate variables. i also used this site as a reference: http://www.research.att.com/~njas/sequences/ . thus i will say to you that no holds are barred; do it by any means necessary!

for double sums, we have something like this:
S = Sum[ f(m,n) , (m,n) ε NxN ].
if g is a bijection from N to NxN, we can straighten out this sum (assuming convergence of the original, we can add any way we please):
S = Sum[ f(g(x)), x ε N ], turning the double sum into a single sum. the catch is the formula for g ain't pretty so I'm not sure how useful this is... at least one can use single integral formulas to now estimate double sums and predict error although perhaps multivariable error estimates for double sums already exist (they probably do)...

i guess the next step is to find a bijection from N to NxNxN... i get an icky feeling all over when i think about that.
 
Last edited by a moderator:
Physics news on Phys.org
let g(x) = (m(x), n(x)) be the desired map from N to NxN.

let be the round function (rather than the usual greatest integer function).

then
m(x) = (2x + [SQRT(2x)] - [SQRT(2x)]^2)/2
n(x) = (2 - 2x + [SQRT(2x)] + [SQRT(2x)]^2)/2

for example, the 666th point in NxN is (36,1) and the millionth point is (1009, 406).
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 29 ·
Replies
29
Views
8K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
5K
  • · Replies 18 ·
Replies
18
Views
4K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K