cse547, math547 DISCRETE MATHEMATICS Short Review for Final

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

cse547, math547 DISCRETE MATHEMATICS Professor Anita Wasilewska

CHAPTER 2 INFINITE SUMS (SERIES) Lecture Notes PART 1

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

Discrete Mathematics. Spring 2017

2 Elementary number theory

Homework 3, solutions

CS Asymptotic Notations for Algorithm Analysis

MATH CSE20 Homework 5 Due Monday November 4

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

M381 Number Theory 2004 Page 1

CHAPTER 4. Series. 1. What is a Series?

Infinite Series. MATH 211, Calculus II. J. Robert Buchanan. Spring Department of Mathematics

cse547, math547 DISCRETE MATHEMATICS Professor Anita Wasilewska

CSE 20 DISCRETE MATH. Winter

16.4. Power Series. Introduction. Prerequisites. Learning Outcomes

Absolute Convergence and the Ratio Test

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

CS Asymptotic Notations for Algorithm Analysis Outline

Math 163: Lecture notes

Homework 1 Solutions

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

Spring Nikos Apostolakis

Math Homework # 4

MATH 361: NUMBER THEORY FOURTH LECTURE

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

Lecture 11 - Basic Number Theory.

Absolute Convergence and the Ratio Test

Number Theory and Graph Theory. Prime numbers and congruences.

PRACTICE PROBLEMS: SET 1

CSE 1400 Applied Discrete Mathematics Proofs

MATH10040: Numbers and Functions Homework 1: Solutions

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

Divisibility. Chapter Divisors and Residues

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

The Euclidean Algorithm and Multiplicative Inverses

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

CHAPTER 8: EXPLORING R

Taylor and Maclaurin Series

Yale University Department of Mathematics Math 350 Introduction to Abstract Algebra Fall Midterm Exam Review Solutions

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

Ch 4.2 Divisibility Properties

Mathematical Foundations of Cryptography

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

Writing proofs for MATH 51H Section 2: Set theory, proofs of existential statements, proofs of uniqueness statements, proof by cases

Principle of Mathematical Induction

Basic counting techniques. Periklis A. Papakonstantinou Rutgers Business School

Lecture Notes. Advanced Discrete Structures COT S

Assignment 4. u n+1 n(n + 1) i(i + 1) = n n (n + 1)(n + 2) n(n + 2) + 1 = (n + 1)(n + 2) 2 n + 1. u n (n + 1)(n + 2) n(n + 1) = n

Discrete Structures Lecture Primes and Greatest Common Divisor

MATH 117 LECTURE NOTES

PGSS Discrete Math Solutions to Problem Set #4. Note: signifies the end of a problem, and signifies the end of a proof.

Testing Series with Mixed Terms

Mathematical Structures Combinations and Permutations

Review of Power Series

Algorithms: Background

LIMITS AT INFINITY MR. VELAZQUEZ AP CALCULUS

Intermediate Math Circles February 26, 2014 Diophantine Equations I

WORKSHEET ON NUMBERS, MATH 215 FALL. We start our study of numbers with the integers: N = {1, 2, 3,...}

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.

Homework 8 Solutions to Selected Problems

1.2 The Well-Ordering Principle

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.

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

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

3.4 The Fundamental Theorem of Algebra

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

Limit and Continuity

The theory of numbers

Introduction to Information Security

Definitions & Theorems

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

Math 141: Lecture 19

, p 1 < p 2 < < p l primes.

Introduction to Series and Sequences Math 121 Calculus II Spring 2015

Math 319 Problem Set #2 Solution 14 February 2002

Full file at

a n b n ) n N is convergent with b n is convergent.

Power Series and Analytic Function

2.2 Some Consequences of the Completeness Axiom

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?

Permutations and Polynomials Sarah Kitchen February 7, 2006

Introduction to Abstract Mathematics

MATH 1372, SECTION 33, MIDTERM 3 REVIEW ANSWERS

COT 2104 Homework Assignment 1 (Answers)

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

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

Midterm Preparation Problems

Simultaneous Linear, and Non-linear Congruences

Math 127 Homework. Mary Radcliffe. Due 29 March Complete the following problems. Fully justify each response.

Math Bootcamp 2012 Miscellaneous

