cse547,mat547 DISCRETE MATHEMATICS Lectures Content For Midterm 2 and Final Infinite Series, Chapter 3 and Chapter 4

Similar documents
cse547, math547 DISCRETE MATHEMATICS Short Review for Final

cse547, math547 DISCRETE MATHEMATICS Professor Anita Wasilewska

Discrete Mathematics. Spring 2017

The Euclidean Algorithm and Multiplicative Inverses

Ch 4.2 Divisibility Properties

Homework 3, solutions

CHAPTER 2 INFINITE SUMS (SERIES) Lecture Notes PART 1

M381 Number Theory 2004 Page 1

Applied Cryptography and Computer Security CSE 664 Spring 2017

Proofs. Methods of Proof Divisibility Floor and Ceiling Contradiction & Contrapositive Euclidean Algorithm. Reading (Epp s textbook)

Discrete Structures Lecture Primes and Greatest Common Divisor

2 Elementary number theory

Divisibility in the Fibonacci Numbers. Stefan Erickson Colorado College January 27, 2006

Outline. Some Review: Divisors. Common Divisors. Primes and Factors. b divides a (or b is a divisor of a) if a = mb for some m

Outline. AIT 682: Network and Systems Security. GCD and Euclid s Algorithm Modulo Arithmetic Modular Exponentiation Discrete Logarithms

Math.3336: Discrete Mathematics. Primes and Greatest Common Divisors

cse 311: foundations of computing Spring 2015 Lecture 12: Primes, GCD, applications

Course: CS1050c (Fall '03) Homework2 Solutions Instructor: Prasad Tetali TAs: Kim, Woo Young: Deeparnab Chakrabarty:

CSC 474 Network Security. Outline. GCD and Euclid s Algorithm. GCD and Euclid s Algorithm Modulo Arithmetic Modular Exponentiation Discrete Logarithms

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.

Do not open this exam until you are told to begin. You will have 75 minutes for the exam.

Lecture 11 - Basic Number Theory.

CISC-102 Fall 2017 Week 6

a the relation arb is defined if and only if = 2 k, k

Outline. Number Theory and Modular Arithmetic. p-1. Definition: Modular equivalence a b [mod n] (a mod n) = (b mod n) n (a-b)

Name (print): Question 4. exercise 1.24 (compute the union, then the intersection of two sets)

18 Divisibility. and 0 r < d. Lemma Let n,d Z with d 0. If n = qd+r = q d+r with 0 r,r < d, then q = q and r = r.

cse 311: foundations of computing Fall 2015 Lecture 12: Primes, GCD, applications

Congruence Classes. Number Theory Essentials. Modular Arithmetic Systems

Name CMSC203 Fall2008 Exam 2 Solution Key Show All Work!!! Page (16 points) Circle T if the corresponding statement is True or F if it is False.

Chapter 9 Basic Number Theory for Public Key Cryptography. WANG YANG

Part V. Chapter 19. Congruence of integers

CSE 20 DISCRETE MATH. Winter

Exercises Exercises. 2. Determine whether each of these integers is prime. a) 21. b) 29. c) 71. d) 97. e) 111. f) 143. a) 19. b) 27. c) 93.

Solutions Math 308 Homework 9 11/20/2018. Throughout, let a, b, and c be non-zero integers.

12x + 18y = 50. 2x + v = 12. (x, v) = (6 + k, 2k), k Z.

Lecture Notes. Advanced Discrete Structures COT S

Introduction to Information Security

Number Theory and Graph Theory. Prime numbers and congruences.

1. (16 points) Circle T if the corresponding statement is True or F if it is False.

Fall 2015 Lecture 14: Modular congruences. cse 311: foundations of computing

Induction. Induction. Induction. Induction. Induction. Induction 2/22/2018

COT 3100 Applications of Discrete Structures Dr. Michael P. Frank

Senior Math Circles Cryptography and Number Theory Week 2

Discrete Mathematics GCD, LCM, RSA Algorithm

MATH10040: Numbers and Functions Homework 1: Solutions

ECE 646 Lecture 5. Mathematical Background: Modular Arithmetic

Divisibility. Chapter Divisors and Residues

not to be republished NCERT REAL NUMBERS CHAPTER 1 (A) Main Concepts and Results

MATH 361: NUMBER THEORY FOURTH LECTURE

Lecture 4: Number theory

Final Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is

CS Asymptotic Notations for Algorithm Analysis

Know the Well-ordering principle: Any set of positive integers which has at least one element contains a smallest element.

MATH 501 Discrete Mathematics. Lecture 6: Number theory. German University Cairo, Department of Media Engineering and Technology.

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

Proof 1: Using only ch. 6 results. Since gcd(a, b) = 1, we have

Mathematical Foundations of Cryptography

