International Baccalaureate LECTURE NOTES MATHEMATICS HL FURTHER MATHEMATICS HL Christos Nikolaidis TOPIC NUMBER THEORY

Size: px
Start display at page:

Download "International Baccalaureate LECTURE NOTES MATHEMATICS HL FURTHER MATHEMATICS HL Christos Nikolaidis TOPIC NUMBER THEORY"

Transcription

1 Iteratioal Baccalaureate LECTURE NOTES MATHEMATICS HL FURTHER MATHEMATICS HL TOPIC NUMBER THEORY METHODS OF PROOF. Couterexample - Cotradictio - Pigeohole Priciple Strog mathematical iductio 2 DIVISIBILITY Basic properties - Divisio of itegers gcd ad lcm - Euclidia Algorithm 3 PRIME NUMBERS... 2 The Fudametal Theorem of Arithmetic 4 LINEAR DIOPHANTINE EQUATIONS CONGRUENCES... 2 Properties - Fermat s Little Theorem Solvig liear cogrueces - Chiese Remaider Theorem 6 REPRESENTATION OF NUMBERS... 3 The decimal system vs the base-b system Divisibility tests 7 RECURRENCE RELATIONS Recurrece relatios of first degree Recurrece relatios of secod degree (homogeeous case) March 28

2

3 . METHODS OF PROOF Cosider the statemet If someoe lives i Greece the he lives i Europe The coverse of this statemet is If someoe lives i Europe the he lives i Greece. The cotrapositive of this statemet is If someoe does ot live i Europe the he does ot live i Greece We will use this example to demostrate two kids of proof. Proof by a couterexample A couterexample is eough to establish that a statemet is ot true i geeral. For example, let us prove that the coverse of the statemet above is ot true: If someoe lives i Europe, he does ot ecessarily live i Greece. Proof: Select a residet of Frace. He lives i Europe but he does ot live i Greece! Proof by cotradictio The cotrapositive of the origial statemet is true: If someoe does ot live i Europe the he does ot live i Greece Proof. Suppose that a perso A does ot live i Europe. If A lives i Greece the by the origial statemet A lives i Europe. Cotradictio. The priciple of cotradictio is based o the followig fact: If A the B is equivalet to the cotrapositive statemet If ot B the ot A Ideed: if ot B the ot A because if A the B, cotradictio!

4 Let us see two more mathematical examples EXAMPLE Let a be a iteger. Prove the followig statemets: (a) If a 2 is eve the a is eve. Proof by cotradictio: Let a 2 be eve. If a is odd, the a=2+ for some iteger. But a 2 =(2+) 2 = =2(2 2 +2)+ which is odd. Cotradictio. (b) If a 2 is a multiple of, the a is ot ecessarily a multiple of. Proof by a couterexample: For a=6 ad =4, 6 2 is a multiple of 4 but 6 is ot a multiple of 4 NOTICE. We very ofte do ot refer at all to the term cotradictio ; we simply prove the cotrapositive statemet. A classical mathematical example is the defiitio of a - fuctio: differet elemets map to differet images, that is x x 2 f(x ) f(x 2 ) It is much more practical to use the equivalet statemet f(x ) = f(x 2 ) x = x 2 This is i fact the cotrapositive statemet of the defiitio A classical example of cotradictio is the pigeohole priciple preseted below. 2

5 The pigeohole priciple Suppose that + pigeos are placed i pigeoholes The, there exists a pigeohole with at least 2 pigeos Ideed, is all pigeoholes had at most pigeo we would have at most pigeos, cotradictio. EXAMPLE There are 4 people i a club. At least two of them have their birthday o the same day. Ideed, if all of them had their birthday o differet days we would have at most 366 people, cotradictio. A more geeral form says Suppose that k+ pigeos are placed i pigeoholes The, there exists a pigeohole with at least k+ pigeos Ideed, is all pigeoholes had at most k pigeos we would have at most k pigeos, cotradictio. EXAMPLE For example, suppose that 64 pigeos are placed i 7 pigeoholes. Show that some pigeohole cotais at least pigeos. If, otherwise, all pigeoholes had at most 9 pigeos, we would have at most 7x9=63 pigeos, cotradictio. Fially, let us remember the priciple of mathematical iductio. 3

6 Strog mathematical iductio Remember the priciple of mathematical iductio for a statemet P() which depeds o the positive iteger. The steps are as follows o For = the statemet is true; o Assume that the statemet is true for =k; o Prove that the statemet is true for =k+; The the statemet is true for ay positive iteger. But sometimes the iductive step is ot based o the precedig iteger but o all the precedig itegers! o For = the statemet is true; o Assume that the statemet is true for ay <k; o Prove that the statemet is true for =k; The the statemet is true for ay positive iteger. Although prime umbers will be formally itroduced later o we will use a classical example which refers to prime umbers Ay iteger 2 is either a prime or it has a prime divisor. Proof by strog iductio. For =2 the statemet is true sice 2 is a prime. Assume that the statemet is true for ay <k We will prove that it is true for =k. Ideed, if k is a prime we are doe. If ot the k=ab But a<k hece it has a prime divisor p by assumptio. Thus p divides k as well, i.e. p is a prime divisor of k By strog iductio the propositio is true for ay 2. 4

7 2. DIVISIBILITY For two itegers a ad b, we say that a divides b, if b= ka for some k Z We use the otatio a b. Thus a b if ad oly if b= ka for some k Z For example, 3 divides 5: 3 5 sice 5= We also say that a is a divisor of b e.g. 3 is a divisor of 5 a is a factor of b e.g. 3 is a factor of 5 b is a multiple of a e.g. 5 is a multiple of 3 Remark: Particularly for ad a o-zero iteger a (sice is a multiple of ) a ( is a multiple of ay iteger, sice =a) a (i other words, divides oly ) Basic Properties. a a for ay a Z (reflexive) 2. a b ad b c a c (trasitive) 3. ± a for ay a Z 4. a ± a=± 5. a b ad b a a=± b 5

8 Notice. We very ofte cosider oly positive itegers. The, the last three properties become a for ay a Z + a a= a b ad b a a=b The proofs of these properties are all similar. Let s see a proof. Proof of property 2: a b ad b c a c a b ad b c b=ka ad c=k b for some k, k Z [by defiitio] c=k ka a c [by defiitio] Moreover, for ay itegers 6. a b a b 7. a b ad a b (cacellatio) 8. a b ad a 2 b 2 a a 2 b b 2 a b +b 2 9. a b ad a b 2 a b -b 2 a mb +b 2 (ay liear combiatio) Proof of property 7: a b ad a b a b ad b=ka for some k Z [by defiitio] b=ka a b [sice ] [by defiitio] 6

9 Divisio of itegers Whe we divide 4 by 5 (4 5), the quotiet is 8 ad the remaider. More formally 4 = 5 8+ We also kow that the remaider satisfies < 5. Thus Give two itegers a ad b>, there exist q, r ϵz such that a = bq+ r with r < b We say that q is the quotiet ad r is the remaider. Mid the case where a is egative: o Whe we divide 4 by 5 the remaider is (see above). o Whe we divide -4 by 5 the remaider is 4, sice - 4= 5 ( 9) + 4 Fially, if r = the b divides a sice gives 4 = 5 8 ad the remaider is. a= bq. For example, 4 5 NOTICE. I fact, we ca divide by egative iteger b as well. But the To summarize Ideed, r < b o Whe we divide 4 by 5 or -5 the remaider is o Whe we divide -4 by 5 or -5 the remaider is = (-5) 4 = ( 5) ( 8) + (-4) 5-4= 5 ( 9) + 4 (-4) (-5) - 4=

10 GCD ad LCM The greatest commo divisor (gcd) of two itegers is just the greatest commo divisor!. But bear i mid that it is always a o-egative umber. For example, The gcd of 6 ad 5 is 3. The gcd of 6 ad -5 is still 3. We write gcd(6,5)=3 ad gcd(6,-5)=3 But what is the formal defiitio of the gcd? Let a,b Z. The if gcd(a,b)=d (d ) (i) d a ad d b [I.e. d is a commo divisor] (ii) If d a ad d b, the d d [I.e. it is the greatest!] Ideed, gcd(6,5)=3 sice (i) 3 6 ad 3 5 (ii) if d 6 ad d 5, the d 3 [as d ca be either or 3] It also holds gcd(,a) = a ad gcd(,) = Propositio For ay a,b Z it holds (i) (ii) (iii) gcd(a,b)=gcd(a+b,b) gcd(a,b)=gcd(a-b,b) gcd(a,b)=gcd(a+kb,b) We oly prove property (iii) which is the most geeral result! 8

11 Proof of (iii) Let d =gcd(a,b) ad d 2 =gcd(a+kb,b) d a ad d b [property of d ] d a+kb ad d b [property of divisibility] d d 2 [sice d 2=gcd(a+kb,b)] O the other had d 2 a+kb ad d 2 a [property of d ] d 2 a+kb-kb ad d 2 b d 2 a ad d 2 b [property of divisibility] d 2 d [sice d =gcd(a,b)] Therefore, d =d 2 Similarly, the least commo multiple (lcm) of two itegers is just the least commo o-egative multiple!. For example, We write The lcm of 6 ad 9 is 8. lcm(6,9)=8 But what is the formal defiitio of the lcm? Let a,b Z. The if lcm(a,b)= l (l ) (i) a l ad b l [I.e. l is a commo multiple] (ii) if a l ad b l, the lil [I.e. it is the least] Ideed, lcm(6,9)=8 sice (i) 6 8 ad 9 8 (ii) if 6 l ad 9 l, the 8 l [as l ca be 8,36,54,72, ] 9