MATH 55 - HOMEWORK 6 SOLUTIONS. 1. Section = 1 = (n + 1) 3 = 2. + (n + 1) 3. + (n + 1) 3 = n2 (n + 1) 2.

1 More concise proof of part (a) of the monotone convergence theorem.

CHAPTER 4: EXPLORING Z

Section 8.7. Taylor and MacLaurin Series. (1) Definitions, (2) Common Maclaurin Series, (3) Taylor Polynomials, (4) Applications.

Similar to sequence, note that a series converges if and only if its tail converges, that is, r 1 r ( 1 < r < 1), ( 1) k k. r k =

Elementary Algebra Chinese Remainder Theorem Euclidean Algorithm

Math Homework 2

2MA105 Algebraic Structures I

Transcription:

cse547, math547 DISCRETE MATHEMATICS Short Review for Final Professor Anita Wasilewska Spring 2017

CHAPTER 2 PART 5: INFINITE SUMS (SERIES)

Infinite Series D 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

Example Show The infinite sum Σ n=1 ( 1)n diverges The infinite sum Σ n=0 (k+1)(k+2) converges to 1 1

Example Example The infinite sum Σ n=0 ( 1)n diverges Proof We use the Perturbation Method to eveluate S n + a n+1 = a 0 + n k=0 a k+1 S n = Σ n k=0 ( 1)k = 1 + ( 1)n 2 = 1 2 + ( 1)n 2 and we prove that lim (1 n 2 + ( 1)n ) does not exist 2

Example Example The infinite sum Σ n=0 Σ n=0 1 (k+1)(k+2) 1 (k + 1)(k + 2) = 1 converges to 1; i.e. Proof: first we evaluate S n = Σ n k=0 1 (k+1)(k+2) as follows and S n = Σ n 1 k=0 (k + 1)(k + 2) = Σn k=0 k 2 = Σ n+1 k=0 k 2 δk = 1 n+1 = 1 k + 1 0 n + 2 + 1 lim n S n = lim n 1 n + 2 + 1 = 1

Theorem Theorem If the infinite sum Σ n=1 a n converges, then lim n a n = 0 Observe that this is equivalent to If lim n a n 0 then Σ n=1 a n diverges The reverse statement If lim n a n = 0, then Σ n=1 a n converges is not always true The infinite harmonic sum 1 even if lim n n = 0 H = Σ n=1 1 n diverges to

