Irrationality of $\sqrt{2m}$

Suppose $a^2 = 2k$ for some odd $k$.

If $a$ is odd, then $a^2$ is odd too, so that can't be the case.

However if $a$ is even, then $a=2n$ for some $n$, and $(2n)^2 = 4n^2 = 2k$, so $k=2n^2$ and was not odd after all. So this is also impossible.

Since neither even nor odd integers can be roots of your perfect square, it cannot exist.


In general one can prove that if a prime $p$ divides a perfect square $a^2$, then $p$ also divides $a^2/p$.


Let's take the scenic route. Remember that $\sqrt{ab} = \sqrt a \sqrt b$. This means that $\sqrt{2m} = \sqrt 2 \sqrt m$. So $\sqrt{2m}$ is the product of two irrational numbers. It could still be a rational number, though. Okay, sorry, that was more of a dead end than a scenic route.

You say you're looking for $2m = x^2$, where $x$ is an integer. Clearly $x$ must be even. And it turns out that $m$ must also be even, because all even squares are divisible by 4, but this contradicts your stipulation that $m$ is odd.

Or what if instead $m$ is a multiple of $\sqrt 2$ but not of 2? Then $m$ is not a regular integer (though it is an algebraic integer) and neither is $x$. But $2 \sqrt 2$ is not an integer in the usual sense.

Or what if $m$ is simply half $\sqrt{2m}$? For example, suppose that 6 is a square. Then in $2m = x^2$, $$m = \frac{\sqrt 6}{2}.$$ From this it follows that $$m^2 = \frac{6}{4} = \frac{3}{2}.$$

We can slice this thing a thousand different ways, they will all fail to deliver the number you're looking for, because it doesn't exist to be found. No amount of brute force number crunching can find what doesn't exist.


That is equivalent to: There are no square numbers of the form $2m$, where $m$ is odd.

Proof: Take any number $x$, if it is odd then $x^2$ is odd. If it is even, then $x^2$ is divisible by $4$. That means that if $2m = x^2$, $m$ must be divisible by $2$, which contradicts the statement $m$ is odd.