MATH 25 CLASS 5 NOTES, SEP

Similar documents
Unit #9 : Definite Integral Properties, Fundamental Theorem of Calculus

Math 464 Fall 2012 Notes on Marginal and Conditional Densities October 18, 2012

Pointwise convergence need not behave well with respect to standard properties such as continuity.

Introduction to Integration

1. SEQUENCES INVOLVING EXPONENTIAL GROWTH (GEOMETRIC SEQUENCES)

9 Graph Cutting Procedures

12-B FRACTIONS AND DECIMALS

50 AMC LECTURES Lecture 2 Analytic Geometry Distance and Lines. can be calculated by the following formula:

MA1008. Calculus and Linear Algebra for Engineers. Course Notes for Section B. Stephen Wills. Department of Mathematics. University College Cork

If you are at the university, either physically or via the VPN, you can download the chapters of this book as PDFs.

such that the S i cover S, or equivalently S

10.5 Graphing Quadratic Functions

Subtracting Fractions

INTRODUCTION TO SIMPLICIAL COMPLEXES

Theory of Computation CSE 105

Digital Design. Chapter 6: Optimizations and Tradeoffs

a(e, x) = x. Diagrammatically, this is encoded as the following commutative diagrams / X

Section 10.4 Hyperbolas

If f(x, y) is a surface that lies above r(t), we can think about the area between the surface and the curve.

Misrepresentation of Preferences

In the last lecture, we discussed how valid tokens may be specified by regular expressions.

x )Scales are the reciprocal of each other. e

Companion Mathematica Notebook for "What is The 'Equal Weight View'?"

4452 Mathematical Modeling Lecture 4: Lagrange Multipliers

Rational Numbers---Adding Fractions With Like Denominators.

MATH 2530: WORKSHEET 7. x 2 y dz dy dx =

Improper Integrals. October 4, 2017

Solutions to Math 41 Final Exam December 12, 2011

Section 3.1: Sequences and Series

2 Computing all Intersections of a Set of Segments Line Segment Intersection

1.1. Interval Notation and Set Notation Essential Question When is it convenient to use set-builder notation to represent a set of numbers?

A Tautology Checker loosely related to Stålmarck s Algorithm by Martin Richards

Chapter Spline Method of Interpolation More Examples Electrical Engineering

a < a+ x < a+2 x < < a+n x = b, n A i n f(x i ) x. i=1 i=1

1 Elementary number theory

9 4. CISC - Curriculum & Instruction Steering Committee. California County Superintendents Educational Services Association

Midterm 2 Sample solution

A dual of the rectangle-segmentation problem for binary matrices

Ray surface intersections

arxiv: v2 [math.ho] 4 Jun 2012

Homework. Context Free Languages III. Languages. Plan for today. Context Free Languages. CFLs and Regular Languages. Homework #5 (due 10/22)

Tries. Yufei Tao KAIST. April 9, Y. Tao, April 9, 2013 Tries

6.2 Volumes of Revolution: The Disk Method

A Fixed Point Approach of Quadratic Functional Equations

Tilings of Sphere by Congruent Pentagons I

F. R. K. Chung y. University ofpennsylvania. Philadelphia, Pennsylvania R. L. Graham. AT&T Labs - Research. March 2,1997.

P(r)dr = probability of generating a random number in the interval dr near r. For this probability idea to make sense we must have

COMP 423 lecture 11 Jan. 28, 2008

CHAPTER 5 Spline Approximation of Functions and Data

Before We Begin. Introduction to Spatial Domain Filtering. Introduction to Digital Image Processing. Overview (1): Administrative Details (1):

Math 142, Exam 1 Information.

Math 35 Review Sheet, Spring 2014

COMPUTER SCIENCE 123. Foundations of Computer Science. 6. Tuples

Basic Geometry and Topology

EECS 281: Homework #4 Due: Thursday, October 7, 2004

SOME EXAMPLES OF SUBDIVISION OF SMALL CATEGORIES

Lecture 12 : Topological Spaces

Research Announcement: MAXIMAL CONNECTED HAUSDORFF TOPOLOGIES

arxiv: v1 [math.co] 18 Sep 2015

Lily Yen and Mogens Hansen

Answer Key Lesson 6: Workshop: Angles and Lines

Dynamic Programming. Andreas Klappenecker. [partially based on slides by Prof. Welch] Monday, September 24, 2012

CHAPTER 8 Quasi-interpolation methods

The Fundamental Theorem of Calculus

