SlideShare a Scribd company logo
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

More Related Content

What's hot

Introductory maths analysis chapter 14 official
Introductory maths analysis   chapter 14 officialIntroductory maths analysis   chapter 14 official
Introductory maths analysis chapter 14 official
Evert Sandye Taasiringan
 
Relations and functions
Relations and functionsRelations and functions
Relations and functions
nitishguptamaps
 
Introductory maths analysis chapter 11 official
Introductory maths analysis   chapter 11 officialIntroductory maths analysis   chapter 11 official
Introductory maths analysis chapter 11 official
Evert Sandye Taasiringan
 
Introductory maths analysis chapter 04 official
Introductory maths analysis   chapter 04 officialIntroductory maths analysis   chapter 04 official
Introductory maths analysis chapter 04 official
Evert Sandye Taasiringan
 
Introductory maths analysis chapter 00 official
Introductory maths analysis   chapter 00 officialIntroductory maths analysis   chapter 00 official
Introductory maths analysis chapter 00 official
Evert Sandye Taasiringan
 
Introductory maths analysis chapter 01 official
Introductory maths analysis   chapter 01 officialIntroductory maths analysis   chapter 01 official
Introductory maths analysis chapter 01 official
Evert 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-6
njit-ronbrown
 
Introductory maths analysis chapter 05 official
Introductory maths analysis   chapter 05 officialIntroductory maths analysis   chapter 05 official
Introductory maths analysis chapter 05 official
Evert 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-2
njit-ronbrown
 
Introductory maths analysis chapter 03 official
Introductory maths analysis   chapter 03 officialIntroductory maths analysis   chapter 03 official
Introductory maths analysis chapter 03 official
Evert 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-1
njit-ronbrown
 
Introductory maths analysis chapter 08 official
Introductory maths analysis   chapter 08 officialIntroductory maths analysis   chapter 08 official
Introductory maths analysis chapter 08 official
Evert Sandye Taasiringan
 
Introductory maths analysis chapter 17 official
Introductory maths analysis   chapter 17 officialIntroductory maths analysis   chapter 17 official
Introductory maths analysis chapter 17 official
Evert Sandye Taasiringan
 
Introductory maths analysis chapter 12 official
Introductory maths analysis   chapter 12 officialIntroductory maths analysis   chapter 12 official
Introductory maths analysis chapter 12 official
Evert Sandye Taasiringan
 
Functions in mathematics
Functions in mathematicsFunctions in mathematics
Functions in mathematics
Burhanuddin Shabbir
 
Introductory maths analysis chapter 07 official
Introductory maths analysis   chapter 07 officialIntroductory maths analysis   chapter 07 official
Introductory maths analysis chapter 07 official
Evert Sandye Taasiringan
 
Functions JC H2 Maths
Functions JC H2 MathsFunctions JC H2 Maths
Functions JC H2 Maths
Math Academy Singapore
 
Functions O level
Functions   O levelFunctions   O level
Functions O level
Sapienthall School System
 
Introductory maths analysis chapter 16 official
Introductory maths analysis   chapter 16 officialIntroductory maths analysis   chapter 16 official
Introductory maths analysis chapter 16 official
Evert Sandye Taasiringan
 
JC Vectors summary
JC Vectors summaryJC Vectors summary
JC Vectors summary
Math Academy Singapore
 

What's hot (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
 

Viewers also liked

Lecture 07
Lecture 07Lecture 07
Lecture 07
Faisal Mehmood
 
Project Town Naku Sa Math
Project Town Naku Sa MathProject Town Naku Sa Math
Project Town Naku Sa Math
Bret Monsanto
 
03 more on sets and venn
03   more on sets and venn03   more on sets and venn
03 more on sets and venn
ethelremitio
 
Pre-Cal 30S December 16, 2008
Pre-Cal 30S December 16, 2008Pre-Cal 30S December 16, 2008
Pre-Cal 30S December 16, 2008
Darren Kuropatwa
 
Unit 1 sets lecture notes
Unit 1   sets lecture notesUnit 1   sets lecture notes
Unit 1 sets lecture notesjosephdethrow
 
Sets
SetsSets
Powerpoint slide venn diagram
Powerpoint slide venn diagramPowerpoint slide venn diagram
Powerpoint slide venn diagramEdwinaBoggs
 
Funny Venn Diagrams
Funny Venn DiagramsFunny Venn Diagrams
Funny Venn Diagrams
dirigible
 
CST 504 Venn Diagrams
CST 504 Venn DiagramsCST 504 Venn Diagrams
CST 504 Venn Diagrams
Neil MacIntosh
 
Three Circle Venn Diagrams
Three Circle Venn DiagramsThree Circle Venn Diagrams
Three Circle Venn Diagrams
Passy World
 
Venn Diagrams Templates by Creately
Venn Diagrams Templates by CreatelyVenn Diagrams Templates by Creately
Venn Diagrams Templates by Creately
Creately
 
Venn diagrams
Venn diagramsVenn diagrams
Venn diagrams
Lori Rapp
 
Venn Diagram
Venn DiagramVenn Diagram
Venn Diagram
khyliesweet
 
Mensuration
MensurationMensuration
Mensuration
ARJUN RASTOGI
 
Set Theory
Set TheorySet Theory
Venn Diagram Word Problems
Venn Diagram Word ProblemsVenn Diagram Word Problems
Venn Diagram Word Problems
Passy World
 

