Is the product of all positive rational numbers equal to one?

I've started reading Pinter's Book of Abstract Algebra, and one of the early exercises calls for a proof that in a finite abelian group $G$, $(a_1a_2a_3a_4...a_n)^2 = e$, if there are any $a_n$ that are their own inverses, and that if no $a_n$ is its own inverse, then $(a_1a_2a_3a_4...a_n) = e$.

Since I'm not doing this for a class, I worked out a very informal proof for the second case (no $a_n$ is its own inverse): Since there must be an $a^{-1}$ for each $a$, then $(a_1a_2a_3a_4...a_n)$ can be reduced to so many instances of $(a_1a_1^{-1}a_2a_2^{-1}...a_{n/2}a_{n/2}^{-1})$, which can be simplified to $e^{n/2}$, or just $e$.

Is there a particular reason why this holds only for finite abelian groups?

If one were to list rational numbers in order, as Cantor demonstrated, would the product of this list tend toward one?

Also, would it be fair--albeit relatively meaningless--to say that the group $\mathbb{Q} > 0$ has an odd number of members, as it contains exactly one member that is its own inverse?

(full disclosure--this is basically a hobby for me, so apologies in advance for any obvious errors in logic/notation/etc., but please point them out)


Infinite products are delicate. Generally, we say that an infinite product $$ \prod_{k=1}^{\infty} a_n $$ converges if and only if the series $$ \sum_{k=1}^{\infty} \log(a_n) $$ converges to some value $\log(a)$. In this case, the product converges to $a$. Otherwise, the product diverges.

To understand why this is a reasonable definition, recall that for two elements, we have $$ a_1 \cdot a_2 = a \iff \log(a_1) + \log(a_2) = \log(a); $$ and that for any finite product we can show by induction that $$ \prod_{k=1}^{n} a_k = a \iff \sum_{k=1}^{n} \log(a_k) = \log(a). $$ Thus we can understand the properties of products by reducing them to series using the logarithm (since you are reading about abstract algebra, you might consider how the multiplicative group of positive real numbers relates to the additive group of real numbers; are they isomorphic?).

Notice that there are several interesting ways for a product to diverge: it can oscillate (as a series might), it can diverge to infinity (consider the infinite product $\prod 2$), or it can diverge to zero! For example, if $\prod \frac{1}{2} = a$, then $$ \sum_{k=1}^{\infty} \log\left( \frac{1}{2} \right) = \log(a). $$ But the sum diverges to negative infinity, hence the product does not converge.

So, suppose that $\{q_k\}$ is an enumeration of the rational numbers. Then $$ \prod_{k=1}^{\infty} q_k = q \iff \sum_{k=1}^{\infty} \log(q_k) = \log(q). $$ There is no rearrangement of the rational numbers such that the series above converges. To see this, suppose that $\{q_n\}$ is an enumeration of the rationals. There are infinitely many $n \in \mathbb{N}$ such that $|\log(q_n)| > 1$, which implies that $|\log(q_n)|$ does not converge to zero as $n\to \infty$. Hence the series $\sum \log(q_n)$ does not converge (the general term doesn't go to zero).


As per Asaf Karagila's comments (below), a set is even if it can be split into two sets of the same "size", or if it can be split into pairs (this characterization requires the Axiom of Choice, but this is a technical point that is beyond the current scope). If a set cannot be split into pairs, then it is odd. Since any infinite set can be split into pairs (again, this requires choice), every infinite set—including the rationals—is even.

As such, this argument basically asserts that the concept of "parity" is more or less meaningless for infinite sets.


In your proof you are making the assumption that $n$ is even and that the inverse of $a_k$ for $1\leq k\leq \frac{n}{2}$ is not in $\{a_1,\ldots,a_{\frac{n}{2}}\}$, so in general, your idea doesn't work.

Also your theorems are flawed. They should read like this:

  1. For any finite group $G$ with elements $a_1,\ldots,a_n$ holds $(a_1\ldots a_n)^2=e$.
  2. For any finite group $G$ with elements $a_1,\ldots,a_n$ such that the only selfinverse element is $e$ holds $a_1\ldots a_n=e$.

The proof of (2.) is simple. Because of (1.) we know that the element of $G$ of form $a_1\ldots a_n$ is selfinverse (because $(a_1\ldots a_n)^2=e$), but with our assumption in (2.) we then get $a_1\ldots a_n=e$ immediatly.

As for your question: You have the problem that it is not well defined in which order your elements are multiplied. Sure, you can have an order such that the product is $1$. But you could also have an order such that the product is $\frac{1}{2}$ or $2$ or any other number. Even $0$ and $\infty$ are possible. The terms "convergence" and "absolute convergence" are needed here. See for example wikipedia (there it is about sums, but it is the same principle).

For illustration, your claim of the product being one is roughly equivalent to saying that the sum of all integers is $0$. I'm using that because listing all rationals is always a bit tricky.

Lets make an attempt:

$$0+1+(-1)+2+(-2)+\ldots=0+(1+(-1))+2+(-2)+\ldots=0+0+(2+(-2))+\ldots$$

Yeah, $0$ seems reasonable. But wait, what if we do it like this?

$$0+1+2+(-1)+3+4+(-2)+5+6+(-3)+\ldots=0+(1+2+(-1))+(3+4+(-2))+(5+6+(-3))+\ldots = 0+2+5+8+\ldots$$

Clearly we are still adding up all integers (in a way most people would probably not), but suddenly our sum gets bigger and bigger (forever).

Summation order (and multiplication order) often plays a critical role when dealing with infinite sums (or infinite products).

In conclusion you can't say "The product of all positive rationals is $1$", but "There is a way to multiply all positive rationals such that the product is $1$".

EDIT: For the people who are nagging about how using the associative law here makes my answer somehow not mathematically right, not in the spirit of the question or that I would just

write "1" in a countable number of funny ways

if I were to use this technique for multiplying all positive rationals to $1$, I'm proud to tell you that this technique is commonly used.