fraction arithmetic. For example, consider this problem the 1995 TIMSS Trends in International Mathematics and Science Study:

Stained Glass Design. Teaching Goals:

PATTERN AVOIDANCE IN BINARY TREES

Union-Find Problem. Using Arrays And Chains. A Set As A Tree. Result Of A Find Operation

Typing with Weird Keyboards Notes

Integration. October 25, 2016

The Basic Properties of the Integral

Double Integrals. MATH 375 Numerical Analysis. J. Robert Buchanan. Fall Department of Mathematics. J. Robert Buchanan Double Integrals

Yoplait with Areas and Volumes

Engineer To Engineer Note

Lecture 10 Evolutionary Computation: Evolution strategies and genetic programming

1 Quad-Edge Construction Operators

MTH 146 Conics Supplement

Unit 5 Vocabulary. A function is a special relationship where each input has a single output.

Representation of Numbers. Number Representation. Representation of Numbers. 32-bit Unsigned Integers 3/24/2014. Fixed point Integer Representation

Banach Journal of Mathematical Analysis ISSN: (electronic)

1.5 Extrema and the Mean Value Theorem

What are suffix trees?

10.2 Graph Terminology and Special Types of Graphs

Integration. September 28, 2017

An Efficient Divide and Conquer Algorithm for Exact Hazard Free Logic Minimization

f[a] x + f[a + x] x + f[a +2 x] x + + f[b x] x

)

9.1 apply the distance and midpoint formulas

CS143 Handout 07 Summer 2011 June 24 th, 2011 Written Set 1: Lexical Analysis

Fall 2018 Midterm 1 October 11, ˆ You may not ask questions about the exam except for language clarifications.

Notes for Graph Theory

What do all those bits mean now? Number Systems and Arithmetic. Introduction to Binary Numbers. Questions About Numbers

