SlideShare uma empresa Scribd logo
1 de 25
THE LOGIC OF COLLECTIONS
Class 5 – SetTheory andVenn Diagrams
Introduction
 Discrete versus Applied Mathematics
 Black,White & Grey
 SetTheory andVenn
 Problem: Skilled Resources
 24 Programmers
 8 Ruby, 10 Java, 12VB
 2=R+J+V
 4=R+J-V
 3=J+V-R
 1=R-V-J
 ?=V-J-R
Java
Ruby
VB
Agenda
 Review and Debrief
 SetTheory
 Set Operators
 Venn Diagrams
 Quest: Ruby Math features
 QuestTopic:TruthTables
 Assignment
 Wrap-up, Questions
Review Debrief
 Assignment 2
 Observations - Questions
 AssignmentThree
 Challenges
 Learning
 Ruby Installation & IDEs
 Review – Ruby Strings &Variables
 Practice handout
Set Theory
 The language of Sets
 Set
 Element
 Subset
 Universe
 Empty set
 Cardinality
Set Theory
 Notation: Set
 A={1,2,3,4,5}
Or:
 A= {x|x, a integer AND 0<x<6 }
 A={1,2,3,...,10}
 A={1,3,5,...,99}
 A={2,4,6...}
Set Theory
 Notation: Element
 x A
 Or A x
 A={1,2,3,...,10}
 And x= 12:. x A

Э
Э
Э
Set Theory
 Notation: Subset
 A={1,3,5,7..99} and B = {21,27,33}
 B ⊂A
 Iff A<>B then B ⊂A
 Notation: empty set = Ø or {}
 E={Ø}; |E|=1
 C= Ø; |C|=0
Set Theory
 Notation: Universal Set
 Universe=U
Java
Ruby
VB
U
Set Theory
 Notation: Cardinality
 A={1,3,5,...21} |A|=11
 N={a,b,c,...z} |N|=26
 C={1,2,3,4,...} |C|=∞
 Z={all even prime numbers >2} |Z|=0
Exercise: Basic Set Theory
 Please attempt all questions
 Use appropriate notation
 Time: 10 minutes
Set Operations
 Union – the set of all elements of both sets
 Notation: A ∪ B
 T={e,g,b,d,f}
 B={f,a,c,e}
 T ∪ B = {a,b,c,d,e,f,g}*
A B
Set Operations
 Intersection – the set of common elements of
both sets
 Notation: A ∩ B
 T={e,g,b,d,f}
 B={f,a,c,e}
 T ∩ B = {e,f}
A B
A ∩ B
Set Operations
 Cardinality principle for two sets =
 |A ∪ B| = |A| + |B| - | A ∩ B |
 example
 Cardinality principle for three sets =
 |A ∪ B ∪ C| = |A| + |B| + |C| - |A ∩ B| - |A ∩ C|
- |B ∩ C| + |A ∩ B ∩ C|
 example
Set Operations
 Complement – all those elements in the
universal set which are not part of the defined
set
 Notation A’ or Ac
 e.g. U={1,2,3,4,...}
 A={2,4,6,8,...}
 A’= {1,3,5,7,...}
Exercise: Set Operations
 Please attempt all questions
 Use appropriate notation
 Time: 10 minutes
Venn Diagrams
 A visual representation of Sets
 Each circle is a set or subset
 The rectangle is
the universal set
 Overlaps are
intersections
 The union is the
set of unique
elements among all sets
Java
Ruby
VB
U
Venn Diagrams
 UsingVenn to solve problems
 Handout & Walkthrough
Group Exercises
 Skills Problem
 LateralThinking
Problem
DB
WEB
PROG
U
Group Exercises
 Skills Problem
 Plug in what we are given
DB
WEB
PROG
U=30
16
16
11
3
2
5
8
Group Exercises
 Skills Problem
 CalculateWEB + PROG
DB
WEB
PROG
U=30
16
16
11
3
2
5
8
1
Group Exercises
 Skills Problem
 Calculate PROG + DB
DB
WEB
PROG
U=30
16
16
11
3
2
5
8
1
4
Group Exercises
 Skills Problem
 Calculate DB
30=x + 4 + 3 + 2
+ 1 + 8 + 5
 30=x + 23
 X=7
