Solve the Diophantine equation x² + y² = z² in positive integers (Pythagorean triples).

Answer: The solutions to the Diophantine equation x2+y2=z2x^2 + y^2 = z^2 in positive integers are given by x=k(m2−n2)x = k(m^2 - n^2), y=k(2mn)y = k(2mn), and z=k(m2+n2)z = k(m^2 + n^2), where mm and nn are coprime positive integers with m>nm > n and opposite parity, and kk is any positive integer.

Step-by-step solution

Step 1: Introduce Primitive Pythagorean Triples

We are looking for positive integer solutions to the equation x2+y2=z2x^2 + y^2 = z^2. These are known as Pythagorean triples. A common approach is to first find primitive Pythagorean triples, where xx, yy, and zz are coprime. All other Pythagorean triples can be generated by multiplying a primitive triple by a common integer factor. The general form for primitive Pythagorean triples is given by Euclid's formula, where mm and nn are coprime positive integers of opposite parity, and m>nm > n.

Step 2: Verify the Formula

Let's substitute the expressions for xx, yy, and zz into the original equation to verify that they satisfy the Pythagorean theorem. This step confirms the validity of Euclid's formula.

Step 3: Expand and Simplify

Expanding the squares on the left side of the equation, we get (m4−2m2n2+n4)(m^4 - 2m^2n^2 + n^4) from (m2−n2)2(m^2 - n^2)^2 and 4m2n24m^2n^2 from (2mn)2(2mn)^2. The right side is (m2+n2)2=m4+2m2n2+n4(m^2 + n^2)^2 = m^4 + 2m^2n^2 + n^4.

Step 4: Combine Terms

Combining the terms on the left side, −2m2n2+4m2n2-2m^2n^2 + 4m^2n^2 simplifies to 2m2n22m^2n^2. This makes the left side equal to the right side, confirming the identity.

Step 5: General Solution

The general solution for all Pythagorean triples (not just primitive ones) is obtained by multiplying the primitive triple formulas by an arbitrary positive integer kk. Here, mm and nn are coprime positive integers, m>nm > n, and mm and nn have opposite parity. kk is any positive integer.

More from this chapter

All The Baudhayana-Pythagoras Theorem solutions →

Solve your own maths question free →