CSNB143 – Discrete Structure Topic 1 - Set. Topic 1 - Sets Learning Outcomes – Student should be able to identify sets and its important components. –

Slides:



Advertisements
Similar presentations
22 March 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction.
Advertisements

More Set Definitions and Proofs 1.6, 1.7. Ordered n-tuple The ordered n-tuple (a1,a2,…an) is the ordered collection that has a1 as its first element,
Algebra I Vocabulary Chapter 3. Any number that makes an inequality true is called a.
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.
2.1 Sets. DEFINITION 1 A set is an unordered collection of objects. DEFINITION 2 The objects in a set are called the elements, or members, of the set.
Denoting the beginning
Analytical Methods in CS (CIS 505)
Operations on Sets Union Intersection: Two sets are disjoint if their intersection is the null set. Difference A - B. Complement of a set A.
Sets 1.
Sets 1.
Set Theory.
Chapter 2 The Basic Concepts of Set Theory © 2008 Pearson Addison-Wesley. All rights reserved.
Mathematics.
Survey of Mathematical Ideas Math 100 Chapter 2
Operations on Sets – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Operations on Sets Reading: Kolman, Section 1.2.
Chapter 2 The Basic Concepts of Set Theory © 2008 Pearson Addison-Wesley. All rights reserved.
MATHEMATICS XI SETS.
Discrete Mathematics Unit - I. Set Theory Sets and Subsets A well-defined collection of objects (the set of outstanding people, outstanding is very subjective)
Objectives: By the end of class, I will be able to:  Identify sets  Understand subsets, intersections, unions, empty sets, finite and infinite sets,
Venn Diagrams/Set Theory   Venn Diagram- A picture that illustrates the relationships between two or more sets { } are often used to denote members of.
Sets --- A set is a collection of objects. Sets are denoted by A, B, C, … --- The objects in the set are called the elements of the set. The elements are.
CS 103 Discrete Structures Lecture 10 Basic Structures: Sets (1)
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Chapter 7 Review Important Terms, Symbols, Concepts 7.1. Logic A proposition is a statement (not a question.
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.
ELEMENTARY SET THEORY.
Set theory Neha Barve Lecturer Bioinformatics
Discrete Mathematical Structures 4 th Edition Kolman, Busby, Ross © 2000 by Prentice-Hall, Inc. ISBN
Chapter SETS DEFINITION OF SET METHODS FOR SPECIFYING SET SUBSETS VENN DIAGRAM SET IDENTITIES SET OPERATIONS.
Set Operations Chapter 2 Sec 3. Union What does the word mean to you? What does it mean in mathematics?
SAT MATH Lesson 10.
Chapter 2 With Question/Answer Animations. Section 2.1.
Sets Definition: A set is an unordered collection of objects, called elements or members of the set. A set is said to contain its elements. We write a.
Discrete Mathematics Set.
Welcome to Form 4 Mathematics Topic for the day SETS.
College Algebra: Section 8.1 Sets and Counting Objectives of this Section Find All the Subsets of a Set Find All the Subsets of a Set Find the Intersection.
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,
 Union Symbol ∪ If A and B are sets, their union is equal to all elements in both A & B A = {1,2,3,4} B = {2,4,5,6,7,8} A ∪ B = {1,2,3,4,5,6,7,8}
Fr: Discrete Mathematics by Washburn, Marlowe, and Ryan.
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.
Sullivan Algebra and Trigonometry: Section 14.1 Objectives of this Section Find All the Subsets of a Set Find the Intersection and Union of Sets Find the.
Mathematics Medicine Lukyanova Elena Anatolievna.
Thinking Mathematically Venn Diagrams and Set Operations.
The Basic Concepts of Set Theory. Chapter 1 Set Operations and Cartesian Products.
Sets and Operations TSWBAT apply Venn diagrams in problem solving; use roster and set-builder notation; find the complement of a set; apply the set operations.
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.
The set of whole numbers less than 7 is {1, 2, 3, 4, 5, 6}
Sets Page 746.
Sets Finite 7-1.
Set Definition: A set is unordered collection of objects.
CHAPTER 3 SETS, BOOLEAN ALGEBRA & LOGIC CIRCUITS
CSNB 143 Discrete Mathematical Structures
The Basic Concepts of Set Theory
Set and Set Operations Grab a sheet from front.
        { } Sets and Venn Diagrams Prime Numbers Even Numbers
Algebra 1 Section 1.1.
The Basic Concepts of Set Theory
2.1 Sets Dr. Halimah Alshehri.
Chapter Sets &Venn Diagrams.
SETS Sets are denoted by Capital letters Sets use “curly” brackets
Discrete Mathematics CS 2610
Discrete Mathematics R. Johnsonbaugh
2.1 – Symbols and Terminology
Lecture Sets 2.2 Set Operations.
Introduction A set is a collection of objects.
Sets, Unions, Intersections, and Complements
Presentation transcript:

CSNB143 – Discrete Structure Topic 1 - Set

Topic 1 - Sets Learning Outcomes – Student should be able to identify sets and its important components. – Students should be able to apply set in daily lives. – Students should know how to use set in its operations.

Topic 1- Set Introduction A collection of data or objects. Each entity is called element or member, defined by symbol  Order is not important. Repeated element is not important. One way to describe set is to list all the elements, in curly brackets. A = {1, 2, 3, 4, 5} B = {2, 3, 1, 4, 5} C = {1, 2, 1, 3, 4, 5} Thus we said, sets A and B are equal. A = B, 1  A, 2  A but 7  A

Topic 1 - Sets Example : Work this out : P = {p, q, r}Q = {p, q, r, s}R = {q, r, s} StatementTrue or False? q  Q, T/F r  R T/F s  P, T/F p  P T/F StatementTrue or False? q  Q, T/F p  R T/F s  P, T/F s  Q T/F

Topic 1 - Sets Other way to describe set: – A = {x| 1  x  5} – A = {x| x is an integer from 1 to 5, both included} – A = {x| x + 1 ; 0  x < 5} If the set has no element, it is called the empty set, denoted by {} or . LetD = {6, 7, 8}, A and D are called then Disjoint Sets. Why? What is the example of joined set? Set A is called finite if it has n distinct elements, where n  N (nonnegative number). Example : R = {x| 1  x  5} The number of its elements, n is called the cardinality of R, denoted by |R|= 5. A set that is not finite is called infinite. Example : C = {x| x ≥ 1}

Topic 1 - Sets Subsets If every element of A is also an element of B, we say that A is a subset of B or that A is contained in B, written as A  B (some books use symbol  ). Sets that all its elements are part or overall of other set. Example : A = {1, 2, 3, 4, 5} B = {1, 3, 5} C = {1, 2, 4, 6} Thus, B  A, but C  A, B  A but A  B Work this out Is A  B?Is B  A?Is A  C?Is B  C?

Topic 1 - Sets Power set If A is a set, then the set of all subsets of A is called the power set of A, denoted by P (A). A set that contains all its subset as its element. Example: A = {1, 2} P (A) = {{1}, {2}, {1, 2},  } P (A)| = 4

Topic 1 - Sets Operations on Sets Union Let say A and B are sets. Their union is a set consisting of all elements that belong to A OR B and denoted by A  B. A  B = {x|x  A or x  B} Intersections Let say A and B are sets. Their intersection is a set consisting of all elements that belong to both A AND B and denoted by A  B. A  B = {x|x  A and x  B}

Topic 1 - Sets Operations on Sets Complement Let say set U is a universal set. U – A is called the complement of A, denoted by A’ (some book use A) A’ = { x|x  A} If A and B are two sets, the complement of B with respect to A is a set that contain all elements that belong to A but not to B, denoted by A – B. Find A – B, A – C, C – A, C – B Symmetric Difference Let say A and B are two sets. Their symmetric difference is a set that contain all elements that belong to A OR B but not to both A and B, denoted by A  B. A  B = {x|(x  A and x  B) or (x  B and x  A)} Find P  R

Topic 1 - Sets Venn Diagram Diagram that is used to show the relations between sets. Example : Given set A = {1, 2, 3, 4} and B = {1, 3, 5, 7, 9} Show using Venn diagram: a) A  B and A  B b) A  B = A  B – (A  B) c) A’ and B’ d) A – B and B - A