DB
WEB
PROG
U=30
16
16
11
3
2
5
8
1
4
x
Summary
 SetTheory
 Language and Notation
 Set Operations
 Union, Intersection, Cardinality, Complement
 Cardinality of two and three sets
 Venn Diagrams
 Relationship with sets
 Questions?
Assignment
 Assignment IV: SetTheory andVenn
Diagrams
 Complete all exercise
 Venn and calculation required for full marks
 Due: Start of next class

Mais conteúdo relacionado

Mais procurados

Introductory maths analysis chapter 14 official
Introductory maths analysis   chapter 14 officialIntroductory maths analysis   chapter 14 official
Introductory maths analysis chapter 14 officialEvert Sandye Taasiringan
 
Introductory maths analysis chapter 11 official
Introductory maths analysis   chapter 11 officialIntroductory maths analysis   chapter 11 official
Introductory maths analysis chapter 11 officialEvert Sandye Taasiringan
 
Introductory maths analysis chapter 04 official
Introductory maths analysis   chapter 04 officialIntroductory maths analysis   chapter 04 official
Introductory maths analysis chapter 04 officialEvert Sandye Taasiringan
 
Introductory maths analysis chapter 00 official
Introductory maths analysis   chapter 00 officialIntroductory maths analysis   chapter 00 official
Introductory maths analysis chapter 00 officialEvert Sandye Taasiringan
 
Introductory maths analysis chapter 01 official
Introductory maths analysis   chapter 01 officialIntroductory maths analysis   chapter 01 official
Introductory maths analysis chapter 01 officialEvert Sandye Taasiringan
 
Lecture 8 nul col bases dim & rank - section 4-2, 4-3, 4-5 & 4-6
Lecture 8   nul col bases dim & rank - section 4-2, 4-3, 4-5 & 4-6Lecture 8   nul col bases dim & rank - section 4-2, 4-3, 4-5 & 4-6
Lecture 8 nul col bases dim & rank - section 4-2, 4-3, 4-5 & 4-6njit-ronbrown
 
Introductory maths analysis chapter 05 official
Introductory maths analysis   chapter 05 officialIntroductory maths analysis   chapter 05 official
Introductory maths analysis chapter 05 officialEvert Sandye Taasiringan
 
Lecture 6 lu factorization & determinants - section 2-5 2-7 3-1 and 3-2
Lecture 6   lu factorization & determinants - section 2-5 2-7 3-1 and 3-2Lecture 6   lu factorization & determinants - section 2-5 2-7 3-1 and 3-2
Lecture 6 lu factorization & determinants - section 2-5 2-7 3-1 and 3-2njit-ronbrown
 
Introductory maths analysis chapter 03 official
Introductory maths analysis   chapter 03 officialIntroductory maths analysis   chapter 03 official
Introductory maths analysis chapter 03 officialEvert Sandye Taasiringan
 
Lecture 7 determinants cramers spaces - section 3-2 3-3 and 4-1
Lecture 7   determinants cramers spaces - section 3-2 3-3 and 4-1Lecture 7   determinants cramers spaces - section 3-2 3-3 and 4-1
Lecture 7 determinants cramers spaces - section 3-2 3-3 and 4-1njit-ronbrown
 
Introductory maths analysis chapter 08 official
Introductory maths analysis   chapter 08 officialIntroductory maths analysis   chapter 08 official
Introductory maths analysis chapter 08 officialEvert Sandye Taasiringan
 
Introductory maths analysis chapter 17 official
Introductory maths analysis   chapter 17 officialIntroductory maths analysis   chapter 17 official
Introductory maths analysis chapter 17 officialEvert Sandye Taasiringan
 
Introductory maths analysis chapter 12 official
Introductory maths analysis   chapter 12 officialIntroductory maths analysis   chapter 12 official
Introductory maths analysis chapter 12 officialEvert Sandye Taasiringan
 
Introductory maths analysis chapter 07 official
Introductory maths analysis   chapter 07 officialIntroductory maths analysis   chapter 07 official
Introductory maths analysis chapter 07 officialEvert Sandye Taasiringan
 
Introductory maths analysis chapter 16 official
Introductory maths analysis   chapter 16 officialIntroductory maths analysis   chapter 16 official
Introductory maths analysis chapter 16 officialEvert Sandye Taasiringan
 

Mais procurados (20)

