intro to mathematical reasoning via discrete mathematics
play

Intro to Mathematical Reasoning via Discrete Mathematics - PowerPoint PPT Presentation

Intro to Mathematical Reasoning via Discrete Mathematics CMSC-37115 Instructor: Laszlo Babai University of Chicago Week 1, Tuesday, September 29, 2020 CMSC-37115 Mathematical Reasoning Sets, functions, numbers Sets of numbers: N = { 1 , 2


  1. Intro to Mathematical Reasoning via Discrete Mathematics CMSC-37115 Instructor: Laszlo Babai University of Chicago Week 1, Tuesday, September 29, 2020 CMSC-37115 Mathematical Reasoning

  2. Sets, functions, numbers Sets of numbers: N = { 1 , 2 , 3 , . . . } natural numbers Z = { . . . , − 3 , − 2 , − 1 , 0 , 1 , 2 , 3 , . . . } integers Q rational numbers R real numbers C complex numbers CMSC-37115 Mathematical Reasoning

  3. Some facts from basic arithmetic Two operations: addition, multiplication Identities a + b = b + a commutativity of addition ab = ba commutativity of multiplication ( a + b ) + c = a + ( b + c ) associativity of addition ( ab ) c = a ( bc ) associativity of multiplication An identity that connects the two operations? CMSC-37115 Mathematical Reasoning

  4. Some facts from basic arithmetic Two operations: addition, multiplication Identities a + b = b + a commutativity of addition ab = ba commutativity of multiplication ( a + b ) + c = a + ( b + c ) associativity of addition ( ab ) c = a ( bc ) associativity of multiplication An identity that connects the two operations? a ( b + c ) = ab + ac distributivity CMSC-37115 Mathematical Reasoning

  5. Sets, functions, numbers Ordering (for Z , R ): a ≥ b CMSC-37115 Mathematical Reasoning

  6. Sets, functions, numbers Ordering (for Z , R ): a ≥ b Most important property of ordering: If a ≥ b and b ≥ c then a ≥ c CMSC-37115 Mathematical Reasoning

  7. Sets, functions, numbers Ordering (for Z , R ): a ≥ b Most important property of ordering: If a ≥ b and b ≥ c then a ≥ c Notation ( a ≥ b ) ∧ ( b ≥ c ) ⇒ ( a ≥ c ) What is this property called? CMSC-37115 Mathematical Reasoning

  8. Sets, functions, numbers Ordering (for Z , R ): a ≥ b Most important property of ordering: If a ≥ b and b ≥ c then a ≥ c Notation ( a ≥ b ) ∧ ( b ≥ c ) ⇒ ( a ≥ c ) What is this property called? transitivity of the “ ≥ ” relation CMSC-37115 Mathematical Reasoning

  9. Sets, functions, numbers Ordering (for Z , R ): a ≥ b Most important property of ordering: If a ≥ b and b ≥ c then a ≥ c Notation ( a ≥ b ) ∧ ( b ≥ c ) ⇒ ( a ≥ c ) What is this property called? transitivity of the “ ≥ ” relation Relation between ordering and addition? CMSC-37115 Mathematical Reasoning

  10. Sets, functions, numbers Ordering (for Z , R ): a ≥ b Most important property of ordering: If a ≥ b and b ≥ c then a ≥ c Notation ( a ≥ b ) ∧ ( b ≥ c ) ⇒ ( a ≥ c ) What is this property called? transitivity of the “ ≥ ” relation Relation between ordering and addition? ( a ≥ b ) ⇒ ( a + c ≥ b + c ) CMSC-37115 Mathematical Reasoning

  11. Number theory Focus on Z (for a while) Central concept: divisibility “8 divides 48” and “8 does not divide 28” 8 ∤ 28 Notation 8 | 48, Terminology. All of the following statements are synonymous: 8 divides 48 8 is a divisor of 48 48 is a multiple of 8 48 is divisible by 8 Their common abbreviation is 8 | 48. More examples: 9 | 63, 9 | − 63, 7 | 63, 37 | 999 CMSC-37115 Mathematical Reasoning

  12. Divisibility Definition When do we say that a | b ? CMSC-37115 Mathematical Reasoning

  13. Divisibility Definition When do we say that a | b ? a | b if there exists x such that ax = b Notation ( ∃ x )( ax = b ) We call such an x a witness (to the validity of the satement ( ∃ x )( ax = b ) ∃ – existential quantifier “there exists . . . such that” CMSC-37115 Mathematical Reasoning

  14. Divisibility Definition When do we say that a | b ? a | b if there exists x such that ax = b Notation ( ∃ x )( ax = b ) We call such an x a witness (to the validity of the satement ( ∃ x )( ax = b ) ∃ – existential quantifier “there exists . . . such that” ∀ – universal quantifier “for all” ( ∀ a , b )( a + b = b + a ) CMSC-37115 Mathematical Reasoning

  15. Quantifiers ∃ – existential quantifier “there exists . . . such that” ∀ – universal quantifier “for all” CMSC-37115 Mathematical Reasoning

  16. Quantifiers ∃ – existential quantifier “there exists . . . such that” ∀ – universal quantifier “for all” True or false? ( ∀ a )( ∃ x )( ax = 1 ) CMSC-37115 Mathematical Reasoning

  17. Quantifiers ∃ – existential quantifier “there exists . . . such that” ∀ – universal quantifier “for all” True or false? ( ∀ a )( ∃ x )( ax = 1 ) False: a = 0 is a counterexample: ( ∄ x )( 0 · x = 1 ) CMSC-37115 Mathematical Reasoning

  18. Quantifiers ∃ – existential quantifier “there exists . . . such that” ∀ – universal quantifier “for all” True or false? ( ∀ a )( ∃ x )( ax = 1 ) False: a = 0 is a counterexample: ( ∄ x )( 0 · x = 1 ) Tue or false? ( ∀ a )( a � 0 ⇒ ( ∃ x )( ax = 1 )) CMSC-37115 Mathematical Reasoning

  19. Quantifiers ∃ – existential quantifier “there exists . . . such that” ∀ – universal quantifier “for all” True or false? ( ∀ a )( ∃ x )( ax = 1 ) False: a = 0 is a counterexample: ( ∄ x )( 0 · x = 1 ) Tue or false? ( ∀ a )( a � 0 ⇒ ( ∃ x )( ax = 1 )) Depends of the universe over which the quantifiers range CMSC-37115 Mathematical Reasoning

  20. Quantifiers ∃ – existential quantifier “there exists . . . such that” ∀ – universal quantifier “for all” True or false? ( ∀ a )( ∃ x )( ax = 1 ) False: a = 0 is a counterexample: ( ∄ x )( 0 · x = 1 ) Tue or false? ( ∀ a )( a � 0 ⇒ ( ∃ x )( ax = 1 )) Depends of the universe over which the quantifiers range True if the universe is R , false if the universe is Z CMSC-37115 Mathematical Reasoning

  21. Quantifiers ∃ – existential quantifier “there exists . . . such that” ∀ – universal quantifier “for all” True or false? ( ∀ a )( ∃ x )( ax = 1 ) False: a = 0 is a counterexample: ( ∄ x )( 0 · x = 1 ) Tue or false? ( ∀ a )( a � 0 ⇒ ( ∃ x )( ax = 1 )) Depends of the universe over which the quantifiers range True if the universe is R , false if the universe is Z ( ∀ a ∈ R )(( a � 0 ) ⇒ ( ∃ x ∈ R )( ax = 1 )) TRUE ( ∀ a ∈ Z )(( a � 0 ) ⇒ ( ∃ x ∈ Z )( ax = 1 )) FALSE CMSC-37115 Mathematical Reasoning

  22. Quantifiers ∃ – existential quantifier “there exists . . . such that” ∀ – universal quantifier “for all” True or false? ( ∀ a )( ∃ x )( ax = 1 ) False: a = 0 is a counterexample: ( ∄ x )( 0 · x = 1 ) Tue or false? ( ∀ a )( a � 0 ⇒ ( ∃ x )( ax = 1 )) Depends of the universe over which the quantifiers range True if the universe is R , false if the universe is Z ( ∀ a ∈ R )(( a � 0 ) ⇒ ( ∃ x ∈ R )( ax = 1 )) TRUE ( ∀ a ∈ Z )(( a � 0 ) ⇒ ( ∃ x ∈ Z )( ax = 1 )) FALSE Mixed universes ( ∀ a ∈ Z )(( a � 0 ) ⇒ ( ∃ x ∈ R )( ax = 1 )) TRUE CMSC-37115 Mathematical Reasoning

  23. Proof Let us fix Z as our universe. How do we prove that this statement is false: ( ∀ a )( a � 0 ⇒ ( ∃ x )( ax = 1 )) We need to find a counterexample, i.e., need to show ( ∃ a )( a � 0 � ( ∃ x )( ax = 1 )) What would be such an a ? CMSC-37115 Mathematical Reasoning

  24. Proof Let us fix Z as our universe. How do we prove that this statement is false: ( ∀ a )( a � 0 ⇒ ( ∃ x )( ax = 1 )) We need to find a counterexample, i.e., need to show ( ∃ a )( a � 0 � ( ∃ x )( ax = 1 )) What would be such an a ? a = 2, for instance. ( 2 � 0 ) � ( ∃ x )( ax = 1 )) When is an inference A ⇒ B false? If A is true but B is false CMSC-37115 Mathematical Reasoning

  25. Proof Let us fix Z as our universe. How do we prove that this statement is false: ( ∀ a )( a � 0 ⇒ ( ∃ x )( ax = 1 )) We need to find a counterexample, i.e., need to show ( ∃ a )( a � 0 � ( ∃ x )( ax = 1 )) What would be such an a ? a = 2, for instance. ( 2 � 0 ) � ( ∃ x )( ax = 1 )) When is an inference A ⇒ B false? If A is true but B is false In our case, A is true ( 2 � 0 ) ; we need to show that B is false, i.e., ( ∄ x )( 2 x = 1 ) , i.e., ( ∀ x )( 2 x � 1 ) . Which is obvious: if x ≤ 0 then 2 x ≤ 0, and if x ≥ 1 then 2 x ≥ 2. � CMSC-37115 Mathematical Reasoning

  26. Quantifiers Negation of a universally quantified formula begins with an existential quantifier and vice versa CMSC-37115 Mathematical Reasoning

  27. Divisibility “ a divides b ” a | b e.g., 8 | 24 Recall DEF: a | b if ( ∃ x )( ax = b ) A little theorem: ( ∀ a , b , c )(( a | b ) ∧ ( b | c ) ⇒ ( a | c )) the “divisibility” relation is CMSC-37115 Mathematical Reasoning

  28. Divisibility “ a divides b ” a | b e.g., 8 | 24 Recall DEF: a | b if ( ∃ x )( ax = b ) A little theorem: ( ∀ a , b , c )(( a | b ) ∧ ( b | c ) ⇒ ( a | c )) the “divisibility” relation is transitive CMSC-37115 Mathematical Reasoning

  29. Divisibility “ a divides b ” a | b e.g., 8 | 24 Recall DEF: a | b if ( ∃ x )( ax = b ) A little theorem: ( ∀ a , b , c )(( a | b ) ∧ ( b | c ) ⇒ ( a | c )) the “divisibility” relation is transitive Proof. Assumptions: ( ∃ x )( ax = b ) and ( ∃ y )( by = c ) What is the desired conclusion? CMSC-37115 Mathematical Reasoning

  30. Divisibility “ a divides b ” a | b e.g., 8 | 24 Recall DEF: a | b if ( ∃ x )( ax = b ) A little theorem: ( ∀ a , b , c )(( a | b ) ∧ ( b | c ) ⇒ ( a | c )) the “divisibility” relation is transitive Proof. Assumptions: ( ∃ x )( ax = b ) and ( ∃ y )( by = c ) What is the desired conclusion? ( ∃ z )( az = c ) CMSC-37115 Mathematical Reasoning

Recommend


More recommend