SlideShare a Scribd company logo
2
Most read
3
Most read
16
Most read
Discrete mathematics

 Set Theory And Relation
             BY:-
                    Ankush
         kumar
Set Theory
3.1 Sets and Subsets

      A well-defined collection of objects
   (the set of outstanding people, outstanding is very subjective)
      finite sets, infinite sets, cardinality of a set, subset

      A={1,3,5,7,9}        1 A,1 B ,1 C
      B={x|x is odd}
      C={1,3,5,7,9,...}
      cardinality of A=5 (|A|=5)
      A is a proper subset of B. A B
      C is a subset of B.        C   B
Set Theory
3.1 Sets and Subsets
   common notations
    (a) Z=the set of integers={0,1,-1,2,-1,3,-3,...}
    (b) N=the set of nonnegative integers or natural numbers
    (c) Z+=the set of positive integers
    (d) Q=the set of rational numbers={a/b| a,b is integer, b not zero}
    (e) Q+=the set of positive rational numbers
    (f) Q*=the set of nonzero rational numbers
    (g) R=the set of real numbers
    (h) R+=the set of positive real numbers
    (i) R*=the set of nonzero real numbers
    (j) C=the set of complex numbers
Set Theory
3.1 Sets and Subsets


         S   {A| A is a set and A   A}

         ( a) Show that is S   S , then S   S.
         ( b) Show that is S   S , then S   S

     Principia Mathematica by Russel and Whitehead
Set Theory
3.1 Sets and Subsets
    subsets A          B          x[ x        A        x       B]
               A       B            x[ x          A        x    B]
                       x [ (x            A)       x    B )]
                       x[ x   A x             B]
   set equality        C      D      (C           D)       (D        C)
           C       D          (C         D        D        C)
                  C     D D          C
Set Theory
3.1 Sets and Subsets

    null set or empty set : {},
     universal set, universe: U

     power set of A: the set of all subsets of A

     A={1,2}, P(A)={ , {1}, {2}, {1,2}}
     If |A|=n, then |P(A)|=2n.
Set Theory
3.1 Sets and Subsets

      If |A|=n, then |P(A)|=2n.

      For any finite set A with |A|=n 0, there are C(n,k) subsets of
      size k.

      Counting the subsets of A according to the number, k, of
      elements in a subset, we have the combinatorial identity
         n    n      n         n
                                   2n , for n 0
         0    1      2         n
Set Theory
3.1 Sets and Subsets
   common notations
    (k) C*=the set of nonzero complex numbers
    (l) For any n in Z+, Zn={0,1,2,3,...,n-1}
    (m) For real numbers a,b with a<b,
         [ a, b] {x R | a x b}           closed interval
          (a, b) {x R | a x b}           open interval
         [ a, b )    {x   R| a   x   b}
                                          half-open interval
         ( a, b ]    {x   R| a   x   b}
Set Theory
3.2 Set Operations and the Laws of Set Theory

    Def. 3.5 For A,B U
       a) A B {x | x A x B}                  union
       b) A B {x | x A x B}                  intersection
       c) A B {x | x A B x A            B} symmetric difference
     Def.3.6 mutually disjoint A B
     Def 3.7 complement       A U A      {x | x U    x      A}
     Def 3.8 relative complement of A in B
            B A {x | x B x A}
Set Theory
3.2 Set Operations and the Laws of Set Theory
 Theorem 3.4 For any universe U and any set A,B in U, the
 following statements are equivalent:
     a) A B
     b) A B B                reasoning process
     c) A B A
                          (a) (b), (b) (c),
     d) B A               (c) (d), and (d) (a)
Set Theory
3.2 Set Operations and the Laws of Set Theory
                  The Laws of Set Theory
           (1) A A                 Law of Double Complement
          (2) A   B   A   B      Demorgan' s Laws
             A    B   A   B
          (3) A   B   B   A      Commutative Laws
             A    B   B   A
          (4) A ( B C ) ( A    B) C     Associativ Laws
                                                  e
              A (B C) ( A      B) C
          (5) A ( B C ) ( A    B ) ( A C ) Distributi Laws
                                                    ve
              A (B C) ( A      B) ( A C )