Introductory maths analysis chapter 14 official
Introductory maths analysis   chapter 14 officialIntroductory maths analysis   chapter 14 official
Introductory maths analysis chapter 14 official
 
Relations and functions
Relations and functionsRelations and functions
Relations and functions
 
Introductory maths analysis chapter 11 official
Introductory maths analysis   chapter 11 officialIntroductory maths analysis   chapter 11 official
Introductory maths analysis chapter 11 official
 
Introductory maths analysis chapter 04 official
Introductory maths analysis   chapter 04 officialIntroductory maths analysis   chapter 04 official
Introductory maths analysis chapter 04 official
 
Introductory maths analysis chapter 00 official
Introductory maths analysis   chapter 00 officialIntroductory maths analysis   chapter 00 official
Introductory maths analysis chapter 00 official
 
Introductory maths analysis chapter 01 official
Introductory maths analysis   chapter 01 officialIntroductory maths analysis   chapter 01 official
Introductory maths analysis chapter 01 official
 
Lecture 8 nul col bases dim & rank - section 4-2, 4-3, 4-5 & 4-6
Lecture 8   nul col bases dim & rank - section 4-2, 4-3, 4-5 & 4-6Lecture 8   nul col bases dim & rank - section 4-2, 4-3, 4-5 & 4-6
Lecture 8 nul col bases dim & rank - section 4-2, 4-3, 4-5 & 4-6
 
Introductory maths analysis chapter 05 official
Introductory maths analysis   chapter 05 officialIntroductory maths analysis   chapter 05 official
Introductory maths analysis chapter 05 official
 
Lecture 6 lu factorization & determinants - section 2-5 2-7 3-1 and 3-2
Lecture 6   lu factorization & determinants - section 2-5 2-7 3-1 and 3-2Lecture 6   lu factorization & determinants - section 2-5 2-7 3-1 and 3-2
Lecture 6 lu factorization & determinants - section 2-5 2-7 3-1 and 3-2
 
Introductory maths analysis chapter 03 official
Introductory maths analysis   chapter 03 officialIntroductory maths analysis   chapter 03 official
Introductory maths analysis chapter 03 official
 
Lecture 7 determinants cramers spaces - section 3-2 3-3 and 4-1
Lecture 7   determinants cramers spaces - section 3-2 3-3 and 4-1Lecture 7   determinants cramers spaces - section 3-2 3-3 and 4-1
Lecture 7 determinants cramers spaces - section 3-2 3-3 and 4-1
 
Introductory maths analysis chapter 08 official
Introductory maths analysis   chapter 08 officialIntroductory maths analysis   chapter 08 official
Introductory maths analysis chapter 08 official
 
Introductory maths analysis chapter 17 official
Introductory maths analysis   chapter 17 officialIntroductory maths analysis   chapter 17 official
Introductory maths analysis chapter 17 official
 
Introductory maths analysis chapter 12 official
Introductory maths analysis   chapter 12 officialIntroductory maths analysis   chapter 12 official
Introductory maths analysis chapter 12 official
 
Functions in mathematics
Functions in mathematicsFunctions in mathematics
Functions in mathematics
 
Introductory maths analysis chapter 07 official
Introductory maths analysis   chapter 07 officialIntroductory maths analysis   chapter 07 official
Introductory maths analysis chapter 07 official
 
Functions JC H2 Maths
Functions JC H2 MathsFunctions JC H2 Maths
Functions JC H2 Maths
 
Functions O level
Functions   O levelFunctions   O level
Functions O level
 
Introductory maths analysis chapter 16 official
Introductory maths analysis   chapter 16 officialIntroductory maths analysis   chapter 16 official
Introductory maths analysis chapter 16 official
 
JC Vectors summary
JC Vectors summaryJC Vectors summary
JC Vectors summary
 

Destaque (20)

Lecture 07
Lecture 07Lecture 07
Lecture 07
 
Diagram venn
Diagram vennDiagram venn
Diagram venn
 
Project Town Naku Sa Math
Project Town Naku Sa MathProject Town Naku Sa Math
Project Town Naku Sa Math
 
Sets 3
Sets 3Sets 3
Sets 3
 
03 more on sets and venn
03   more on sets and venn03   more on sets and venn
03 more on sets and venn
 
