Prove that $U_{pq}$ is not cyclic if $p$ and $q$ are distinct odd primes.
I am a self taught person. I just learned this and tried this on my own and came up with this.
$x \equiv 1 \pmod{p}$ and $x \equiv -1 \pmod{q}$ has a solution $[a]_{pq}$, since $p$ and $q$ are relatively prime. Because $q$ is an odd prime, $[-1]_{pq}$ is not a solution, so $[a]_{pq}\neq [-1]_{pq}$. But $a^2 \equiv 1 \pmod{p}$ and $a^2 \equiv 1 \pmod{q}$, so $a^2 \equiv 1\pmod{pq}$ since $p$ and $q$ are relatively prime, and thus $[a]_{pq}$ has order 2.
Can someone please tell me if this proof this correct? Please help with proof as I learned it just now as a self taught person.