Primitive Pythagorean Triples 2: Ordered Pairs

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.



  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


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. 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 , .
Expand and cancel to get
so that the unique solution is
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+