Pre-Cal 30S December 16, 2008
Pre-Cal 30S December 16, 2008Pre-Cal 30S December 16, 2008
Pre-Cal 30S December 16, 2008
 
Unit 1 sets lecture notes
Unit 1   sets lecture notesUnit 1   sets lecture notes
Unit 1 sets lecture notes
 
Sets
SetsSets
Sets
 
Powerpoint slide venn diagram
Powerpoint slide venn diagramPowerpoint slide venn diagram
Powerpoint slide venn diagram
 
Funny Venn Diagrams
Funny Venn DiagramsFunny Venn Diagrams
Funny Venn Diagrams
 
CST 504 Venn Diagrams
CST 504 Venn DiagramsCST 504 Venn Diagrams
CST 504 Venn Diagrams
 
Three Circle Venn Diagrams
Three Circle Venn DiagramsThree Circle Venn Diagrams
Three Circle Venn Diagrams
 
Venn Diagrams Templates by Creately
Venn Diagrams Templates by CreatelyVenn Diagrams Templates by Creately
Venn Diagrams Templates by Creately
 
Sets Notes
Sets NotesSets Notes
Sets Notes
 
Venn diagrams
Venn diagramsVenn diagrams
Venn diagrams
 
Venn Diagram
Venn DiagramVenn Diagram
Venn Diagram
 
Sets venn diagrams
Sets venn diagramsSets venn diagrams
Sets venn diagrams
 
Mensuration
MensurationMensuration
Mensuration
 
Set Theory
Set TheorySet Theory
Set Theory
 
Venn Diagram Word Problems
Venn Diagram Word ProblemsVenn Diagram Word Problems
Venn Diagram Word Problems
 

Semelhante a Class 5 - Set Theory and Venn Diagrams

Chapter0 reviewofalgebra-151003150137-lva1-app6891
Chapter0 reviewofalgebra-151003150137-lva1-app6891Chapter0 reviewofalgebra-151003150137-lva1-app6891
Chapter0 reviewofalgebra-151003150137-lva1-app6891Cleophas Rwemera
 
BCA_MATHEMATICS-I_Unit-V
BCA_MATHEMATICS-I_Unit-VBCA_MATHEMATICS-I_Unit-V
BCA_MATHEMATICS-I_Unit-VRai University
 
BASIC OF ALGORITHM AND MATHEMATICS STUDENTS
BASIC OF ALGORITHM AND MATHEMATICS STUDENTSBASIC OF ALGORITHM AND MATHEMATICS STUDENTS
BASIC OF ALGORITHM AND MATHEMATICS STUDENTSjainyshah20
 
Pattern recognition binoy 05-naive bayes classifier
Pattern recognition binoy 05-naive bayes classifierPattern recognition binoy 05-naive bayes classifier
Pattern recognition binoy 05-naive bayes classifier108kaushik
 
Project management
Project managementProject management
Project managementAvay Minni
 
Authentic learning activity
Authentic learning activityAuthentic learning activity
Authentic learning activityobakeng mokotedi
 
Setting linear algebra problems
Setting linear algebra problemsSetting linear algebra problems
Setting linear algebra problemsJB Online
 
Unit-1 Basic Concept of Algorithm.pptx
Unit-1 Basic Concept of Algorithm.pptxUnit-1 Basic Concept of Algorithm.pptx
Unit-1 Basic Concept of Algorithm.pptxssuser01e301
 
G6 m4-g-lesson 26-t
G6 m4-g-lesson 26-tG6 m4-g-lesson 26-t
G6 m4-g-lesson 26-tmlabuski
 
Methods of Manifold Learning for Dimension Reduction of Large Data Sets
Methods of Manifold Learning for Dimension Reduction of Large Data SetsMethods of Manifold Learning for Dimension Reduction of Large Data Sets
Methods of Manifold Learning for Dimension Reduction of Large Data SetsRyan B Harvey, CSDP, CSM
 
Module For Mathematics
Module For Mathematics Module For Mathematics
Module For Mathematics jrbt2014
 
Discrete mathematic
Discrete mathematicDiscrete mathematic
Discrete mathematicNaralaswapna
 
Scientific Computation on JRuby
Scientific Computation on JRubyScientific Computation on JRuby
Scientific Computation on JRubyPrasun Anand
 