Set Theory
3.2 Set Operations and the Laws of Set Theory
                  The Laws of Set Theory

             (6) A       A   A, A A     A Idempotent Laws
             (7) A           A, A U     A Identity Laws
             (8) A A U , A A               Inverse Laws
             (9) A U U , A   =             DominationLaws
             (10) A ( A B ) A              Absorption Laws
                     A   (A    B)   A
Set Theory
3.2 Set Operations and the Laws of Set Theory

               s                    dual of s (sd)

                                    U
               U



   Theorem 3.5 (The Principle of Duality) Let s denote a theorem
   dealing with the equality of two set expressions. Then sd is also
   a theorem.
Set Theory
3.2 Set Operations and the Laws of Set Theory

     Ex. 3.17 What is the dual of   A   B?

         Since A    B   A B B . The dual of A B is the dual of
               A    B B , which is A B B . That is, B A.


      Venn diagram                               A   B

 U
                          A                  A
                A                                        B
Set Theory
3.3 Counting and Venn Diagrams

     Ex. 3.23. In a class of 50 college freshmen, 30 are studying
     BASIC, 25 studying PASCAL, and 10 are studying both. How
     many freshmen are studying either computer language?

 U        5           A        B
                                           |A   B | | A| | B | | A   B|

                 20       10       15
Set Theory
3.3 Counting and Venn Diagrams

  Ex 3.24. Defect types of an AND gate:                          B
                                                       4    12
  D1: first input stuck at 0              11
                                                       3 7
                                                                     43
  D2: second input stuck at 0
                                                   5
  D3: output stuck at 1                 A
                                                       15
  Given 100 samples                                           C
  set A: with D1
  set B: with D2               | A B C | | A| | B | | C | | A B |
  set C: with D3                 | A C| | B C| | A B C|
  with |A|=23, |B|=26, |C|=30,
  | A B | 7, | A C | 8, | B C | 10,
  | A B C | 3 , how many samples have defects? Ans:57
Set theory and relation

More Related Content

PDF
Set, Relations and Functions
PPTX
Sets PowerPoint Presentation
PPT
Applications of set theory
PPT
Set Concepts
PPT
Relations
PPTX
Ppt sets and set operations
PPTX
Matrix Algebra seminar ppt
PPT
systems of linear equations & matrices
Set, Relations and Functions
Sets PowerPoint Presentation
Applications of set theory
Set Concepts
Relations
Ppt sets and set operations
Matrix Algebra seminar ppt
systems of linear equations & matrices

What's hot (20)

PPTX
Set Theory
PPT
Matrices
PPTX
Matrices and System of Linear Equations ppt
PPTX
MATRICES
PPTX
Relations and functions
PPTX
Relations in Discrete Math
PPT
Lesson 13 volume of solids of revolution
PPTX
Applications of linear algebra
PPT
Hashing PPT
PPTX
ABSTRACT ALGEBRA
PPTX
Iterative methods
PPTX
Vector Space.pptx
PPTX
Matrix multiplication
PPTX
7.5 graphing square root and cube root functions
PDF
Matrix.
PDF
Sets in discrete mathematics
PDF
Linear transformations and matrices
PPTX
Set Theory Presentation
PPTX
Sequence and series
Set Theory
Matrices
Matrices and System of Linear Equations ppt
MATRICES
Relations and functions
Relations in Discrete Math
Lesson 13 volume of solids of revolution
Applications of linear algebra
Hashing PPT
ABSTRACT ALGEBRA
Iterative methods
Vector Space.pptx
Matrix multiplication
7.5 graphing square root and cube root functions
Matrix.
Sets in discrete mathematics
Linear transformations and matrices
Set Theory Presentation
Sequence and series
Ad

Similar to Set theory and relation (20)

DOC
MCQ's for class 7th
PDF
CPSC 125 Ch 3 Sec 1
PPT
Mtk3013 chapter 2-3
PPTX
Set theory for the Data Analysis and AI.pptx
PDF
Relation function
PDF
Relation function
PPTX
Lesson 1. SETS. Lesson 1. SETS. Lesson 1. SETS.pptx
PPTX
MIT Math Syllabus 10-3 Lesson 1: Sets and the real number system
PPTX
Discrete mathematic
DOCX
SET THEORY
PPTX
Pdm presentation
DOCX
PDF
schaums-probability.pdf
PDF
01_Sets.pdf
PPS
SET THEORY
PDF
Set
 
