Suppose $a$ is a positive integer such that it's square root is between a positive integer $x$ and $x+1$. ($x<\sqrt{a}<x+1$) Prove that $a$ must be irrational.
Okay so I have some idea of how to advance here. By using the irrationality prove of $\sqrt 2$ (if $\sqrt 2$ can be written as a rational fraction in lowest term $\frac{m}{n}$ then $\sqrt 2$ can be also written as $\frac{2n-m}{m-n}$ which would be a contradiction as this can be simplified)maybe we can extend this to every a...
After thinking a bit, I think I figured out this explanation: $x<\sqrt{a}<x+1$ implies that a is not a perfect square. However I have a difficult time trying to explain for every positive integer a such that $a$ is not a perfect square $\sqrt{a}$ is irrational: this is common sense but I just cannot come up with a good and rigorous explanation. I think I need to use the same technique of proving $\sqrt 2$'s irrationality but I just cannot apply this to $a$...
If you want to prove that $\sqrt a$ is irrationnal. Assume that is not and take $m,n$ positive integers such that $gcd(m,n) = 1$, then $a = \frac{m^2}{n^2}$ and $m^2 = an^2$ this implies that $n | m^2$ and, by the Gauss theorem $n | m$. Having $gcd(n,m) = 1$ so $n= 1$. So $\sqrt a = m \in \mathbb N$