MTH 505: Number Theory Spring 2017

Similar documents
(e) if x = y + z and a divides any two of the integers x, y, or z, then a divides the remaining integer

p-adic Egyptian Fractions

Farey Fractions. Rickard Fernström. U.U.D.M. Project Report 2017:24. Department of Mathematics Uppsala University

MATH 573 FINAL EXAM. May 30, 2007

CIRCULAR COLOURING THE PLANE

QUADRATIC EQUATIONS OBJECTIVE PROBLEMS

Quadratic Forms. Quadratic Forms

September 13 Homework Solutions

Homework 4. 0 ε 0. (00) ε 0 ε 0 (00) (11) CS 341: Foundations of Computer Science II Prof. Marvin Nakayama

set is not closed under matrix [ multiplication, ] and does not form a group.

Theoretical foundations of Gaussian quadrature

378 Relations Solutions for Chapter 16. Section 16.1 Exercises. 3. Let A = {0,1,2,3,4,5}. Write out the relation R that expresses on A.

Lecture 3. In this lecture, we will discuss algorithms for solving systems of linear equations.

Improper Integrals. The First Fundamental Theorem of Calculus, as we ve discussed in class, goes as follows:

Coalgebra, Lecture 15: Equations for Deterministic Automata

Section 6: Area, Volume, and Average Value

Bridging the gap: GCSE AS Level

Bases for Vector Spaces

Math 4310 Solutions to homework 1 Due 9/1/16

Designing Information Devices and Systems I Spring 2018 Homework 7

Quadratic reciprocity

Lecture 3: Equivalence Relations

f = ae b e , i.e., ru + P = (r + P )(u + P ) = (s + P )(t + P ) = st + P. Then since ru st P and su P we conclude that r s t u = ru st

Vectors , (0,0). 5. A vector is commonly denoted by putting an arrow above its symbol, as in the picture above. Here are some 3-dimensional vectors:

Improper Integrals. Introduction. Type 1: Improper Integrals on Infinite Intervals. When we defined the definite integral.

Math 61CM - Solutions to homework 9

Math Solutions to homework 1

The Regulated and Riemann Integrals

7.1 Integral as Net Change and 7.2 Areas in the Plane Calculus

Homework Solution - Set 5 Due: Friday 10/03/08

UNIFORM CONVERGENCE. Contents 1. Uniform Convergence 1 2. Properties of uniform convergence 3

Notes on length and conformal metrics

MORE FUNCTION GRAPHING; OPTIMIZATION. (Last edited October 28, 2013 at 11:09pm.)

Polynomials and Division Theory

Definite Integrals. The area under a curve can be approximated by adding up the areas of rectangles = 1 1 +

UniversitaireWiskundeCompetitie. Problem 2005/4-A We have k=1. Show that for every q Q satisfying 0 < q < 1, there exists a finite subset K N so that

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides.

Introduction to Group Theory

2.4 Linear Inequalities and Interval Notation

M A T H F A L L CORRECTION. Algebra I 2 1 / 0 9 / U N I V E R S I T Y O F T O R O N T O

Lecture 2: January 27

How do we solve these things, especially when they get complicated? How do we know when a system has a solution, and when is it unique?