PDF
Math arihant handbook.pdf all formula is here
PPT
PPTX
CLASS- 11 Mathematics PPT 2024-25 1 SETS.pptx
PDF
Sets.pdf
MCQ's for class 7th
CPSC 125 Ch 3 Sec 1
Mtk3013 chapter 2-3
Set theory for the Data Analysis and AI.pptx
Relation function
Relation function
Lesson 1. SETS. Lesson 1. SETS. Lesson 1. SETS.pptx
MIT Math Syllabus 10-3 Lesson 1: Sets and the real number system
Discrete mathematic
SET THEORY
Pdm presentation
schaums-probability.pdf
01_Sets.pdf
SET THEORY
Set
 
Math arihant handbook.pdf all formula is here
CLASS- 11 Mathematics PPT 2024-25 1 SETS.pptx
Sets.pdf
Ad

More from ankush_kumar (14)

PPTX
Social Networking
PPT
mathematical induction
PDF
mathematical induction
PDF
mathematical induction
PDF
mathematical induction
PPT
Inheritance
PPT
Propositional And First-Order Logic
PPTX
PPTX
Soacial networking 3
PPTX
Soacial networking 1
PPTX
Memory organisation
PPTX
Social networking 2
PPTX
Linked list
PPTX
Classes function overloading
Social Networking
mathematical induction
mathematical induction
mathematical induction
mathematical induction
Inheritance
Propositional And First-Order Logic
Soacial networking 3
Soacial networking 1
Memory organisation
Social networking 2
Linked list
Classes function overloading

Recently uploaded (20)

PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Sports Quiz easy sports quiz sports quiz
PPTX
Pharma ospi slides which help in ospi learning
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Insiders guide to clinical Medicine.pdf
PPTX
Institutional Correction lecture only . . .
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Computing-Curriculum for Schools in Ghana
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Classroom Observation Tools for Teachers
PDF
01-Introduction-to-Information-Management.pdf
PDF
RMMM.pdf make it easy to upload and study
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
master seminar digital applications in india
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Microbial diseases, their pathogenesis and prophylaxis
2.FourierTransform-ShortQuestionswithAnswers.pdf
Supply Chain Operations Speaking Notes -ICLT Program
Sports Quiz easy sports quiz sports quiz
Pharma ospi slides which help in ospi learning
STATICS OF THE RIGID BODIES Hibbelers.pdf
Insiders guide to clinical Medicine.pdf
Institutional Correction lecture only . . .
Anesthesia in Laparoscopic Surgery in India
Abdominal Access Techniques with Prof. Dr. R K Mishra
Computing-Curriculum for Schools in Ghana
TR - Agricultural Crops Production NC III.pdf
PPH.pptx obstetrics and gynecology in nursing
Classroom Observation Tools for Teachers
01-Introduction-to-Information-Management.pdf
RMMM.pdf make it easy to upload and study
Final Presentation General Medicine 03-08-2024.pptx
GDM (1) (1).pptx small presentation for students
master seminar digital applications in india

