Suppose that $x_1,x_2,··· ,x_k$ are elements in some group. Show that $|x_1x_2x_3···x_k| = |x_2x_3···x_kx_1|$. Note that the order might be infinite.
I have no idea how to prove this formally. I know that this should be the case because to be a group, one of the criteria is to be associative, thus it doesn't matter how you multiply them and in what order. however, I don't know how to formally show this on paper.