- #1
evinda
Gold Member
MHB
- 3,836
- 0
Hello! (Wave)
I want to check if the equation $x^2=-1$ in $\mathbb{Z}_2$ has a solution.
$$x^2 \equiv -1 \pmod 2 \Rightarrow x^2 \equiv 1 \pmod 2$$
$$\forall p>2: \left ( \frac{1}{p}\right)=1, \text{ so there is a solution.}$$
But, what happens for $p=2$? How can I check if there is a solution?
I want to check if the equation $x^2=-1$ in $\mathbb{Z}_2$ has a solution.
$$x^2 \equiv -1 \pmod 2 \Rightarrow x^2 \equiv 1 \pmod 2$$
$$\forall p>2: \left ( \frac{1}{p}\right)=1, \text{ so there is a solution.}$$
But, what happens for $p=2$? How can I check if there is a solution?