[Brilliant Blog] Gaussian Integers III

[This post is targeted at a Level 5 student. This is a continuation of the blog post [Gaussian integers II](http://blog.brilliant.org/2013/02/26/gaussian-integers-ii/).]

You are probably used to the fact that every positive integer can be uniquely expressed as a product of positive primes, up to the order of multiplication. This property is called the Fundamental Theorem of Arithmetic. While this seems like an obvious fact, can we create a system where it is not true?

Example: Consider the set N1 \mathbb{N}_{1} of all positive integers of the form 4k+1 4k+1 , where k k is a positive integer. A product of any two such integers in N1 \mathbb{N}_1 is again an integer of this form. We will call an integer from N1 \mathbb{N}_1 prime if it is not a product of two smaller integers from N1 \mathbb{N}_{1} , and the integer is called composite otherwise.

By definition, every integer from N1 \mathbb{N}_{1} is a product of primes from N1 \mathbb{N}_1 . However, the product may not be uniquely expressed. For example, we can see that 9,21,49 9, 21, 49 are all primes in N1 \mathbb{N}_1 , and we have 441=949=2121 441 = 9 \cdot 49 = 21 \cdot 21 .

Of course, N1 \mathbb{N}_1 is very different from integers or natural numbers, but this showcases the fact that there must be a reason for why the prime decomposition is unique. The deep reason is the existence of the division algorithm that produces a remainder that is strictly smaller than the divisor. Interestingly, the same property holds for the Gaussian integers, with respect to the norm:

Lemma 1.

(Division algorithm) Suppose x x and y y are Gaussian integers, y0 y\neq 0 . Then there exist Gaussian integers z z and r r such that x=yz+r x=yz+r and r<y. |r|<|y|.

Proof:

Dividing x x by y y , we get a number a+bi a+bi where a a and b b are rational (not necessarily integers). Suppose n n is the closest integer to a a and m m is the closest integer to b b .

Denote z=n+mi z=n+mi .

Thenxyz=(an)+(mb)i(12)2+(12)2=12<1. |\frac{x}{y}-z|= |(a-n)+(m-b)i| \leq \sqrt{(\frac{1}{2})^2+ (\frac{1}{2})^2}=\frac{1}{\sqrt{2}}<1.

So if r=xyz, r=x-yz, then r=yxyz<y. |r|=|y|\cdot |\frac{x}{y}-z|<|y|. _ \square

This property is called the Euclidean domain property. In fact, in every Euclidean domain the factorization into a product of primes is unique. We present an argument for the Gaussian integers, which can be easily adapted for the regular integers. The following lemma is needed in the proof, and is known as Euclid's Lemma when restricted to integers.

Lemma 2.

Suppose p p is a prime Gaussian integer and p p divides uv, uv, for some Gaussian integers u u and v v . Then pu p|u or pv p|v .

Proof:

Consider the set I I of all Gaussian integers of the form yu+zp yu+zp for arbitrary Gaussian integers y y and z z .

This is also known as the ideal generated by u u and p p . It has the property that any sum or difference of two elements from I I is in I I , and any Gaussian integral multiple of an element from I I is in I I .

Suppose a a is the element of I I with the smallest possible non-zero absolute value.

From Lemma 1, every element of I I is a multiple of a a , otherwise the non-zero remainder, which also lies in I I , will have a smaller absolute value. In particular, ap a|p .

Because p p is prime, either pa \frac{p}{a} is a unit or a a is a unit. In the first case, u u is a multiple of a a , so it is a multiple of p p .

In the second case, multiplying a a by 1a \frac{1}{a} , we express 1 1 as yu+zp yu+zp .

Multiplying by v v , we get v=y(uv)+zvp v=y(uv)+zvp . Because puv, p|uv, this implies that pv p|v . _ \square

Theorem 1.

(Unique Factorization Property) Every non-zero Gaussian integer can be uniquely expressed as a product of Gaussian primes, up to ordering and multiplication by units.

Proof

First we prove that a factorization into a product of primes always exists. If not, take x x to be the Gaussian integer with smallest absolute value which is not a product of primes.

Then x x is not a prime, so x=x1x2, x=x_1x_2, a product of two non-zero, non-unit Gaussian integers.

Since norms are multiplicative and positive integers, x1,x2 x_1, x_2 must have smaller norm than x x , so they are both products of primes.

If so, x=x1x2 x= x_1 x_2 is also the product of primes, hence a contradiction.

Now we will prove the uniqueness. Suppose that x x is the Gaussian integer with smallest norm that admits two substantially different decompositions into a product of primes:x=p1p2ps=q1q2qt x=p_1p_2 \ldots p_s=q_1q_2 \ldots q_t

Applying lemma 2 to p=p1 p=p_1 , u=q1 u=q_1 , v=q2...qt v=q_2...q_t we get that either p1q1 p_1|q_1 or p1q2...qt p_1|q_2...q_t .

In the second case we apply it again, and again... as a result we get that p1 p_1 must divide qk q_k for some k k .

Because the number qk q_k is prime, this means that qk q_k is up to a unit p1 p_1 .

Then we can cancel them out, and get a new x, x, with two different prime decompositions and smaller norm. This contradicts our choice of x x . _ \square

Another property of the Euclidean domain, very much related to the Unique Decomposition, is the existence of the Euclidean Algorithm for finding the greatest common divisor. This algorithm, as well as the uniqueness of prime decomposition for the usual integers goes all the way back to Euclid's Elements!

The Euclidean Algorithm works as follows:

Suppose x x and y y are (Gaussian) integers. We order the pair (x,y), (x,y), so that N(x)N(y) N(x)\geq N(y) and call it (x0,y0) (x_0,y_0) .

Then we use it to get new pairs, (x1,y1), (x2,y2),... (x_1,y_1),\ (x_2,y_2),... as follows. At every step, we divide xi x_i by yi y_i .

If the remainder is zero, we stop, and claim that yi y_i the greatest common divisor of x x and y y , denoted gcd(x,y) \gcd(x,y) .

If there is a non-zero remainder, i.e. xi=yizi+ri, x_i=y_iz_i+r_i, we take (xi+1,yi+1)=(yi,ri) (x_{i+1},y_{i+1})=(y_i,r_i) and continue.

Theorem 2.

1) For every initial pair (x,y) (x,y) , the Euclidean algorithm terminates after a finite number of steps.

2) The number gcd(x,y) \gcd(x,y) divides both x x and y y , and every (Gaussian) integer d d that divides both x x and y y must divide gcd(x,y) \gcd (x,y) .

