Let $p^2=6$. Is $\sqrt{6}$ even?
I believe $\sqrt{6}$ is not even an integer. Could you help me find the flaw in this statement. Thanks.
Let $p^2=6$. Is $\sqrt{6}$ even?
I believe $\sqrt{6}$ is not even an integer. Could you help me find the flaw in this statement. Thanks.
On
As Robert noted, this is only true if $p$ is an integer.
Here is a proof:
Let $p$ be an integer and $p^2$ be even, so $p^2 = 2a$ for some integer $a$. Consider $p^2 + p = p(p+1)$. We know that $p(p+1)$ must be even because regardless of if $p$ is even, we will have an $\text{even} \cdot \text{odd}$, which must be even. Thus $p^2 + p = 2b$ for some integer $b$. Now note that $p = (p^2 + p) - p^2 = 2b - 2a = 2(b-a)$, where $b, a$ are integers and $b>a$. So $p$ must be even.
"Even" and "odd" are properties of integers, not of arbitrary real numbers. The correct statement is "if $p$ is an integer and $p^2$ is even, then $p$ is even."
Someone might omit the "if $p$ is an integer" part if they think it is obvious from the context. But apparently it was not obvious to you.