Homomorphism between cyclic groups

The discussion about "well-defined" is perhaps a bit obscure. Here's the problem:

Remember that in general, an element of $G$ may have many different "names." For example, if $n=10$, then the element $x^{11}$ is equal to $x$; in fact, $x$ has infinitely many different "names" as a power of $x$: $$\cdots = x^{-9} = x^1 = x^{11} = x^{21} = \cdots$$

The problem is that the definition of $f$ as given depends on the name of the element! That is, if we are furiously working and somebody hands us a power of $x$, say, $x^{3781}$, we are supposed to, unthinkingly, map it to $y^{3781}$. The problem is that $x^{3781}$ is the same element as $x$, which we are supposed to send to $y^1$. That means that unless $y^1=y^{3781}$, what we have is not really a function: because the same input, $x$ (who, when being teased by bullies is called "$x^{3781}$") may be sent to $y^1$ or to $y^{3781}$, depending on what "name" we just heard for it.

Checking that the value of the function is the same regardless of what name we are using for an element, even though the function is defined in terms of the name, is called "checking that the function is 'well-defined.'"

An example of a function that is not well-defined would be one in which the input is an integer, and the output is the number of symbols used to express that integer. For example, $f(3)$ would be $1$ (because 3 is only one symbol), but $f(4-1)$ would be $3$ (because we are using 4, -, and 1). This is not well defined as a function of the integers, because $3$ is the same as $4-1$, but $f$ assigns it two different outputs.

So in order for the expression given to actually define a function, we need the following to be true: $$\text{if }x^i=x^j,\text{ then }y^i = f(x^i)\text{ is equal to }y^j=f(x^j).$$ Now, $x^i=x^j$ if and only if $i\equiv j\pmod{n}$; and $y^i=y^j$ if and only if $i\equiv j\pmod{m}$. Therefore, we need: $$\text{if }i\equiv j\pmod{m},\text{ then }i\equiv j\pmod{n}.$$ In other words: every number that is a multiple of $m$ must be a multiple of $n$.

This is equivalent to $n|m$.

In fact, you noticed that in what you wrote, because $x^n=e$, so we need $f(x^n)$ to be the same as $f(x^0)$.

Once we know that $n|m$, then $f$ is well defined. Once it is well-defined, we can start verifying that it is indeed a homomorphism (it is). Technically, it's incorrect to start working to see if it is a homomorphism before you even know whether or not it is a function.

Note that the condition actually works if we allow $G$ or $H$ to be infinite cyclic groups, if we call infinite cyclic groups "groups of order $0$". Then $i\equiv j\pmod{0}$ means $i=j$, every number divides $0$, but the only multiple of $0$ is $0$. So if $G$ is infinite cyclic then the value of $n$ does not matter; if $H$ is infinite cyclic then we must have $G$ infinite cyclic.


You may want to check first if the map is well defined, ie., if $x^i=x^j$ does it follow that $f(x^i)=f(x^j)$?


I am not sure if this completely explains why the naive calculations in $(1)$ are not valid. Here is my go at it:

I'll list down several points of concern.

  • Firstly your map $x^i \mapsto y^i$ is very naive that it misses some essential details.

For convenience of notation, I prefer to look at this as $\varphi(\bar i)=\bar i$ if you'll allow me to do so. This is also naive but to some extent captures what is happening.

So, an equivalence class $\bmod n$ is mapped to the same equivalence class $\bmod m$ under $\varphi$. This bit of information is missed in $x^i \mapsto y^i$. This explains my comment under your question that you will want to write your maps as $x^{i(n)} \mapsto y^{i(m)}$. This notation makes things more transparent.

That you have dicovered that $m \mid n$, it can be obtained through the universal property of the quotients, which I will write about later.

The quotient map $G \to G/H$ factors over $G \to G/K$ if and only if $K \subseteq H$. That is there is a map from $G/H$ to $G/K$ if and only if $K \subseteq H$.

Proof: Please Go through Dummit and Foote's description in their Abstract Algebra in the section $\S3.3$ Isomorphism Theorems.

Now consider your cyclic groups as $\Bbb Z/n\Bbb Z$ and $\Bbb Z/m\Bbb Z$ and observe that above condition will tell you, $m\Bbb Z \subseteq n \Bbb Z$ whic happens if and only if...


As you had earlier in your comments observed, the map won't even be well defined if $m \nmid n$.


I'll leave it to you as a challenge to use this blooper to prove that two groups of same order are isomorphic, which really is not the case. Hint: Cyclic groups exist for any given order.