Viewers also liked (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
 

Similar to Class 5 - Set Theory and Venn Diagrams

Tg 9780195979701
Tg 9780195979701Tg 9780195979701
Tg 9780195979701
Hafiz Akhtar
 
Chapter0 reviewofalgebra-151003150137-lva1-app6891
Chapter0 reviewofalgebra-151003150137-lva1-app6891Chapter0 reviewofalgebra-151003150137-lva1-app6891
Chapter0 reviewofalgebra-151003150137-lva1-app6891
Cleophas Rwemera
 
BCA_MATHEMATICS-I_Unit-V
BCA_MATHEMATICS-I_Unit-VBCA_MATHEMATICS-I_Unit-V
BCA_MATHEMATICS-I_Unit-V
Rai University
 
BASIC OF ALGORITHM AND MATHEMATICS STUDENTS
BASIC OF ALGORITHM AND MATHEMATICS STUDENTSBASIC OF ALGORITHM AND MATHEMATICS STUDENTS
BASIC OF ALGORITHM AND MATHEMATICS STUDENTS
jainyshah20
 
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
108kaushik
 
Project management
Project managementProject management
Project management
Avay Minni
 
Authentic learning activity
Authentic learning activityAuthentic learning activity
Authentic learning activity
obakeng mokotedi
 
Ppt chapter12
Ppt chapter12Ppt chapter12
Ppt chapter12
Richard Styner
 
Naive Bayes Presentation
Naive Bayes PresentationNaive Bayes Presentation
Naive Bayes Presentation
Md. Enamul Haque Chowdhury
 
Setting linear algebra problems
Setting linear algebra problemsSetting linear algebra problems
Setting linear algebra problems
JB 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.pptx
ssuser01e301
 
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 Sets
Ryan B Harvey, CSDP, CSM
 
Module For Mathematics
Module For Mathematics Module For Mathematics
Module For Mathematics
jrbt2014
 
5617723.pptx
5617723.pptx5617723.pptx
5617723.pptx
MatthewMhlongo
 
07slide.ppt
07slide.ppt07slide.ppt
07slide.ppt
ankurgupta857016
 
Discrete mathematic
Discrete mathematicDiscrete mathematic
Discrete mathematic
Naralaswapna
 
Scientific Computation on JRuby
Scientific Computation on JRubyScientific Computation on JRuby
Scientific Computation on JRuby
Prasun 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).ppsx
MariaRaffaellaMargau
 

Similar to 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
 

More from Stephen Parsons

Atlantic Woodworkers Website Strategy
Atlantic Woodworkers Website StrategyAtlantic Woodworkers Website Strategy
Atlantic Woodworkers Website Strategy
Stephen Parsons
 
Chairs Report to LSCRS 2012 AGM
Chairs Report to LSCRS 2012 AGMChairs Report to LSCRS 2012 AGM
Chairs Report to LSCRS 2012 AGM
Stephen Parsons
 
Class 10 Arrays
Class 10 ArraysClass 10 Arrays
Class 10 Arrays
Stephen 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-11
Stephen Parsons
 
Class 7 lecture notes
Class 7 lecture notesClass 7 lecture notes
Class 7 lecture notes
Stephen Parsons
 
Class 6a ruby math
Class 6a   ruby mathClass 6a   ruby math
Class 6a ruby math
Stephen 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 Ruby
Stephen Parsons
 
Class 3 Binary & Hexadecimal
Class 3 Binary & HexadecimalClass 3 Binary & Hexadecimal
Class 3 Binary & Hexadecimal
Stephen Parsons
 
Class 2 Math I
Class 2 Math IClass 2 Math I
Class 2 Math I
Stephen 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 solving
Stephen Parsons
 
Portfolio Of A Community
Portfolio Of A CommunityPortfolio Of A Community
Portfolio Of A Community
Stephen Parsons
 
Cause & effect analysis part 2
Cause & effect analysis part 2Cause & effect analysis part 2
Cause & effect analysis part 2
Stephen Parsons
 
Cause & effect analysis part 1
Cause & effect analysis part 1Cause & effect analysis part 1
Cause & effect analysis part 1
Stephen Parsons
 
Class 10 Lecture Notes
Class 10  Lecture  NotesClass 10  Lecture  Notes
Class 10 Lecture Notes
Stephen Parsons
 
Class 9 Lecture Notes
Class 9 Lecture NotesClass 9 Lecture Notes
Class 9 Lecture Notes
Stephen Parsons
 
Class 8 Lecture Notes
Class 8 Lecture NotesClass 8 Lecture Notes
Class 8 Lecture Notes
Stephen Parsons
 
Deck Project Phase II
Deck Project Phase IIDeck Project Phase II
Deck Project Phase II
Stephen Parsons
 

More from 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
 

Recently uploaded

Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
kitab khulasah nurul yaqin jilid 1 - 2.pptx
kitab khulasah nurul yaqin jilid 1 - 2.pptxkitab khulasah nurul yaqin jilid 1 - 2.pptx
kitab khulasah nurul yaqin jilid 1 - 2.pptx
datarid22
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
ArianaBusciglio
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Reflective and Evaluative Practice...pdf
Reflective and Evaluative Practice...pdfReflective and Evaluative Practice...pdf
Reflective and Evaluative Practice...pdf
amberjdewit93
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 

Recently uploaded (20)

Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
kitab khulasah nurul yaqin jilid 1 - 2.pptx
kitab khulasah nurul yaqin jilid 1 - 2.pptxkitab khulasah nurul yaqin jilid 1 - 2.pptx
kitab khulasah nurul yaqin jilid 1 - 2.pptx
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Reflective and Evaluative Practice...pdf
Reflective and Evaluative Practice...pdfReflective and Evaluative Practice...pdf
Reflective and Evaluative Practice...pdf
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 

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