Let $G_1,G_2,...,G_n$ be groups. Show that the order of an element $(a_1,a_2,...,a_n)$ $\in$ $G_1 \times G_2 \times\cdots\times G_n$ is lcm($o(a_1),...,o(a_n))$.
I know I need to use the fact that the least common multiple of positive integers $x_1,x_2,...,x_n$ is the unique positive multiple of $x_1,x_2,...,x_n$ that divides all other such multiples.
Note on notation: for the case where $o(a_i)=\aleph_0$ one defines lcm($o(a_1),...,o(a_n))=\aleph_0$
I was looking at this question but I'm not sure if I can assume the groups are abelian in my case.
Any advice would be greatly appreciated! Thanks.