MA123, Chapter 10: Formulas for integrals: integrals, antiderivatives, and the Fundamental Theorem of Calculus (pp.

Review of Gaussian Quadrature method

Lecture 3 ( ) (translated and slightly adapted from lecture notes by Martin Klazar)

Simplifying Algebra. Simplifying Algebra. Curriculum Ready.

7.8 Improper Integrals

4 7x =250; 5 3x =500; Read section 3.3, 3.4 Announcements: Bell Ringer: Use your calculator to solve

Chapter 1: Fundamentals

Riemann Sums and Riemann Integrals

Chapter 6 Techniques of Integration

Chapter 9 Definite Integrals

Suppose we want to find the area under the parabola and above the x axis, between the lines x = 2 and x = -2.

The area under the graph of f and above the x-axis between a and b is denoted by. f(x) dx. π O

Math 154B Elementary Algebra-2 nd Half Spring 2015

Mathematics. Area under Curve.

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4

Riemann Sums and Riemann Integrals

Chapter 1: Logarithmic functions and indices

Lesson 25: Adding and Subtracting Rational Expressions

1. Extend QR downwards to meet the x-axis at U(6, 0). y

1 ELEMENTARY ALGEBRA and GEOMETRY READINESS DIAGNOSTIC TEST PRACTICE

Read section 3.3, 3.4 Announcements:

Section 6.1 INTRO to LAPLACE TRANSFORMS

AP Calculus AB Summer Packet

dx dt dy = G(t, x, y), dt where the functions are defined on I Ω, and are locally Lipschitz w.r.t. variable (x, y) Ω.

SUMMER KNOWHOW STUDY AND LEARNING CENTRE

Minimal DFA. minimal DFA for L starting from any other

5: The Definite Integral

Surface maps into free groups

Natural examples of rings are the ring of integers, a ring of polynomials in one variable, the ring

Section 7.1 Area of a Region Between Two Curves

8. Complex Numbers. We can combine the real numbers with this new imaginary number to form the complex numbers.

Section 6.1 Definite Integral

Homework 3 Solutions

1. For each of the following theorems, give a two or three sentence sketch of how the proof goes or why it is not true.

STRAND J: TRANSFORMATIONS, VECTORS and MATRICES

Linear Inequalities. Work Sheet 1

ARITHMETIC OPERATIONS. The real numbers have the following properties: a b c ab ac

MATH 101A: ALGEBRA I PART B: RINGS AND MODULES 35

10. AREAS BETWEEN CURVES

The Evaluation Theorem

Math 259 Winter Solutions to Homework #9

I1 = I2 I1 = I2 + I3 I1 + I2 = I3 + I4 I 3

Properties of the Riemann Integral

20 MATHEMATICS POLYNOMIALS

List all of the possible rational roots of each equation. Then find all solutions (both real and imaginary) of the equation. 1.

IN GAUSSIAN INTEGERS X 3 + Y 3 = Z 3 HAS ONLY TRIVIAL SOLUTIONS A NEW APPROACH

Lecture 2: Fields, Formally

Torsion in Groups of Integral Triangles

Is there an easy way to find examples of such triples? Why yes! Just look at an ordinary multiplication table to find them!

State space systems analysis (continued) Stability. A. Definitions A system is said to be Asymptotically Stable (AS) when it satisfies

Riemann is the Mann! (But Lebesgue may besgue to differ.)

Section 3.2 Maximum Principle and Uniqueness

DEFINITION The inner product of two functions f 1 and f 2 on an interval [a, b] is the number. ( f 1, f 2 ) b DEFINITION 11.1.

Problem Set 9. Figure 1: Diagram. This picture is a rough sketch of the 4 parabolas that give us the area that we need to find. The equations are:

Duke Math Meet

More on automata. Michael George. March 24 April 7, 2014

#A29 INTEGERS 17 (2017) EQUALITY OF DEDEKIND SUMS MODULO 24Z

QUADRATIC EQUATION. Contents

Transcription:

MTH 505: Numer Theory Spring 207 Homework 2 Drew Armstrong The Froenius Coin Prolem. Consider the eqution x ` y c where,, c, x, y re nturl numers. We cn think of $ nd $ s two denomintions of coins nd $c s some vlue tht we wnt to py. The eqution hs solution px, yq P N 2 if nd only if we cn mke chnge for $c, nd in this cse we sy tht c is p, q-representle. More generlly, we will consider the set of p, q-representtions of c: R,,c : tpx, yq P N 2 : x ` y cu. The prolem is trivil when 0 so we will lwys ssume tht 0, i.e., tht nd re oth nonzero. 2.. Consider nturl numers,, c P N with d gcdp, q, where d nd d. () If d c prove tht R,,c H. () If d c with c dc prove tht R,,c R,,c. [Unlike the cse of Diophntine equtions, it is possile tht oth of these sets could e empty.] Proof. (): Let d c nd ssume for contrdiction tht R,,c is not empty, i.e., ssume tht there exists pir of nturl numers px, yq P N 2 such tht x ` y c. But then we hve which contrdicts the fct tht d c. c x ` y pd qx ` pd q dp x ` yq, (): Now suppose tht d c so tht c dc for some c P Z. Since c nd d re oth positive we must hve c P N. To show tht R,,c Ď R,,c consider ny px, yq P N 2, so tht x` y c. Then we hve x ` y c dp x ` yq dpc q pd qx ` pd qy pdc q x ` y c, which sys tht px, yq P R,,c s desired. Conversely, consider ny px, yq P R,,c, so tht x ` y c. Then we hve x ` y c pd qx ` pd qy pdc q dp x ` yq dpc q x ` y c, which sys tht px, yq P R,,c. (The lst step used multiplictive cncelltion.)

The previous result llows us to restrict our ttention to coprime nd. 2.2. Let,, c P N with 0 nd gcdp, q. If R,,c H (i.e., if c is p, q-representle) prove tht there exists unique representtion pu, vq P R,,c with the property 0 ď u ă. [Hint: For existence, let px, yq P R,,c e n ritrry solution. Since 0 there exists quotient nd reminder of x mod. For uniqueness, use the coprimlity of nd to pply Euclid s Lemm.] Proof. If R,,c H then there exists some pir px, yq P N 2 such tht x ` y c. Since 0 there exists pir of integers q, r P Z such tht " x q ` r Then sustituting x q ` r gives 0 ď r ă x x ` y c pq ` rq ` y c r ` pq ` yq c. It only remins to check tht pu, vq : pr, q ` yq P N 2 nd we lredy know tht r P N. Since r ă x we lso hve q px rq ą 0, which since ą 0 implies tht q ą 0. But then since y P N we hve q ` y P N s desired. This proves existence. For uniqueness, ssume tht we hve pu, v q nd pu 2, v 2 q in R,,c with 0 ď u ă nd 0 ď u 2 ă. Then since u ` v c u 2 ` v 2 we see tht u ` v u 2 ` v 2 pu u 2 q pv 2 v q, which implies tht divides pu u 2 q. But then since gcdp, q, Euclid s Lemm sys tht pu u 2 q. If pu u 2 q 0 then we re done. Otherwise, suppose without loss of generlity tht u u 2 ą 0. Then the fct tht pu u 2 q implies tht ď u u 2 ď u which contrdicts the fct tht u ă. This contrdiction shows tht pu u 2 q 0 nd then the eqution pv 2 v q pu u 2 q 0 0 together with the fct 0 implies tht pv 2 v q 0 s desired. 2.3. Let, P N e coprime with 0. If c p q prove tht R,,c H. Tht is, prove tht the numer p q is not p, q-representle. [Hint: Let c p q nd ssume for contrdiction there exists representtion px, yq P R,,c. Show tht the cses x ă nd x ě oth led to the contrdiction y ă 0. You cn use 2.2 for the cse x ă.] Proof. Assume for contrdiction tht we hve representtion x ` y p q with px, yq P N 2. From 2.2 this implies tht there exists representtion u ` v p q

with pu, vq P N 2 nd 0 ď u ă. Now oserve tht u ` v u ` v pu ` q p vq. The lst eqution sys tht divides pu ` q nd then since nd re coprime we otin pu ` q from Euclid s Lemm. Since u ` ą 0 this implies tht ď u ` [this rgument is in the notes] ut we lredy know tht u ă (i.e., u ` ď ) so we conclude tht u `. Finlly, we sustitute u to otin which contrdicts the fct tht v P N. u ` v p q ` v ` v v v, [Sorry I didn t follow my own hint very closely.] 2.4. Let, P N e coprime with 0. In this exercise you will prove y induction tht every numer c ą p q is p, q-representle. () Prove the result when or. () From now on we will ssume tht ě 2 nd ě 2. In this cse prove tht the numer p ` q is p, q-representle. [Hint: From the Eucliden Algorithm nd 2.2 there exist x, y P Z with x ` y nd 0 ď x ă. Prove tht px q P N nd py ` q P N, nd hence is vlid representtion.] px q ` py ` q p ` q (c) Let n ě p ` q nd ssume for induction tht n is p, q-representle. In this cse prove tht n ` is lso p, q-representle. [Hint: Let x, y e s in prt (). By the induction hypothesis nd 2.2 there exist x, y P N with x ` y n nd 0 ď x ă. Note tht px ` x q ` py ` y q pn ` q. If y ` y ě 0 then you re done. Otherwise, show tht is vlid representtion.] px ` x q ` py ` y ` q pn ` q Proof. (): Since the prolem is symmetric in nd we will ssume without loss of generlity tht. Now we wnt to show tht every numer c ą p q, i.e., every numer c ě 0 is p, q-representle. But this is certinly true ecuse p0q ` p0q 0 is vlid representtion of c 0 nd pq ` pc q c is vlid representtion of c ą 0. This solves the prolem when or so from now on we will ssume tht ě 2 nd ě 2. (): Bse Cse. Since gcdp, q the Eucliden Algorithm gives integers x, y P Z such tht x ` y nd from 2.2 we cn ssume tht 0 ď x ă. [Actully this is it esier

thn 2.2 ecuse we don t require y ě 0.] If x 0 then we hve y x ` y which implies tht, contrdicting the fct tht ě 2. Thus we must hve x ě, i.e., x P N. To complete the proof, ssume for contrdiction tht py ` q ă 0, i.e., y ` ď 0. This implies tht y ď nd hence y ď. Finlly, since px q ă 0 we otin the desired contrdiction: x ` y ď x px q ă 0. We conclude tht px q nd py ` q re nturl numers, so px q ` py ` q px ` y q ` ` is vlid p, q-representiton of p ` q. (c): Induction Step. Let n ě p ` q nd ssume for induction tht there exist nturl numers px, yq P N 2 such tht x ` y n. In this cse we wnt to show tht n ` is lso p, q-representle. To do this, recll from prt () tht we hve integers x, y P Z with the following properties: x ` y, ď x ď, y ` ě. Now dd the equtions x ` y n nd x ` y to otin px ` x q ` py ` y q n `, where x ` x ě 0. If we lso hve y ` y ě 0 then we re done, so ssume tht y ` y ă 0. Since y ` ě nd y ě 0 we hve py ` y ` q ě. It only remins to check tht px ` x q ě 0. To see this we use the ssumptions pn ` q ě p ` 2q nd py ` y ` q ď 0 to otin n ` px ` x q ` py ` y q ą ` 2 px ` x q ě py ` y q ` 2 ą py ` y ` q ` 2 ě p0q ` 2 ą p q ą 0. By cncelling ą 0 from oth sides of px ` x q ą p q we otin px ` x q ą p q nd hence px ` x q ě 0 s desired. It follows tht px ` x q ` py ` y ` q px ` yq ` px ` y q ` p ` q n ` ` 0 is vlid p, q-representtion of n `. [Tht ws tricky.] Let, P N e coprime with 0. So fr you hve proved tht R,,p q 0 nd R,,c ě for ll c ą p q. The next prolem gives rough lower ound for the totl numer of p, q-representtions.

