# Primitive Pythagorean Triples 2: Ordered Pairs

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

Multiplying all three sides of a right triangle by the same number yields another right triangle because of similarity. This Demonstration illustrates that it is always possible to find a number to add to all three elements of any Pythagorean triple to generate another Pythagorean triple.

Contributed by: Robert L. Brown (April 2011)

Open content licensed under CC BY-NC-SA

## Snapshots

## Details

Let be a Pythagorean triple (PT), that is, , , and are positive integers such that . A primitive Pythagorean triple (PPT) is a PT with .

If negative values for are allowed, then a second PT can be obtained by adding a single unique integer value to each of the three original PT elements: . Redundant forms of PTs are obtained by allowing negative values. The unique value of that works is .

The triangle represented by the derived PT has the following properties.

is also a right triangle.

is not similar to the given triangle.

is represented by a PPT in redundant form when the original triangle represents a PPT.

This pairing of PPTs provides a way to number them.

Notice that names have been given to the results. The identification of parent and the numbering of children is used to make the set of all PPTs a well-ordered set (Wolfram *MathWorld*). This ordering was used to implement the "given PPT" slider (with values shown in base 3).

The simple quadratic form of the graph displayed shows that exists and is unique.

Assume that

and , .

Then

.

Expand and cancel to get

,

so that the unique solution is

.

## Permanent Citation