Difference between revisions of "Pythagorean triple"
Jump to navigation
Jump to search
(use frac) |
(mor) |
||
| Line 8: | Line 8: | ||
: If <math>a</math> is odd, then <math>b=\frac{a^2}{2}-\frac{1}{2}</math> and <math>c=b+1</math> | : If <math>a</math> is odd, then <math>b=\frac{a^2}{2}-\frac{1}{2}</math> and <math>c=b+1</math> | ||
: If <math>a</math> is even, then <math>b=\frac{a^2}{4}-1</math> and <math>c=b+2</math> | : If <math>a</math> is even, then <math>b=\frac{a^2}{4}-1</math> and <math>c=b+2</math> | ||
| − | + | [[Euclid]]'s formula is a fundamental formula for generating all possible Pythagorean triples given an arbitrary pair of integers <math>m</math> and <math>n</math> with <math>m>n>0</math>. The formula states that the following integers form a Pythagorean triple: | |
| + | :<math> a=m^2-n^2,\ \,b=2mn,\ \,c=m^2+n^2</math> | ||
| + | There are many other formulas for generating such triples. | ||
==Notes== | ==Notes== | ||
{{reflist}} | {{reflist}} | ||
[[Category:Mathematics]] | [[Category:Mathematics]] | ||
Revision as of 00:32, February 10, 2017
Pythagorean triple is a triple of integers that follow the following formula:
Some of the simplest triples are:
- and
Studying these two triples, the reader may have the insight that
- and
This leads to a trivial sequence that generates some but not all possible triples is based on the positive integers starting with <maht>a=3</math>:[1]:
- If is odd, then and
- If is even, then and
Euclid's formula is a fundamental formula for generating all possible Pythagorean triples given an arbitrary pair of integers and with . The formula states that the following integers form a Pythagorean triple:
There are many other formulas for generating such triples.