Condition for Rational Number to be Square of Rational Number

Theorem
Let $m$ and $n$ be (strictly) positive integers which are coprime.

Then $\dfrac m n$ is the square of a rational number both $m$ and $n$ are square numbers.