Prove that if $2\ |\ (x^2-1)$, then $8\ |\ (x^2-1)$.
2026-03-26 11:07:08.1774523228
On
Prove that if $2|(x^2-1)$, then $8|(x^2-1)$.
1.3k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
3
There are 3 best solutions below
0
On
Hint:-
$x^{2}\equiv1 \pmod 2\\ \implies \gcd(x,2)=1\\\implies \gcd(x,4)=1\land \gcd(x,8)=1\\ \implies x^{\varphi(8)}\equiv1\pmod 8\land x^{\varphi(4)}\equiv1\pmod 4\\\implies x^{4}\equiv1\pmod 8\land x^{2}\equiv1\pmod 4$
By Euler's Theorem.
well if $2$ divides $(x^2-1)=(x-1)(x+1)$ then being $2$ as prime it will divide either $x-1$ or $x+1$ atleast one. WLG, Let it divides $(x-1)$, then $(x-1)$ is even and thus $x-1+2=x+1$ is also even and thus $2$ also divides $x+1$ and thus $4$ divides $(x^2-1)$ So let $x^2-1=4k.$
$\textbf{Case 1-}$ $k$ is even, we are done.
$\textbf{Case 2-}$ $k$ is odd, let $k=2t+1$ then $x^2-1=4(2t+1)=8t+4$ $\implies x^2=8t+5$ . Now we show it is not possible for a perfect square to be congruent modulo $8$. Consider all possibilities that $x \equiv \hspace{.05cm} 0,1,2,3,4,5,6,7 \hspace{.07cm} \text{mod} \hspace{.05cm} 8$. Then $x^2 \equiv 0,1,4,1,0,1,4,1 \text{mod} 8$ resp. So no perfect square can give $5$ as a remainder when divided by $8$. Done.
I hope it is correct!