12 Euclidea Algorithm Our target here is to fid gcd(a,b). If a = bq+ r the accordig to a propositio above The we divide b by r gcd(a,b)=gcd(a-bq,b)=gcd(b,r) b = rq + r so that gcd(b,r)= gcd(r,r ) ad so o! Thus, we ca fid the gcd of two itegers by repeated divisios. Let s demostrate the result by usig a example: Fid gcd(,8). This implies that Ideed, = = + 8 = = gcd(,8) = 2 gcd(,8) = gcd(8,) = gcd(,8) = gcd(8,2) = gcd(2,) = 2 This algorithm allows us also to 2= gcd(,8) as a liear combiatio of ad 8: I geeral, 2 = - 8 = - (8- ) = = (-5 8) = 2-8 For ay a,b Z, if gcd(a,b)=d, the d = sa+rb for some r,s Z

13 We say that the itegers a ad b are coprime if gcd(a,b)=. For example 5 ad 7 are coprime, 4 ad 9 are coprime. Accordig to the last result, if a ad b are coprime the sa+rb = for some r,s Z But i this case the coverse is also true, that is if sa+rb = for some r,s Z, the gcd(a,b)= Ideed, suppose that sa+rb = ad gcd(a,b)=d. The d a ad d b d sa+rb d d=. Therefore, we obtai a very strog result gcd(a,b)= sa+rb = for some r,s Z Based o this result we ca prove the followig. If gcd(a,b)=d the d a ad d b are coprime itegers. 2. If a bc ad a,b are coprime the a c Proofs gcd(a,b)=d sa+rb =d for some r,s Z s d a +r d b = for some r,s Z (clearly d a,d b itegers) d a ad d b are coprime. Suppose that a bc, ad a,b are coprime. The sa+rb = for some r,s Z sac+rbc =c Sice a sac ad a rbc, it holds a c.

14 3. PRIME NUMBERS I this sectio we oly cosider positive itegers. Ay umber has at least two trivial divisors: ad itself. Some positive itegers have oly those two divisors. They are called prime. We cosider that the smallest prime umber is 2. This is i fact the oly eve prime umber (why?) A more formal defiitio says that a iteger p 2 is prime if p=ab a= or b= The first prime umbers are They form a sequece 2, 3, 5, 7,, 3, 7, 23, p = the -th prime For example, p =2, p 5 = etc. No-prime itegers 2 are also called composite. is either prime or composite. But how may prime umbers are there? There are ifiitely may prime umbers Proof. Suppose that there are oly prime umbers, p, p 2,, p. Cosider the iteger S= p p 2 p + S has a prime divisor. Suppose it is p i, where i. The p i S ad p i p p 2 p p i (S-p p 2 p ) p i Cotradictio. 2

15 A iterestig questio is Ca we fid cosecutive itegers which are o prime? The aswer is YES. The umbers!+2,!+3,!+4,,!+, are cosecutive itegers. The first oe is divisible by 2, the secod oe by 3,, the last oe by. So, oe of them is prime. I geeral, the cosecutive itegers (+)!+2, (+)!+3,!+4,, (+)!+(+) are composite umbers (why?) Fudametal Theorem of Arithmetic We have already see that Ay iteger 2 has a prime divisor. The proof has bee doe by usig strog mathematical iductio. For example 6 is divisible by 2, but also by 3 etc. I fact we ca express 6 as a product of primes: 6= We say that this is a prime decompositio of 6. A stroger versio of the last propositio says that ay iteger has a uique prime decompositio. This is the so-called fudametal theorem of Arithmetic. We split the propositio i two parts: Existece ad Uiqueess. Ay iteger 2 has a prime decompositio 3

16 Proof by strog iductio. For =2 it is true sice 2 is already a prime. Assume that the statemet is true for ay <k We will prove that it is true for =k. Ideed, if k is a prime we are doe. If ot the k=ab But a<k ad b<k, hece both a ad b have prime decompositios. Thus k=ab also has a prime decompositio. By strog iductio the propositio is true for ay 2. But is it possible to express a iteger ito two differet prime decompositios? The aswer is NO. Ay iteger has a uique prime decompositio Proof by strog iductio. For =2 it is true sice 2 is the oly prime decompositio for 2. Assume that the statemet is true for ay <k We will prove that it is true for =k. Ideed, if k is prime we are doe. If ot, suppose that k=p p 2 p s =q q 2 q t (where all p i ad q i are prime) Sice p divides the first product it also divides the secod product. So it divides oe of the primes q i so it is oe of them. Suppose (wlog) that p =q. The p 2 p s =q 2 q t But this umber is less that k so it has a uique decompositio. Therefore, s=t ad p 2 =q 2 p 3 =q 3 p s =q s Thus the decompositio of k is uique. By strog iductio the propositio is true for ay 2. 4

17 We agree that has also a prime decompositio. It is a product of zero primes! Thus ay positive iteger has a prime decompositio. NOTICE There are three versios for the expressio of the prime decompositio of a atural umber. = p, where p i primes with p p 2 p s p2p3lps p2 p3 Lps 2 3 s = p, where p i primes with p <p 2 < <p s 2 p3 = p p 2 3 L, where p is the sequece of all primes ad oly a fiite umber of expoets are o-zero For example, the correspodig expressios for the atural umber =4 are as follows 4= =, 4 = L, The prime decompositio also helps us to fid the gcd ad the lcm of two itegers. For example, sice =, = 4 2, we obtai gcd(4,525) = = 5 lcm(4,525) = Clearly, = 4235 the decompositio cotais gcd oly the commo prime factors to the lowest power lcm all the prime factors to the greatest power. 5

18 This observatio provides a easy proof for the followig result gcd(,m) lcm(,m) = m Ideed, if = p m= p 2 3 p2 p3 m m2 m3 p2 p3 (where p is the sequece of all primes), the gcd(,m) lcm(,m) = mi(,m ) mi( 2,m ) L =( p p L)( p p L) mi(,m ) + max(,m ) L mi(,m mi(,m ) + max(,m ) 2 ) mi( = p p L + m m 2 = p 2 2 p L p2 + m p2 = ( p 2 L)( m p 2 L) = m,m ) Let s cofirm the result be usig the example above: = 275 gcd lcm = = 275 6

19 4. LINEAR DIOPHANTINE EQUATIONS: ax+by=c Equatios where the solutios we are lookig for are oly itegers are called Diophatie. Here we study liear Diophatie equatios of the form ax+by=c where the ukows x,y Z. Sometimes it is easy to see that there is o solutio. For example 2x+6y=7 has o solutio sice the LHS is always eve while the RHS is odd. Cosider ow 2x+7y=9 Obviously (,) is a solutio. But it is ot the oly oe! (+7t,-2t) where t Z, are also solutios. Ideed 2(+7t)+7(-2t) = 2+4t+7-4t = 9 Thus (8,-), (5,-3), (-6,3) are some of the may solutios. I geeral, the followig result holds. Cosider the liear Diophatie equatio ax+by=c with d=gcd(a,b). The equatio has a solutio if ad oly if d c. Let (x,y) be a particular solutio. (a) If d= the geeral solutio is (x, y) = (x + bt,y at), t Z. (b) If d we divide the equatio by d ad reduce it b a to case (a) [thus (x, y) = (x + t,y t), t Z] d d 7

20 Proof. Cosider the equatio ax+by=c If d does ot divide c the it divides the LHS but ot the RHS, cotradictio. If d divides c the ra sb d=ra+sb for some r,s Z + = d d rac sbc + = c d d c c a(r ) + b(s ) = c d d c c c Sice Z the equatio has a solutio (x,y ) =(r, s ). d d d Let (x,y) be aother solutio. The Thus ax+by=c ax +by =c ax+by=ax +by a(x-x )=-b(y-y ) -a y y = b x x If d=, that is a ad b are coprime, the y-y =-at x-x = bt for some t Z Therefore (x, y) = (x + bt,y at), t Z. If d the a d x+ b d y= c d a b But ow gcd(, ) = ad the geeral solutio takes the form d d b a (x, y) = (x + t,y t), t Z. d d 8

21 EXAMPLE Solve the Diophatie equatios (a) 6x+4y=2 (b) 6x+3y=2 (c) 6x+5y=2 Solutios (a) gcd(6,4)=2. Sice 2 does ot divide 2, there is o solutio. (b) gcd(6,3)=. Sice 2, there is a solutio. The Euclidea algorithm gives 3=2 6+ Hece =3-6 2, that is 6 (-2)+3 = Multiply by 2: 6 (-42)+3 2=2 A particular solutio is (-42,2) The geeral solutio is (-42+3t,2-6t) (c) gcd(6,5)=3. Sice 3 2, there is a solutio. Method A: Direct The Euclidea algorithm gives 5= = 2 3+ (thus gcd=3) Hece 3=5-6 2, that is 6 (-2)+5 =3 Multiply by 7: 6 (-4)+3 7=2 A particular solutio is (-4,7) The geeral solutio is (-4+5t,7-2t) Method B: divide the equatio by 3; it reduces to case gcd= 2x+5y=7 Now gcd(2,5)=. The Euclidea algorithm gives 5 = 2 2+ Hece =5-2 2, that is 2 (-2)+5 = Multiply by 7: 2 (-4)+5 7=7 A particular solutio is (-4,7) The geeral solutio is (-4+5t,7-2t) 9

