Euclid's formula and real numbers

  • A
  • Thread starter e2m2a
  • Start date
  • #1
281
5

Summary:

Generating the sides of a right triangle using all real numbers

Main Question or Discussion Point

Recently I created a spreadsheet that generates Phythagorean triples. Curious, instead of using only positive integers for the values of m and n, I found that as long as m>n, the sides 2mn, msq + nsq, msq - nsq, still form the sides of a right triangle even though m and n are non-whole numbers. I assume this is no big deal and that this is already known in the mathematical community. Does anyone know of a proof that Euclid's formula works for the set of all real numbers, not just for integer numbers?
 

Answers and Replies

  • #2
PeroK
Science Advisor
Homework Helper
Insights Author
Gold Member
11,770
4,740
Summary:: Generating the sides of a right triangle using all real numbers

Recently I created a spreadsheet that generates Phythagorean triples. Curious, instead of using only positive integers for the values of m and n, I found that as long as m>n, the sides 2mn, msq + nsq, msq - nsq, still form the sides of a right triangle even though m and n are non-whole numbers. I assume this is no big deal and that this is already known in the mathematical community. Does anyone know of a proof that Euclid's formula works for the set of all real numbers, not just for integer numbers?
Algebra works for real numbers as well as whole numbers. The proof is the same, whether the sides are real numbers or whole numbers.

PS There are no real constraints on real Pythagorean triples. If ##a, b## are positive real numbers, then ##a, b, \sqrt{a^2 + b^2}## is a Pythagorean triple.
 
Last edited:
  • #3
281
5
ok thanks for your reply.
 
  • #4
robphy
Science Advisor
Homework Helper
Insights Author
Gold Member
5,476
694
You might find this 3Blue1Brown video interesting
 
  • #5
11,361
4,831
Given any Pythagorean triple and multiplying by some real number scaling factor will generate a real number Pythagorean triple too. An infinite number of them.
 
  • #6
281
5
You might find this 3Blue1Brown video interesting
Cool. Thanks for the video.
 

Related Threads for: Euclid's formula and real numbers

Replies
6
Views
1K
  • Last Post
Replies
4
Views
1K
  • Last Post
Replies
2
Views
749
  • Last Post
Replies
2
Views
5K
  • Last Post
Replies
1
Views
10K
  • Last Post
Replies
4
Views
3K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
1
Views
4K
Top