I know that if $H < G$ is an index two subgroup, then it must also be normal in $G$.
How do I show that $G/H \cong \{1,-1\}$
My thought is to define the function $\phi: G/H \to \{1,-1\}$ where $\phi(H) = 1$ and $\phi(gH) = -1$ where $g$ is such that $gH \not = H$.
This map is clearly surjective and injective.
My trouble is in verifying that $\phi$ is a homomorphism. Specifically
$\checkmark \phi(H \cdot H) = \phi(H) = 1 = \phi(H) \cdot \phi(H)$
$\checkmark \phi(gH \cdot H) = \phi(gH) = -1 = \phi(gH) \cdot \phi(H)$
Similarly, one can compute $\phi(H \cdot gH)$.
How do I show that
$\phi(gH \cdot gH) = \phi(g^2H) = 1 = \phi(gH) \cdot \phi(H)$
Essentially, I cannot show that if $g$ is such that $gH \not = H$ then $g^2H = H$.