22 5. CONGRUENCES For ay Z +, we defie the equivalece relatio i Z a b(mod) a-b or equivaletly a ad b leave the same remaider whe divided by We say that a ad b are cogruet modulo (ad the equivalece relatio is called cogruece). For example 27 2(mod5) There are 5 equivalece classes modulo 5, (mod5) (mod5) 2(mod5) 3(mod5) 4(mod5) it is the set {5k k Z} it is the set {5k+ k Z} it is the set {5k+2 k Z} it is the set {5k+3 k Z} it is the set {5k+4 k Z} I geeral, there are equivalece classes modulo (mod) (mod) 2(mod) (-)(mod) They are also kow as residue classes modulo. The questio fid 27(mod5) meas fid the correspodig residue class. Thus 27 2(mod5) As the cogruece modulo reduces to divisibility, some first results are trivial 2

23 Properties of cogrueces Let The a b(mod) ad c d(mod) a+c b+d(mod) a-c b-d(mod) ac bd(mod) Proofs. a b(mod) a-b c d(mod) c-d st property: just otice that (a-b) + (c-d) = (a+c)-(b+d) a+c b+d(mod) 2 d property: similarly 3 rd property: (a-b)(c-d) = ac-bc-ad+bd = ac-bc-ad+2bd-bd = ac-bd-(bc-bd)-(ad-bd) = ac-bd-b(c-d)-d(a-b) Hece ac-bd ac bd(mod) Based o these properties we ca also prove the followig Let a b(mod) The a k b k (mod) k Z + ma mb(mod) m Z f(a) f(b)(mod) where f is a polyomial with iteger coefficiets 2

24 Fermat s Little theorem For ay a Z ad prime p that does ot divide a, a p- (modp) For example 3 4 (mod5) 5 2 (mod3) This theorem helps us to fid the residue class of a large umber. EXAMPLE Fid 5 28 (mod3) Solutio By Fermat s little theorem 5 2 (mod3) (mod3) 5 26 (mod3) (mod3) (mod3) (mod3) Sometimes we caot start by usig Fermat, but we try to start by a similar relatio of the form a (mod) or a -(mod). EXAMPLE Fid the last digit of I other words, fid 3 28 (mod) Solutio Method : We observe that 3 4 (mod). Thus (mod) 3 26 (mod) (mod) (mod) Thus the last digit is 9. 22