1Q LP 3.4 Venn Diagram & Set Operation (Complement and DIfference).ppsx
1Q LP 3.4  Venn Diagram & Set Operation (Complement and DIfference).ppsx1Q LP 3.4  Venn Diagram & Set Operation (Complement and DIfference).ppsx
1Q LP 3.4 Venn Diagram & Set Operation (Complement and DIfference).ppsxMariaRaffaellaMargau
 

Semelhante a Class 5 - Set Theory and Venn Diagrams (20)

Tg 9780195979701
Tg 9780195979701Tg 9780195979701
Tg 9780195979701
 
Chapter0 reviewofalgebra-151003150137-lva1-app6891
Chapter0 reviewofalgebra-151003150137-lva1-app6891Chapter0 reviewofalgebra-151003150137-lva1-app6891
Chapter0 reviewofalgebra-151003150137-lva1-app6891
 
BCA_MATHEMATICS-I_Unit-V
BCA_MATHEMATICS-I_Unit-VBCA_MATHEMATICS-I_Unit-V
BCA_MATHEMATICS-I_Unit-V
 
BASIC OF ALGORITHM AND MATHEMATICS STUDENTS
BASIC OF ALGORITHM AND MATHEMATICS STUDENTSBASIC OF ALGORITHM AND MATHEMATICS STUDENTS
BASIC OF ALGORITHM AND MATHEMATICS STUDENTS
 
Pattern recognition binoy 05-naive bayes classifier
Pattern recognition binoy 05-naive bayes classifierPattern recognition binoy 05-naive bayes classifier
Pattern recognition binoy 05-naive bayes classifier
 
Project management
Project managementProject management
Project management
 
Authentic learning activity
Authentic learning activityAuthentic learning activity
Authentic learning activity
 
Ppt chapter12
Ppt chapter12Ppt chapter12
Ppt chapter12
 
Naive Bayes Presentation
Naive Bayes PresentationNaive Bayes Presentation
Naive Bayes Presentation
 
Setting linear algebra problems
Setting linear algebra problemsSetting linear algebra problems
Setting linear algebra problems
 
Unit-1 Basic Concept of Algorithm.pptx
Unit-1 Basic Concept of Algorithm.pptxUnit-1 Basic Concept of Algorithm.pptx
Unit-1 Basic Concept of Algorithm.pptx
 
G6 m4-g-lesson 26-t
G6 m4-g-lesson 26-tG6 m4-g-lesson 26-t
G6 m4-g-lesson 26-t
 
Methods of Manifold Learning for Dimension Reduction of Large Data Sets
Methods of Manifold Learning for Dimension Reduction of Large Data SetsMethods of Manifold Learning for Dimension Reduction of Large Data Sets
Methods of Manifold Learning for Dimension Reduction of Large Data Sets
 
Knightstour
KnightstourKnightstour
Knightstour
 
Module For Mathematics
Module For Mathematics Module For Mathematics
Module For Mathematics
 
5617723.pptx
5617723.pptx5617723.pptx
5617723.pptx
 
07slide.ppt
07slide.ppt07slide.ppt
07slide.ppt
 
Discrete mathematic
Discrete mathematicDiscrete mathematic
Discrete mathematic
 
Scientific Computation on JRuby
Scientific Computation on JRubyScientific Computation on JRuby
Scientific Computation on JRuby
 
1Q LP 3.4 Venn Diagram & Set Operation (Complement and DIfference).ppsx
1Q LP 3.4  Venn Diagram & Set Operation (Complement and DIfference).ppsx1Q LP 3.4  Venn Diagram & Set Operation (Complement and DIfference).ppsx
1Q LP 3.4 Venn Diagram & Set Operation (Complement and DIfference).ppsx
 

Mais de Stephen Parsons

Atlantic Woodworkers Website Strategy
Atlantic Woodworkers Website StrategyAtlantic Woodworkers Website Strategy
Atlantic Woodworkers Website StrategyStephen Parsons
 
Chairs Report to LSCRS 2012 AGM
Chairs Report to LSCRS 2012 AGMChairs Report to LSCRS 2012 AGM
Chairs Report to LSCRS 2012 AGMStephen Parsons
 
Program Renewal for NSCC Schools 2010-11
Program Renewal for NSCC Schools 2010-11Program Renewal for NSCC Schools 2010-11
Program Renewal for NSCC Schools 2010-11Stephen Parsons
 
