Proving Existence of Injective Binary Operation on $\mathbb{N}\times\mathbb{N}$

Click For Summary

Homework Help Overview

The discussion revolves around the existence of an injective binary operation defined on the Cartesian product of natural numbers, specifically \(\mathbb{N} \times \mathbb{N}\). Participants are tasked with proving or disproving the statement that such an operation can be constructed.

Discussion Character

  • Exploratory, Assumption checking, Conceptual clarification

Approaches and Questions Raised

  • One participant attempts to define a binary operation using a piecewise function but expresses uncertainty about its injectiveness and whether it properly maps \(\mathbb{N} \times \mathbb{N}\) onto \(\mathbb{N}\). Another participant questions the clarity and completeness of this definition, particularly regarding the values of \(m\) and \(n\) and the potential for repeats in the mapping.

Discussion Status

The discussion is ongoing, with participants exploring different definitions and approaches to constructing the binary operation. Some guidance has been offered regarding the potential for a diagonal sequencing method, but no consensus has been reached on a definitive solution or method.

Contextual Notes

Participants are grappling with the implications of cardinality and the nature of the natural numbers, particularly in relation to the injectiveness of the proposed operation. There are also concerns about the completeness of the definitions provided and the infinite nature of the natural numbers.

SithsNGiggles
Messages
183
Reaction score
0

Homework Statement



Prove or disprove: [itex]\exists[/itex] a binary operation [itex]*:\mathbb{N}\times\mathbb{N}\to\mathbb{N}[/itex] that is injective.

Homework Equations

The Attempt at a Solution



At first, I was under the impression that I could prove this using the following operation. I define [itex]*[/itex] to be
[itex]a*b=\begin{cases}<br /> 1, & \mbox{if } a=1 \mbox{ and } b=1 \\<br /> 2, & \mbox{if } a=2 \mbox{ and } b=1 \\<br /> 3, & \mbox{if } a=3 \mbox{ and } b=1 \\<br /> \vdots \\<br /> m, & \mbox{if } a=1 \mbox{ and } b=2 \\<br /> m+1, & \mbox{if } a=2 \mbox{ and } b=2 \\<br /> m+2, & \mbox{if } a=3 \mbox{ and } b=2 \\<br /> \vdots \\<br /> n, & \mbox{if } a=1 \mbox{ and } b=3 \\<br /> n+1, & \mbox{if } a=2 \mbox{ and } b=3 \\<br /> n+2, & \mbox{if } a=3 \mbox{ and } b=3 \\<br /> \vdots \end{cases}[/itex]
where [itex]m,n\in\mathbb{N}[/itex].

The problem I have with this is that I think it breaks initial condition that [itex]*[/itex] maps [itex](a,b)\in\mathbb{N}\times\mathbb{N}[/itex] onto [itex]\mathbb{N}[/itex] because the list of values of [itex]a*b[/itex] takes on every natural number for [itex]b=1[/itex] (so I have a set with the cardinality of the natural numbers), and then again for [itex]b=2[/itex], and so on.

Basically, and I'm not sure if I'm saying this properly, I (think) I have an operation that maps from [itex]\mathbb{N}\times\mathbb{N}[/itex] onto a set that has cardinality [itex]|\mathbb{N}|^2[/itex], and I'm not sure this helps me in proving the statement. I suppose one question would be if [itex]|\mathbb{N}| = |\mathbb{N}|^2[/itex]?

Edit: Another would be, is it even true that [itex]m,n\in\mathbb{N}[/itex]? It looks like they might already have been taken on for some combination of [itex]a[/itex] when [itex]b=1[/itex].
 
Last edited:
Physics news on Phys.org


As written, your map is not well defined. Can you please clarify what happens in the sections indicated by "..."? For example, at what value of [itex]a[/itex] does this pattern end:
[tex]a*b=\begin{cases} <br /> 1, & \mbox{if } a=1 \mbox{ and } b=1 \\ <br /> 2, & \mbox{if } a=2 \mbox{ and } b=1 \\ <br /> 3, & \mbox{if } a=3 \mbox{ and } b=1 \\ <br /> \vdots \\ <br /> \end{cases}[/tex]
If the pattern continues for all [itex]a \in \mathbb{N}[/itex] then there's no way this map can be injective. You will have repeats as soon as you start the [itex]b = 2[/itex] section.

Also, what are the values of [itex]m[/itex] and [itex]n[/itex]?

It looks like you are trying to sequence through [itex]\mathbb{N} \times \mathbb{N}[/itex] one column at a time. Hint: I think you will have better success if you try sequencing diagonally.
 