Proof.

1) For the Gaussian integers, note that N(yi+1)=N(ri)<N(yi) N(y_{i+1})=N(r_i)<N(y_{i}) , and the norm, being a positive integer, cannot decrease indefinitely.

2) Suppose gcd(x,y)=yi \gcd(x,y)=y_i . Then it clearly divides xi x_i and yi y_i . Because yi1=xi y_{i-1}=x_i and xi1=yi1zi1+ri1=xizi1+yi, x_{i-1}=y_{i-1}z_{i-1}+r_{i-1}=x_iz_{i-1}+y_i, it divides xi1 x_{i-1} and yi1 y_{i-1} .

Continuing in this manner, we prove that gcd(x,y) \gcd(x,y) divides x x and y y . If d d divides both x=x0 x=x_0 and y0 y_0 , then it divides x1=y0 x_1=y_0 and y1=x0y0z0 y_1=x_0-y_0z_0 .

Continuing in this manner, we prove that d d divides yi=gcd(x,y) y_i=\gcd(x,y) . _\square

We finish this post by reproducing one of the recent proofs of the Fermat Two Squares Theorem, due to Don Zagier. An involution is such map ϕ \phi from a set to itself, that ϕ(ϕ(x))=x \phi(\phi(x))=x for all elements x x .

Don Zagier's One-Sentence Proof of Fermat Two Squares Theorem. (Amer. Math. Monthly 97 (1990), no. 2, 144).

The involution on the finite set S={(x,y,z)N3:x2+4yz=p} S=\{(x,y,z)\in {\mathbb N}^3: x^2+4yz=p\} defined by

(x,y,z){(x+2z,z,yxz),if x<yz(2yx,y,xy+z),if yz<x<2y(x2y,xy+z,y),if x>2y (x,y,z)\to \begin{cases} (x+2z,z,y-x-z), & \mbox{if } x < y-z\\ (2y-x,y,x-y+z), & \mbox{if } y-z < x < 2y\\ (x-2y,x-y+z,y), & \mbox{if } x > 2y \\\end{cases}

has exactly one fixed point, so S |S| is odd and the involution defined by (x,y,z)(x,z,y) (x, y, z) \to (x, z, y) also has a fixed point. _\square

Test Yourself

  1. Find the greatest common divisor of 2+4i 2+4i and 3i 3-i .

  2. Suppose x x and y y are Gaussian integers and gcd(x,y)=d \gcd (x,y) =d . Show that there exists some Gaussian Integers u u and v v such that d=ux+vy d=ux+vy . Hint: In the Euclidean algorithm, write d d as 0xi+1yi 0\cdot x_i+ 1\cdot y_i and then backtrack.

  3. Repeat the above to show that the integers N \mathbb{N} has the unique factorization property. If we tried to reproduce the steps to show that N1 \mathbb{N}_1 has the unique factorization property, where would our proof break down?

  4. (*) Fill in the details of the Don Zagier's proof.

Hint: Don't just stare at it, grab a piece of paper and a pencil and try to see what happens when that complicated map is applied twice. If you wish, try p=5 p=5 and p=13 p=13 first.

Note by Peter Taylor
8 years, 2 months ago

No vote yet
16 votes

  Easy Math Editor

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

  • Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
  • Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
  • Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
  • Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold

- bulleted
- list

  • bulleted
  • list

1. numbered
2. list

  1. numbered
  2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1

paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
    # 4 spaces, and now they show
    # up as a code block.

    print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in \( ... \) or \[ ... \] to ensure proper formatting.
2 \times 3 2×3 2 \times 3
2^{34} 234 2^{34}
a_{i-1} ai1 a_{i-1}
\frac{2}{3} 23 \frac{2}{3}
\sqrt{2} 2 \sqrt{2}
\sum_{i=1}^3 i=13 \sum_{i=1}^3
\sin \theta sinθ \sin \theta
\boxed{123} 123 \boxed{123}

Comments

1!+2!+3!+4!+....100!=??? how step to finish it?

Zakky Ashidiqi - 8 years, 2 months ago
×

Problem Loading...

Note Loading...

Set Loading...