In this our aim is to determine which integers can be expressed as the sum of given number of squares ie; which have the form x21+x22+⋯+x2k, where each xi∈Z, for a given k.
Definition: For each integer k≥1, let Sk={n|n=x21+x22+⋯+x2k for some x1,x2,…,xk∈Z} , the set of all sum of k squares.
Example:
S1={0,1,4,9,…} is the set of all squares. By inspection S2, the set of sum of two squares contains 0,1,2,4,5 and 8 but not 3,6, or 7.
Lemma: The set S2 contains, the sum of two squares is closed under multiplication ie; if s,t∈S2 , then st∈S2.
Proof:Let s=a21+b21 and t=a22+b22 be the elements of S2, where a1,b1,a2,b2∈Z. Then the identity
(a21+b21)(a22+b22)=(a1a2−b1b2)2+(a1b2+b1a2)2
This shows that st∈S2
Example:
We have 8=22+22 and 10=32+12 so 8.10=80=(2.3−2.1)2+(2.1+2.3)2=42+82
Note: an equivalent identity can also be obtained by replacing b1 with −b1ie:
(a21+b21)(a22+b22)=(a1a2+b1b2)2+(a1b2−b1a2)2
The lemma suggest that, in determining elements of S2, we should first consider prime numbers; each integer n≥2 is a product of primes, and if these prime factors are all in S2 then so is n.How ever not all prime numbers are sum of two squares.prime 3 is an example.
Two square Theorem
Two square theorem was stated by Fermat in 1640 and proved by Euler in 1754.
Theorem: Each prime p≡1(mod4) is a sum of two squares.
Here are some examples of primes of the form
4n+1 that can be represented as the sum of two squares:
5=12+22
13=22+32
17=12+42
29=22+52
37=12+62
41=42+52
Example:
The integer 221(17.13) can be represented as sum of squares.13≡17≡1(mod4).
13=32+22
17=42+12
So using the theorem the product can also be represented as sum of squares
221=(3.4−2.1)2+(3.1+2.4)2=102+112
We can also get a different expression using the formula (a21+b21)(a22+b22)=(a1a2+b1b2)2+(a1b2−b1a2)2
221=(3.4+2.1)2+(3.1−2.4)2=142+52
Example:
Express 6409 as some of two squares
6409≡1(mod4)
6409=221.29
221=102+112
29=52+22
So 6409=(10.5−11.2)2+(10.2+11.5)2=282+752
Theorem: A positive integer n is a sum of two squares if and only if every prime q≡3(mod4) divides n into an even power ( which may of course be zero if q∤n)
A positive integer n is expressible as the sum of two squares if and only if the exponent of each of its prime factors congruent 3 modulo 4 in the canonical decomposition of n is even.
Lemma:If a positive integer n can be expressed as the sum of two squares, then so can k2n for every positive integer k.
Example:
The integer 60=22.3.5 is not a sum of two squares , since the exponent of 3 dividing it is odd.However 180=22.32.5 is a sum of two squares.To find them first write 5 as a sum of two squares.5=22+12.Now multiplying through by 22.32, we get 180=(2.3.2)2+(2.3.1)2=122+62
Example:
Represent 5733 as sum of two squares
5733=32.72.13
It is noted that both 3 and 7 having even power.So 5733 can be represented as sum of two squares.
Since 13=22+32.So according to the leamma k2n can also be represented as some of two squares.
(3.7)2(22+32)=(3.7.2)2+(3.7.3)2=422+632
Corollary:A prime p is a sum of two squares if and only if p=2 or p≡1(mod4)
The Gaussian Integers
A representation of an integer n as a difference of two squares say n=x2−y2, give rise to the factorization of n as a product of two integers.
n=x2−y2=(x+y)(x−y)
where x+y≡x−y(mod2).Conversely, if n=rs, where r≡s(mod2), then by writing x=(r+s)/2 and y=(r−s)/2 , we get n=x2−y2 with x,y∈Z.
This link with factorisation can be extended to sum of two squares , if we write
n=x2+y2=(x+yi)(x−yi)
where i=√−1∈C.Given any factorisation n=rs of this form, we now write x=(r+s)/2 and y=(r−s)/2i, provided these are integers.
This suggest that we should study the complex numbers of the form x+yi(x,y∈Z), known as the Gaussian Integers.and in particular their factorisations.
The set
Z[i]={x+yi‖x,y∈Z}
is closed under addition,subtraction and multiplication.The usual axioms associativity, distributivity etc is satisfied and Z[i] is a ring, however it is not a field, since not every non zero element of Z[i] is a unit.
Addition
(a+bi)+(c+di)=(a+c)+(b+d)i
Subtraction
(a+bi)−(c+di)=(a+c)−(b+d)i
Multiplication
(a+bi)(c+di)=(ac−bd)+(ad+bc)i
Thus Zi shares many of the basic properties of Z. So it is not surprising that many of the results of integer division and factorization extends in a natural way to Gaussian Integers.
There are two other important properties of Z shared by Zi.The first property is that if rs=0 then r=0 or s=0.A ring with this property is called Integral Domain.
The second property of Z is the division algorithm, which allows one to divide an integer a by a non zero integer b with a remainder which is small compared with b.
An Integral Domain R is Euclidean domain if for each a∈R∖{0}, there is an integer d(a)≥0 such that
(1) d(ab)≥d(b) for all a,b≠0, with equality if and only if a is a unit.
(2) for all a,b∈R with b≠0, there exist q,r∈R such that a=qb+r,with r=0 or d(r)<d(b)
The function d assigns a measure of size to each non zero element of R.
Example:
The ring Z[i] of Gaussian Integers is an Euclidean domain with d(z)=z.ˉz=|z|2=x2+y2, for each z=x+yi∈Zi.This is called Norm of z, written as N(z).
d(zw)=d(z).d(w) for all z,w and the units in Z[i] are ±1 and ±i.
For each integer p=4k+3∈Z, the gaussian prime is p itself.
For each integer p=4k+1∈Z, the two gaussian primes are a±bi,where a2+b2=p
If the norm is prime not of the form 4n+3 then the Gaussian numbers are Gaussian Primes.
Example:5+2i is a gaussian prime
52+22=29 29 is prime of form 4n+1
−1−i is gaussian prime
12+12=2 2 is prime
Note :the number 13 is prime having factors 1,13 in Z
But we can factorize 13 in Z[i] as (2+3i)(2−3i) ie 13=22+32
if p is a prime integer, then p is an irreducible Gaussian integer if and
only if p is not the sum of two squares.
Prime Factorisation
Using the characterization of irreducible elements, we can describe
a method for factoring an arbitrary Gaussian integer into
irreducibles. (This is the “prime factorization” in Z[i].)
- First, find the prime factorization of N(a+bi)=a2+b2 over
the integers Z, and write down a list of all (rational) primes p∈Z dividing N(a+bi).
- Second, for each p on the list, find the factorization of p over
the Gaussian integers Z[i].
- Finally, use trial division to determine which of these
irreducible elements divide a+bi in Z[i], and to which
powers. (The factorization of N(a+bi) can be used to
determine the expected number of powers.)
Example:: Find the prime factorization of 4+22i in Z[i].
- We compute N(4+22i)=42+222=22·53 . The primes
dividing N(4+22i) are 2 and 5.
- Over Z[i], we find the factorizations 2=−i(1+i)2 and 5=(2+i)(2−i).
- Now we just do trial division to find the correct powers of
each of these elements dividing 4+22i.
Since N(4+22i)=22·53 , we should get two copies of 1+i and three elements from {2+i,2−i}.
- Doing the trial division yields the factorization 4+22i=−i·(1+i)2·(2+i)3 . (Note that in order to have
powers of the same irreducible element, we left the unit −i in
front of the factorization.)
Example: Find the prime factorization of
27−19i in
Z[i].
- We compute N(27−19i)=272+192=2·5·109.
- Over Z[i], we find the factorizations 2=−i(1+i)2,5=(2+i)(2−i), and 109=(10+3i)(10−3i).
- Now we just do trial division to find the correct powers of
each of these elements dividing 4+22i.
Since N(27−19i)=2·5·109, we should get one copy of 1+i, one element from {2+i,2−i}, and one element from {10+3i,10−3i}.
- Doing the trial division yields the factorization 27−19i=−i(1+i)(2+i)(10−3i).
Sum of Three Squares
Gauss provided that n∈S3 if n≠4e(8k+7);ie;7,15,23,28,… are not sum of three squares.
;ie; n cannot be represented as sum of three squares if it is in the form 4e(8k+7)
Example:
3=12+12+12
6=22+12+12
14=32+22+12
26=42+32+12
Note:S3 is not closed under multiplication.For instance 3 and 6 are sums of three squares, but 18 is not.
Sum of Four Squares
This deals with how n can be represented as sum of squares of four numbers
Example:7=22+12+12+12
Example:
7=22+12+12+12
11=32+11+12+02
7.11.=77=(2.3+1.1+1.1+1.0)2+(2.1−1.3+1.0−1.1)2+(2.1−1.0−1.3+1.1)2+(2.0+1.1−1.1−1.3)2
=82+32+22+02
lemma: every prime can be written as the sum of four squares.
Four square Theorem By Lagrange
Theorem: Every non negative integer is a sum of 4 squares.
Proof:Let n be a positive integer. since 1=11+02+02+02, the result is true when n=1.Now assume that n≥2. Let n=∏peii be the canonical decomposition of n.By the above lemma, each pi can be written as sum of four squares and hence ∏peii=n, can be written as the sum of four squares.
Example: write 15,795 as the sum of 4 squares
15795=35.5.13
3=12+12+12+02
5=22+12+02+02
13=32+22+02+02
Then 35=34(12+12+12+02)=92+92+92+02
5.13=(22+12+02+02)(32+22+02+02)
=82+12+02+02
15795=35.5.13=(92+92+92+02)(82+12+02+02)
=812+722+632+92
Pythagorean Triplets
This is one of the most famous result of elementary geometry.It states that if a right angled triangle has side a,b,c then
a2+b2=c2
Fermat's Last Theorem(FLT)
There are no positive integer solutions a,b,c of the equations
an+bn=cn
for integers n≥3
Comments
Post a Comment