Class 6 truth tables and boolean math
Class 6   truth tables and boolean mathClass 6   truth tables and boolean math
Class 6 truth tables and boolean mathStephen Parsons
 
Class 4 IPO and Intro to Ruby
Class 4 IPO and Intro to RubyClass 4 IPO and Intro to Ruby
Class 4 IPO and Intro to RubyStephen Parsons
 
Class 3 Binary & Hexadecimal
Class 3 Binary & HexadecimalClass 3 Binary & Hexadecimal
Class 3 Binary & HexadecimalStephen Parsons
 
Class 1 introduction to logic & problem solving
Class 1   introduction to logic & problem solvingClass 1   introduction to logic & problem solving
Class 1 introduction to logic & problem solvingStephen Parsons
 
Portfolio Of A Community
Portfolio Of A CommunityPortfolio Of A Community
Portfolio Of A CommunityStephen Parsons
 
Cause & effect analysis part 2
Cause & effect analysis part 2Cause & effect analysis part 2
Cause & effect analysis part 2Stephen Parsons
 
Cause & effect analysis part 1
Cause & effect analysis part 1Cause & effect analysis part 1
Cause & effect analysis part 1Stephen Parsons
 

Mais de Stephen Parsons (19)

Atlantic Woodworkers Website Strategy
Atlantic Woodworkers Website StrategyAtlantic Woodworkers Website Strategy
Atlantic Woodworkers Website Strategy
 
Chairs Report to LSCRS 2012 AGM
Chairs Report to LSCRS 2012 AGMChairs Report to LSCRS 2012 AGM
Chairs Report to LSCRS 2012 AGM
 
Class 10 Arrays
Class 10 ArraysClass 10 Arrays
Class 10 Arrays
 
Program Renewal for NSCC Schools 2010-11
Program Renewal for NSCC Schools 2010-11Program Renewal for NSCC Schools 2010-11
Program Renewal for NSCC Schools 2010-11
 
Class 7 lecture notes
Class 7 lecture notesClass 7 lecture notes
Class 7 lecture notes
 
Class 6a ruby math
Class 6a   ruby mathClass 6a   ruby math
Class 6a ruby math
 
Class 6 truth tables and boolean math
Class 6   truth tables and boolean mathClass 6   truth tables and boolean math
Class 6 truth tables and boolean math
 
Class 4 IPO and Intro to Ruby
Class 4 IPO and Intro to RubyClass 4 IPO and Intro to Ruby
Class 4 IPO and Intro to Ruby
 
Class 3 Binary & Hexadecimal
Class 3 Binary & HexadecimalClass 3 Binary & Hexadecimal
Class 3 Binary & Hexadecimal
 
Class 2 Math I
Class 2 Math IClass 2 Math I
Class 2 Math I
 
Class 1 introduction to logic & problem solving
Class 1   introduction to logic & problem solvingClass 1   introduction to logic & problem solving
Class 1 introduction to logic & problem solving
 
Portfolio Of A Community
Portfolio Of A CommunityPortfolio Of A Community
Portfolio Of A Community
 
Cause & effect analysis part 2
Cause & effect analysis part 2Cause & effect analysis part 2
Cause & effect analysis part 2
 
Cause & effect analysis part 1
Cause & effect analysis part 1Cause & effect analysis part 1
Cause & effect analysis part 1
 
Class 11 lecture notes
Class 11 lecture notesClass 11 lecture notes
Class 11 lecture notes
 
Class 10 Lecture Notes
Class 10  Lecture  NotesClass 10  Lecture  Notes
Class 10 Lecture Notes
 
Class 9 Lecture Notes
Class 9 Lecture NotesClass 9 Lecture Notes
Class 9 Lecture Notes
 
Class 8 Lecture Notes
Class 8 Lecture NotesClass 8 Lecture Notes
Class 8 Lecture Notes
 
Deck Project Phase II
Deck Project Phase IIDeck Project Phase II
Deck Project Phase II
 

Último

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 

Último (20)

Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 

