25

All rational numbers have the fraction form $$\frac a b,$$ where a and b are integers($b\neq0$).

My question is: for what $a$ and $b$ does the fraction have rational square root? The simple answer would be when both are perfect squares, but if two perfect squares are multiplied by a common integer $n$, the result may not be two perfect squares. Like:$$\frac49 \to \frac 8 {18}$$

And intuitively, without factoring, $a=8$ and $b=18$ must qualify by some standard to have a rational square root.

Once this is solved, can this be extended to any degree of roots? Like for what $a$ and $b$ does the fraction have rational $n$th root?

Bart Michels
  • 26,355
  • http://math.stackexchange.com/questions/324724/p1-n-is-irrational-if-p-is-prime-and-n1/324851#324851 is a related question. – Baby Dragon Jul 20 '13 at 17:26
  • $8/18$ is not in the "lowest terms", which means $gcd(a, b) = 1$ – Kaz Jul 21 '13 at 05:56
  • 3
  • $\frac ab$ is a square rational iff $ab$ is a square integer, as several people pointed out. The natural question is, is there a similar test for cube rationals? Here it is: $\frac ab$ is a cube rational iff $ab^2$ is a cube integer. – Akiva Weinberger Nov 10 '15 at 17:20