3

Original implication: For all prime numbers $x$, $y$, and $z$, $x^2 + y^2 \neq z^2$.

I'm not certain if I'm understanding the process of proof by contradiction correctly. What I am understanding so far is that I must first make the initial statement a contrapositive. Which would be:

$x^2 + y^2 = z^2 \Rightarrow$ some $x$, $y$, $z$ belonging to $\mathbb{Z}$ (integers), not($P(x, y, z)$), where $P$ = prime numbers.

I would greatly appreciate help in figuring out the rest of the steps to prove by contradiction.

Peter Franek
  • 11,522
pudi
  • 31

1 Answers1

5

Hint: Suppose that $x^2+y^2=z^2$ for some prime $x,y,z$. Not all of $x,y,z$ can be odd (exercise), so at least one must be even, i.e., 2. Now there are two cases: either $x=2$ or $z=2$. The latter case is easy to rule out. For the former, obtain a contradiction by considering $4 = z^2-y^2 = (z-y)(z+y)$ and deducing the possible values of $y,z$.

Yuval Filmus
  • 57,157