Every real solution of $x^{3}+x+3=0$ is irrational.
I saw a similar post, but none of the comments followed my approach, so I was wondering if it is valid.
My attempt:
For the sake of contradiction, suppose it is not the case that every real solution of $x^{3}+x+3=0$ is irrational. Thus, there is a solution of $x^{3}+x+3=0$ that is rational. Let this solution be $u/v$, where $u,v\in\mathbb{Z}$, $v\neq0$, and $u/v$ is fully reduced, that is, $\textrm{gcd}(u,v)=1$.
Since $u/v$ is a solution to $x^{3}+x+3=0$, it follows that $(u/v)^{3}+(u/v)+3=0$. Thus, \begin{align} \left(\frac{u}{v}\right)^{3}+\left(\frac{u}{v}\right)+3&=0\nonumber\\ \left(\frac{u^{3}}{v^{3}}\right)+\left(\frac{u}{v}\right)&=-3\nonumber\\ \frac{u^{3}+uv^{2}}{v^{3}}&=-3\nonumber\\ u^{3}+uv^{2}&=-3v^{3}\nonumber\\ u(u^{2}+v^{2})&=-3v^{3}\nonumber \end{align} Now, we look into the equation above modulo $2$. Since every integer is congruent to $0$ or $1$ modulo $2$, we produce the following table to account for all possibilities:
\begin{array}{c|c|c|c|c||c|c} u(\textrm{mod} 2) & v(\textrm{mod} 2) & u^{2}(\textrm{mod} 2) & v^{2}(\textrm{mod} 2) & v^{3}(\textrm{mod} 2) & u(u^{2}+v^{2})(\textrm{mod} 2) & -3v^{3}(\textrm{mod} 2)\\ \hline 0 & 0 & 0 & 0 & 0 & 0 & 0\\ 0 & 1 & 0 & 1 & 1 & 0 & 1\\ 1 & 0 & 1 & 0 & 0 & 1 & 0\\ 1 & 1 & 1 & 1 & 1 & 2\equiv 0 & 1\\ \end{array}
As we can see, the left-hand side is congruent to the right-hand side modulo $2$ only when $u\equiv0 \pmod 2$ and $v\equiv0 \pmod 2$. Hence, $u$ and $v$ are even, which contradicts the fact that $u/v$ is fully reduced. $\blacksquare$
My questions are,
- Can I claim that if $a\not\equiv b(\textrm{mod } n)$ then $a\neq b$ without proving it?
- Also, is this table method ok to use?
I have never seen it done like this before, so I don’t know if it is correct or standard. (I am self-teaching math, by the way)