25 Method 2: We observe that 3 2 -(mod). Thus (-) 9 (mod) (mod) (mod) Thus the last digit is 9. NOTICE It is ot always possible to start with a relatio of the form a (mod) or a -(mod). We must improvise by usig similar techiques. For x (mod) with x> we ca simplify the base x by choosig a cogruet base y modulo (sice x y(mod) x y (mod). EXAMPLE Fid the last digit of 28 28, that is (mod) Solutio Firstly, we reduce the base 28 to a smaller oe: 28-2(mod) (-2) 28 (mod) (mod) Thus the problem reduces to fidig 2 28 (mod). [2 is always eve, thus we ca t start by 2 (mod) for some. There are may alterative methods; I suggest oe] We observe that 2 4 (mod5). Thus (mod5) 2 26 (mod5) (mod5) But also (mod2). Thus (mod2 5) (mod) (mod) (mod) Therefore, the last digit of is 4. 23

26 Solvig liear cogrueces Cosider the liear cogruece equatio 3x 4(mod5) Notice that if x=a satisfies the equatio the the whole class a(mod5) satisfies the equatio (easy to verify). Amog the 5 classes mod5 oly 3(mod5) satisfies the equatio sice I geeral, 3 3=9 4(mod5) Cosider the liear cogruece with d=gcd(a,). ax b(mod) The equatio has a solutio if ad oly if d b. (a) If d= there is a uique solutio of the form x (mod) (b) If d we divide the whole equatio by d ad get It reduces to case (a). a x b (mod ) Give the uique solutio x (mod ), we obtai d solutios mod: x (mod) b x + (mod) d 2b x + (mod) etc d I fact the problem of solvig a liear cogruet is equivalet to the problem of solvig a Diophatie equatio. Ideed, ax b(mod) ax-b=k ax - k = b I Diophatie equatios we seek pairs (x,k), I liear cogrueces we seek classes x(mod) [igore k] Thus the strategies are very similar. 24

27 We saw i a previous paragraph a example of 3 Diophatie equatios (a) 6x+4y=2 (b) 6x+3y=2 (c) 6x+5y=2 Let us see ow the 3 correspodig liear cogrueces. EXAMPLE Solve the liear cogrueces (a) 6x 2(mod4) (b) 6x 2(mod3) (c) 6x 2(mod5) Solutios (a) gcd(6,4)=2. Sice 2 does ot divide 2, there is o solutio. (b) gcd(6,3)=. Sice 2, there is a uique solutio mod3. The Euclidea algorithm gives 3=2 6+ Hece =3-6 2, that is 6 (-2)+3 = Multiply by 2: 6 (-42)+3 2=2 The solutio is -42(mod3), that is (mod3) (c) gcd(6,5)=3. Sice 3 2, there are 3 solutios (mod5). Divide the equatio by 3: 2x 7(mod5) Now gcd(2,5)=. The Euclidea algorithm gives 5 = 2 2+ Hece =5-2 2, that is 2 (-2)+5 = Multiply by 7: 2 (-4)+5 7=7 The solutio is -4(mod5), that is (mod5) The 3 solutios (mod5) are the followig (mod5) 6(mod5) (mod5) 25

28 Chiese Remaider Theorem Cosider the simultaeous liear cogrueces x b (mod ) x b 2 (mod 2 ) x b k (mod k ) If, 2,, k are pairwise coprime ad = 2 k there is a uique solutio mod. Sketch of the proof for 3 cogrueces x b (mod ) x b 2 (mod 2 ) x b 3 (mod 3 ) Existece - we form 3 auxiliary liear cogrueces 2 3 A (mod ) 3 B (mod 2 ) 2 C (mod 3 ) - we fid the particular solutios A, B, C - We calculate x b ( 2 3 A)+b 2 ( 3 B)+b 3 ( 2 C) The iteger x satisfies the 3 cogrueces (easy to check). Uiqueess If aother iteger y also satisfies the 3 equatios the x y(mod ) x y(mod 2 ) x y(mod 3 ) Thus, 2, 3 divide x-y ad sice they are pairwise coprime = 2 3 divides x-y that is x y(mod) 26

29 EXAMPLE Solve the system of liear cogrueces x (mod2) x 2(mod3) x 4(mod5) Solutio Sice 2,3,5 are pairwise coprime there is a uique solutio mod3. Method (it follows the ratioale of the proof) - we form 3 auxiliary liear cogrueces 3 5A (mod2) i.e 5A (mod2) 2 5B (mod3) i.e B (mod3) 2 3C (mod5) i.e 6C (mod5) - we fid the particular solutios A=, B=, C= - We estimate x (5A)+2(B)+4(6C) = = 59 The solutio is x 59(mod3), that is x 29(mod3). Method 2 (more practical) st equatio x= 2a+ 2 d equatio 2a+ 2(mod3) 2a (mod3) a 2(mod3) hece a=3b+2 x=2(3b+2)+ x=6b+5 3 rd equatio 6b+5 4(mod5) 6b -(mod5) b=4 Therefore x = 29 ad the solutio is x 29(mod3). More geeral form of the Chiese Remaider Theorem a x c (mod ) a 2 x c 2 (mod 2 ) a 3 x c 3 (mod 3 ) We solve the 3 liear cogrueces separately. Suppose they have uique solutios: x b (mod ) x b 2 (mod 2 ) x b 3 (mod 3 ) Thus the problem reduces to the simple case above. 27

30 If for example the first cogruece has 2 solutios x b (mod ) ad x b (mod ) (ad the other two uique) we have to solve two distict systems x b (mod ) x b (mod ) x b 2 (mod 2 ) x b 2 (mod 2 ) x b 3 (mod 3 ) x b 3 (mod 3 ) EXAMPLE Solve the system of liear cogrueces 3x (mod2) 5x (mod3) 2x 3(mod5) Solutio 3x (mod2) has the uique solutio x (mod2) 5x (mod3) has the uique solutio x 2(mod3) 2x 3(mod5) has the uique solutio x 4(mod5) The three ew cogrueces form i fact the system of the previous example, so the solutio is x 29(mod3). EXAMPLE Solve the system of liear cogrueces 2x (mod3) 6x 2(mod4) Solutio The st equatio has the uique solutio x 2(mod3). The 2 d equatio has the two solutios x (mod4) ad x 3(mod4). We obtai two systems x 2(mod3) x 2(mod3) x (mod4) x 3(mod4) The first system has the solutio x 5(mod2). The secod system has the solutio x (mod2). 28

31 A iterestig applicatio of the Chiese remaider theorem is give below. It provides a additioal tool for fidig the residue class of a large umber. EXAMPLE Fid 7 28 (mod3) by usig Chiese remaider theorem. Solutio Sice 3=2 3 5, we split the questio ito 3 problems: Problem : Fid 7 28 (mod2) 7 (mod2) 7 28 (mod2) Problem 2: Fid 7 28 (mod3) 7 (mod3) 7 28 (mod3) Problem 3: Fid 7 28 (mod5) 7 2(mod3) (mod5) Thus we have to fid 2 28 (mod5) 2 4 (mod5) (mod5) 2 26 (mod5) (mod5) (mod5) Thus x=7 28 satisfies the equatios x (mod2) x (mod3) x 4(mod5) By usig the Chiese remaider theorem, there is a uique solutio mod3: st equatio x= 2a+ 2 d equatio 2a+ (mod3) 2a (mod3) a (mod3) hece a=3b x=2(3b)+ x=6b+ 3 rd equatio 6b+ 4(mod5) 6b 3(mod5) b=3 Therefore x = 9 The solutio is x 9(mod3). 29

32 6. REPRESENTATION OF NUMBERS The decimal system vs the base-b system The stadard system of expressig umbers is the decimal system (or base- system) which uses digits,, 2, 3, 4, 5, 6, 7, 8, 9 A iteger i this system has a expressio of the form which implies a a La a a+ a2 + L + a a Followig the same ratioale we ca express a iteger by usig b digits i the base-b system a ab+ a2b + L + a b ab For example, i the base 5 system we use oly 5 digits,,2,3,4 The umber 243 i the base-5 system is equal to that is 778 i the decimal system. We write (243) 5 = (778) Thus, the process of traslatig a umber to the decimal system (243) 5 = (?) is straightforward (just performig the aalysis above). What about the iverse process? For example (778) = (?) 5 We divide cotiuously by 5: 778 : 5 quotiet 355, remaider = : 5 quotiet 7, remaider = 7 : 5 quotiet 4, remaider = 4 : 5 quotiet 2, remaider = 4 2 : 5 quotiet, remaider = 2 We just write the remaiders i the opposite order (778) = (243) 5 2 a a 5 4 3

33 EXAMPLE Express the umber (96) i the biary (i.e. base-2) system. Solutio 96 : 2 quotiet 98, remaider = 98 : 2 quotiet 49, remaider = 49 : 2 quotiet 24, remaider = 24 : 2 quotiet 2, remaider = 2 : 2 quotiet 6, remaider = 6 : 2 quotiet 3, remaider = 3 : 2 quotiet, remaider = : 2 quotiet, remaider = Thus (96) = () 5 I the base-6 system we use the 6 digits,, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F EXAMPLE Express (2AF3) 6 (a) I the decimal system (b) I the biary system Solutio 2 3 (a) (2AF3) 6 = 3 + F 6+ A = = (995) (b) Method : we ca divide cotiuously 995 (decimal) by 2. We will fid () 2 Method 2: (applies i the base-4, base-8, base-6 systems) We traslate each base-6 digit i biary form of legth 4 2 A F Thus the biary form is ( ) 2 3

34 Divisibility tests (i the decimal system) Cosider the iteger a i the decimal system a= (a = a Laa) a + a + L + a+ We ca test if a is divisible by 2,3,4,5,6,7,8,9, or as follows Divisio by 2 a is divisible by 2 the last digit of a is eve a Proof. Therefore a = a + a + L + a a + L (mod2) a (mod2) 2 a 2 a a For example, Divisio by 3 Proof is divisible by 2 sice 8 (last digit) is eve a is divisible by 3 the sum of the digits is divisible by 3 We first observe that for ay k Z + Thus, Therefore (mod3) k a = a + a + L + a+ a a + + a+ a + L (mod3) 3 a 3 sum of digits (mod3) a For example, is divisible by 3 sice sum of digits = 36 which is divisible by 3 32

35 Divisio by 4 Proof. a is divisible by 4 (a a) (last 2 digits) is divisible by 4 We first observe that k Z + with k 2 Thus, Therefore k (mod4) (sice, etc. are divisible by 4) a = a + a + L + a+ a + a (mod4) a) (a (mod4) 4 a 4 (a a) a For example, is divisible by 4 sice 68 (last 2 digits) is divisible by 4 Divisio by 5 a is divisible by 5 the last digit is either or 5 Proof. Therefore a = a + a + L + a a + L (mod5) a (mod5) 5 a 5 a a is or 5 a For example, is ot divisible by 5 sice the last digit is 8 Divisio by 6 a is divisible by 6 it is divisible by 2 ad by 3 For example, is divisible by 6 sice it is by 2 ad by 3 33

36 Divisio by 7 a is divisible by 7 (aa L a) 2a is divisible by 7 Proof. Therefore 2a= 2(a + a + + a+ a) = = L 2(a + a + L + a) (a + a + L + a) + 2a 2a - (a + a + L + a) + 2a (mod7) (a a L a ) + 2a mod7 7 a 7 2a 7 (aa a) 2a L For example, for is ot divisible by 7 sice Divisio by 8 Proof. check = check = check = 3753 check = 3753 check = 369 check = 8 which is ot divisible by 7 a is divisible by 8 (a 2 aa) (last 3 digits) is divisible by 8 We first observe that for ay k Z + with k 3 Thus, k (mod8) (sice, etc. are divisible by 8) a = a + a + L + a+ a 2 a + a 2 aa) + (mod8) (a (mod8) Therefore 8 a 8 (a 2 aa) a For example, is ot divisible by 8 sice 268 (last 3 digits) is ot divisible by 8. 34

37 Divisio by 9 a is divisible by 9 the sum of the digits is divisible by 9 Proof. We first observe that for ay k Z + Thus, Therefore (mod9) k (mod9) a = a + a + L + a+ a a + + a + a + L (mod9) 9 a 9 sum of digits a For example, is divisible by 9 sice sum of digits = 36 which is divisible by 9 Divisio by a is divided by the last digit is Proof. Therefore a = a + a + L + a a + L (mod) a (mod) a a a is a For example, is ot divisible by sice the last digit is ot Amog the two-digit divisors the case of is quite iterestig. 35

38 Divisio by Proof. a is divided by a -a +a 2 -a 3 + is divisible by We first observe that for ay k Z + Thus, Therefore (mod) k (mod) if k is eve k (mod) if k is odd a = a + a + a+ L + a a a + a2 3 a + L (mod) a a a + a + L 2 a3 For example, is ot divisible by sice = 4 is ot divisible by 36

39 7. RECURRENCE RELATIONS Recurrece relatios of first degree Let u + = ru d, with u give The geeral solutio has the form u = ar + b EXAMPLE Give that u = 5 ad u = 3u + 7 fid a geeral term of u Solutio The geeral solutio has the form Sice u = 5, 3a + b= 5 u = a3 + b We fid u 2 = 22, thus 9a + b= 22 The simultaeous equatios give Therefore, u = 7 a= ad b= 2 Recurrece relatios of secod degree (homogeeous case) Let u Au + Bu =, with u, u 2 give We use the characteristic (or auxiliary) equatio r 2 + Ar+ B= If the equatio has two distict solutios r, r2 (either real or complex) the geeral solutio has the form u = ar + br If the equatio has oe double root, the geeral solutio has the form 2 u = ar + br 37

40 EXAMPLE Solve the recurrece relatio problems Solutio (a) u + 4u + 3u, = 5, u 7 2 = u = (b) u + 4u + 4u, = 5, u 8 2 = u = (c) u + 4u + 5u, = 4, u 8 2 = (a) The characteristic equatio is r 2 4r+ 3= u = The solutios are ad 3. Thus the geeral solutio has the form The first two terms give u = a + b3 = a+ b3 a + b= 5 ad a + 3b= 7 Thus a = 4, b= ad the geeral solutio is u + = 4 3 (b) The characteristic equatio is r 2 4r+ 4= The solutio is 2. Thus the geeral solutio has the form u = a2 + b2 The first two terms give a= 5 ad 2a + 2b= 8 Thus a= 5, b= ad the geeral solutio is (c) The characteristic equatio is u = (5 )2 The solutios are r 2 4r+ 5 = 2± i. Thus the geeral solutio has the form u = a(2+ i) + b(2 i) The first two terms give a + b= 4 2a + 2b+ ai bi = 8 Thus a = 2, b= 2 ad the geeral solutio is u = 2(2+ i) + 2(2 i) 38

In number theory we will generally be working with integers, though occasionally fractions and irrationals will come into play.

In number theory we will generally be working with integers, though occasionally fractions and irrationals will come into play. Number Theory Math 5840 otes. Sectio 1: Axioms. I umber theory we will geerally be workig with itegers, though occasioally fractios ad irratioals will come ito play. Notatio: Z deotes the set of all itegers

More information

SOLVED EXAMPLES

SOLVED EXAMPLES Prelimiaries Chapter PELIMINAIES Cocept of Divisibility: A o-zero iteger t is said to be a divisor of a iteger s if there is a iteger u such that s tu I this case we write t s (i) 6 as ca be writte as

More information

CSE 1400 Applied Discrete Mathematics Number Theory and Proofs

CSE 1400 Applied Discrete Mathematics Number Theory and Proofs CSE 1400 Applied Discrete Mathematics Number Theory ad Proofs Departmet of Computer Scieces College of Egieerig Florida Tech Sprig 01 Problems for Number Theory Backgroud Number theory is the brach of

More information

The Structure of Z p when p is Prime

The Structure of Z p when p is Prime LECTURE 13 The Structure of Z p whe p is Prime Theorem 131 If p > 1 is a iteger, the the followig properties are equivalet (1) p is prime (2) For ay [0] p i Z p, the equatio X = [1] p has a solutio i Z

More information

MATH 304: MIDTERM EXAM SOLUTIONS

MATH 304: MIDTERM EXAM SOLUTIONS MATH 304: MIDTERM EXAM SOLUTIONS [The problems are each worth five poits, except for problem 8, which is worth 8 poits. Thus there are 43 possible poits.] 1. Use the Euclidea algorithm to fid the greatest

More information

[ 47 ] then T ( m ) is true for all n a. 2. The greatest integer function : [ ] is defined by selling [ x]

[ 47 ] then T ( m ) is true for all n a. 2. The greatest integer function : [ ] is defined by selling [ x] [ 47 ] Number System 1. Itroductio Pricile : Let { T ( ) : N} be a set of statemets, oe for each atural umber. If (i), T ( a ) is true for some a N ad (ii) T ( k ) is true imlies T ( k 1) is true for all

More information

Summary: Congruences. j=1. 1 Here we use the Mathematica syntax for the function. In Maple worksheets, the function

Summary: Congruences. j=1. 1 Here we use the Mathematica syntax for the function. In Maple worksheets, the function Summary: Cogrueces j whe divided by, ad determiig the additive order of a iteger mod. As described i the Prelab sectio, cogrueces ca be thought of i terms of coutig with rows, ad for some questios this

More information

11. FINITE FIELDS. Example 1: The following tables define addition and multiplication for a field of order 4.

11. FINITE FIELDS. Example 1: The following tables define addition and multiplication for a field of order 4. 11. FINITE FIELDS 11.1. A Field With 4 Elemets Probably the oly fiite fields which you ll kow about at this stage are the fields of itegers modulo a prime p, deoted by Z p. But there are others. Now although

More information

Trial division, Pollard s p 1, Pollard s ρ, and Fermat s method. Christopher Koch 1. April 8, 2014

Trial division, Pollard s p 1, Pollard s ρ, and Fermat s method. Christopher Koch 1. April 8, 2014 Iteger Divisio Algorithm ad Cogruece Iteger Trial divisio,,, ad with itegers mod Iverses mod Multiplicatio ad GCD Iteger Christopher Koch 1 1 Departmet of Computer Sciece ad Egieerig CSE489/589 Algorithms

More information

Solutions to Math 347 Practice Problems for the final

Solutions to Math 347 Practice Problems for the final Solutios to Math 347 Practice Problems for the fial 1) True or False: a) There exist itegers x,y such that 50x + 76y = 6. True: the gcd of 50 ad 76 is, ad 6 is a multiple of. b) The ifiimum of a set is

