Sum of Two Squares: Is There a Relation?

  • Context: Undergrad 
  • Thread starter Thread starter smslca
  • Start date Start date
  • Tags Tags
    Squares Sum
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 3K views
smslca
Messages
63
Reaction score
0
sum of two squares?

If an Even number could be expressed in the form a2 + b2 . And if there exits two other numbers m,n such that
a2 + b2 = m2 + n2

then , my question is

is there any relation between (a,b) and (m,n) apart from a2 + b2 = m2 + n2 ??
 
Mathematics news on Phys.org


HallsofIvy said:
Well, there is the obvious [itex]a^2- m^2= n^2- b^2[/itex] so that [itex](a- m)(a+ m)= (n- b)(n+ b)[/itex].

Or, there is [itex]a^2- n^2= m^2- b^2[/itex].
 


HallsofIvy said:
Well, there is the obvious [itex]a^2- m^2= n^2- b^2[/itex] so that [itex](a- m)(a+ m)= (n- b)(n+ b)[/itex].

configure said:
Or, there is [itex]a^2- n^2= m^2- b^2[/itex].

So other relations between (a,b) and (m,n) include

[tex](a-m)(a+m) = (n-b)(n+b)[/tex]

[tex](a-n)(a+n) = (m-b)(m+b)[/tex]

All of the numbers must solve both of these equations.
 


A prime of form 1 (mod 4) can be uniquely written as sum of two squares.

An even number can be uniquely expressed as a sum of two squares if it is twice a prime of form 1 (mod 4). (or if it is multiplied with any square of number of form 3 (mod 4)).

A number which is product of N distinct primes of form 1 (mod 4) can be represented as sum of two squares in N different ways.
Thus, an even number can be written as sum of two squares in N different ways if it is twice that value (or product of that with any square of number that is equivalent to form 3 (mod 4)).

For more information, please see
refer to this thread.
http://mersenneforum.org/showthread.php?t=13027