Available at ISSN: Vol. 4, Issue 2 (December 2009) pp (Previously Vol. 4, No.

Scanner Termination. Multi Character Lookahead. to its physical end. Most parsers require an end of file token. Lex and Jlex automatically create an

Introduction. Chapter 4: Complex Integration. Introduction (Cont d)

Definition of Regular Expression

arxiv:cs.cg/ v1 18 Oct 2005

Very sad code. Abstraction, List, & Cons. CS61A Lecture 7. Happier Code. Goals. Constructors. Constructors 6/29/2011. Selectors.

CMSC 331 First Midterm Exam

Spring 2018 Midterm Exam 1 March 1, You may not use any books, notes, or electronic devices during this exam.

Transcription:

MATH 25 CLASS 5 NOTES, SEP 30 2011 Contents 1. A brief diversion: reltively prime numbers 1 2. Lest common multiples 3 3. Finding ll solutions to x + by = c 4 Quick links to definitions/theorems Euclid s Lemm (importnt!) 1. A brief diversion: reltively prime numbers Before continuing with the study of liner equtions, we mke brief detour to tlk bout some useful properties of reltively prime numbers nd number relted to gcds. Recll tht two integers, b re reltively prime if gcd(, b) = 1. At this point, we know enough to prove some very importnt fcts bout reltively prime numbers: Proposition 1. Let, b be two reltively prime numbers, nd let c be some integer. If bc, then c. Proof. We know tht bc. Becuse, b re reltively prime, we know tht x+by = 1 hs (infinitely) mny integer solutions. Select one of them. Multiply this eqution by c: cx + bcy = c. Notice tht cx, nd since bc by ssumption, bcy. Therefore, c. This simple result is of fundmentl importnce. Notice tht we used our knowledge bout when x + by = d hs solutions in n essentil wy to prove this proposition. Another importnt observtion is tht the bove proposition requires tht, b be reltively prime in order to be true. Cn you think of n exmple where, b re not reltively prime, nd where bc but c? Finlly, one specil cse of the bove proposition deserves mention. Suppose = p is prime number ( number divisible only by 1 nd itself). Then the bove proposition cn be rewritten in the following wy: Lemm 1 (Euclid s Lemm). Let p be prime, nd let, b be two integers. If p b, then p or p b. Proof. If p, there is nothing to prove, so suppose p. Then gcd(, p) = 1, since the only divisors of p re 1 nd p, while p does not divide. An ppliction of the previous proposition shows tht p b. 1

2 MATH 25 CLASS 5 NOTES, SEP 30 2011 Exmple. This exmple shows tht the originl proposition (nd Euclid s Lemm) cn be flse when their ssumptions re not true. For instnce, if = 4, b = 6, so tht gcd(, b) = 2, then we cn choose c = 2. Then bc = 12, so bc, but c. This exmple lso works to show why p must be prime in Euclid s Lemm; notice tht = 4 is not prime, yet b, c. The previous proposition nd lemm re one of the most importnt pplictions of our knowledge of when x + by = d hs integer solutions. It is well worth lerning their sttements nd proofs thoroughly. Here re severl other useful propositions: Proposition 2 (Corollry 1.11 of the text). If, b re reltively prime integers, nd c, b c, then b c. Proof. Since gcd(, b) = 1, there exist integers x, y such tht x + by = 1. Multiply this eqution by c : cx + bcy = c. Since b c, (b) cx, nd since c, (b) bcy. Therefore (b) c. Proposition 3. [Exercise 1.8 of the text] Let, b be two integers. If c is divisor of, b, then c gcd(, b). Proof. We know tht there is pir of integers x, y such tht x + by = gcd(, b). Since c, b, this implies tht c gcd(, b). Proposition 4 (Corollry 1.10 of the text). Let, b be two integers, nd let m be positive integer. Then gcd(m, mb) = m gcd(, b). Proof. Clerly m gcd(, b) gcd(m, mb), becuse m gcd(, b) divides both m nd mb. For the reverse inequlity, gin there re two integers x, y such tht x + by = gcd(, b). Multiplying this eqution by m, we get mx+mby = m gcd(, b). However, this is only possible if gcd(m, mb) m gcd(, b), which in prticulr implies tht gcd(m, mb) m gcd(, b), s desired. Proposition 5 (Corollry 1.10 of the text). Let, b be two integers, nd let d, b. Then gcd( d, b gcd(, b) ) =. In prticulr, d d gcd(, b) nd b re reltively gcd(, b) prime. Proof. Agin, there exist integers x, y which stisfy x + by = gcd(, b). Divide this eqution by d: d x + b gcd(, b) y =. d d Since /d, b/d re integers, this sys tht gcd(/d, b/d) gcd(, b)/d. On the other hnd since gcd(, b), b, gcd(, b)/d /d, b/d. So gcd(, b)/d gcd(/d, b/d), nd therefore we hve equlity. As you cn see, we re getting lot of milege out of the fct tht x + by = d hs integer solutions x, y if nd only if gcd(, b) d. Let s conclude this section with n exmple illustrting these propositions. Exmples.

MATH 25 CLASS 5 NOTES, SEP 30 2011 3 We sw tht gcd(994, 399) = 7. Therefore, the only common divisors of 994, 399 re 1, 7 (Proposition 3). As 994 = 7 142, 399 = 7 57, we lso see tht gcd(142, 57) = 1. (Proposition 5) Proposition 2 cn be flse if gcd(, b) 1. For instnce, if = 6, b = 9, nd c = 18, then c, b c, but b = 54 c. 2. Lest common multiples Recll tht multiple of n integer is ny number of the form n, where n Z. Given two numbers, b, we cll the smllest positive integer which is both multiple of, b the lest common multiple of, b. This number is often written lcm(, b), or sometimes [, b], lthough gin the ltter nottion cn be mbiguous, since it lso mens the closed intervl from to b. There is the obvious generliztion of this definition to list of more thn two numbers. Exmple. Let = 8, b = 12. Then the lest common multiple of, b is 24, since 24 is the smllest number tht is multiple of both, b. How re the lcm nd gcd of two nonzero numbers, b relted? Notice tht gcd(8, 12) = 4, for exmple. A bit of experimenttion will probbly led you to the clim tht gcd(, b)lcm(, b) = b. Let s prove this: Proof. We cn ssume tht, b re positive, since gcd, lcm re unchnged if we chnge the signs of, b. First notice tht becuse gcd(, b), b, we know tht / gcd(, b) is n integer, nd similrly, b/ gcd(, b) is n integer. Therefore, gcd(, b) b = b gcd(, b) = b gcd(, b) shows tht b/(gcd(, b)) is common multiple of, b. Therefore, lcm(, b) b/(gcd(, b)). Now we wnt to show tht the opposite inequlity is true. Suppose tht c is the lest common multiple of, b. Then we cn write c = n = bm for some integers n, m. In prticulr, this mens tht n bm, m n. First notice tht gcd(n, m) = 1. This must be true becuse if gcd(n, m) > 1, then we cn divide both n, m by their gcds to obtin new integers n, m, with (n, m ) = 1, nd n = bm is still common multiple of, b which is smller thn c, contrdicting the fct tht c is the lest common multiple of, b. Since gcd(n, m) = 1, we cn pply the first proposition we lerned to see tht n b, m. Let 1 = /m, b 1 = b/n. However, we know tht n = bm, so this tells us tht 1 = b 1. Cll this number d. Notice tht d is common divisor of, b. Therefore, d gcd(, b). But this implies tht b d b gcd(, b). Since b/d = c, this shows tht c b/(gcd(, b)) s desired. Putting the two inequlities we ve proved together, we hve c = b/(gcd(, b)), s desired. Exmple. Going bck to = 994, b = 399, since gcd(994, 399) = 7, lcm(994, 399) = 994 399/7 = 56658.

4 MATH 25 CLASS 5 NOTES, SEP 30 2011 We conclude with proposition which is the mirror imge of Proposition 3. Proposition 6 (Exercise 1.14 of the text). Let c be common multiple of, b. Then c is multiple of lcm(, b). Proof. Write l = lcm(, b). Since c l, Eucliden division of c by l gives n eqution c = lq + r, where 0 r < l. But since, b c, l, this mens, b r, which shows tht r is common multiple of, b. Since l is the lest common multiple, we must hve r = 0, which mens tht c is multiple of l = lcm(, b), s desired. The converse to the bove proposition is obviously true tht is, ny multiple of lcm(, b) is itself common multiple of nd b. Let s conclude by going bck to fmilir exmple. Exmple. We clculted tht lcm(994, 399) = 56658. Therefore ny common multiple of 994 nd 399 is multiple of 56658. 3. Finding ll solutions to x + by = c The Eucliden lgorithm gives us wy to find pir of integer solutions x, y to x + by = c, s long s gcd(, b) c. However, it would be idel to know how to find ll the solutions to this eqution, insted of just one. The following proposition tells us just how to do this: Proposition 7 (Theorem 1.13 of the text). Let, b be nonzero integers, nd c n integer which is multiple of gcd(, b) = d. Let x 0, y 0 be one pir of integer solutions to x + by = c. Then the set of ll integer solutions x, y to the eqution x + by = c hs the form (1) x = x 0 + b d n, y = y 0 d n, where n is ny integer. (In prticulr when n = 0 we get the initil pir x 0, y 0.) Proof. We will begin by checking tht every pir of integers x, y stisfying Eqution 1 stisfies x + by = c. Plug in the two equtions from Eqution 1 into x + by = c: (x 0 + bd ) n + b (y 0 ) d n = x 0 + b d n + by 0 b d n = x 0 + by 0 = c. In the lst equlity, we used the fct tht x 0, y 0 ws solution to x + by = c. We now wnt to prove the converse sttement, tht ny solution x, y is of the form given by Eqution 1. So suppose x, y re integers such tht x + by = c. Since x 0 + by 0 = c s well, we hve x 0 + by 0 = x + by, or (x 0 x) = b(y y 0 ). Both sides re divisible by d = gcd(, b), so divide both sides of this eqution by d: d (x 0 x) = b d (y y 0).

MATH 25 CLASS 5 NOTES, SEP 30 2011 5 Recll tht /d, b/d re reltively prime. Since /d, b/d re reltively prime nd (b/d) (/d)(x x 0 ), we must hve (b/d) (x x 0 ). In other words, there is n integer n such tht b d n = x x 0, or x = x 0 + b d n. Plugging in this expression for x into the previous eqution, we obtin Solving for y, we get b d d n = b d (y y 0). y = y 0 d n. Exmples. Going to our fvorite exmple of = 994, b = 399, we found the solution x = 2, y = 5 to 994x + 399y = 7. Since gcd(, b) = d = 7, nd /d = 142, b/d = 57, the previous proposition tells us tht every solution to 994x + 399y = 7 is given by x = 2 + 57n, y = 5 142n, where n Z. Notice tht this proposition works on the eqution x + by = c even when c is lrger thn gcd(, b). For exmple, consider the eqution 4x + 6y = 4. It is obvious tht x = 1, y = 0 gives n integer solution. We hve = 4, b = 6, gcd(, b) = d = 2, so /d = 2, b/d = 3. Then the previous proposition tells us tht every pir of integer solutions hs the form x = 1 + 3n, y = 2n. In generl, it is esy to check your nswer by plugging in your expressions for x, y into the eqution x + by = c nd checking tht you get true eqution. In prticulr, ny ns which pper should end up cnceling out.