Class 5 - Set Theory and Venn Diagrams

  • 1. THE LOGIC OF COLLECTIONS Class 5 – SetTheory andVenn Diagrams
  • 2. Introduction  Discrete versus Applied Mathematics  Black,White & Grey  SetTheory andVenn  Problem: Skilled Resources  24 Programmers  8 Ruby, 10 Java, 12VB  2=R+J+V  4=R+J-V  3=J+V-R  1=R-V-J  ?=V-J-R Java Ruby VB
  • 3. Agenda  Review and Debrief  SetTheory  Set Operators  Venn Diagrams  Quest: Ruby Math features  QuestTopic:TruthTables  Assignment  Wrap-up, Questions
  • 4. Review Debrief  Assignment 2  Observations - Questions  AssignmentThree  Challenges  Learning  Ruby Installation & IDEs  Review – Ruby Strings &Variables  Practice handout
  • 5. Set Theory  The language of Sets  Set  Element  Subset  Universe  Empty set  Cardinality
  • 6. Set Theory  Notation: Set  A={1,2,3,4,5} Or:  A= {x|x, a integer AND 0<x<6 }  A={1,2,3,...,10}  A={1,3,5,...,99}  A={2,4,6...}
  • 7. Set Theory  Notation: Element  x A  Or A x  A={1,2,3,...,10}  And x= 12:. x A  Э Э Э
  • 8. Set Theory  Notation: Subset  A={1,3,5,7..99} and B = {21,27,33}  B ⊂A  Iff A<>B then B ⊂A  Notation: empty set = Ø or {}  E={Ø}; |E|=1  C= Ø; |C|=0
  • 9. Set Theory  Notation: Universal Set  Universe=U Java Ruby VB U
  • 10. Set Theory  Notation: Cardinality  A={1,3,5,...21} |A|=11  N={a,b,c,...z} |N|=26  C={1,2,3,4,...} |C|=∞  Z={all even prime numbers >2} |Z|=0
  • 11. Exercise: Basic Set Theory  Please attempt all questions  Use appropriate notation  Time: 10 minutes
  • 12. Set Operations  Union – the set of all elements of both sets  Notation: A ∪ B  T={e,g,b,d,f}  B={f,a,c,e}  T ∪ B = {a,b,c,d,e,f,g}* A B
  • 13. Set Operations  Intersection – the set of common elements of both sets  Notation: A ∩ B  T={e,g,b,d,f}  B={f,a,c,e}  T ∩ B = {e,f} A B A ∩ B
  • 14. Set Operations  Cardinality principle for two sets =  |A ∪ B| = |A| + |B| - | A ∩ B |  example  Cardinality principle for three sets =  |A ∪ B ∪ C| = |A| + |B| + |C| - |A ∩ B| - |A ∩ C| - |B ∩ C| + |A ∩ B ∩ C|  example
  • 15. Set Operations  Complement – all those elements in the universal set which are not part of the defined set  Notation A’ or Ac  e.g. U={1,2,3,4,...}  A={2,4,6,8,...}  A’= {1,3,5,7,...}
  • 16. Exercise: Set Operations  Please attempt all questions  Use appropriate notation  Time: 10 minutes
  • 17. Venn Diagrams  A visual representation of Sets  Each circle is a set or subset  The rectangle is the universal set  Overlaps are intersections  The union is the set of unique elements among all sets Java Ruby VB U
  • 18. Venn Diagrams  UsingVenn to solve problems  Handout & Walkthrough
  • 19. Group Exercises  Skills Problem  LateralThinking Problem DB WEB PROG U
  • 20. Group Exercises  Skills Problem  Plug in what we are given DB WEB PROG U=30 16 16 11 3 2 5 8
  • 21. Group Exercises  Skills Problem  CalculateWEB + PROG DB WEB PROG U=30 16 16 11 3 2 5 8 1
  • 22. Group Exercises  Skills Problem  Calculate PROG + DB DB WEB PROG U=30 16 16 11 3 2 5 8 1 4
  • 23. Group Exercises  Skills Problem  Calculate DB 30=x + 4 + 3 + 2 + 1 + 8 + 5  30=x + 23  X=7 DB WEB PROG U=30 16 16 11 3 2 5 8 1 4 x
  • 24. Summary  SetTheory  Language and Notation  Set Operations  Union, Intersection, Cardinality, Complement  Cardinality of two and three sets  Venn Diagrams  Relationship with sets  Questions?
  • 25. Assignment  Assignment IV: SetTheory andVenn Diagrams  Complete all exercise  Venn and calculation required for full marks  Due: Start of next class