More information

Basic Sets. Functions. MTH299 - Examples. Example 1. Let S = {1, {2, 3}, 4}. Indicate whether each statement is true or false. (a) S = 4. (e) 2 S.

Basic Sets. Functions. MTH299 - Examples. Example 1. Let S = {1, {2, 3}, 4}. Indicate whether each statement is true or false. (a) S = 4. (e) 2 S. Basic Sets Example 1. Let S = {1, {2, 3}, 4}. Idicate whether each statemet is true or false. (a) S = 4 (b) {1} S (c) {2, 3} S (d) {1, 4} S (e) 2 S. (f) S = {1, 4, {2, 3}} (g) S Example 2. Compute the

More information

Proof of Fermat s Last Theorem by Algebra Identities and Linear Algebra

Proof of Fermat s Last Theorem by Algebra Identities and Linear Algebra Proof of Fermat s Last Theorem by Algebra Idetities ad Liear Algebra Javad Babaee Ragai Youg Researchers ad Elite Club, Qaemshahr Brach, Islamic Azad Uiversity, Qaemshahr, Ira Departmet of Civil Egieerig,

More information

Recurrence Relations

Recurrence Relations Recurrece Relatios Aalysis of recursive algorithms, such as: it factorial (it ) { if (==0) retur ; else retur ( * factorial(-)); } Let t be the umber of multiplicatios eeded to calculate factorial(). The

More information

6 Integers Modulo n. integer k can be written as k = qn + r, with q,r, 0 r b. So any integer.

6 Integers Modulo n. integer k can be written as k = qn + r, with q,r, 0 r b. So any integer. 6 Itegers Modulo I Example 2.3(e), we have defied the cogruece of two itegers a,b with respect to a modulus. Let us recall that a b (mod ) meas a b. We have proved that cogruece is a equivalece relatio

More information

[ 11 ] z of degree 2 as both degree 2 each. The degree of a polynomial in n variables is the maximum of the degrees of its terms.

[ 11 ] z of degree 2 as both degree 2 each. The degree of a polynomial in n variables is the maximum of the degrees of its terms. [ 11 ] 1 1.1 Polyomial Fuctios 1 Algebra Ay fuctio f ( x) ax a1x... a1x a0 is a polyomial fuctio if ai ( i 0,1,,,..., ) is a costat which belogs to the set of real umbers ad the idices,, 1,...,1 are atural

More information

1. By using truth tables prove that, for all statements P and Q, the statement

1. By using truth tables prove that, for all statements P and Q, the statement Author: Satiago Salazar Problems I: Mathematical Statemets ad Proofs. By usig truth tables prove that, for all statemets P ad Q, the statemet P Q ad its cotrapositive ot Q (ot P) are equivalet. I example.2.3

More information

Different kinds of Mathematical Induction

Different kinds of Mathematical Induction Differet ids of Mathematical Iductio () Mathematical Iductio Give A N, [ A (a A a A)] A N () (First) Priciple of Mathematical Iductio Let P() be a propositio (ope setece), if we put A { : N p() is true}

More information

Sequences, Mathematical Induction, and Recursion. CSE 2353 Discrete Computational Structures Spring 2018

Sequences, Mathematical Induction, and Recursion. CSE 2353 Discrete Computational Structures Spring 2018 CSE 353 Discrete Computatioal Structures Sprig 08 Sequeces, Mathematical Iductio, ad Recursio (Chapter 5, Epp) Note: some course slides adopted from publisher-provided material Overview May mathematical

More information

Chapter 2. Periodic points of toral. automorphisms. 2.1 General introduction

Chapter 2. Periodic points of toral. automorphisms. 2.1 General introduction Chapter 2 Periodic poits of toral automorphisms 2.1 Geeral itroductio The automorphisms of the two-dimesioal torus are rich mathematical objects possessig iterestig geometric, algebraic, topological ad

More information

Section 5.1 The Basics of Counting

Section 5.1 The Basics of Counting 1 Sectio 5.1 The Basics of Coutig Combiatorics, the study of arragemets of objects, is a importat part of discrete mathematics. I this chapter, we will lear basic techiques of coutig which has a lot of

More information

62. Power series Definition 16. (Power series) Given a sequence {c n }, the series. c n x n = c 0 + c 1 x + c 2 x 2 + c 3 x 3 +

62. Power series Definition 16. (Power series) Given a sequence {c n }, the series. c n x n = c 0 + c 1 x + c 2 x 2 + c 3 x 3 + 62. Power series Defiitio 16. (Power series) Give a sequece {c }, the series c x = c 0 + c 1 x + c 2 x 2 + c 3 x 3 + is called a power series i the variable x. The umbers c are called the coefficiets of

More information

1 Summary: Binary and Logic

1 Summary: Binary and Logic 1 Summary: Biary ad Logic Biary Usiged Represetatio : each 1-bit is a power of two, the right-most is for 2 0 : 0110101 2 = 2 5 + 2 4 + 2 2 + 2 0 = 32 + 16 + 4 + 1 = 53 10 Usiged Rage o bits is [0...2

More information

SEQUENCES AND SERIES

SEQUENCES AND SERIES Sequeces ad 6 Sequeces Ad SEQUENCES AND SERIES Successio of umbers of which oe umber is desigated as the first, other as the secod, aother as the third ad so o gives rise to what is called a sequece. Sequeces

More information

Zeros of Polynomials

Zeros of Polynomials Math 160 www.timetodare.com 4.5 4.6 Zeros of Polyomials I these sectios we will study polyomials algebraically. Most of our work will be cocered with fidig the solutios of polyomial equatios of ay degree

More information

Exam 2 CMSC 203 Fall 2009 Name SOLUTION KEY Show All Work! 1. (16 points) Circle T if the corresponding statement is True or F if it is False.

Exam 2 CMSC 203 Fall 2009 Name SOLUTION KEY Show All Work! 1. (16 points) Circle T if the corresponding statement is True or F if it is False. 1 (1 poits) Circle T if the correspodig statemet is True or F if it is False T F For ay positive iteger,, GCD(, 1) = 1 T F Every positive iteger is either prime or composite T F If a b mod p, the (a/p)

More information

Complex Numbers Solutions

Complex Numbers Solutions Complex Numbers Solutios Joseph Zoller February 7, 06 Solutios. (009 AIME I Problem ) There is a complex umber with imagiary part 64 ad a positive iteger such that Fid. [Solutio: 697] 4i + + 4i. 4i 4i

More information

We are mainly going to be concerned with power series in x, such as. (x)} converges - that is, lims N n

We are mainly going to be concerned with power series in x, such as. (x)} converges - that is, lims N n Review of Power Series, Power Series Solutios A power series i x - a is a ifiite series of the form c (x a) =c +c (x a)+(x a) +... We also call this a power series cetered at a. Ex. (x+) is cetered at

More information

Lecture 10: Mathematical Preliminaries

Lecture 10: Mathematical Preliminaries Lecture : Mathematical Prelimiaries Obective: Reviewig mathematical cocepts ad tools that are frequetly used i the aalysis of algorithms. Lecture # Slide # I this

More information

Primality Test. Rong-Jaye Chen