2.5. Let, P N e coprime with 0. Prove tht Y c R,,c ě mxtn P N : n ď c{pqu. ] [Hint: We know from clss tht the integer solutions of x ` y c hve the form px, yq pcx k, cy ` kq @k P Z, where x, y P Z re some specific integers stisfying x `y. Now prove tht the nturl numer solutions correspond to vlues of k P Z such tht cy ď k ď cx. Counting these integers is delicte ut you should e le to give rough ound.] Proof. Consider,, c P N with gcdp, q. From 2.2 there exist integers x, y P Z such tht x ` y nd 0 ď x ă. We know from clss tht the complete integer solution to the eqution x ` y c is given y px, yq pcx k, cy ` kq @k P Z, nd our jo is to discover which of these solutions re non-negtive. Tht is, we need to find ll integers k P Z such tht the following two inequlities hold: cx k ě 0 cy ` k ě 0. These two inequlities cn e written in terms of frctions to otin cy ď k ď cx. Ech such vlue of k P Z corresponds to non-negtive solution of x`y c, so we conclude tht R,,c is equl to the numer of integers in the closed rel numer intervl r cy {, cx {s. The exct count is tricky, ut the floor of the length of the intervl provides lower ound: Z ^ cx R,,c ě cy Z cx ` cy ^ Z cpx ` y ^ q Y c ]. Unfortuntely this rough ound gives us no informtion when c ă, i.e., when tc{pqu 0. With it more work one could compute the exct formul: for ny x ` y we hve ( ) R,,c c " " cy cx `, where txu : x txu is the frctionl prt of the rtionl numer x P Q. This formul is due to Tieriu Popoviciu in 953.

2.6. Let, P N e coprime with 0. Given n integer 0 ă c ă such tht c nd c, use Popoviciu s formul ( ) to show tht R,,c ` R,,p cq. [Hint: Use the fct tht t xu txu when x R Z.] Proof. Consider,, c P N with gcdp, q, 0 ă c ă, nd where nd do not divide c. Then for ny integers x ` y Popoviciu s formul gives R,,p cq c " " p cqy p cqx ` 2 c "y cy "x cx. But now oserve tht for ll integers n P Z nd non-integer rtionls x P Q we hve tn xu t xu txu. Thus the ove formul ecomes R,,p cq 2 c "y cy "x cx 2 c ˆ " ˆ " cy cx ˆ " " c cy cx ` R,,c. In conclusion, one cn show from 2.6 tht there exist exctly p qp q 2 nturl numers tht re not p, q-representle. This fct ws first proved y Jmes Joseph Sylvester in 884. Proof. I didn t sk you to show this, ut here s the proof. Let gcdp, q. Then we know tht every integer c ě is p, q-representle. [In fct we know tht every integer c ą p q is representle, ut we don t need this right now.] Of the ` elements of the set tc P Z : 0 ď c ď u we know tht elements re multiples of, nd elements re multiples of. Furthermore, since gcdp, q we know tht the only elements tht re multiples of oth nd re 0 nd. We conclude tht there re exctly p ` q p ` 2q p ` q p qp q elements of the set tht re not multiple of or. The result of Prolem 2.6 sys tht exctly hlf of these numers re p, q-representle. Epilogue: The proofs ove re lgeric, ut there is lso eutiful geometric wy to think out the Froenius coin prolem. Consider, P N with 0 nd gcdp, q. Lel ech point px, yq P Z 2 of the integer lttice y the numer x ` y. Note tht points on the sme line of slope { receve the sme lel. The prolem is to count the integer points on the line x ` y c tht lie in the first qudrnt. For exmple, here is the lelling corresponding to the coprime pir p, q p5, 8q:

I hve drwn the lines 5x ` 8y 5 8 40 nd 5x ` 8y 0. It ws reltively esy to show tht every lel c ě 40 occurs in the first qudrnt, ut the numers elow 40 re more tricky. I hve outlined the numers elow 40 re re not multiples of 5 or 8 ut re still p5, 8q-representle. We oserve tht there re p5 qp8 q{2 4 such numers, s expected. I hve lso outlined the numers in the fourth qudrnt tht re not p5, 8q-representle. Oserve tht these two shpes re congruent up to 80 rottion, nd in fct this is the trnsformtion c ÞÑ p cq. Oserve further tht the two shpes fit together perfectly to mke n p q ˆ p q rectngle. This is the geometric explntion for Sylvester s formul p qp q. 2