Theorem 11.1. The positive integers x,y,z form a primitive Pythagorean triple, with y even, if and only if there are relatively prime positive integers m and n,m>n, with m odd and n even or m even and n odd, such that x=m2−n2y=2mnz=m2+n2
This one wants a proof. Work it on paper, then read the official solution and mark
yourself. Be honest about it: the record is only any use to you if it is.
Official solution
Proof. Let x,y,z be a primitive Pythagorean triple. Lemma 11.2 tells us that x is odd and y is even, or vice versa. Since we have assumed that y is even, x and z are both odd. Hence, z+x and z−x are both even, so that there are positive integers r and s with r=(z+x)/2 and s=(z−x)/2.
Since x2+y2=z2, we have y2=z2−x2=(z+x)(z−x). Hence, (2y)2=(2z+x)(2z−x)=rs
We note that (r,s)=1. To see this, let (r,s)=d. Since d∣r and d∣s, d∣(r+s)=z and d∣(r−s)=x. This means that d∣(x,z)=1, so that d=1
Using Lemma 11.3, we see that there are integers m and n such that r=m2 and s=n2. Writing x,y, and z in terms of m and n, we have x=r−s=m2−n2y=4rs=4m2n2=2mn and z=r+s=m2+n2
We see also that (m,n)=1, since any common divisor of m and n must also divide x=m2−n2,y=2mn, and z=m2+n2, and we know that (x,y,z)=1. We also note that m and n cannot both be odd, for if they were, then x,y, and z would all be even, contradicting the condition (x,y,z)=1. Since (m,n)=1 and m and n cannot both be odd, we see m is even and n is odd, or vice versa. This shows that every primitive Pythagorean triple has the appropriate form.
To see that every triple x=m2−n2y=2mnz≡m2+n2 where m and n are positive integers, m>n,(m,n)=1, and m≡n(mod2), forms a primitive Pythagorean triple, first note that x2+y2=(m2−n2)2+(2mn)2=(m4−2m2n2+n4)+4m2n2=m4+2m2n2+n4=(m2+n2)2=z2
To see that these values of x,y, and z are mutually relatively prime, assume that (x,y,z)=d>1. Then, there is a prime p such that p∣(x,y,z). We note that p=2, since x is odd (because x=m2−n2 where m2 and n2 have opposite parity). Also, note that because p∣x and p∣z,p∣(z+x)=2m2 and p∣(z−x)=2n2. Hence p∣m and p∣n, contradicting the fact that (m,n)=1. Therefore, (x,y,z)=1, and x,y,z is a primitive Pythagorean triple. This concludes the proof.
Source: NuminaMath-1.5,
licensed Apache-2.0.
Statement and solution reproduced as published; topic, difficulty and ordering added
by this site.