[Math] How to Prove Pythagorean Triple Formula

pythagorean triples

I'm having a hard time finding a proof for how they derived the Pythagorean triple formula.

  1. It's hard to find the proof online and
  2. When I do find it, it's hard to understand.

$a = p^2 − q^2 , b = 2pq, c = p^2 + q^2$

Please explain simply.

Best Answer

The starting point is observe that: $b^2 = c^2-a^2 = (c-a)(c+a)$. Thus if $b$ is even, then since $(c+a) - (c-a) = 2a$ which is even. So $c-a,c+a$ are both even. Then you can put $c-a = 2p^2, c+a = 2n^2$. If $b$ is odd, then both $c-a, c+a$ are odd. Thus you can write $c-a = k^2, c+a=r^2$. In both cases, you are led to the solution above.