Set theory and relation

  • 1. Discrete mathematics Set Theory And Relation BY:- Ankush kumar
  • 2. Set Theory 3.1 Sets and Subsets A well-defined collection of objects (the set of outstanding people, outstanding is very subjective) finite sets, infinite sets, cardinality of a set, subset A={1,3,5,7,9} 1 A,1 B ,1 C B={x|x is odd} C={1,3,5,7,9,...} cardinality of A=5 (|A|=5) A is a proper subset of B. A B C is a subset of B. C B
  • 3. Set Theory 3.1 Sets and Subsets common notations (a) Z=the set of integers={0,1,-1,2,-1,3,-3,...} (b) N=the set of nonnegative integers or natural numbers (c) Z+=the set of positive integers (d) Q=the set of rational numbers={a/b| a,b is integer, b not zero} (e) Q+=the set of positive rational numbers (f) Q*=the set of nonzero rational numbers (g) R=the set of real numbers (h) R+=the set of positive real numbers (i) R*=the set of nonzero real numbers (j) C=the set of complex numbers
  • 4. Set Theory 3.1 Sets and Subsets S {A| A is a set and A A} ( a) Show that is S S , then S S. ( b) Show that is S S , then S S Principia Mathematica by Russel and Whitehead
  • 5. Set Theory 3.1 Sets and Subsets subsets A B x[ x A x B] A B x[ x A x B] x [ (x A) x B )] x[ x A x B] set equality C D (C D) (D C) C D (C D D C) C D D C
  • 6. Set Theory 3.1 Sets and Subsets null set or empty set : {}, universal set, universe: U power set of A: the set of all subsets of A A={1,2}, P(A)={ , {1}, {2}, {1,2}} If |A|=n, then |P(A)|=2n.
  • 7. Set Theory 3.1 Sets and Subsets If |A|=n, then |P(A)|=2n. For any finite set A with |A|=n 0, there are C(n,k) subsets of size k. Counting the subsets of A according to the number, k, of elements in a subset, we have the combinatorial identity n n n n  2n , for n 0 0 1 2 n
  • 8. Set Theory 3.1 Sets and Subsets common notations (k) C*=the set of nonzero complex numbers (l) For any n in Z+, Zn={0,1,2,3,...,n-1} (m) For real numbers a,b with a<b, [ a, b] {x R | a x b} closed interval (a, b) {x R | a x b} open interval [ a, b ) {x R| a x b} half-open interval ( a, b ] {x R| a x b}
  • 9. Set Theory 3.2 Set Operations and the Laws of Set Theory Def. 3.5 For A,B U a) A B {x | x A x B} union b) A B {x | x A x B} intersection c) A B {x | x A B x A B} symmetric difference Def.3.6 mutually disjoint A B Def 3.7 complement A U A {x | x U x A} Def 3.8 relative complement of A in B B A {x | x B x A}
  • 10. Set Theory 3.2 Set Operations and the Laws of Set Theory Theorem 3.4 For any universe U and any set A,B in U, the following statements are equivalent: a) A B b) A B B reasoning process c) A B A (a) (b), (b) (c), d) B A (c) (d), and (d) (a)
  • 11. Set Theory 3.2 Set Operations and the Laws of Set Theory The Laws of Set Theory (1) A A Law of Double Complement (2) A B A B Demorgan' s Laws A B A B (3) A B B A Commutative Laws A B B A (4) A ( B C ) ( A B) C Associativ Laws e A (B C) ( A B) C (5) A ( B C ) ( A B ) ( A C ) Distributi Laws ve A (B C) ( A B) ( A C )
  • 12. Set Theory 3.2 Set Operations and the Laws of Set Theory The Laws of Set Theory (6) A A A, A A A Idempotent Laws (7) A A, A U A Identity Laws (8) A A U , A A Inverse Laws (9) A U U , A = DominationLaws (10) A ( A B ) A Absorption Laws A (A B) A
  • 13. Set Theory 3.2 Set Operations and the Laws of Set Theory s dual of s (sd) U U Theorem 3.5 (The Principle of Duality) Let s denote a theorem dealing with the equality of two set expressions. Then sd is also a theorem.
  • 14. Set Theory 3.2 Set Operations and the Laws of Set Theory Ex. 3.17 What is the dual of A B? Since A B A B B . The dual of A B is the dual of A B B , which is A B B . That is, B A. Venn diagram A B U A A A B
  • 15. Set Theory 3.3 Counting and Venn Diagrams Ex. 3.23. In a class of 50 college freshmen, 30 are studying BASIC, 25 studying PASCAL, and 10 are studying both. How many freshmen are studying either computer language? U 5 A B |A B | | A| | B | | A B| 20 10 15
  • 16. Set Theory 3.3 Counting and Venn Diagrams Ex 3.24. Defect types of an AND gate: B 4 12 D1: first input stuck at 0 11 3 7 43 D2: second input stuck at 0 5 D3: output stuck at 1 A 15 Given 100 samples C set A: with D1 set B: with D2 | A B C | | A| | B | | C | | A B | set C: with D3 | A C| | B C| | A B C| with |A|=23, |B|=26, |C|=30, | A B | 7, | A C | 8, | B C | 10, | A B C | 3 , how many samples have defects? Ans:57