Theorem Theorem (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 (Cauchy s Criterium) If a n 0 and lim n n a n < 1 then the series a n n=1 converges

Theorems Theorem (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

Convergence/Divergence Remark It can happen that for a certain infinite sum a n n=1 a n+1 lim = 1 = lim n a n n a n n In this case our Divergence Criteria do not decide whether the infinite sum converges or diverges We say in this case that that the infinite sum does not react on the criteria There are other, stronger criteria for convergence and divergence

Examples Example The Harmonic series H = D Alambert s Criterium Proof: Consider a n+1 lim = lim n a n n Since 1 n+1 1 n n=1 1 n 1 = lim n (1 + 1 n ) = 1 does not react on a n+1 lim = 1 we say, that the Harmonic series n a n H = n=1 does not react on D Alambert s criterium 1 n

Examples Example 1 The series n=1 (n + 1) 2 does not react on D Alambert s Criterium ( Proof: Consider, a n+1 lim n a n lim n a n+1 a n = lim n n 2 + 2n + 1 n 2 + 4n + 1 = lim n Since, = lim n (n + 1) 2 (n + 2) 2 1 + 2 n + 1 n 2 1 + 4 n + 4 n 2 = 1 a n+1 lim = 1 we say, that the series n a n n=1 1 (n + 1) 2 does not react on D Alambert s criterium

Example 1 Example 1 n=1 c n n! converges for c > 0 HINT : Use D Alembert Proof: a n+1 a n = cn+1 c n n! (n + 1)! = c n + 1

Example lim n a n+1 a n = lim n c n + 1 By D Alembert s Criterium = 0 < 1 n=1 c n n! converges

Example Example Proof: n=1 n! n n a n = n! n n converges a n+1 = a n + 1 a n = n!(n + 1) (n + 1) n+1 n! n(n+1) (n + 1) n+1. n n n! n n = (n + 1). (n + 1) n+1

Example (n + 1) n+1 = (n + 1) n (n + 1) a n + 1 a n = (n + 1) n n (n + 1) n (n + 1) n = ( n + 1 )n = 1 (1 + 1 n )n

Example a n+1 1 lim = lim n a n n (1 + 1 n )n = 1 e < 1 By D Alembert s Criterium the series, n=1 n! n n converges

Exercise Exercise Prove that Solution: c n lim n n! We have proved in Example = 0 for c > 0 c n n=1 n! converges for c > 0

Exercise Theorem says: IF a n converges THEN lim a n = 0 n n=1 Hence by Example and Theorem we have proved that c n lim = 0 for c > 0 n n! Observe that we have also proved that n! than c n grows faster

CHAPTER 2: Some Problems ESTION Part1 Prove that n ( 1) k k=2 2k 1 = n 1 ( 1) k k=1 2k + 1 Part 2 Use partial fractions and Part 1 result (must use it!) to evaluate the sum ESTION S = n ( 1) k k k=1 (4k 2 1) Show that the nth element of the sequence: 1,2,2,3,3,3,4,4,4,4,5,5,5,5,5,... is 2n + 1 2. Hint: Let P(x) represent the position of the last occurrence of x in the sequence. Use the fact that P(x) = x(x+1) 2. Let the nth element be m. You need to find m.

CHAPTER 3 INTEGER FUNCTIONS Here is the proofs in course material you need to know for 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 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

Spectrum Definition For any α R we define a SPECTRUM of α as Spec(α) = { α, 2α, 3α } Spec( 2) = {1,2,4,5,7,8,9,11,12,14,15,16, } Spec(2 + 2) == {3,6,10,13,17,20, }

Spectrum Partition Theorem Spectrum Partition Theorem 1. Spec( 2) and Spec(2 + 2) 2. Spec( 2) Spec(2 + 2) = 3. Spec( 2) Spec(2 + 2) = N {0}

Finite Partition Theorem First, we define certain finite subsets A n, B n of Spec( 2) and Spec(2 + 2), respectively Definition A n = {m Spec( 2) : m n} B n = {m Spec(2 + 2) m n} Remember A n and B n are subsets of {1,2,...n} for n N {0}

Finite Partition Theorem Given sets A n = {m Spec( 2) : m n} B n = {m Spec(2 + 2) : m n} Finite Spectrum Partition Theorem 1. A n and B n 2. A n B n = 3. A n B n = {1,2,...n}

Counting Elements Before trying to prove the Finite Fact we first look for a closed formula to count the number of elements in subsets of a finite size of any spectrum Given a spectrum Spec(α) Denote by N(α, n) the number of elements in the Spec(α) that are n, i.e. N(α,n) = {m Spec(α) : m n}

Spectrum Partitions 1. Justify that [ N(α,n) = k < n + 1 ] α k>0 2. Write a detailed proof of n + 1 N(α,n) = 1 α 3. Write a detailed proof of Finite Fact A n + B n = n for any n N {0}

Spectrum Partitions Finite Spectrum Partition Theorem 1. A n and B n 2. A n B n = 3. A n B n = {1,2,...n}

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}

Generalization General Spectrum Partition Theorem Let α > 0, β > 0, α, β R Q be such that Then the sets 1 α + 1 β = 1 A = { nα : B = { nβ : n N {0}} = Spec(α) n N {0}} = Spec(β) form a partition of Z + = N {0}, 1. A and B 2. A B = 3. A B = Z + i.e.

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

Chapter 4 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 the following Fact gcd(ka,kb) = k gcd(a,b)

Chapter 4 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

Chapter 4 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 Prove Theorem For any a,b Z + such that lcm(a,b) and gcd(a, b) exist lcm(a,b) gcd(a,b) = ab

Chapter 5 Study Homework PROBLEMS QUESTION: Prove that ( x m) ( m k ) = ( x k ) holds for all m,k Z and x R. ( ) x k m k Consider all cases and Polynomial argument QUESTION Prove the Hexagon property (n,k N) ( )( )( ) ( )( n 1 n n + 1 n 1 n + 1 = k 1 k + 1 k k k + 1 )( n k 1 )

Chapter 5 QUESTION Evaluate Hint use the formula ( a + b a + k k )( b + c b + k k ( ) n 3 ( 1) k k )( ) c + a ( 1) k (a + b + c)! = c + k a!b!c!