Needing help picturing the group idea.

I have a question;

X and Y are subgroups of a group G.

If $|X|, |Y| < \infty$, show that

$|XY| = \frac{|X||Y|}{|X \cap Y|}$

but I can't really picture what it is talking about to even get started.

Is it to do with looking for different ways so combine the elements {x, y, xy} ?

Thanks


Can I summarize some comments?

Cosets $xY$ (for $x \in X$) are either disjoint, or equal. Suppose $xY=x′Y$. It happens if and only if $x^{-1}x' \in Y$ or $x^{-1}x' \in X \cap Y$ (since $x,x' \in X$). So, $xY$ and $x′Y$ are disjoint iff $x$ and $x'$ are representatives of distinct cosets of $X$ by $X \cap Y$. And there are $|X|/|X \cap Y|$ such cosets. For every coset there are |Y| elements in $XY$, and the formula follows.


The point is that if $z\in X\cap Y$ then it is counted twice when you form $XY$, so when you consider the cardinality of $|XY|$ you must remove one of these occurrences. You do the numbers, and it turns out that when you remove them you end up with the formula you have given. To prove the formula, consider the natural map $f:X\times Y\rightarrow XY$ and work out its "kernel".

Addendum: As requested, I'll included some more detail. This detail will basically be the description of some technology and how to apply it. The proof is neater with the technology.

The technology: Define an equivalence relation on the set $X\times Y$ as follows: Set $(x_0, y_0)\sim (x_1, y_1)$ if and only if $x_0y_0=x_1y_1$. Note that $(x_0, y_0)\sim (x_1, y_1)$ is equivalent to $x_1^{-1}x_0=y_1y_0^{-1}$. It is therefore equivalent to the existence of an element $z\in X\cap Y$ such that $(x_0z, z^{-1}y_0)=(x_1, y_1)$. Denote the equivalence class containing $(x, y)$ by $\widehat{(x, y)}$.

Step 1: Prove that each equivalence class $\widehat{(x, y)}$ has cardinality $|X\cap Y|$.

Step 2: Prove that the map $\frac{X\times Y}{\sim}\rightarrow XY$, $\widehat{(x, y)}\mapsto xy$ is well-defined and a bijection (note that ${X\times Y}/{\sim}$ denotes the set of equivalence classes of $X\times Y$ under $\sim$).

Step 3: Conclude.