Primality Test. Rong-Jaye Chen Primality Test Rog-Jaye Che OUTLINE [1] Modular Arithmetic Algorithms [2] Quadratic Residues [3] Primality Testig p2. [1] Modular Arithmetic Algorithms 1. The itegers a divides b a b a{ 1, b} If b has

More information

Bertrand s Postulate

Bertrand s Postulate Bertrad s Postulate Lola Thompso Ross Program July 3, 2009 Lola Thompso (Ross Program Bertrad s Postulate July 3, 2009 1 / 33 Bertrad s Postulate I ve said it oce ad I ll say it agai: There s always a

More information

SOME TRIBONACCI IDENTITIES

SOME TRIBONACCI IDENTITIES Mathematics Today Vol.7(Dec-011) 1-9 ISSN 0976-38 Abstract: SOME TRIBONACCI IDENTITIES Shah Devbhadra V. Sir P.T.Sarvajaik College of Sciece, Athwalies, Surat 395001. e-mail : drdvshah@yahoo.com The sequece

More information

CHAPTER I: Vector Spaces

CHAPTER I: Vector Spaces CHAPTER I: Vector Spaces Sectio 1: Itroductio ad Examples This first chapter is largely a review of topics you probably saw i your liear algebra course. So why cover it? (1) Not everyoe remembers everythig

More information

MAT1026 Calculus II Basic Convergence Tests for Series

MAT1026 Calculus II Basic Convergence Tests for Series MAT026 Calculus II Basic Covergece Tests for Series Egi MERMUT 202.03.08 Dokuz Eylül Uiversity Faculty of Sciece Departmet of Mathematics İzmir/TURKEY Cotets Mootoe Covergece Theorem 2 2 Series of Real

More information

Math 155 (Lecture 3)

Math 155 (Lecture 3) Math 55 (Lecture 3) September 8, I this lecture, we ll cosider the aswer to oe of the most basic coutig problems i combiatorics Questio How may ways are there to choose a -elemet subset of the set {,,,

More information

Continued Fractions and Pell s Equation

Continued Fractions and Pell s Equation Max Lah Joatha Spiegel May, 06 Abstract Cotiued fractios provide a useful, ad arguably more atural, way to uderstad ad represet real umbers as a alterative to decimal expasios I this paper, we eumerate

More information

Math 475, Problem Set #12: Answers

Math 475, Problem Set #12: Answers Math 475, Problem Set #12: Aswers A. Chapter 8, problem 12, parts (b) ad (d). (b) S # (, 2) = 2 2, sice, from amog the 2 ways of puttig elemets ito 2 distiguishable boxes, exactly 2 of them result i oe

More information

Seunghee Ye Ma 8: Week 5 Oct 28

Seunghee Ye Ma 8: Week 5 Oct 28 Week 5 Summary I Sectio, we go over the Mea Value Theorem ad its applicatios. I Sectio 2, we will recap what we have covered so far this term. Topics Page Mea Value Theorem. Applicatios of the Mea Value

More information

DIVISIBILITY PROPERTIES OF GENERALIZED FIBONACCI POLYNOMIALS

DIVISIBILITY PROPERTIES OF GENERALIZED FIBONACCI POLYNOMIALS DIVISIBILITY PROPERTIES OF GENERALIZED FIBONACCI POLYNOMIALS VERNER E. HOGGATT, JR. Sa Jose State Uiversity, Sa Jose, Califoria 95192 ad CALVIN T. LONG Washigto State Uiversity, Pullma, Washigto 99163

More information

Homework 3. = k 1. Let S be a set of n elements, and let a, b, c be distinct elements of S. The number of k-subsets of S is

Homework 3. = k 1. Let S be a set of n elements, and let a, b, c be distinct elements of S. The number of k-subsets of S is Homewor 3 Chapter 5 pp53: 3 40 45 Chapter 6 p85: 4 6 4 30 Use combiatorial reasoig to prove the idetity 3 3 Proof Let S be a set of elemets ad let a b c be distict elemets of S The umber of -subsets of

More information

Solutions to Problem Set 8

Solutions to Problem Set 8 8.78 Solutios to Problem Set 8. We ow that ( ) ( + x) x. Now we plug i x, ω, ω ad add the three equatios. If 3 the we ll get a cotributio of + ω + ω + ω + ω 0, whereas if 3 we ll get a cotributio of +

More information

Fermat s Little Theorem. mod 13 = 0, = }{{} mod 13 = 0. = a a a }{{} mod 13 = a 12 mod 13 = 1, mod 13 = a 13 mod 13 = a.

Fermat s Little Theorem. mod 13 = 0, = }{{} mod 13 = 0. = a a a }{{} mod 13 = a 12 mod 13 = 1, mod 13 = a 13 mod 13 = a. Departmet of Mathematical Scieces Istructor: Daiva Puciskaite Discrete Mathematics Fermat s Little Theorem 43.. For all a Z 3, calculate a 2 ad a 3. Case a = 0. 0 0 2-times Case a 0. 0 0 3-times a a 2-times

More information

3. Z Transform. Recall that the Fourier transform (FT) of a DT signal xn [ ] is ( ) [ ] = In order for the FT to exist in the finite magnitude sense,

3. Z Transform. Recall that the Fourier transform (FT) of a DT signal xn [ ] is ( ) [ ] = In order for the FT to exist in the finite magnitude sense, 3. Z Trasform Referece: Etire Chapter 3 of text. Recall that the Fourier trasform (FT) of a DT sigal x [ ] is ω ( ) [ ] X e = j jω k = xe I order for the FT to exist i the fiite magitude sese, S = x [

More information

Homework 1 Solutions. The exercises are from Foundations of Mathematical Analysis by Richard Johnsonbaugh and W.E. Pfaffenberger.

Homework 1 Solutions. The exercises are from Foundations of Mathematical Analysis by Richard Johnsonbaugh and W.E. Pfaffenberger. Homewor 1 Solutios Math 171, Sprig 2010 Hery Adams The exercises are from Foudatios of Mathematical Aalysis by Richard Johsobaugh ad W.E. Pfaffeberger. 2.2. Let h : X Y, g : Y Z, ad f : Z W. Prove that

More information

The multiplicative structure of finite field and a construction of LRC

The multiplicative structure of finite field and a construction of LRC IERG6120 Codig for Distributed Storage Systems Lecture 8-06/10/2016 The multiplicative structure of fiite field ad a costructio of LRC Lecturer: Keeth Shum Scribe: Zhouyi Hu Notatios: We use the otatio

More information

CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo

CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo Coutig Methods CSE 191, Class Note 05: Coutig Methods Computer Sci & Eg Dept SUNY Buffalo c Xi He (Uiversity at Buffalo CSE 191 Discrete Structures 1 / 48 Need for Coutig The problem of coutig the umber

More information

AN ALMOST LINEAR RECURRENCE. Donald E. Knuth Calif. Institute of Technology, Pasadena, Calif.

AN ALMOST LINEAR RECURRENCE. Donald E. Knuth Calif. Institute of Technology, Pasadena, Calif. AN ALMOST LINEAR RECURRENCE Doald E. Kuth Calif. Istitute of Techology, Pasadea, Calif. form A geeral liear recurrece with costat coefficiets has the U 0 = a l* U l = a 2 " ' " U r - l = a r ; u = b, u,

More information

Find a formula for the exponential function whose graph is given , 1 2,16 1, 6

Find a formula for the exponential function whose graph is given , 1 2,16 1, 6 Math 4 Activity (Due by EOC Apr. ) Graph the followig epoetial fuctios by modifyig the graph of f. Fid the rage of each fuctio.. g. g. g 4. g. g 6. g Fid a formula for the epoetial fuctio whose graph is

More information

Read carefully the instructions on the answer book and make sure that the particulars required are entered on each answer book.

Read carefully the instructions on the answer book and make sure that the particulars required are entered on each answer book. THE UNIVERSITY OF WARWICK FIRST YEAR EXAMINATION: Jauary 2009 Aalysis I Time Allowed:.5 hours Read carefully the istructios o the aswer book ad make sure that the particulars required are etered o each

More information

Exercises 1 Sets and functions

Exercises 1 Sets and functions Exercises 1 Sets ad fuctios HU Wei September 6, 018 1 Basics Set theory ca be made much more rigorous ad built upo a set of Axioms. But we will cover oly some heuristic ideas. For those iterested studets,

More information

Polynomials with Rational Roots that Differ by a Non-zero Constant. Generalities

Polynomials with Rational Roots that Differ by a Non-zero Constant. Generalities Polyomials with Ratioal Roots that Differ by a No-zero Costat Philip Gibbs The problem of fidig two polyomials P(x) ad Q(x) of a give degree i a sigle variable x that have all ratioal roots ad differ by

More information

Basic Sets. MTH299 - Examples. Example 1. Let S = {1, {2, 3}, 4}. Indicate whether each statement is true or false. (a) S = 4

Basic Sets. MTH299 - Examples. Example 1. Let S = {1, {2, 3}, 4}. Indicate whether each statement is true or false. (a) S = 4 Basic Sets Example 1. Let S = {1, {, 3}, 4}. Idicate whether each statemet is true or false. (a) S = 4 False. Note that the elemets of S are 1, the set {, 3}, ad 4. Thus S = 3. (b) {1} S False. While 1

More information

Square-Congruence Modulo n

Square-Congruence Modulo n Square-Cogruece Modulo Abstract This paper is a ivestigatio of a equivalece relatio o the itegers that was itroduced as a exercise i our Discrete Math class. Part I - Itro Defiitio Two itegers are Square-Cogruet

More information

CHAPTER 5. Theory and Solution Using Matrix Techniques

CHAPTER 5. Theory and Solution Using Matrix Techniques A SERIES OF CLASS NOTES FOR 2005-2006 TO INTRODUCE LINEAR AND NONLINEAR PROBLEMS TO ENGINEERS, SCIENTISTS, AND APPLIED MATHEMATICIANS DE CLASS NOTES 3 A COLLECTION OF HANDOUTS ON SYSTEMS OF ORDINARY DIFFERENTIAL

More information

Homework 9. (n + 1)! = 1 1

Homework 9. (n + 1)! = 1 1 . Chapter : Questio 8 If N, the Homewor 9 Proof. We will prove this by usig iductio o. 2! + 2 3! + 3 4! + + +! +!. Base step: Whe the left had side is. Whe the right had side is 2! 2 +! 2 which proves

More information

Inverse Matrix. A meaning that matrix B is an inverse of matrix A.

Inverse Matrix. A meaning that matrix B is an inverse of matrix A. Iverse Matrix Two square matrices A ad B of dimesios are called iverses to oe aother if the followig holds, AB BA I (11) The otio is dual but we ofte write 1 B A meaig that matrix B is a iverse of matrix

More information

Topic 1 2: Sequences and Series. A sequence is an ordered list of numbers, e.g. 1, 2, 4, 8, 16, or

Topic 1 2: Sequences and Series. A sequence is an ordered list of numbers, e.g. 1, 2, 4, 8, 16, or Topic : Sequeces ad Series A sequece is a ordered list of umbers, e.g.,,, 8, 6, or,,,.... A series is a sum of the terms of a sequece, e.g. + + + 8 + 6 + or... Sigma Notatio b The otatio f ( k) is shorthad

More information

Chapter 4. Fourier Series

Chapter 4. Fourier Series Chapter 4. Fourier Series At this poit we are ready to ow cosider the caoical equatios. Cosider, for eample the heat equatio u t = u, < (4.) subject to u(, ) = si, u(, t) = u(, t) =. (4.) Here,

More information

6.3 Testing Series With Positive Terms

6.3 Testing Series With Positive Terms 6.3. TESTING SERIES WITH POSITIVE TERMS 307 6.3 Testig Series With Positive Terms 6.3. Review of what is kow up to ow I theory, testig a series a i for covergece amouts to fidig the i= sequece of partial

More information

Convergence of random variables. (telegram style notes) P.J.C. Spreij

Convergence of random variables. (telegram style notes) P.J.C. Spreij Covergece of radom variables (telegram style otes).j.c. Spreij this versio: September 6, 2005 Itroductio As we kow, radom variables are by defiitio measurable fuctios o some uderlyig measurable space

More information

The picture in figure 1.1 helps us to see that the area represents the distance traveled. Figure 1: Area represents distance travelled

The picture in figure 1.1 helps us to see that the area represents the distance traveled. Figure 1: Area represents distance travelled 1 Lecture : Area Area ad distace traveled Approximatig area by rectagles Summatio The area uder a parabola 1.1 Area ad distace Suppose we have the followig iformatio about the velocity of a particle, how

More information

3.2.4 Integer and Number Theoretical Functions

3.2.4 Integer and Number Theoretical Functions 418 3. Advaced Mathematics i Mathematica 3.2.4 Iteger ad Number Theoretical Fuctios Mod[k, ] k modulo (positive remaider from dividig k by ) Quotiet[m, ] the quotiet of m ad (iteger part of m/) GCD[ 1,

More information

In algebra one spends much time finding common denominators and thus simplifying rational expressions. For example:

In algebra one spends much time finding common denominators and thus simplifying rational expressions. For example: 74 The Method of Partial Fractios I algebra oe speds much time fidig commo deomiators ad thus simplifyig ratioal epressios For eample: + + + 6 5 + = + = = + + + + + ( )( ) 5 It may the seem odd to be watig

More information

Definition 4.2. (a) A sequence {x n } in a Banach space X is a basis for X if. unique scalars a n (x) such that x = n. a n (x) x n. (4.

Definition 4.2. (a) A sequence {x n } in a Banach space X is a basis for X if. unique scalars a n (x) such that x = n. a n (x) x n. (4. 4. BASES I BAACH SPACES 39 4. BASES I BAACH SPACES Sice a Baach space X is a vector space, it must possess a Hamel, or vector space, basis, i.e., a subset {x γ } γ Γ whose fiite liear spa is all of X ad

More information

LECTURE NOTES, 11/10/04

LECTURE NOTES, 11/10/04 18.700 LECTURE NOTES, 11/10/04 Cotets 1. Direct sum decompositios 1 2. Geeralized eigespaces 3 3. The Chiese remaider theorem 5 4. Liear idepedece of geeralized eigespaces 8 1. Direct sum decompositios

More information

Infinite Sequences and Series

Infinite Sequences and Series Chapter 6 Ifiite Sequeces ad Series 6.1 Ifiite Sequeces 6.1.1 Elemetary Cocepts Simply speakig, a sequece is a ordered list of umbers writte: {a 1, a 2, a 3,...a, a +1,...} where the elemets a i represet

More information

1. ARITHMETIC OPERATIONS IN OBSERVER'S MATHEMATICS

1. ARITHMETIC OPERATIONS IN OBSERVER'S MATHEMATICS 1. ARITHMETIC OPERATIONS IN OBSERVER'S MATHEMATICS We cosider a ite well-ordered system of observers, where each observer sees the real umbers as the set of all iite decimal fractios. The observers are

More information

(A sequence also can be thought of as the list of function values attained for a function f :ℵ X, where f (n) = x n for n 1.) x 1 x N +k x N +4 x 3

(A sequence also can be thought of as the list of function values attained for a function f :ℵ X, where f (n) = x n for n 1.) x 1 x N +k x N +4 x 3 MATH 337 Sequeces Dr. Neal, WKU Let X be a metric space with distace fuctio d. We shall defie the geeral cocept of sequece ad limit i a metric space, the apply the results i particular to some special

More information

Math 609/597: Cryptography 1

Math 609/597: Cryptography 1 Math 609/597: Cryptography 1 The Solovay-Strasse Primality Test 12 October, 1993 Burt Roseberg Revised: 6 October, 2000 1 Itroductio We describe the Solovay-Strasse primality test. There is quite a bit

More information

and each factor on the right is clearly greater than 1. which is a contradiction, so n must be prime.

and each factor on the right is clearly greater than 1. which is a contradiction, so n must be prime. MATH 324 Summer 200 Elemetary Number Theory Solutios to Assigmet 2 Due: Wedesday July 2, 200 Questio [p 74 #6] Show that o iteger of the form 3 + is a prime, other tha 2 = 3 + Solutio: If 3 + is a prime,

More information

Chapter 6 Infinite Series

Chapter 6 Infinite Series Chapter 6 Ifiite Series I the previous chapter we cosidered itegrals which were improper i the sese that the iterval of itegratio was ubouded. I this chapter we are goig to discuss a topic which is somewhat

More information

Once we have a sequence of numbers, the next thing to do is to sum them up. Given a sequence (a n ) n=1

Once we have a sequence of numbers, the next thing to do is to sum them up. Given a sequence (a n ) n=1 . Ifiite Series Oce we have a sequece of umbers, the ext thig to do is to sum them up. Give a sequece a be a sequece: ca we give a sesible meaig to the followig expressio? a = a a a a While summig ifiitely

More information

MA131 - Analysis 1. Workbook 3 Sequences II

MA131 - Analysis 1. Workbook 3 Sequences II MA3 - Aalysis Workbook 3 Sequeces II Autum 2004 Cotets 2.8 Coverget Sequeces........................ 2.9 Algebra of Limits......................... 2 2.0 Further Useful Results........................

More information

Modern Algebra. Previous year Questions from 2017 to Ramanasri

Modern Algebra. Previous year Questions from 2017 to Ramanasri Moder Algebra Previous year Questios from 017 to 199 Ramaasri 017 S H O P NO- 4, 1 S T F L O O R, N E A R R A P I D F L O U R M I L L S, O L D R A J E N D E R N A G A R, N E W D E L H I. W E B S I T E

More information

Lesson 10: Limits and Continuity

Lesson 10: Limits and Continuity www.scimsacademy.com Lesso 10: Limits ad Cotiuity SCIMS Academy 1 Limit of a fuctio The cocept of limit of a fuctio is cetral to all other cocepts i calculus (like cotiuity, derivative, defiite itegrals

More information

Lecture 23 Rearrangement Inequality

Lecture 23 Rearrangement Inequality Lecture 23 Rearragemet Iequality Holde Lee 6/4/ The Iequalities We start with a example Suppose there are four boxes cotaiig $0, $20, $50 ad $00 bills, respectively You may take 2 bills from oe box, 3

More information

3 Gauss map and continued fractions

3 Gauss map and continued fractions ICTP, Trieste, July 08 Gauss map ad cotiued fractios I this lecture we will itroduce the Gauss map, which is very importat for its coectio with cotiued fractios i umber theory. The Gauss map G : [0, ]

More information

3.2 Properties of Division 3.3 Zeros of Polynomials 3.4 Complex and Rational Zeros of Polynomials

3.2 Properties of Division 3.3 Zeros of Polynomials 3.4 Complex and Rational Zeros of Polynomials Math 60 www.timetodare.com 3. Properties of Divisio 3.3 Zeros of Polyomials 3.4 Complex ad Ratioal Zeros of Polyomials I these sectios we will study polyomials algebraically. Most of our work will be cocered

More information

Machine Learning Theory Tübingen University, WS 2016/2017 Lecture 12

Machine Learning Theory Tübingen University, WS 2016/2017 Lecture 12 Machie Learig Theory Tübige Uiversity, WS 06/07 Lecture Tolstikhi Ilya Abstract I this lecture we derive risk bouds for kerel methods. We will start by showig that Soft Margi kerel SVM correspods to miimizig

More information

Wrap of Number Theory & Midterm Review. Recall: Fundamental Theorem of Arithmetic

Wrap of Number Theory & Midterm Review. Recall: Fundamental Theorem of Arithmetic Wrap of Number Theory & Midterm Review F Primes, GCD, ad LCM (Sectio 3.5 i text) F Midterm Review Sectios.-.7 Propositioal logic Predicate logic Rules of iferece ad proofs Sectios.-.3 Sets ad Set operatios

More information

Lecture Notes for CS 313H, Fall 2011

Lecture Notes for CS 313H, Fall 2011 Lecture Notes for CS 313H, Fall 011 August 5. We start by examiig triagular umbers: T () = 1 + + + ( = 0, 1,,...). Triagular umbers ca be also defied recursively: T (0) = 0, T ( + 1) = T () + + 1, or usig

More information

SEQUENCE AND SERIES NCERT

SEQUENCE AND SERIES NCERT 9. Overview By a sequece, we mea a arragemet of umbers i a defiite order accordig to some rule. We deote the terms of a sequece by a, a,..., etc., the subscript deotes the positio of the term. I view of

More information

1 Generating functions for balls in boxes

1 Generating functions for balls in boxes Math 566 Fall 05 Some otes o geeratig fuctios Give a sequece a 0, a, a,..., a,..., a geeratig fuctio some way of represetig the sequece as a fuctio. There are may ways to do this, with the most commo ways

More information

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

M A T H F A L L CORRECTION. Algebra I 1 4 / 1 0 / U N I V E R S I T Y O F T O R O N T O M A T H 2 4 0 F A L L 2 0 1 4 HOMEWORK ASSIGNMENT #4 CORRECTION Algebra I 1 4 / 1 0 / 2 0 1 4 U N I V E R S I T Y O F T O R O N T O P r o f e s s o r : D r o r B a r - N a t a Correctio Homework Assigmet

More information

Math 4107: Abstract Algebra I Fall Webwork Assignment1-Groups (5 parts/problems) Solutions are on Webwork.

Math 4107: Abstract Algebra I Fall Webwork Assignment1-Groups (5 parts/problems) Solutions are on Webwork. Math 4107: Abstract Algebra I Fall 2017 Assigmet 1 Solutios 1. Webwork Assigmet1-Groups 5 parts/problems) Solutios are o Webwork. 2. Webwork Assigmet1-Subgroups 5 parts/problems) Solutios are o Webwork.

More information

7 Sequences of real numbers

7 Sequences of real numbers 40 7 Sequeces of real umbers 7. Defiitios ad examples Defiitio 7... A sequece of real umbers is a real fuctio whose domai is the set N of atural umbers. Let s : N R be a sequece. The the values of s are

More information

Properties and Tests of Zeros of Polynomial Functions

Properties and Tests of Zeros of Polynomial Functions Properties ad Tests of Zeros of Polyomial Fuctios The Remaider ad Factor Theorems: Sythetic divisio ca be used to fid the values of polyomials i a sometimes easier way tha substitutio. This is show by

More information

MT5821 Advanced Combinatorics

MT5821 Advanced Combinatorics MT5821 Advaced Combiatorics 1 Coutig subsets I this sectio, we cout the subsets of a -elemet set. The coutig umbers are the biomial coefficiets, familiar objects but there are some ew thigs to say about

More information

TEACHER CERTIFICATION STUDY GUIDE

TEACHER CERTIFICATION STUDY GUIDE COMPETENCY 1. ALGEBRA SKILL 1.1 1.1a. ALGEBRAIC STRUCTURES Kow why the real ad complex umbers are each a field, ad that particular rigs are ot fields (e.g., itegers, polyomial rigs, matrix rigs) Algebra

More information

Injections, Surjections, and the Pigeonhole Principle

Injections, Surjections, and the Pigeonhole Principle Ijectios, Surjectios, ad the Pigeohole Priciple 1 (10 poits Here we will come up with a sloppy boud o the umber of parethesisestigs (a (5 poits Describe a ijectio from the set of possible ways to est pairs

More information

Product measures, Tonelli s and Fubini s theorems For use in MAT3400/4400, autumn 2014 Nadia S. Larsen. Version of 13 October 2014.

Product measures, Tonelli s and Fubini s theorems For use in MAT3400/4400, autumn 2014 Nadia S. Larsen. Version of 13 October 2014. Product measures, Toelli s ad Fubii s theorems For use i MAT3400/4400, autum 2014 Nadia S. Larse Versio of 13 October 2014. 1. Costructio of the product measure The purpose of these otes is to preset the

More information

Objective Mathematics

Objective Mathematics . If sum of '' terms of a sequece is give by S Tr ( )( ), the 4 5 67 r (d) 4 9 r is equal to : T. Let a, b, c be distict o-zero real umbers such that a, b, c are i harmoic progressio ad a, b, c are i arithmetic

More information

MATH1035: Workbook Four M. Daws, 2009

MATH1035: Workbook Four M. Daws, 2009 MATH1035: Workbook Four M. Daws, 2009 Roots of uity A importat result which ca be proved by iductio is: De Moivre s theorem atural umber case: Let θ R ad N. The cosθ + i siθ = cosθ + i siθ. Proof: The

More information

ANSWERS SOLUTIONS iiii i. and 1. Thus, we have. i i i. i, A.

ANSWERS SOLUTIONS iiii i. and 1. Thus, we have. i i i. i, A. 013 ΜΑΘ Natioal Covetio ANSWERS (1) C A A A B (6) B D D A B (11) C D D A A (16) D B A A C (1) D B C B C (6) D C B C C 1. We have SOLUTIONS 1 3 11 61 iiii 131161 i 013 013, C.. The powers of i cycle betwee

More information

Math 140A Elementary Analysis Homework Questions 1

Math 140A Elementary Analysis Homework Questions 1 Math 14A Elemetary Aalysis Homewor Questios 1 1 Itroductio 1.1 The Set N of Natural Numbers 1 Prove that 1 2 2 2 2 1 ( 1(2 1 for all atural umbers. 2 Prove that 3 11 (8 5 4 2 for all N. 4 (a Guess a formula

More information

First selection test, May 1 st, 2008

First selection test, May 1 st, 2008 First selectio test, May st, 2008 Problem. Let p be a prime umber, p 3, ad let a, b be iteger umbers so that p a + b ad p 2 a 3 + b 3. Show that p 2 a + b or p 3 a 3 + b 3. Problem 2. Prove that for ay

More information

PROBLEM SET 5 SOLUTIONS 126 = , 37 = , 15 = , 7 = 7 1.

PROBLEM SET 5 SOLUTIONS 126 = , 37 = , 15 = , 7 = 7 1. Math 7 Sprig 06 PROBLEM SET 5 SOLUTIONS Notatios. Give a real umber x, we will defie sequeces (a k ), (x k ), (p k ), (q k ) as i lecture.. (a) (5 pts) Fid the simple cotiued fractio represetatios of 6

More information

CSI 2101 Discrete Structures Winter Homework Assignment #4 (100 points, weight 5%) Due: Thursday, April 5, at 1:00pm (in lecture)

CSI 2101 Discrete Structures Winter Homework Assignment #4 (100 points, weight 5%) Due: Thursday, April 5, at 1:00pm (in lecture) CSI 101 Discrete Structures Witer 01 Prof. Lucia Moura Uiversity of Ottawa Homework Assigmet #4 (100 poits, weight %) Due: Thursday, April, at 1:00pm (i lecture) Program verificatio, Recurrece Relatios

More information

2.1. The Algebraic and Order Properties of R Definition. A binary operation on a set F is a function B : F F! F.

2.1. The Algebraic and Order Properties of R Definition. A binary operation on a set F is a function B : F F! F. CHAPTER 2 The Real Numbers 2.. The Algebraic ad Order Properties of R Defiitio. A biary operatio o a set F is a fuctio B : F F! F. For the biary operatios of + ad, we replace B(a, b) by a + b ad a b, respectively.

More information

Topics. Homework Problems. MATH 301 Introduction to Analysis Chapter Four Sequences. 1. Definition of convergence of sequences.

Topics. Homework Problems. MATH 301 Introduction to Analysis Chapter Four Sequences. 1. Definition of convergence of sequences. MATH 301 Itroductio to Aalysis Chapter Four Sequeces Topics 1. Defiitio of covergece of sequeces. 2. Fidig ad provig the limit of sequeces. 3. Bouded covergece theorem: Theorem 4.1.8. 4. Theorems 4.1.13

More information

Induction: Solutions

Induction: Solutions Writig Proofs Misha Lavrov Iductio: Solutios Wester PA ARML Practice March 6, 206. Prove that a 2 2 chessboard with ay oe square removed ca always be covered by shaped tiles. Solutio : We iduct o. For

More information