2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?

CISC-102 Winter 2016 Lecture 11 Greatest Common Divisor

Lecture 7.5: Euclidean domains and algebraic integers

Lecture Notes on DISCRETE MATHEMATICS. Eusebius Doedel

The set of integers will be denoted by Z = {, -3, -2, -1, 0, 1, 2, 3, 4, }

CSE 311: Foundations of Computing. Lecture 12: Two s Complement, Primes, GCD

ICS141: Discrete Mathematics for Computer Science I

Chapter 5.1: Induction

Lecture 7: Number Theory Steven Skiena. skiena

SOLUTIONS Math 345 Homework 6 10/11/2017. Exercise 23. (a) Solve the following congruences: (i) x (mod 12) Answer. We have

Lecture 7 Number Theory Euiseong Seo

CS 173: Discrete Structures, Fall 2009 Homework 4 Solutions

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

Introduction Integers. Discrete Mathematics Andrei Bulatov

4 Powers of an Element; Cyclic Groups

PRACTICE PROBLEMS: SET 1

Chapter V. Theory of the Integers. Mathematics is the queen of the sciences and number theory is the queen of mathematics. Carl Friedrich Gauss

Ch 3.2: Direct proofs

8. Given a rational number r, prove that there exist coprime integers p and q, with q 0, so that r = p q. . For all n N, f n = an b n 2

An integer p is prime if p > 1 and p has exactly two positive divisors, 1 and p.

CSC 474 Information Systems Security

Math Homework # 4

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

ENEE 457: Computer Systems Security. Lecture 5 Public Key Crypto I: Number Theory Essentials

Carmen s Core Concepts (Math 135)

1 Lecture 1 (1/5/2009)

1 Lecture 1 (1/5/2009)

Section 4.2: Mathematical Induction 1

MATH 1372, SECTION 33, MIDTERM 3 REVIEW ANSWERS

Discrete Mathematics. Spring 2017

Selected exercises from Abstract Algebra by Dummit and Foote (3rd edition).

Numbers and their divisors

CSE 1400 Applied Discrete Mathematics Proofs

Fall 2014 CMSC250/250H Midterm II

CHAPTER 8: EXPLORING R

Simultaneous Linear, and Non-linear Congruences

Number Theory Notes Spring 2011

Lecture 3.1: Public Key Cryptography I

2.3 In modular arithmetic, all arithmetic operations are performed modulo some integer.

Elementary Number Theory MARUCO. Summer, 2018

Induction and Recursion

Transcription:

cse547,mat547 DISCRETE MATHEMATICS Lectures Content For Midterm 2 and Final Infinite Series, Chapter 3 and Chapter 4 Professor Anita Wasilewska Spring 2013

CHAPTER 2 PART 5: INFINITE SUMS (SERIES) Here are Definitions, Basic Theorems and Examples you must know

Series Definitions, Theorems, Simple Examples Must Know STATEMENTS- do not need Theorems Definition If the limit lim n S n exists and is finite, i.e. lim S n = S, n to PROVE the then we say that the infinite sum Σ n=1 a n and we write converges to S Σ n=1 a n = lim n Σ n k=1 a k = S, otherwise the infinite sum diverges

Definitions, Theorems, Simple Examples Show The infinite sum Σ n=1 ( 1)n diverges The infinite sum Σ n=0 (k+1)(k+2) converges to 1 1

Definitions, Theorems, Simple Examples Theorem 1 If the infinite sum Σ n=1 a n converges, then lim n a n = 0 Definition 5 An infinite sum Σ n=1 ( 1)n+1 a n, for a n 0 is called alternating infinite sum (alternating series)

Definitions, Theorems, Simple Examples Theorem 6 Comparing the series Let Σ n=1 a n be an infinite sum and {b n } be a sequence such that 0 b n a n for all n If the infinite sum Σ n=1 a n converges then Σ n=1 b n also converges and Σ n=1 b n Σ n=1 a n Use Theorem 6 to prove that the series, converges Σ n=1 1 (n + 1) 2

Definitions, Theorems, Simple Examples Theorem 7 (D Alambert s Criterium) If a n 0 and lim n a n+1 a n < 1 then the series a n n=1 converges Theorem 8 (Cauchy s Criterium) If a n 0 and lim n n a n < 1 then the series a n n=1 converges

Definitions, Theorems, Simple Examples Theorem 9 (Divergence Criteria) If a n 0 and lim n a n+1 a n > 1 or lim n n a n > 1 then the series a n n=1 diverges Prove 1 The series n=1 (n + 1) 2 does not react on D Alambert s Criterium (Theorem 7)

Definitions, Theorems, Simple Examples STUDY ALL EXAMPLES for Lecture 10

