- #1
evinda
Gold Member
MHB
- 3,836
- 0
Hello! (Wave)
I want to show that the diophantine equation $x^2+y^2=2$ has only these solutions:
$$(x,y)=(1,1),(1,-1), (-1,1), (-1,-1)$$
That's what I have tried:
$$x^2+y^2=2 \Rightarrow x^2=2-y^2$$
$$x^2>0 \Rightarrow 2-y^2>0 \Rightarrow y^2<2 \Rightarrow -\sqrt{2}<y< \sqrt{2} \Rightarrow y=\pm 1,0$$
So, the solutions are $(\pm 1, \pm 1), (\pm 2,0)$.
Is it right? Could I also find the solutions, using modulo?
Also, how can I show that these solutions are the only ones? (Thinking)
I want to show that the diophantine equation $x^2+y^2=2$ has only these solutions:
$$(x,y)=(1,1),(1,-1), (-1,1), (-1,-1)$$
That's what I have tried:
$$x^2+y^2=2 \Rightarrow x^2=2-y^2$$
$$x^2>0 \Rightarrow 2-y^2>0 \Rightarrow y^2<2 \Rightarrow -\sqrt{2}<y< \sqrt{2} \Rightarrow y=\pm 1,0$$
- $y=0: x= \pm \sqrt{2} \notin \mathbb{Z}$
- $y=\pm 1: x= \pm 1$
So, the solutions are $(\pm 1, \pm 1), (\pm 2,0)$.
Is it right? Could I also find the solutions, using modulo?
Also, how can I show that these solutions are the only ones? (Thinking)