Pythagorean quadruple
A Pythagorean quadruple is a tuple of integers,,, and, such that. They are solutions of a Diophantine equation and often only positive integer values are considered. However, to provide a more complete geometric interpretation, the integer values can be allowed to be negative and zero with the only condition being that. In this setting, a Pythagorean quadruple defines a cuboid with integer side lengths,, and, whose space diagonal has integer length ; with this interpretation, Pythagorean quadruples are thus also called Pythagorean boxes. In this article we will assume, unless otherwise stated, that the values of a Pythagorean quadruple are all positive integers.
Parametrization of primitive quadruples
A Pythagorean quadruple is called primitive if the greatest common divisor of its entries is 1. Every Pythagorean quadruple is an integer multiple of a primitive quadruple. The set of primitive Pythagorean quadruples for which is odd can be generated by the formulaswhere,,, are non-negative integers with greatest common divisor 1 such that is odd. Thus, all primitive Pythagorean quadruples are characterized by the identity
Alternate parametrization
All Pythagorean quadruples can be generated from two positive integers and as follows:If and have different parity, let be any factor of such that. Then and. Note that.
A similar method exists for generating all Pythagorean quadruples for which and are both even. Let and and let be a factor of such that. Then and. This method generates all Pythagorean quadruples exactly once each when and run through all pairs of natural numbers and runs through all permissible values for each pair.
No such method exists if both and are odd, in which case no solutions exist as can be seen by the parametrization in the previous section.
Properties
The largest number that always divides the product is 12. The quadruple with the minimal product is.Given a Pythagorean quadruple where then can be defined as the norm of the quadruple in that and is analogous to the hypotenuse of a Pythagorean triple.
Every odd positive number other than 1 and 5 can be the norm of a primitive Pythagorean quadruple such that are greater than zero and are coprime. All primitive Pythagorean quadruples with the odd numbers as norms up to 29 except 1 and 5 are given in the table below.
Similar to a Pythagorean triple which generates a distinct right triangle, a Pythagorean quadruple will generate a distinct Heronian triangle. If is a Pythagorean quadruple with it will generate a Heronian triangle with sides as follows:
It will have a semiperimeter, an area and an inradius.
The exradii will be:
The circumradius will be:
The ordered sequence of areas of this class of Heronian triangles can be found at.
Relationship with quaternions and rational orthogonal matrices
A primitive Pythagorean quadruple parametrized by corresponds to the first column of the matrix representation of conjugation by the Hurwitz quaternion restricted to the subspace of quaternions spanned by,,, which is given bywhere the columns are pairwise orthogonal and each has norm. Furthermore, we have that belongs to the orthogonal group, and, in fact, all 3 × 3 orthogonal matrices with rational coefficients arise in this manner.