SET.   A set is a collection of elements.   Sets are usually denoted by capital letters A, B, Ω, etc.   Elements are usually denoted by lower case.

Slides:



Advertisements
Similar presentations
Set Operations. When sets are equal A equals B iff for all x, x is in A iff x is in B or … and this is what we do to prove sets equal.
Advertisements

Introduction to Set Theory
Instructor: Hayk Melikya
Week 21 Basic Set Theory A set is a collection of elements. Use capital letters, A, B, C to denotes sets and small letters a 1, a 2, … to denote the elements.
1 Section 1.7 Set Operations. 2 Union The union of 2 sets A and B is the set containing elements found either in A, or in B, or in both The denotation.
Sets Definition of a Set: NAME = {list of elements or description of elements} i.e. B = {1,2,3} or C = {x  Z + | -4 < x < 4} Axiom of Extension: A set.
Chapter 5 Section 1 Sets Basics Set –Definition: Collection of objects –Specified by listing the elements of the set inside a pair of braces. –Denoted.
Discrete Structures Chapter 3 Set Theory Nurul Amelina Nasharuddin Multimedia Department.
Chapter 2 Chapter The sample space of an experiment, denoted S , is the set of all possible outcomes of that experiment. An event is any collection.
Intro to Set Theory. Sets and Their Elements A set A is a collection of elements. If x is an element of A, we write x  A; if not: x  A. Say: “x is a.
Operations on Sets – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Operations on Sets Reading: Kolman, Section 1.2.
Set Notation.
DP SL Studies Chapter 7 Sets and Venn Diagrams. DP Studies Chapter 7 Homework Section A: 1, 2, 4, 5, 7, 9 Section B: 2, 4 Section C: 1, 2, 4, 5 Section.
Set theory Sets: Powerful tool in computer science to solve real world problems. A set is a collection of distinct objects called elements. Traditionally,
Partially borrowed from Florida State University
Objectives: By the end of class, I will be able to:  Identify sets  Understand subsets, intersections, unions, empty sets, finite and infinite sets,
2.1 – Sets. Examples: Set-Builder Notation Using Set-Builder Notation to Make Domains Explicit Examples.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Sets.
Chapter 3 – Set Theory  .
MTH 231 Section 2.1 Sets and Operations on Sets. Overview The notion of a set (a collection of objects) is introduced in this chapter as the primary way.
Set, Combinatorics, Probability & Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Set,
Introduction to Set Theory. Introduction to Sets – the basics A set is a collection of objects. Objects in the collection are called elements of the set.
CS 103 Discrete Structures Lecture 10 Basic Structures: Sets (1)
1 Set Theory Chapter 3. 2 Chapter 3 Set Theory 3.1 Sets and Subsets A well-defined collection of objects (the set of outstanding people, outstanding is.
Chapter 7 Logic, Sets, and Counting Section 2 Sets.
Set Theory Dr. Ahmed Elmoasry. Contents Ch I: Experiments, Models, and Probabilities. Ch II: Discrete Random Variables Ch III: Discrete Random Variables.
CS201: Data Structures and Discrete Mathematics I
Sets Digital Lesson. Copyright © by Houghton Mifflin Company, Inc. All rights reserved. 2 Definition of Set A set is a collection of objects called elements.
1 Introduction to Abstract Mathematics Sets Section 2.1 Basic Notions of Sets Section 2.2 Operations with sets Section 2.3 Indexed Sets Instructor: Hayk.
ELEMENTARY SET THEORY.
Chapter SETS DEFINITION OF SET METHODS FOR SPECIFYING SET SUBSETS VENN DIAGRAM SET IDENTITIES SET OPERATIONS.
2.1 Sets 2.2 Set Operations –Set Operations –Venn Diagrams –Set Identities –Union and Intersection of Indexed Collections 2.3 Functions 2.4 Sequences and.
Chapter 2 With Question/Answer Animations. Section 2.1.
Rosen 1.6, 1.7. Basic Definitions Set - Collection of objects, usually denoted by capital letter Member, element - Object in a set, usually denoted by.
Discrete Mathematics. Set Theory - Definitions and notation A set is an unordered collection of elements. Some examples: {1, 2, 3} is the set containing.
1 Section 1.2 Sets A set is a collection of things. If S is a set and x is a member or element of S we write x  S. Othewise we write x  S. The set with.
Set Operations Section 2.2.
Sets and Basic Operations on Sets Notation A set will usually be denoted by a capital letter, such as, A,B,X, Y,..., whereas lower-case letters, a, b,
MATH 2311 Section 2.2. Sets and Venn Diagrams A set is a collection of objects. Two sets are equal if they contain the same elements. Set A is a subset.
Chapter 7 Sets and Probability Section 7.1 Sets What is a Set? A set is a well-defined collection of objects in which it is possible to determine whether.
Discrete Mathematics CS 2610 August 31, Agenda Set Theory Set Builder Notation Universal Set Power Set and Cardinality Set Operations Set Identities.
Thinking Mathematically Venn Diagrams and Set Operations.
The Basic Concepts of Set Theory. Chapter 1 Set Operations and Cartesian Products.
Chapter 2 1. Chapter Summary Sets (This Slide) The Language of Sets - Sec 2.1 – Lecture 8 Set Operations and Set Identities - Sec 2.2 – Lecture 9 Functions.
Algebra 2 Chapter 12 Venn Diagrams, Permutations, and Combinations Lesson 12.2.
Numbers and Sets. A set is a collection of objects. So, any collection of things, such as numbers, can be called a set. To show that we have a set, we.
Section 6.1 Set and Set Operations. Set: A set is a collection of objects/elements. Ex. A = {w, a, r, d} Sets are often named with capital letters. Order.
Sets, Permutations, and Combinations. Lecture 4-1: Sets Sets: Powerful tool in computer science to solve real world problems. A set is a collection of.
CHAPTER 3 SETS, BOOLEAN ALGEBRA & LOGIC CIRCUITS
Discrete Mathematical The Set Theory
Lecture 04 Set Theory Profs. Koike and Yukita
Set, Combinatorics, Probability & Number Theory
ALGEBRA II H/G - SETS : UNION and INTERSECTION
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 2 Sets Slides are adopted from “Discrete.
Set and Set Operations Grab a sheet from front.
Set Operations Section 2.2.
        { } Sets and Venn Diagrams Prime Numbers Even Numbers
Session – 2 SETS & Operations of SETS
Chapter 2 Notes Math 309 Probability.
Chapter Sets &Venn Diagrams.
ALGEBRA I - SETS : UNION and INTERSECTION
SETS Sets are denoted by Capital letters Sets use “curly” brackets
Discrete Mathematics CS 2610
Chapter 7 Logic, Sets, and Counting
ALGEBRA II H/G - SETS : UNION and INTERSECTION
MATH 2311 Section 2.2.
Introduction A set is a collection of objects.

Sets, Unions, Intersections, and Complements
Presentation transcript:

SET

  A set is a collection of elements.   Sets are usually denoted by capital letters A, B, Ω, etc.   Elements are usually denoted by lower case letters x, y, ω, etc.   If x is an element of a set A, we write x  A.   If x is an not element of a set A, we write x  A.

  A set can be described   by listing the set’s elements   A = {1, 2, 3, 4}   B = {apple, pear, orange}   by describing the set in words   “A is the set of all real numbers between 0 and 1, inclusive.”   by using the notation {ω: specification for ω}   A = {x : 0  x  1} or sometimes we simply write A = {0  x  1}

Two important sets   The universe is the set containing all points under consideration and is denoted by Ω.   The empty set (the set containing no elements) is denoted by Ø.

Set relations   If every point of set A belongs to set B, then we say that A is a subset of B (B is a superset of A). We write A  B B  A   A = B if and only if A  B and B  A.

Venn diagrams ΩΩΩΩ B B A

Set Operations   Complementation   A c = {  :   A}   Union   A ∪ B = {  :  A or  B (or both)}   Intersection   A ∩ B = {  :  A and  B}

  Two sets A and B are disjoint (or mutually exclusive) if A ∩ B = Ø.   These basic operations can be extended to any finite number of sets.   A ∪ B ∪ C = A ∪ (B ∪ C) = (A ∪ B) ∪ C and   A ∩ B ∩C = A ∩ (B ∩ C) = (A ∩ B) ∩C

  You can show that   (a) A ∪ B = B ∪ A   (b) A ∩ B = B ∩ A   (c) A ∪ (B ∪ C) = (A ∪ B) ∪ C   (d) A ∩ (B ∩ C) = (A ∩ B) ∩ C   Note: (a) and (b) are the commutative laws   Note: (c) and (d) are the associative laws

More Set Identities   (e) A ∪ (B∩ C) = (A ∪ B) ∩ (A ∪ C)   (f) A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C)   (g) A ∩ Ø = Ø   (h) A ∪ Ø = A   (i) (A ∪ B) c = A c ∩ B c   (j) (A ∩ B) c = A c ∪ B c   (k) (A c ) c = A   Note: (i) and (j) are called DeMorgan’s Laws

Proving statements about sets   If A  B and B  C, then A  C.   Proof: Discussion Reasons (1) If x  A then x  B Def. of A  B (2) Since x  B then x  C Def. of B  C (3) If x  A then x  C By stmts (1) and (2) (4) Therefore A  C Def. of A  C