Discrete Mathematics Discrete Mathematics CS 2610

Total Page:16

File Type:pdf, Size:1020Kb

Discrete Mathematics Discrete Mathematics CS 2610 Discrete Mathematics CS 2610 January 27, 2009 - part 2 Agenda Previously: Set theory Subsets (proper subsets) & set equality StSet cardilitdinality Power sets n-Tuples & Cartesian product Set operations Union, Intersection, Complement, Difference Venn diagrams Now Symmetric difference Proving properties about sets Sets as bit-strings Functions 2 Symmetric Difference The symmetric difference, A ⊕ B, is: A ⊕ B = { x | (x ∈ A ∧ x ∉ B) v (x ∈ B ∧ x ∉ A)} (i.e., x is in one or the other, but not in both) IitIs it commu tti?tative ? 3 Set Identities Identity: A ∪∅= A , A ∩ U = A Domination: A ∪ U = U , A ∩∅= ∅ Idempotent: A ∪ A = A = A ∩ A DblDouble complement : ( A ) = A Commutative: A ∪ B = B ∪ A , A ∩ B = B ∩ A Associative: A ∪ (B ∪ C) = (A ∪ B) ∪ C A ∩ (B ∩ C) = (A ∩ B) ∩ C 4 Set Identities Absorption: A ∪ (A ∩ B) = A A ∩ (A ∪ B) = A Complement: A ∪ A¯ = U A ∩ A¯ = ∅ Distributive: A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C) A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C) 5 De Morgan’s Rules De Morgan’s I (A U B) = A ∩ B DeMorgan’s II (A ∩ B) = A U B 6 Generalized Union n UAi = A1 ∪ A2 ∪... ∪ An i=1 The union of a collection of sets contains those elements that belong to at least one set in the collec tion. 7 Generalized Intersection n ∩Ai = A1 ∩ A2 ∩... ∩ An i=1 The intersection of a collection of sets contains those elements that belong to all the sets in the collec tion. 8 Proving Set Identities How would we prove set identities of the form S1 = S2 Where S1 and S2 are sets? 1. Prove S1 ⊆ S2 and S2 ⊆ S1 separately. Use previously proven set identities. Use logical equivalences to prove equivalent set definitions. 2. Use a membership table. 9 Proof Using Logical Equivalences Prove that (A U B) = A ∩ B Proof: First show (A U B) ⊆ A ∩ B, then the reverse. Let c ∈ (A U B) c ∈ {x | x ∈ A ∨ x ∈ B} (Def. of union) ¬ (c ∈ A ∨ c ∈ B) (Def. of complement) ¬ (c ∈ A) ∧¬(c ∈ B) (De Morgan’s rule) (c ∉ A) ∧ (c ∉ B) (Def. of ∉) (c ∈ A) ∧ (c ∈ B) (Def. of complement) c ∈ {x | x ∈ A ∧ x ∈ B} (Set builder notation) c ∈ A ∩ B (Def. of intersection) Therefore, (A U B) ⊆ A ∩ B. Each step above is reversible, therefore A ∩ B ⊆ (A U B). 10 Proof Using Membership Table Using membership tables (A U B) = A ∩ B 1 : means x is in the Set 0 : means x is not in the Set A B A BAA ∩ B U BA U B 1 1 0 0 0 1 0 1 0 0 1 0 1 0 0 1 1 0 0 1 0 0 0 1 1 1 0 1 The two columns are the same. Therefore, x ∈ (A U B) iff x ∈ A ∩ B – i.e., the equality holds. 11 Sets as Bit-Strings For a finite universal set U = {a1, a2, …,an} 1. Assign an arbitrary order to the elements of U. 2. Represent a subset A of U as a string of n bits, B = b1b2…bn ⎧0 if a i ∉ A bi = ⎨ ⎩1 if a i ∈A Example: U = {a1, a2, …, a5}, A = {a1, a3, a4 } B = 10110 12 Sets as Bit-Strings Set theoretic operations A 1 0 1 0 1 B 0 0 1 1 0 Bit-wise OR A ∪ B 1 0 1 1 1 Bit-wise AND A ∩ B 0 0 1 0 0 Bit-wise XOR A ⊕ B 1 0 0 1 1 13 Functions (Section 2.3) Let A and B be nonempty sets. A function f from A to B is an assignment of exactly one element of B to each element of A. We write f(a ) = b if b is the unique ele me nt of B assig ne d by the function f to the element a in A. If f is a function from A to B, we write f : A → B. Functions are sometimes called mappings. 14 Example A = {Mike, Mario, Kim, Joe, Jill} B = {John Smith, Edward Groth, Jim Farrow} Let f:A → B where f(a) means father of a. f Mike John Smith Mario Edward Gro th Kim Richard Boon Joe Jill A B Can grandmother of a be a function ? 15.
Recommended publications
  • A Class of Symmetric Difference-Closed Sets Related to Commuting Involutions John Campbell
    A class of symmetric difference-closed sets related to commuting involutions John Campbell To cite this version: John Campbell. A class of symmetric difference-closed sets related to commuting involutions. Discrete Mathematics and Theoretical Computer Science, DMTCS, 2017, Vol 19 no. 1. hal-01345066v4 HAL Id: hal-01345066 https://hal.archives-ouvertes.fr/hal-01345066v4 Submitted on 18 Mar 2017 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Discrete Mathematics and Theoretical Computer Science DMTCS vol. 19:1, 2017, #8 A class of symmetric difference-closed sets related to commuting involutions John M. Campbell York University, Canada received 19th July 2016, revised 15th Dec. 2016, 1st Feb. 2017, accepted 10th Feb. 2017. Recent research on the combinatorics of finite sets has explored the structure of symmetric difference-closed sets, and recent research in combinatorial group theory has concerned the enumeration of commuting involutions in Sn and An. In this article, we consider an interesting combination of these two subjects, by introducing classes of symmetric difference-closed sets of elements which correspond in a natural way to commuting involutions in Sn and An. We consider the natural combinatorial problem of enumerating symmetric difference-closed sets consisting of subsets of sets consisting of pairwise disjoint 2-subsets of [n], and the problem of enumerating symmetric difference-closed sets consisting of elements which correspond to commuting involutions in An.
    [Show full text]
  • 1 Measurable Sets
    Math 4351, Fall 2018 Chapter 11 in Goldberg 1 Measurable Sets Our goal is to define what is meant by a measurable set E ⊆ [a; b] ⊂ R and a measurable function f :[a; b] ! R. We defined the length of an open set and a closed set, denoted as jGj and jF j, e.g., j[a; b]j = b − a: We will use another notation for complement and the notation in the Goldberg text. Let Ec = [a; b] n E = [a; b] − E. Also, E1 n E2 = E1 − E2: Definitions: Let E ⊆ [a; b]. Outer measure of a set E: m(E) = inffjGj : for all G open and E ⊆ Gg. Inner measure of a set E: m(E) = supfjF j : for all F closed and F ⊆ Eg: 0 ≤ m(E) ≤ m(E). A set E is a measurable set if m(E) = m(E) and the measure of E is denoted as m(E). The symmetric difference of two sets E1 and E2 is defined as E1∆E2 = (E1 − E2) [ (E2 − E1): A set is called an Fσ set (F-sigma set) if it is a union of a countable number of closed sets. A set is called a Gδ set (G-delta set) if it is a countable intersection of open sets. Properties of Measurable Sets on [a; b]: 1. If E1 and E2 are subsets of [a; b] and E1 ⊆ E2, then m(E1) ≤ m(E2) and m(E1) ≤ m(E2). In addition, if E1 and E2 are measurable subsets of [a; b] and E1 ⊆ E2, then m(E1) ≤ m(E2).
    [Show full text]
  • Regularity Properties and Determinacy
    Regularity Properties and Determinacy MSc Thesis (Afstudeerscriptie) written by Yurii Khomskii (born September 5, 1980 in Moscow, Russia) under the supervision of Dr. Benedikt L¨owe, and submitted to the Board of Examiners in partial fulfillment of the requirements for the degree of MSc in Logic at the Universiteit van Amsterdam. Date of the public defense: Members of the Thesis Committee: August 14, 2007 Dr. Benedikt L¨owe Prof. Dr. Jouko V¨a¨an¨anen Prof. Dr. Joel David Hamkins Prof. Dr. Peter van Emde Boas Brian Semmes i Contents 0. Introduction............................ 1 1. Preliminaries ........................... 4 1.1 Notation. ........................... 4 1.2 The Real Numbers. ...................... 5 1.3 Trees. ............................. 6 1.4 The Forcing Notions. ..................... 7 2. ClasswiseConsequencesofDeterminacy . 11 2.1 Regularity Properties. .................... 11 2.2 Infinite Games. ........................ 14 2.3 Classwise Implications. .................... 16 3. The Marczewski-Burstin Algebra and the Baire Property . 20 3.1 MB and BP. ......................... 20 3.2 Fusion Sequences. ...................... 23 3.3 Counter-examples. ...................... 26 4. DeterminacyandtheBaireProperty.. 29 4.1 Generalized MB-algebras. .................. 29 4.2 Determinacy and BP(P). ................... 31 4.3 Determinacy and wBP(P). .................. 34 5. Determinacy andAsymmetric Properties. 39 5.1 The Asymmetric Properties. ................. 39 5.2 The General Definition of Asym(P). ............. 43 5.3 Determinacy and Asym(P). ................. 46 ii iii 0. Introduction One of the most intriguing developments of modern set theory is the investi- gation of two-player infinite games of perfect information. Of course, it is clear that applied game theory, as any other branch of mathematics, can be modeled in set theory. But we are talking about the converse: the use of infinite games as a tool to study fundamental set theoretic questions.
    [Show full text]
  • The Axiom of Choice
    THE AXIOM OF CHOICE THOMAS J. JECH State University of New York at Bufalo and The Institute for Advanced Study Princeton, New Jersey 1973 NORTH-HOLLAND PUBLISHING COMPANY - AMSTERDAM LONDON AMERICAN ELSEVIER PUBLISHING COMPANY, INC. - NEW YORK 0 NORTH-HOLLAND PUBLISHING COMPANY - 1973 AN Rights Reserved. No part of this publication may be reproduced, stored in a retrieval system or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, without the prior permission of the Copyright owner. Library of Congress Catalog Card Number 73-15535 North-Holland ISBN for the series 0 7204 2200 0 for this volume 0 1204 2215 2 American Elsevier ISBN 0 444 10484 4 Published by: North-Holland Publishing Company - Amsterdam North-Holland Publishing Company, Ltd. - London Sole distributors for the U.S.A. and Canada: American Elsevier Publishing Company, Inc. 52 Vanderbilt Avenue New York, N.Y. 10017 PRINTED IN THE NETHERLANDS To my parents PREFACE The book was written in the long Buffalo winter of 1971-72. It is an attempt to show the place of the Axiom of Choice in contemporary mathe- matics. Most of the material covered in the book deals with independence and relative strength of various weaker versions and consequences of the Axiom of Choice. Also included are some other results that I found relevant to the subject. The selection of the topics and results is fairly comprehensive, nevertheless it is a selection and as such reflects the personal taste of the author. So does the treatment of the subject. The main tool used throughout the text is Cohen’s method of forcing.
    [Show full text]
  • The Duality of Similarity and Metric Spaces
    applied sciences Article The Duality of Similarity and Metric Spaces OndˇrejRozinek 1,2,* and Jan Mareš 1,3,* 1 Department of Process Control, Faculty of Electrical Engineering and Informatics, University of Pardubice, 530 02 Pardubice, Czech Republic 2 CEO at Rozinet s.r.o., 533 52 Srch, Czech Republic 3 Department of Computing and Control Engineering, Faculty of Chemical Engineering, University of Chemistry and Technology, 166 28 Prague, Czech Republic * Correspondence: [email protected] (O.R.); [email protected] (J.M.) Abstract: We introduce a new mathematical basis for similarity space. For the first time, we describe the relationship between distance and similarity from set theory. Then, we derive generally valid relations for the conversion between similarity and a metric and vice versa. We present a general solution for the normalization of a given similarity space or metric space. The derived solutions lead to many already used similarity and distance functions, and combine them into a unified theory. The Jaccard coefficient, Tanimoto coefficient, Steinhaus distance, Ruzicka similarity, Gaussian similarity, edit distance and edit similarity satisfy this relationship, which verifies our fundamental theory. Keywords: similarity metric; similarity space; distance metric; metric space; normalized similarity metric; normalized distance metric; edit distance; edit similarity; Jaccard coefficient; Gaussian similarity 1. Introduction Mathematical spaces have been studied for centuries and belong to the basic math- ematical theories, which are used in various real-world applications [1]. In general, a mathematical space is a set of mathematical objects with an associated structure. This Citation: Rozinek, O.; Mareš, J. The structure can be specified by a number of operations on the objects of the set.
    [Show full text]
  • The Associativity of the Symmetric Difference
    VOL. 79, NO. 5, DECEMBER 2006 391 REFERENCES 1. R. Laatsch, Measuring the abundance of integers, this MAGAZINE 59 (1986), 84–92. 2. K. H. Rosen, Elementary Number Theory and its Applications, 5th ed., Pearson Addison Wesley, Boston, 2005. 3. R. F. Ryan, A simpler dense proof regarding the abundancy index, this MAGAZINE 76 (2003), 299–301. 4. P. A. Weiner, The abundancy index, a measure of perfection, this MAGAZINE 73 (2000), 307–310. The Associativity of the Symmetric Difference MAJID HOSSEINI State University of New York at New Paltz New Paltz, NY 12561–2443 [email protected] The symmetric difference of two sets A and B is defined by AB = (A \ B) ∪ (B \ A). It is easy to verify that is commutative. However, associativity of is not as straightforward to establish, and usually it is given as a challenging exercise to students learning set operations (see [1, p. 32, exercise 15], [3, p. 34, exercise 2(a)], and [2,p.18]). In this note we provide a short proof of the associativity of . This proof is not new. A slightly different version appears in Yousefnia [4]. However, the proof is not readily accessible to anyone unfamiliar with Persian. Consider three sets A, B,andC. We define our universe to be X = A ∪ B ∪ C.For any subset U of X, define the characteristic function of U by 1, if x ∈ U; χ (x) = U 0, if x ∈ X \ U. Two subsets U and V of X are equal if and only if χU = χV . The following lemma is the key to our proof.
    [Show full text]
  • A Complete Characterization of Maximal Symmetric Difference-Free Families on {1,…N}
    East Tennessee State University Digital Commons @ East Tennessee State University Electronic Theses and Dissertations Student Works 8-2006 A Complete Characterization of Maximal Symmetric Difference-Free families on {1,…n}. Travis Gerarde Buck East Tennessee State University Follow this and additional works at: https://dc.etsu.edu/etd Part of the Set Theory Commons Recommended Citation Buck, Travis Gerarde, "A Complete Characterization of Maximal Symmetric Difference-Free families on {1,…n}." (2006). Electronic Theses and Dissertations. Paper 2210. https://dc.etsu.edu/etd/2210 This Dissertation - Open Access is brought to you for free and open access by the Student Works at Digital Commons @ East Tennessee State University. It has been accepted for inclusion in Electronic Theses and Dissertations by an authorized administrator of Digital Commons @ East Tennessee State University. For more information, please contact [email protected]. A Complete Characterization of Maximal Symmetric Difference-Free Families on {1, . n} A thesis Presented to the faculty of the Department of Mathematics East Tennessee State University In partial fulfillment of the requirements for the degree Master of Science in Mathematical Sciences by Travis Gerarde Buck August, 2006 Anant Godbole, Ph.D., Chair Robert Gardner, Ph.D. Debra Knisley, Ph.D. Keywords: Symmetric Difference, Delta-free ABSTRACT A Complete Characterization of Maximal Symmetric Difference Free Families on {1, . n} by Travis Gerarde Buck Prior work in the field of set theory has looked at the properties of union-free families. This thesis investigates families based on a different set operation, the symmetric difference. It provides a complete characterization of maximal symmetric difference- free families of subsets of {1, .
    [Show full text]
  • 16. Ergodicity
    MATH41112/61112 Ergodic Theory Lecture 16 16. Ergodicity x16.1 Ergodicity In this lecture, we introduce what it means to say that a transformation is ergodic with respect to an invariant measure. Ergodicity is an important concept for many reasons, not least because Birkhoff's Ergodic Theorem holds: Theorem 16.1 Let T be an ergodic transformation of the probability space (X; B; µ) and let f 2 L1(X; B; µ). Then n−1 1 f(T jx) ! f dµ n Xj=0 Z for µ-almost every x 2 X. x16.2 The definition of ergodicity Definition. Let (X; B; µ) be a probability space and let T : X ! X be a measure-preserving transformation. We say that T is an ergodic transfor- mation (or µ is an ergodic measure) if, for B 2 B, T −1B = B ) µ(B) = 0 or 1: Remark. One can view ergodicity as an indecomposability condition. If ergodicity does not hold and we have T −1A = A with 0 < µ(A) < 1, then one can split T : X ! X into T : A ! A and T : X n A ! X n A 1 1 with invariant probability measures µ(A) µ(· \ A) and 1−µ(A) µ(· \ (X n A)), respectively. It will sometimes be convenient for us to weaken the condition T −1B = B to µ(T −1B4B) = 0, where 4 denotes the symmetric difference: A4B = (A n B) [ (B n A): The next lemma allows us to do this. Lemma 16.2 −1 −1 If B 2 B satisfies µ(T B4B) = 0 then there exists B1 2 B with T B1 = B1 and µ(B4B1) = 0.
    [Show full text]
  • The Axiom of Determinacy
    Virginia Commonwealth University VCU Scholars Compass Theses and Dissertations Graduate School 2010 The Axiom of Determinacy Samantha Stanton Virginia Commonwealth University Follow this and additional works at: https://scholarscompass.vcu.edu/etd Part of the Physical Sciences and Mathematics Commons © The Author Downloaded from https://scholarscompass.vcu.edu/etd/2189 This Thesis is brought to you for free and open access by the Graduate School at VCU Scholars Compass. It has been accepted for inclusion in Theses and Dissertations by an authorized administrator of VCU Scholars Compass. For more information, please contact [email protected]. College of Humanities and Sciences Virginia Commonwealth University This is to certify that the thesis prepared by Samantha Stanton titled “The Axiom of Determinacy” has been approved by his or her committee as satisfactory completion of the thesis requirement for the degree of Master of Science. Dr. Andrew Lewis, College of Humanities and Sciences Dr. Lon Mitchell, College of Humanities and Sciences Dr. Robert Gowdy, College of Humanities and Sciences Dr. John Berglund, Graduate Chair, Mathematics and Applied Mathematics Dr. Robert Holsworth, Dean, College of Humanities and Sciences Dr. F. Douglas Boudinot, Graduate Dean Date © Samantha Stanton 2010 All Rights Reserved The Axiom of Determinacy A thesis submitted in partial fulfillment of the requirements for the degree of Master of Science at Virginia Commonwealth University. by Samantha Stanton Master of Science Director: Dr. Andrew Lewis, Associate Professor, Department Chair Department of Mathematics and Applied Mathematics Virginia Commonwealth University Richmond, Virginia May 2010 ii Acknowledgment I am most appreciative of Dr. Andrew Lewis. I would like to thank him for his support, patience, and understanding through this entire process.
    [Show full text]
  • Math 8100 Assignment 3 Lebesgue Measurable Sets and Functions
    Math 8100 Assignment 3 Lebesgue measurable sets and functions Due date: Wednesday the 19th of September 2018 1. Let E be a Lebesgue measurable subset of Rn with m(E) < 1 and " > 0. Show that there exists a set A that is a finite union of closed cubes such that m(E4A) < ". [Recall that E4A stands for the symmetric difference, defined by E4A = (E n A) [ (A n E)] 2. Let E be a Lebesgue measurable subset of Rn with m(E) > 0 and " > 0. (a) Prove that E \almost" contains a closed cube in the sense that there exists a closed cube Q such that m(E \ Q) ≥ (1 − ")m(Q). (b) Prove that the so-called difference set E −E := fd : d = x−y with x; y 2 Eg necessarily contains an open ball centered at the origin. Hint: It may be useful to observe that d 2 E − E () E \ (E + d) 6= ;. 3. We say that a function f : Rn ! R is upper semicontinuous at a point x in Rn if f(x) ≥ lim sup f(y): y!x Prove that if f is upper semicontinuous at every point x in Rn, then f is Borel measurable. n 4. Let ffng be a sequence of measurable functions on R . Prove that n fx 2 : lim fn(x) existsg R n!1 is a measurable set. P1 −k 5. Recall that the Cantor set C is the set of all x 2 [0; 1] that have a ternary expansion x = k=1 ak3 with ak 6= 1 for all k.
    [Show full text]
  • The Discontinuity Problem 3
    THE DISCONTINUITY PROBLEM VASCO BRATTKA Abstract. Matthias Schr¨oder has asked the question whether there is a weak- est discontinuous problem in the continuous version of the Weihrauch lattice. Such a problem can be considered as the weakest unsolvable problem. We introduce the discontinuity problem, and we show that it is reducible exactly to the effectively discontinuous problems, defined in a suitable way. However, in which sense this answers Schr¨oder’s question sensitively depends on the axiomatic framework that is chosen, and it is a positive answer if we work in Zermelo-Fraenkel set theory with dependent choice and the axiom of de- terminacy AD. On the other hand, using the full axiom of choice, one can construct problems which are discontinuous, but not effectively so. Hence, the exact situation at the bottom of the Weihrauch lattice sensitively depends on the axiomatic setting that we choose. We prove our result using a variant of Wadge games for mathematical problems. While the existence of a win- ning strategy for player II characterizes continuity of the problem (as already shown by Nobrega and Pauly), the existence of a winning strategy for player I characterizes effective discontinuity of the problem. By Weihrauch determi- nacy we understand the condition that every problem is either continuous or effectively discontinuous. This notion of determinacy is a fairly strong notion, as it is not only implied by the axiom of determinacy AD, but it also implies Wadge determinacy. We close with a brief discussion of generalized notions of productivity. Contents 1. Introduction 1 2. The Universal Function and the Recursion Theorem 6 3.
    [Show full text]
  • Maximal Symmetric Difference-Free Families of Subsets Of
    Maximal Symmetric Difference-Free Families of Subsets of [n] Travis G. Buck and Anant P. Godbole Department of Mathematics and Statistics East Tennessee State University October 23, 2018 Abstract Union-free families of subsets of [n] = {1,...n} have been stud- ied in [2]. In this paper, we provide a complete characterization of maximal symmetric difference-free families of subsets of [n]. 1 Introduction In combinatorics, there are many examples of set systems that obey certain properties, such as (i) Sperner families, i.e. collections A of subsets of [n] such that A, B ∈A⇒ A ⊂ B and B ⊂ A are both false; and (ii) pairwise arXiv:1010.2711v1 [math.CO] 13 Oct 2010 intersecting families of k-sets, i.e. collections A of sets of size k such that A, B ∈A⇒ A ∩ B =6 ∅. In these two cases, Sperner’s theorem and the Erd˝os-Ko-Rado theorem (see, e.g., [4]) prove that the corresponding extremal n n−1 families are of size ⌊n/2⌋ and k−1 respectively – and correspond to the “obvious” choices, namely all subsets of size ⌊n/2⌋, and all subsets of size k containing a fixed element a. Another example of set systems is that of union closed families, i.e. ensembles A such that A, B ∈A⇒ A ∪ B ∈ A. Frankl’s conjecture states that in any union closed family A of subsets of {1, 2,...,n} there exists an element a that belongs to at least half the sets 1 in the collection [1]. Union-free families were defined by Frankl and F¨uredi [2] to be those families A where there do not exist A, B, C, D ∈A such that A∪B = C ∪D.
    [Show full text]