Last edited:


SithsNGiggles said:

Homework Statement



Prove or disprove: [itex]\exists[/itex] a binary operation [itex]*:\mathbb{N}\times\mathbb{N}\to\mathbb{N}[/itex] that is injective.

Homework Equations



The Attempt at a Solution



At first, I was under the impression that I could prove this using the following operation. I define [itex]*[/itex] to be
[itex]a*b=\begin{cases}<br /> 1, & \mbox{if } a=1 \mbox{ and } b=1 \\<br /> 2, & \mbox{if } a=2 \mbox{ and } b=1 \\<br /> 3, & \mbox{if } a=3 \mbox{ and } b=1 \\<br /> \vdots \\<br /> m, & \mbox{if } a=1 \mbox{ and } b=2 \\<br /> m+1, & \mbox{if } a=2 \mbox{ and } b=2 \\<br /> m+2, & \mbox{if } a=3 \mbox{ and } b=2 \\<br /> \vdots \\<br /> n, & \mbox{if } a=1 \mbox{ and } b=3 \\<br /> n+1, & \mbox{if } a=2 \mbox{ and } b=3 \\<br /> n+2, & \mbox{if } a=3 \mbox{ and } b=3 \\<br /> \vdots \end{cases}[/itex]
where [itex]m,n\in\mathbb{N}[/itex].

The problem I have with this is that I think it breaks initial condition that [itex]*[/itex] maps [itex](a,b)\in\mathbb{N}\times\mathbb{N}[/itex] onto [itex]\mathbb{N}[/itex] because the list of values of [itex]a*b[/itex] takes on every natural number for [itex]b=1[/itex] (so I have a set with the cardinality of the natural numbers), and then again for [itex]b=2[/itex], and so on.

Basically, and I'm not sure if I'm saying this properly, I (think) I have an operation that maps from [itex]\mathbb{N}\times\mathbb{N}[/itex] onto a set that has cardinality [itex]|\mathbb{N}|^2[/itex], and I'm not sure this helps me in proving the statement. I suppose one question would be if [itex]|\mathbb{N}| = |\mathbb{N}|^2[/itex]?

Edit: Another would be, is it even true that [itex]m,n\in\mathbb{N}[/itex]? It looks like they might already have been taken on for some combination of [itex]a[/itex] when [itex]b=1[/itex].
How many ordered pairs of natural numbers are there whose sum is k ?

For k < 2. the answer is 0.

For k = 2 the only such ordered pair is (1, 1), so there's one.

For k = 3, the answer is 2; (1, 2) and (2, 1) .

For k = 4, the answer is 3; (1, 3), (2, 2) and (3, 1) .

For k = 5, the answer is 4; (1, 4), (2, 3), (3, 2) and (4, 1) .
...

For k > 2 in general (1, k-1), (2, k-2), (3, k-3), (4, k-4), ... , (k-3, 3), (k-2, 2), and (k-1, 1)
 


jbunniii said:
As written, your map is not well defined. Can you please clarify what happens in the sections indicated by "..."? For example, at what value of [itex]a[/itex] does this pattern end:
[tex]a*b=\begin{cases} <br /> 1, & \mbox{if } a=1 \mbox{ and } b=1 \\ <br /> 2, & \mbox{if } a=2 \mbox{ and } b=1 \\ <br /> 3, & \mbox{if } a=3 \mbox{ and } b=1 \\ <br /> \vdots \\ <br /> \end{cases}[/tex]
If the pattern continues for all [itex]a \in \mathbb{N}[/itex] then there's no way this map can be injective. You will have repeats as soon as you start the [itex]b = 2[/itex] section.

Also, what are the values of [itex]m[/itex] and [itex]n[/itex]?

Oh, I guess it doesn't end. I can't end the pattern because the set of natural numbers is infinite, correct? As for m and n: like you said, the pattern will repeat, so they'd already be listed in first section before the "...".
jbunniii said:
It looks like you are trying to sequence through [itex]\mathbb{N} \times \mathbb{N}[/itex] one column at a time. Hint: I think you will have better success if you try sequencing diagonally.

