Consider the following exercise from a book I'm reading:
If $n$ is odd show that $$ f: O(n) \to SO(n) \times \{1,-1\}, A \mapsto (A \operatorname{det}{A}, \operatorname{det}{A})$$
is an isomomorphism.
But why does $n$ have to be odd? I can easily show that it's a group homo., injective and surjective without using any information about $n$. What am I missing here?