I had a query regarding the characteristic of the direct sum of two rings. That is, given two rings R and S, with characteristics m and n respectively, show that: $$char(R \oplus S)=lcm(m,n)$$ That is, it is the least common multiple of the two characteristics of the rings given. The definition of characteristic of a ring that I have been using is as follows: The characteristic of a ring $R$ is the least positive integer $n>0$ such that $nx=0$ for all $x$ in $R$. If no such integer exists, the characteristic of $R$ is said to be $0$.
As a side note: I do know how to do this for the specific case when $R=\mathbb{Z}_m$ and $S=\mathbb{Z}_n$ where it is clear that $char(R)=m$ and $char(S)=n$. Here is how I would approach this specific case:
Claim: $$char({Z}_m \oplus {Z}_n)=lcm(m,n)$$ Let $k=lcm(m,n)$ and $Q={Z}_m \oplus {Z}_n$. Suppose $q$ is the characteristic of $Q$. As $(1,1)$ generates the ring $Q$, it is clear that $k(1,1)=(k,k)=(0,0)$ and hence $kx=0$ for all $x\in Q$. That is, $q$ must divide $k$ (by definition of characteristic) and hence $q\le k$. Then, using the definition of characteristic, the following holds. $$q\cdot 1\equiv 0\pmod m$$ $$q\cdot 1\equiv 0\pmod n$$ This implies (by the definition of modular arithmetic), that $m$ divides $q$ and $n$ divides $q$. Then, by the definition of characteristic and least common multiple, the smallest integer for the above to hold is consequently $lcm(m,n)$. Thus, $q=k=lcm(m,n)$.
I know I cannot directly apply this specific case to the more general one because it is not certain that the rings $R$ and $S$ are indeed generated by 1 element - So the same argument cannot be used. If someone could give me a push in the right direction, I would be most grateful. I have been looking at this concept for a few weeks and am interested in proving it.
There's a perhaps better way to define the characteristic of a ring (I assume rings have an identity $1$). For each ring $R$, the map $$ \chi_R\colon\mathbb{Z}\to R,\qquad n\mapsto n1 $$ is the only ring homomorphism $\mathbb{Z}\to R$. Then there is a unique $k\ge 0$ such that $\ker\chi_R=k\mathbb{Z}$ and $k$ is the characteristic of $R$ (the proof is straighforward).
Now, if $R$ and $S$ are rings, we have $$ \chi_{R\times S}(n)=n(1,1)=(n1,n1) $$ so $\ker\chi_{R\times S}=\ker\chi_R\cap\ker\chi_S$.
If $a\mathbb{Z}$ and $b\mathbb{Z}$ are ideals of $\mathbb{Z}$, then $$ a\mathbb{Z}\cap b\mathbb{Z}=\operatorname{lcm}(a,b)\mathbb{Z} $$ (where I use $\operatorname{lcm}(a,0)=0$, together with $\gcd(a,0)=a$, so the relation $\operatorname{lcm}(a,b)\gcd(a,b)=ab$ holds without restrictions, provided $a,b\ge0$).