SOLUTION: Does anyone know what Pythagorean triples are and a set of formulas that will generate an infinite number of them. I am so lost and can't figure this out for anything. can someon
Algebra ->
Triangles
-> SOLUTION: Does anyone know what Pythagorean triples are and a set of formulas that will generate an infinite number of them. I am so lost and can't figure this out for anything. can someon
Log On
Question 228349: Does anyone know what Pythagorean triples are and a set of formulas that will generate an infinite number of them. I am so lost and can't figure this out for anything. can someone explain this to me please. Found 2 solutions by rfer, Theo:Answer by rfer(16322) (Show Source):
There is a simple formula that gives all the Pythagorean triples.
Suppose that m and n are two positive integers, with m < n. Then n2 - m2, 2mn, and n2 + m2 is a Pythagorean triple.
Given any two numbers, m and n, with m < n, you can generate a set of pythagorean triples from it.
example:
3,4
first number is n^2 - m^2 = 16 - 9 = 7
second number is 2mn = 2*3*4 = 24
third number is n^2 + m^2 = 9 + 16 = 25
should be a reight triangle with f^2 + s^2 = t^2
7^2 = 49
24^2 = 576
25^2 = 625
49 + 576 = 625
seems to work.
try m = 1 and n = 2
f (first) = 2^2 - 1^2 = 4-1 = 3
s (second) = 2mn = 2*1*2 = 4
t (third) = 2^2 + 1^21 = 4+1 = 5