I think I see what you're saying. I would have to define my operation as something along the lines of
[itex]a*b = \begin{cases}1 & \mbox{if } a=1 \mbox{ and } b=1\\<br /> 2 & \mbox{if } a=2 \mbox{ and } b=1\\<br /> 3 & \mbox{if } a=1 \mbox{ and } b=2\\<br /> 4 & \mbox{if } a=1 \mbox{ and } b=3\\<br /> 5 & \mbox{if } a=2 \mbox{ and } b=2\\<br /> 6 & \mbox{if } a=3 \mbox{ and } b=1\\<br /> 7 & \mbox{if } a=4 \mbox{ and } b=1\\<br /> 8 & \mbox{if } a=3 \mbox{ and } b=2\\<br /> 9 & \mbox{if } a=2 \mbox{ and } b=3\\<br /> 10 & \mbox{if } a=1 \mbox{ and } b=4\\<br /> \vdots \end{cases}[/itex], right?

(I've set up a partial array on paper in which I follow a diagonal pattern, and the above is what I get by using it. )
SammyS said:
How many ordered pairs of natural numbers are there whose sum is k ?

For k < 2. the answer is 0.

For k = 2 the only such ordered pair is (1, 1), so there's one.

For k = 3, the answer is 2; (1, 2) and (2, 1) .

For k = 4, the answer is 3; (1, 3), (2, 2) and (3, 1) .

For k = 5, the answer is 4; (1, 4), (2, 3), (3, 2) and (4, 1) .
...

For k > 2 in general (1, k-1), (2, k-2), (3, k-3), (4, k-4), ... , (k-3, 3), (k-2, 2), and (k-1, 1)
Sorry, I'm not seeing why the sum of the coordinates would matter. Could you clarify?
 


SithsNGiggles said:
Oh, I guess it doesn't end. I can't end the pattern because the set of natural numbers is infinite, correct? As for m and n: like you said, the pattern will repeat, so they'd already be listed in first section before the "...".I think I see what you're saying. I would have to define my operation as something along the lines of
[itex]a*b = \begin{cases}1 & \mbox{if } a=1 \mbox{ and } b=1\\<br /> 2 & \mbox{if } a=2 \mbox{ and } b=1\\<br /> 3 & \mbox{if } a=1 \mbox{ and } b=2\\<br /> 4 & \mbox{if } a=1 \mbox{ and } b=3\\<br /> 5 & \mbox{if } a=2 \mbox{ and } b=2\\<br /> 6 & \mbox{if } a=3 \mbox{ and } b=1\\<br /> 7 & \mbox{if } a=4 \mbox{ and } b=1\\<br /> 8 & \mbox{if } a=3 \mbox{ and } b=2\\<br /> 9 & \mbox{if } a=2 \mbox{ and } b=3\\<br /> 10 & \mbox{if } a=1 \mbox{ and } b=4\\<br /> \vdots \end{cases}[/itex], right?

(I've set up a partial array on paper in which I follow a diagonal pattern, and the above is what I get by using it. )

Sorry, I'm not seeing why the sum of the coordinates would matter. Could you clarify?

Yes, your array is one right way to do it. SammyS was just trying to trying to give you hint to do what you just did. First assign integers to the pairs where a+b=2, then to the pairs where a+b=3, then to a+b=4, etc. It's a hint to follow the diagonals instead of the horizontals or verticals.
 
Last edited:


SithsNGiggles said:
I think I see what you're saying. I would have to define my operation as something along the lines of
[itex]a*b = \begin{cases}1 & \mbox{if } a=1 \mbox{ and } b=1\\<br /> 2 & \mbox{if } a=2 \mbox{ and } b=1\\<br /> 3 & \mbox{if } a=1 \mbox{ and } b=2\\<br /> 4 & \mbox{if } a=1 \mbox{ and } b=3\\<br /> 5 & \mbox{if } a=2 \mbox{ and } b=2\\<br /> 6 & \mbox{if } a=3 \mbox{ and } b=1\\<br /> 7 & \mbox{if } a=4 \mbox{ and } b=1\\<br /> 8 & \mbox{if } a=3 \mbox{ and } b=2\\<br /> 9 & \mbox{if } a=2 \mbox{ and } b=3\\<br /> 10 & \mbox{if } a=1 \mbox{ and } b=4\\<br /> \vdots \end{cases}[/itex], right?
Yes, that's what I had in mind.
 


Alright then, thanks! I didn't quite see how it related until just now. Thanks to everyone else, too!
 


Actually, I do have another question. I'm fairly convinced that the operation is one-to-one, but I'm not sure how to go about proving it directly.

I know that a function is injective if [itex]\forall \; x,y \in \mathbb{N}\times\mathbb{N}, \; f(x) = f(y) \Rightarrow x = y[/itex], or equivalently, if [itex]x \not= y \Rightarrow f(x) \not= f(y)[/itex].

Would that mean that, in the case of this particular function, I have to show that [itex](a_1 * b_1 = a_2 * b_2) \Rightarrow (a_1 = a_2 \wedge b_1 = b_2)[/itex]?

Here's my thought process: With the way I've defined [itex]*[/itex], it looks like I pretty much guarantee that [itex]f(x) \not= f(y)[/itex] for [itex]x \not= y[/itex], and so I immediately have the contrapositive version of the injective definition. Is this correct?
 


SithsNGiggles said:
Actually, I do have another question. I'm fairly convinced that the operation is one-to-one, but I'm not sure how to go about proving it directly.

I know that a function is injective if [itex]\forall \; x,y \in \mathbb{N}\times\mathbb{N}, \; f(x) = f(y) \Rightarrow x = y[/itex], or equivalently, if [itex]x \not= y \Rightarrow f(x) \not= f(y)[/itex].

Would that mean that, in the case of this particular function, I have to show that [itex](a_1 * b_1 = a_2 * b_2) \Rightarrow (a_1 = a_2 \wedge b_1 = b_2)[/itex]?

Here's my thought process: With the way I've defined [itex]*[/itex], it looks like I pretty much guarantee that [itex]f(x) \not= f(y)[/itex] for [itex]x \not= y[/itex], and so I immediately have the contrapositive version of the injective definition. Is this correct?
It is possible to find a formula which gives the same mapping you have.

The following will help with finding such a formula.

The sum of the natural numbers from 1 through n is given by [itex]\displaystyle \ \ \frac{n(n+1)}{2}\ .[/itex]
 
  • #10


SammyS said:
It is possible to find a formula which gives the same mapping you have.

The following will help with finding such a formula.

The sum of the natural numbers from 1 through n is given by [itex]\displaystyle \ \ \frac{n(n+1)}{2}\ .[/itex]

I noticed that what I'm basically doing is proving that [itex]\mathbb{N}\times\mathbb{N}[/itex] is countable, and I distinctly recall having seen the formula you may be talking about in a previous class.

After looking through my notes from that class, I came upon the following formula:
[itex]2^{m-1}(2n-1)[/itex] (m and n can obviously be replaced with a and b).

I never really understood how the instructor or student (I can't remember who wrote the proof) obtained the formula. Does it use the sum of natural numbers [itex]\dfrac{n(n+1)}{2}[/itex] that you're referring to?
 
  • #11


SithsNGiggles said:
I noticed that what I'm basically doing is proving that [itex]\mathbb{N}\times\mathbb{N}[/itex] is countable, and I distinctly recall having seen the formula you may be talking about in a previous class.

After looking through my notes from that class, I came upon the following formula:
[itex]2^{m-1}(2n-1)[/itex] (m and n can obviously be replaced with a and b).

I never really understood how the instructor or student (I can't remember who wrote the proof) obtained the formula. Does it use the sum of natural numbers [itex]\dfrac{n(n+1)}{2}[/itex] that you're referring to?
The mapping you refer to here, [itex]\ \ 2^{m-1}(2n-1)\,, \[/itex] is perfectly valid, but it differs form the previous mapping you gave in post #4.

Let's define the binary operator, ⊗, by [itex]\displaystyle \ \ m\otimes n=2^{m-1}(2n-1)\ .[/itex]

Let's investigate this operation. As it turns out, this mapping is not along the "diagonals" of [itex]\ \mathbb{N}\times\mathbb{N}\ .\[/itex]
If m=1, then [itex]\ 2^{m-1}=2^0=1\[/itex] so that 1⊗n = 1, 3, 5, 7, … as n = 1, 2, 3, 4, … . (Odd numbers)

If m=2, then [itex]\ 2^{m-1}=2^{2-1}=2\[/itex] so that 1⊗n = 2, 6, 10, 14, … as n = 1, 2, 3, 4, … . (Odd multiples of 2)

If m=3, then [itex]\ 2^{m-1}=2^{2-1}=2\[/itex] so that 1⊗n = 4, 12, 20, 28, … as n = 1, 2, 3, 4, … . (Odd multiples of 4)

…​
This mapping is not only injective (one-to-one) it's also surjective (onto), and thus it's bijective.

It's also quite easy to decompose (invert): Give the result of m⊗n, you can easily recover both m and n as a unique pair. Do you see how to do that ?


My idea regarding the use of [itex]\ \dfrac{n(n+1)}{2}\[/itex] was to obtain an algebraic formula for a binary operation based on going along the "diagonals" of [itex]\ \mathbb{N}\times\mathbb{N}\,,\[/itex] although it was in a slightly different order than what you did. (I planned to always go along any diagonal in the same direction -- as the first number of the ordered pair increased, starting a 1.) I'm not so sure that either diagonal mapping is easy to decompose.

I think this ⊗ operation will work much better for you.
 
  • #12


SammyS said:
Let's define the binary operator, ⊗, by [itex]\displaystyle \ \ m\otimes n=2^{m-1}(2n-1)\ .[/itex]

Let's investigate this operation. As it turns out, this mapping is not along the "diagonals" of [itex]\ \mathbb{N}\times\mathbb{N}\ .\[/itex]
If m=1, then [itex]\ 2^{m-1}=2^0=1\[/itex] so that 1⊗n = 1, 3, 5, 7, … as n = 1, 2, 3, 4, … . (Odd numbers)

If m=2, then [itex]\ 2^{m-1}=2^{2-1}=2\[/itex] so that 1⊗n = 2, 6, 10, 14, … as n = 1, 2, 3, 4, … . (Odd multiples of 2)

If m=3, then [itex]\ 2^{m-1}=2^{3-1}=4\[/itex] so that 1⊗n = 4, 12, 20, 28, … as n = 1, 2, 3, 4, … . (Odd multiples of 4)

…​
This mapping is not only injective (one-to-one) it's also surjective (onto), and thus it's bijective.

It's also quite easy to decompose (invert): Given the result of m⊗n, you can easily recover both m and n as a unique pair. Do you see how to do that ?
...
I think this ⊗ operation will work much better for you.

Yes, I think you're right about that. As for inverting: given any m⊗n, it looks like I can factor out a power of 2 (if it's even) or simply have 20 multiplied by an odd number (if it's odd).

But supposing I stick with my diagonal mapping, would this reasoning still work to show that the operation is one-to-one?

SithsNGiggles said:
... With the way I've defined [itex]*[/itex], it looks like I pretty much guarantee that [itex]f(x) \not= f(y)[/itex] for [itex]x \not= y[/itex], and so I immediately have the contrapositive version of the injective definition.

Thanks for the help, much appreciated!
 
  • #13


SithsNGiggles said:
Yes, I think you're right about that. As for inverting: given any m⊗n, it looks like I can factor out a power of 2 (if it's even) or simply have 20 multiplied by an odd number (if it's odd).

But supposing I stick with my diagonal mapping, would this reasoning still work to show that the operation is one-to-one?



Thanks for the help, much appreciated!

I don't think it's really profitable to try to write down a formula for the diagonal mapping to show it's invertible, though you probably could. It's the sort of mapping you draw a picture of then say that it's obvious that it is onto and injective.
 
  • #14


Dick said:
I don't think it's really profitable to try to write down a formula for the diagonal mapping to show it's invertible, though you probably could. It's the sort of mapping you draw a picture of then say that it's obvious that it is onto and injective.

Does showing the picture qualify as a proof, though? That's what I'm hoping for. The formula SammyS and I were discussing surely can be used in a proof, and I'm pretty confident that I'd be able to outline a proof using it.

Edit: The reason I'm asking is that in one of my proof-writing courses, when we were covering some set theory (simple union/intersection proofs), we weren't allowed to use Venn diagrams or anything.
 
  • #15


SithsNGiggles said:
Does showing the picture qualify as a proof, though? That's what I'm hoping for. The formula SammyS and I were discussing surely can be used in a proof, and I'm pretty confident that I'd be able to outline a proof using it.

Edit: The reason I'm asking is that in one of my proof-writing courses, when we were covering some set theory (simple union/intersection proofs), we weren't allowed to use Venn diagrams or anything.

I would say yes. But I'd say Venn diagrams are proofs as well. The standards of the proof-writing course might say no. The (2^(m-1))*(2n-1) mapping might suit it better.
 
  • #16


SithsNGiggles said:

Homework Statement



Prove or disprove: [itex]\exists[/itex] a binary operation [itex]*:\mathbb{N}\times\mathbb{N}\to\mathbb{N}[/itex] that is injective.

Hint: Think about prime factorization in reverse.

Hint2: This is a trivially easy problem once you see the answer.
 
  • #17


Dick said:
I would say yes. But I'd say Venn diagrams are proofs as well. The standards of the proof-writing course might say no. The (2^(m-1))*(2n-1) mapping might suit it better.

That standard was set by another professor, so I'll try submitting the diagonal mapping. If that doesn't work out, I'll work on the (2^(m-1))*(2n-1) mapping. Thanks.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
1
Views
2K
Replies
2
Views
1K
Replies
1
Views
1K
Replies
20
Views
4K