ホーム 暮らし Pythagorean Triples

Pythagorean Triples

三浦 拓海 三浦 拓海 • 更新: • 公開: • 読了約 8 分
目次
nd088fa30f816

When three positive integers a, b, and c satisfy a^2+b^2 = c^2, the triple (a,b,c) is called a Pythagorean triple!
(3,4,5), (5,12,13), etc., are famous examples.
The etymology, of course, comes from the Pythagorean theorem for triangles.
The Pythagorean theorem holds for any real numbers as side lengths of a right triangle, but Pythagorean triples are limited to triples of integers.

(6,8,10) is a Pythagorean triple, but since 6, 8, and 10 are all divisible by 2, it can be thought of as (3,4,5) multiplied by 2.
Also, (3,4,5) are coprime, so they cannot be a constant multiple of another Pythagorean triple.
In general, a Pythagorean triple where the three numbers are coprime is called a primitive Pythagorean triple! If any two of the three are coprime,
it can be shown elementarily that all three are coprime.

There are infinitely many primitive Pythagorean triples.
Let m and n be positive integers such that they have different parity, m > n, and they are coprime.
If you calculate (a, b, c) = (m²-n², 2mn, m²+n²) carefully,
you will find that it is a primitive Pythagorean triple satisfying a²+b²=c².
There are infinitely many pairs (m,n) that satisfy the above conditions, and since there is no overlap, it follows that there are infinitely many primitive Pythagorean triples.

For every primitive Pythagorean triple (a, b, c),
there exist positive integers m and n such that (a, b, c) = (m²-n², 2mn, m²+n²), where they have different parity, m > n, and are coprime.
Note that a and b may be swapped.
In other words, this is a necessary and sufficient condition.
Non-primitive Pythagorean triples are obtained by multiplying the above triples by k.
This can be proven algebraically, but it can also be proven geometrically.

A point (x,y) where both x and y are rational numbers is called a rational point.
If a point (x,y) on the circumference of a circle is a rational point, connecting it to (-1,0) with a straight line results in a y-coordinate t at the intersection with the y-axis that is a rational number.
On the other hand, if t is a rational number, finding the intersection of the circle x²+y²=1 and the line passing through (-1,0) and (0,t),
shows that (x,y) is a rational point on the circumference.
t and (x,y) can be converted to each other according to the figure below.


Since primitive Pythagorean triples satisfy a²+b²=c²,
dividing both sides by c² gives (a/c)²+(b/c)²=1.
This is a rational point on the circumference.
On the other hand, rational points on the circumference satisfy x²+y²=1, and multiplying by the square of the common denominator of x and y yields a primitive Pythagorean triple.
In this sense, they correspond perfectly.
Combined with the above, they correspond perfectly to positive rational numbers.

No matter how many times you multiply the column vector v = t (3, 4, 5) by the following matrices A, B, and C, it remains a primitive Pythagorean triple, and different multiplication sequences do not result in the same triple.
Conversely, the column vector of a primitive Pythagorean triple t(a, b, c) is (3, 4, 5) multiplied by some product of A, B, and C.
In other words, all primitive Pythagorean triples can be generated uniquely.

同じカテゴリの記事

三浦 拓海
コンテンツディレクター 三浦 拓海
プロフィールを見る →

映画と連続ドラマの公開情報を追う担当。配給会社のプレスシートと公式サイトの発表日を確認したうえで執筆します。

おすすめの関連記事