1. Introduction
Pythagorean triples are triples of integers
which satisfy the equality (e.g., Stillwell [1] [2] , Rademacher and Toeplitz [3] )
. (1.1)
In plane geometry of right triangles with side lengths
(
catheti or legs and c hypotenuse), this means that they satisfy the theorem of Pythagoras
. (1.2)
with integers
with the best-known special case
. One has here to mention that this theorem which is now connected with the name of Pythagoras was known in different parts of the Old World already before the life of the great Greek philosopher (e.g., Stillwell [4] , Pickover [5] ).
Definition (1.1) shows that integer multiples of these numbers are trivial cases which can be excluded if one wants to consider the basically different triples of such numbers. The basically different doubles
can be also considered as coordinates of unit vectors in the first quadrant of the unit circle with positive rational coordinates
. The book of Beiler [6] discusses some more problems which arise within the theory of Pythagorean triples and presents interesting series of such triples under different aspects as in most other presentations on this topic.
The most famous generalization of the Pythagorean triples is Fermat’s Last Theorem (e.g., [3] [4] [5] ) which states that the Diophantine equation
(1.3)
does not possess positive integer solutions for
and which in the opinion of the world’s whole mathematical community was completely proved only in recent times 1993-1994 by Andrew Wiles. This is written in many articles and books, in particular, also in popular representations (e.g., Singh [7] ).
The present paper concerns the three- and four-dimensional generalizations of Pythagorean triples to that what I will call 3D-Pythagorean quadruples
and 4D-Pythagorean quintuples
. This seems to be new. The 3D-Pythagorean quadruples
, by definition, should satisfy the equation
(1.4)
with rational triples
. In such form, they can be considered as the coordinates of unit vectors with positive rational coordinates in the spatial angle
(the first 8th part of the full spatial angle). In the form
(1.5)
they are the side lengths
of a cuboid with spatial diagonal d and with integer numbers
and the basic such numbers should not possess a common divisor. Since this concerns our three-dimensional space it is directly accessible to our view.
The 4D-Pythagorean quintuples
satisfy the equation
(1.6)
with rational quadruples
or the equation
(1.7)
with integer quintuples
. In the last form, they may be considered as the four-dimensional analogue of three-dimensional cuboids where e is the four-dimensional spatial diagonal. Although they are no more accessible to our direct views, mathematics has developed means to get a partial imagination, in this case, by projection of this cuboid onto the three- or even two-dimensional space. The four-dimensional cuboid with equal side lengths
is called a tesseract. A beautiful picture of its projection onto the paper plane gives also a good imagination of a three-dimensional projection of the four-dimensional tesseract we may find in the book of Pickover [5] (p. 283) and it seems to be not difficult to imagine this projection stretched with different lengths of the edges.
Algebraically, it does not make it difficult to consider generalizations of the Pythagorean triples to higher dimensions (
) and the possibilities to find such
-tuples increase with increasing N considerably.
2. 3D-Pythagorean Quadruples
and a Parametrization
In this Section, we try to find out some simple rules for the basic quadruples
in (1.5) without a common divisor and try to establish the initial such quadruples up to
.
First, we easily find that d cannot be an even number
. Assuming that d is an even number implies
has to be divisible by 4. In this case, we have two possibilities for
: first,
are all even numbers and then
possess the common divisor 2 that was excluded for basic quadruples; second, one of the numbers
is an even number and two are odd numbers, say
. Then
(2.1)
The left-hand side is not divisible by 4 and thus the case of even
is impossible. Therefore, d has to be an odd number that we now assume.
For an odd number
we have two possibilities for
: First,
are only odd numbers
with
(2.2)
that is impossible since the remainder of division by 4 is different with both sides; The second one of the three numbers
is an odd number and the other two are even numbers, say
. Then we have
(2.3)
and both sides possess the same remainder by division with 4. Thus the only possible basic cases are where one of the numbers
is an odd number and the other two are even numbers and that d is an odd number that means
(2.4)
Inserting the parametrization of the right-hand side of (2.4) into the equality (1.5) leads after division by 4 to the following equality
(2.5)
The product
is in every case an even number since if
is an even number then
is an odd number and if
is an odd number then
is an even number. This means that the left-hand side
is an even number that admits the two possibilities that m and n are both even numbers or both odd numbers.
3. Basic 3D-Pythagorean Quadruples
up to
Making an arbitrary of the 6 possible permutations of
leads to the same d and therefore these permutations are equivalent. To list out only the nonequivalent triples
one may make an ordering of these triples.
By computer we found the following nonequivalent basic quadruples
first ordered with increasing numbers d and then in the new ordering
) which satisfy relation (2.1) up to
, (
).
(3.1)
Within the written list are cases where not only the spatial diagonal of the corresponding cuboid is an integer but also a facial diagonal. This happens for the cases
,
,
and
of the 3D-Pythagorean quadruples
which possess an intersection with the simplest (2D)-Pythagorean triple
or a multiple of it. Here we may pose the problem of whether or not are there such cases with intersections of two Pythagorean triples.
Beginning from
every odd number
up to
is present in the given lists. A problem is whether or not this is true also for all higher odd d. If there would be found a counter-example where this is not true then this is a disproof. However, in case that there will be not found a counter-example the proof that such an example does not exist seems to be difficult.
Up to now, we have not found a procedure to produce successively all basic quadruples
with minimal expenditure that means without filtering them from numbers d which according to (2.1) are not integers.
4. A Nearer Look to the Parametrization of the 3D-Pythagorean Quadruples
In this Section we take a nearer look onto the parametrization (2.4) of the variables in (2.1) and use for this the lists (3.1) of explicitly determined numbers
but with
the odd number and
the even numbers. This leads to the following Table 1.
Table 1. 3D-Pythagorean quadruples
and their relation to parameters
and p.
We see here explicitly that m and n are both even or both odd numbers and therefore
and
are in every case even numbers and that one of the two numbers
and
has to be an even number and the other one then an odd number and that both possibilities are realized. The condition (2.5) is easy to check in this table. However, it is not a minimal procedure which provides all basic nonequivalent quadruples
in a systematic way as this is possible in the case of the usual (2D)-Pythagorean triples. Therefore, one cannot be sure to have overlooked a possible quadruple
up to a certain maximal value d. A parametrization which provides only genuine quadruples follows from the 4-square identity which is generally applicable but does not immediately lead to a “best” ordering.
5. A Possible Generalization of 3D-Pythagorean Quadruples
to Cubics and Quartics of Quadruples
As in the case of Pythagorean triples, there are different possibilities for generalization of the 3D-Pythagorean quadruples
. One such possibility is to look for integer positive solutions
to the equation
(4.1)
This is in analogy to the search for integer positive solutions of Equation (1.3) with the statement of the Last Fermat’s problem finally proved. However, different from the nonexistence of such solutions in the case of Last Fermat’s problem it is easy to show by examples that such solutions for (4.1) exist. Three examples for
in (4.1) are
(4.2)
It is very remarkable that the first such quadruple of cubics
(e.g., Beiler [6] , p. 152) is in beautiful analogy to the first Pythagorean triple
(4.3)
However, if one expects that this could be continued to quintuples of quartics
and so on then this is wrong as the following Table 2 shows.
For
in (4.1) we could not find an example and here arises the problem of giving proof of whether or not this is possible. For
we did not make investigations.
6. Generalization of 3D-Pythagorean Quadruples
by Dimension to 4D-Pythagorean Quintuples
In this Section we consider the generalization of 3D-Pythagorean quadruples
Table 2. Generalization of (4.3) by “Degree n = Dimension N” leading to irrationals.
by dimension to 4D-Pythagorean quintuples
which are integer solutions
of the Diophantine equation
(5.1)
This case is also interesting, in particular, because there exists a 4-square identity (e.g., Stillwell [4] , Chapter 20.4, Conway and Smith [8] , Chapter 6.10) derived from the algebra of quaternions. In Appendix we give a widely coordinate-invariant derivation of this 4-square identity. The problem is whether or not this leads to a parametrization of all possible 4D-Pythagorean quintuples
. We will show that it leads to a parametrization of all possible 4D-Pythagorean quintuples
which, however, is not unique and may possess irrational parameters.
We analyze case (5.1) in analogy to case (1.5) where we are interested in finding the basic quintuples without a common divisor. If
is an even number then we have 3 possible cases for
. The first case is then that
are all even numbers. Then
possesses the common divisor 2 and this case can be excluded from the basic cases. The second case is that
that means that two of the numbers
are odd and two are even numbers from which follows
(5.2)
The right-hand side is divisible by 4 but the left-hand side is not divisible by 4 and this case can be also excluded.
There remains the case
that all numbers
are odd numbers from which follows
(5.3)
Both sides are here divisible by 4 and this is the only case for an even number
. The first initial examples (6.1) of this case in Section 7 suggest that the possible numbers p are furthermore restricted to
or
with
as possible candidates. The proof can be made by representing (5.3) in the following way. The number p cannot be an even number
since then the content in braces in
(5.4)
is an odd number on the left-hand side and an even number
on the right-hand side. Therefore p has to be an odd number
for which we find from (5.3)
(5.5)
From this we find the necessary equality
(5.6)
with
as possible values. The combinations of
which satisfy (5.6) for one of the possible q are then 4D-Pythagorean quintuples.
We now consider the case
where e is an odd number. Then there remains only the case
(5.7)
and the remainder by division of both sides is the same and therefore this case is possible. The other case with 3 odd numbers and 1 even number
is impossible since the remainder by division of both sides by 4 is unequal.
Thus with respect to even and odd numbers we find for basic 4D-Pythagorean quintuples the two possible cases
(5.8)
under which one has to find the cases which in addition satisfy the equality (5.1).
In contrast to basic 3D-Pythagorean quadruples where only the odd case
is possible for basic 4D-Pythagorean quintuples both the even case
and the odd case
are possible.
7. Basic 4D-Pythagorean Quintuples
up to
An arbitrary of the 24 permutation of the quadruple of numbers
leads to equivalent quadruples. We make here an ordering of these quadruples with increasing e and for equal e we order the quadruples
by
.
By computer we found the following basic 4D-Pythagorean quintuples with even
(6.1)
and with odd
(6.2)
up to
, (
). This filtering by computer is not a method which provides only the basic 4D-Pythagorean quintuples with minimal expenditure.
8. Can the 4-Square Identity Provide a Parametrization of the 4D-Pythagorean Quintuples?
Relation (5.1) contains 5 integer parameters
with 1 constraint and the 4-square identity in the specialized form (A.14) contains 4 independent parameters and on the right-hand side of last relation we have 4 squared numbers. Therefore one may pose the problem whether or not the parameters
can provide a parametrization of the integers
. For this purpose we make the proposition
(7.1)
From this follows
(7.2)
or, equivalently
(7.3)
and we may check again
(7.4)
plus possible permutations of
where we used (5.1). Thus we have parameterized the integers
by the parameters
which become proportional to a quadruple of integers
multiplied by a mostly common irrational number
. Furthermore, this parametrization is, in general, not unique since we can order the parameters
by permutations in 4! = 24 ways (if all
are different, in other cases fewer ones) and obtain then the same number of different parameterizations of a considered 4D-Pythagorean quintuple. This is a consequence that the relation (7.1) between the two kinds of parameterizations is not linear but quadratical. However, given a parametrization
of the form (7.3) the reconstruction of
is also not unique since an integer f can be split in different way into a sum
of two different integers e and a.
We give four examples of the parametrization of
by
, the first two from (6.1)
(7.5)
and the second two from (6.2)
(7.6)
Although possible, such parametrizations by
seem to be not favorable.
One may give also
as integers and can then determine
according to (7.1) and obtains integer values for
which satisfy Equation (5.1). However, they are in most cases not basic quintuples as the following examples show
(7.7)
This procedure does not provide all basic quintuples
in a systematically ordered way and, furthermore, it provides not only basic quintuples. In addition, this parametrization is only a modification of that in (7.1) and (7.2).
It is obvious from (A.16) that the considered results of this Section can be generalized to ND-Pythagorean (N + 1)D-tuples. A parametrization of the 3D-Pythagorean quadruples is achieved if we set
in formulae (7.1) - (7.3) but also with problem that it does not only provide basic quadruples.
9. Conclusions
We first investigated the three-dimensional generalization of Pythagorean numbers concerning the possibilities of integer solutions
of the Diophantine equation
with d the spatial diagonal of a cuboid and called them 3D-Pythagorean quadruples. The basic solutions to the problem which means that the numbers
should not possess a common divisor were given in ordered form up to
and a general parametrization of such numbers was derived. Then we extended the problem to the four-dimensional generalization of 3D-Pythagorean quadruples to 4D-Pythagorean quintuples that means basic integer solutions
of the equation
which are the analogues in a four-dimensional Euclidean space and gave them up to
.
Every new result raises new problems and a few of them were formulated. As it is well known the Number Theory creates strange problems and conjectures from which some are very difficult to prove or to disprove. Many of them can be also ordered into the realm of Recreation Mathematics.
Appendix
Coordinate-invariant derivation of the 4-square identity from the algebra of real quaternions:
We derive in this Appendix the 4-square identity from the algebra of quaternions.
Quaternions r form a closed algebra
of numbers discovered by W. R. Hamilton which are linear combinations of 4 basic numbers
of the form (e.g., Stillwell [4] , Conway and Smith [8] , Gürlebeck and Sprössig [9] , Koecher and Remmert [10] included in the collective book [11] and many others)
(A.1)
where the basic numbers satisfy the following multiplication rules
(A.2)
from which follows
(A.3)
To make the following derivations widely coordinate-invariant that maybe helps in a deeper understanding we use the representation (A.1) of a quaternion
by a scalar part
and a vectorial part
with 3 components.
The product of two quaternions
and
can be defined as follows
(A.4)
where
(A.5)
means the symmetric scalar product and
(A.6)
the antisymmetric vector product of
and
in components with respect to an orthogonal basis. The product of quaternions is associative but, in general, noncommutative.
The quaternion
(A.7)
is called the conjugate quaternion to
. Its product with r is
(A.8)
and it is proportional to the identical quaternion
and
is the reciprocal quaternion to r. The nonnegative number
(A.9)
is the modulus or norm of a quaternion. For the conjugate quaternion
to the product
one finds the relation
(A.10)
From this follows
(A.11)
Thus by comparison of both expressions for
in (A.11) we find the (4-square) identity
(A.12)
or the right-hand side written in components with respect to an orthogonal basis of the vectors
and
( [4] [8] )
(A.13)
The right-hand side of (A.12) is the sum of 4 squared integers but the left-hand side is only in special cases a squared integer. The right-hand side remains unchanged if one makes an even permutation of the 3 indices
. Many special cases of (A.13) can be considered.
In the first special case of
or
from (A.12) follows the relation
(A.14)
or written in orthogonal components
of the vector
,
(A.15)
The left-hand side of (A.14) is a squared integer and the right-hand side is the sum of 4 squared integers and this identity possesses 4 independent parameters.
Relation (A.14) can immediately be generalized to the N-dimensional case by substituting the 3D-vector
by an ND-vector
where instead of (A.14) we have then the identity
(A.16)
It contains
independent parameters
.
In the second special case when
or
are squared integers they provide already separately cases for 4D-Pythagorean quintuples. If both are squared integers then (A.12) together with (A.13) provides a parametrization for 4D-Pythagorean quintuples, however, with 8 parameters. In these cases it can be true that for some of the numbers
result negative integers which, however, squared become positive squares and satisfy relation (A.12). Such a case of
and
is
and
with resulting
. One of the numbers
can even become zero as it is the case, for example, for
and
from which results
which is equivalent to the basic 3D-Pythagorean quadruple
.