CHAPTER 3 INTEGER FUNCTIONS Here is the proofs in course material you need to know for Midterm 2 and Final Plus the regular Homeworks Problems

PART1: Floors and Ceilings Prove the following Fact 3 For any x,y R x + y = x + y when 0 {x} + {y} < 1 and x + y = x + y + 1 when 1 {x} + {y} < 2 Fact 5 For any x R, x 0 the following property holds x = x

PART1: Floors and Ceilings Prove the following properties of characteristic functions F1 For any predicates P(k), Q(k) [P(k) Q(k)] = [P(k)][Q(k)] F2 For any predicates P(k), Q(k) [P(k) Q(k)] = [P(k)] + [Q(k)] [P(k) Q(k)]

PART1: Floors and Ceilings Prove the Combined Domains Property Property 4 a k = a k + Q(k) R(k) Q(k) R(k) where, as before, a k a k Q(k) R(k) k K and K = K 1 K 2 K i for 1 i n and the above formula represents single ( i =1) and multiple (i > 1) sums

PART1: Floors and Ceilings Study all 7 steps of our explanations to BOOK solution I will give you ONE to write in full on the test 1000 1000[ 1 W = [n is a winner ] = 3 n n ] n=1[ n=1 2 W = 3 k = n ] [k n][1 n 1000] k,n 3 W = k,n,m 4 W = 1 + [ k 3 n < (k + 1) 3] [n = km][1 n 1000] k,m 5 W = 1 + k,m 6 W = 1 + 1 k<10 [ k 3 km < (k + 1) 3] [1 k < 10] [ m [k 2... )] (k + 1)3 [1 k < 10] k ) ( k 2 + 3k + 3 + 1 k k 2 7 W = 1 + (3k + 4) = 1 + 7 + 31 9 = 172 2 1 k<10

PART2: Spectrum Partitions Prove the following properties Justify that P1 P2 R(k) = [R(k)] k [R(k)] = 1 = R(k) k R(k) [ N(α,n) = k < n + 1 ] α k>0 Write a detailed proof of n + 1 N(α,n) = 1 α Write a detailed proof of Finite Fact A n + B n = n for any n N {0}

PART2: Spectrum Partitions Prove the following Fact P2 If A + B = X and A, B and A B = then the sets A, B form a finite partition of X Spectrum Fact Spec( 2) Spec(2 + 2) = Finite Spectrum Partition Theorem 1. A n and B n 2. A n B n = 3. A n B n = {1,2,...n}

PART2: Spectrum Partitions Prove - use your favorite proof out of the two I have provided Spectrum Partition Theorem 1. Spec( 2) and Spec(2 + 2) 2. Spec( 2) Spec(2 + 2) = 3. Spec( 2) Spec(2 + 2) = N {0}

PART3: Sums Write detailed evaluation of k 0 k<n Hint: use 0 k<n k = 0 k<n m m 0, m= k

Chapter 4 Material in the Lecture 12

Theorems, Proofs and Problems JUSTIFY correctness of the following example and be ready to do similar problems upwards or downwards Represent 19151 in a system with base 12 Example So we get 19151 = 1595 12 + 11 1595 = 132 12 + 11 132 = 11 12 + 0 a 0 = 11, a 1 = 11, a 2 = 0, a 3 = 11 19151 = (11,0,11,11) 12

Theorems, Proofs and Problems Write a proof of Step 1 or Step 2 of the Proof of the Correctness of Euclid Algorithm You can use Lecture OR BOOK formalization and proofs Use Euclid Algorithms to prove When a product ac of two natural numbers is divisible by a number b that is relatively prime to a, the factor c must be divisible by b Use Euclid Algorithms to prove gcd(ka,kb) = k gcd(a,b)

Theorems, Proofs and Problems Prove: Any common multiple of a and b is divisible by lcm(a,b) Prove the following p,q1 q 2...q n P (p n k=1 q k 1 i n (p = q i ) ) Write down a formal formulation (in all details ) of the Main Factorization Theorem and its General Form

Theorems, Proofs and Problems Prove that the representation given by Main Factorization Theorem is unique Explain why and show that 18 =< 1,2 > Prove k = gcd(m,n) if and only if k p = min{m p,n p } k = lcd(m,n) if and only if k p = max{m p,n p } Let m = 2 0 3 3 5 2 7 0 n = 2 0 3 1 5 0 7 3 Evaluate gcd( m, n) and k = lcd( m, n)

Exercises 1. Use Facts 6-8 to prove Theorem 5 For any a,b Z + such that lcm(a,b) and gcd(a, b) exist lcm(a,b) gcd(a,b) = ab 2. Use Theorem 5 and the BOOK version of Euclid Algorithm to express lcm(n mod m, m) when nmodm 0 This is Ch4 Problem 2