SlideShare uma empresa Scribd logo
1 de 63
Baixar para ler offline
Chapter 1 :
Introduction to Set and Logic
SM0013 Mathematics I
Khadizah Ghazali
Lecture 1 – 25/05/2011
SM0013 - 24/05/2011 2
LEARNING OUTCOMES
At the end of this chapter, you should be able
to :
know what set & logic are about
define some basic terminologies in set &
logic
identify relations between pairs of sets
use Venn diagrams & the counting
formula to solve set equations
build & use the truth table
SM0013 - 24/05/2011 3
Outline (A)
1.1 Symbols in set & logic
1.2 Set Terminology and Notation
1.3 Operations on set
1.4 Algebra of sets
1.5 Finite Sets and Counting
Principle.
SM0013 - 24/05/2011 4
Outline (B)
1.6 Statements and Argument
1.7 Combining, Conditional and
Biconditional Statements
1.8 Truth Table
1.9 Logic of Equivalent
SM0013 - 24/05/2011 5
SECTION 1.1
Symbols in set & logic
Symbols is the central part in set & logic. Here some
important symbols :
SM0013 - 24/05/2011 6
SM0013 - 24/05/2011 7
∋∋
SM0013 - 24/05/2011 8
SM0013 - 24/05/2011 9
SM0013 - 24/05/2011 10
Here is a list of sets that we will refer
to often, and the symbols are standard.
SM0013 - 24/05/2011 11
Example 1.1Example 1.1
SM0013 - 24/05/2011 12
Example 1.2Example 1.2
SM0013 - 24/05/2011 13
Example 1.3Example 1.3
SM0013 - 24/05/2011 14
SECTION 1.2
Set Terminology & Notation
George Cantor (1845-1915), in 1895,
was the first to define a set formally.
Definition : Set
A set is a group of things of the same kind
that belong together.
The objects that make up a set are
called
elements or members of the set.
SM0013 - 24/05/2011 15
Some Properties of Sets
The order in which the elements are
presented in a set is not important.
A = {a, e, i, o, u} and
B = {e, o, u, a, i} both define the same set.
The members of a set can be anything.
In a set the same member does not appear
more than once.
F = {a, e, i, o, a, u} is incorrect since the element
‘a’ repeats.
SM0013 - 24/05/2011 16
Some Notation
Consider the set A = {a, e, i, o, u} then
We write “‘a’ is a member of ‘A’” as:
a ∈ A
We write “‘b’ is not a member of ‘A’” as:
b ∉ A
Note: b ∉ A ≡ ¬ (b ∈ A)
SM0013 - 24/05/2011 17
Set representation:
There are 4 ways to represent a set.
1. Set may be represented by words, for
example:
A = the first three natural numbers greater
than zero
B = the colors red, white, blue, and green
SM0013 - 24/05/2011 18
Set representation (cont.):
2. Another way to represented a set is to list
its elements between curly brackets (by
enumeration).
~ is called the roster method, for
example:
C = {1, 2, 3}
D = {red, white, blue, green}
SM0013 - 24/05/2011 19
Set representation (cont.):
3. Another kind of set notation commonly used is
set-builder notation, for example:
The set E of a natural number less than 4 is
written as
SM0013 - 24/05/2011 20
Set representation (cont.):
4. A set can also be represented by a Vann
diagram
A pictorial way of representing sets.
The universal set is represented by the
interior of a rectangle and the other sets
are represented by disks lying within the
rectangle.
E.g. A = {a, e, i, o, u} a
e
i
o
u
A
SM0013 - 24/05/2011 21
Equality of two Sets
A set ‘A’ is equal to a set ‘B’ if and only if both
sets have the same elements. If sets ‘A’ and ‘B’
are equal we write: A = B. If sets ‘A’ and ‘B’ are
not equal we write A ≠ B.
In other words we can say:
A = B ⇔ (∀x, x∈A ⇔ x∈B)
E.g.
A = {1, 2, 3, 4, 5}, B = {2, 4, 1, 3, 5}, C = {1, 3, 5, 4}
D = {x : x ∈ Z ∧ 0 < x < 6}, E = {1, 10/5, , 22, 5}
then A = B = D = E and A ≠ C.
9
SM0013 - 24/05/2011 22
Universal Set and Empty Set
The members of all the investigated sets in
a particular problem usually belongs to
some fixed large set. That set is called the
universal set and is usually denoted by ‘U’.
The set that has no elements is called the
empty set and is denoted by Φ or {}.
E.g. {x | x2 = 4 and x is an odd integer} = Φ
SM0013 - 24/05/2011 23
Cardinality of a Set
The number of elements in a set is
called the cardinality of a set. Let ‘A’ be
any set then its cardinality is denoted
by |A| @ n(A)
E.g. A = {a, e, i, o, u} then |A| = 5.
SM0013 - 24/05/2011 24
Subsets
Set ‘A’ is called a subset of set ‘B’ if and
only if every element of set ‘A’ is also
an element of set ‘B’. We also say that
‘A’ is contained in ‘B’ or that ‘B’ contains
‘A’. It is denoted by A ⊆ B or B ⊇ A.
In other words we can say:
(A ⊆ B) ⇔ (∀x, x ∈ A ⇒ x ∈ B)
SM0013 - 24/05/2011 25
Subset cont.
If ‘A’ is not a subset of ‘B’ then it is
denoted by A ⊆ B or B ⊇ A
E.g. A = {1, 2, 3, 4, 5} and B = {1, 3} and
C = {2, 4, 6} then B ⊆ A and C ⊆ A
1 3
5
2
4
6
B
A
C
SM0013 - 24/05/2011 26
Some Properties Regarding
Subsets
For any set ‘A’, Φ ⊆ A ⊆ U
For any set ‘A’, A ⊆ A
A ⊆ B ∧ B ⊆ C ⇒ A ⊆ C
A = B ⇔ A ⊆ B ∧ B ⊆ A
SM0013 - 24/05/2011 27
Proper Subsets
Notice that when we say A ⊆ B then it
is even possible to be A = B.
We say that set ‘A’ is a proper subset of
set ‘B’ if and only if A ⊆ B and A ≠ B.
We denote it by A ⊂ B or B ⊃ A.
In other words we can say:
(A ⊂ B) ⇔ (∀x, x∈A ⇒ x∈B ∧ A≠B)
SM0013 - 24/05/2011 28
Venn Diagram for a Proper
Subset
Note that if A ⊂ B then the Venn diagram
depicting those sets is as follows:
If A ⊆ B then the disc showing ‘B’ may
overlap with the disc showing ‘A’ where in
this case it is actually A = B
B A
SM0013 - 24/05/2011 29
Power Set
The set of all subsets of a set ‘S’ is called the
power set of ‘S’. It is denoted by P(S) or 2S.
In other words we can say:
P(S) = {x : x ⊆ S}
E.g. A = {1, 2, 3} then
P(A) = {Φ, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3}}
Note that |P(S)| = 2|S|.
E.g. |P(A)| = 2|A| = 23 = 8.
SM0013 - 24/05/2011 30
???
Is the empty set, Φ a subset of {3, 5, 7}?
If we say that Φ is not a subset of {3, 5, 7},
then there must be an element of Φ that does
not belong to {3, 5, 7}.
But that cannot happen because Φ is empty.
So Φ is a subset of {3, 5, 7}.
In fact, by the same reasoning, the empty set
is a subset of every set.
SM0013 - 24/05/2011 31
SECTION 1.3
Operations on Set
Complement :
The (absolute) complement of a set ‘A’ is
the set of elements which belong to the
universal set but which do not belong to A.
This is denoted by Ac or Ā or Á .
In other words we can say:
Ac = {x : x∈U ∧ x∉A}
SM0013 - 24/05/2011 32
Venn Diagram for the
Complement
A
Ac
SM0013 - 24/05/2011 33
Set Complementation
If U is a universal set and A is a subset of U,
then
SM0013 - 24/05/2011 34
∪nion
Union of two sets ‘A’ and ‘B’ is the set of all
elements which belong to either ‘A’ or ‘B’ or
both. This is denoted by A ∪ B.
In other words we can say:
A ∪ B = {x : x∈A ∨ x∈B}
E.g. A = {3, 5, 7}, B = {2, 3, 5}
A ∪ B = {3, 5, 7, 2, 3, 5} = {2, 3, 5, 7}
SM0013 - 24/05/2011 35
Venn Diagram Representation for
Union
B
A
A ∪ B
3 57
2
SM0013 - 24/05/2011 36
I∩tersection
Intersection of two sets ‘A’ and ‘B’ is the set
of all elements which belong to both ‘A’ and
‘B’. This is denoted by A ∩ B.
In other words we can say:
A ∩ B = {x : x∈A ∧ x∈B}
E.g. A = {3, 5, 7}, B = {2, 3, 5}
A ∩ B = {3, 5}
SM0013 - 24/05/2011 37
Venn Diagram Representation for
Intersection
B
A
A ∩ B
3
57
2
SM0013 - 24/05/2011 38
Difference
The difference or the relative complement of a
set ‘B’ with respect to a set ‘A’ is the set of
elements which belong to ‘A’ but which do not
belong to ‘B’. This is denoted by A  B.
In other words we can say:
A  B = {x : x∈A ∧ x∉B}
E.g. A = {3, 5, 7}, B = {2, 3, 5}
A  B = {3, 5, 7}{2, 3, 5} = {7}
SM0013 - 24/05/2011 39
Venn Diagram Representation for
Difference
B
A
A B
3 57
2
SM0013 - 24/05/2011 40
Disjoint Sets
If two sets A and B have no elements in
common, that is, if
then A and B are called disjoint sets.
Notice that the circles corresponding to A and
B not overlap anywhere because A∩B is
empty.
A ∩ B = Φ
B A
SM0013 - 24/05/2011 41
Some Properties
A ⊆ A ∪ B and B ⊆ A ∪ B
A∩B ⊆ A and A∩B ⊆ B
|A ∪ B| = |A| + |B| - |A∩B|
A ⊆ B ⇒ Bc ⊆ Ac
A B = A ∩ Bc
If A ∩ B = Φ then we say ‘A’ and ‘B’ are
disjoint.
SM0013 - 24/05/2011 42
SECTION 1.4
Algebra of Set
In section 1.3 we saw that, given two sets A
and B, the operations union and intersection
could be used to generate two further sets
These two new sets can then be combined
with a third set C, associated with the same
universal set U as the sets A and B, to form
four further sets
∪ ∩A B and A B
( ) ( ) ( ) ( )∪ ∪ ∩ ∪ ∪ ∩ ∩ ∩C A B , C A B , C A B , C A B
SM0013 - 24/05/2011 43
And the compositions of these sets are clearly
indicated by the shaded portion in the
Venn diagrams
SM0013 - 24/05/2011 44
Algebraic Laws on Sets:
Sets operations of union, intersection and
complement satisfy various laws
(identities).
Let U be the universal set and A, B and C
are subsets of U.
SM0013 - 24/05/2011 45
Algebra of Sets
Idempotent laws
A ∪ A = A
A ∩ A = A
Associative laws
(A ∪ B) ∪ C = A ∪ (B ∪ C)
(A ∩ B) ∩ C = A ∩ (B ∩ C)
SM0013 - 24/05/2011 46
Algebra of Sets cont.
Commutative laws
A ∪ B = B ∪ A
A ∩ B = B ∩ A
Distributive laws
A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)
A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C)
SM0013 - 24/05/2011 47
Algebra of Sets cont.
Identity laws
A ∪ Φ = A
A ∩ U = A
A ∪ U = U
A ∩ Φ = Φ
Involution laws
(Ac)c = A
SM0013 - 24/05/2011 48
Algebra of Sets cont.
Complement laws
A ∪ Ac = U
A ∩ Ac = Φ
Uc = Φ
Φc = U
SM0013 - 24/05/2011 49
Algebra of Sets cont.
De Morgan’s laws
(A ∪ B)c = Ac ∩ Bc
(A ∩ B)c = Ac ∪ Bc
Note: Compare these De Morgan’s laws
with the De Morgan’s laws that you will
find in logic and see the similarity.
SM0013 - 24/05/2011 50
Proofs
Basically there are two approaches in
proving above mentioned laws and any
other set relationship
Mathematical Notation
Using Venn diagrams
SM0013 - 24/05/2011 51
Example 1.4 :Example 1.4 :
SM0013 - 24/05/2011 52
Solution : a)Method 1;
SM0013 - 24/05/2011 53
Solution : a)Method 2;
SM0013 - 24/05/2011 54
Solution :
b)
SM0013 - 24/05/2011 55
SECTION 1.5
Finite Sets & Counting Principle
Definition : Finite set
A set is said to be finite if it contains
exactly p elements. Otherwise a set is
said to be infinite.
SM0013 - 24/05/2011 56
Number of the elements in a set;
is determined by simply counting the
elements in the set.
If A is any set, then n(A) or |A| denotes the
number of elements in A.
SM0013 - 24/05/2011 57
Another result that is easily seen
to be true is the following cases :
SM0013 - 24/05/2011 58
Case III : Inclusion-Exclusion
Principle
SM0013 - 24/05/2011 59
Case IV:
SM0013 - 24/05/2011 60
Example 1.5 :Example 1.5 :
SM0013 - 24/05/2011 61
Example 1.6 :Example 1.6 :
SM0013 - 24/05/2011 62
Example 1.7 :Example 1.7 :
SM0013 - 24/05/2011 63

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

CMSC 56 | Lecture 16: Equivalence of Relations & Partial Ordering
CMSC 56 | Lecture 16: Equivalence of Relations & Partial OrderingCMSC 56 | Lecture 16: Equivalence of Relations & Partial Ordering
CMSC 56 | Lecture 16: Equivalence of Relations & Partial Ordering
 
Operations on sets
Operations on setsOperations on sets
Operations on sets
 
De morgan's law
De morgan's lawDe morgan's law
De morgan's law
 
Sets PowerPoint Presentation
Sets PowerPoint PresentationSets PowerPoint Presentation
Sets PowerPoint Presentation
 
types of sets
types of setstypes of sets
types of sets
 
Introduction to Sets_Elements_Cardinality
Introduction to Sets_Elements_CardinalityIntroduction to Sets_Elements_Cardinality
Introduction to Sets_Elements_Cardinality
 
Cartesian product of two sets
Cartesian product of two setsCartesian product of two sets
Cartesian product of two sets
 
Universal Set and Subset.pptx
Universal Set and Subset.pptxUniversal Set and Subset.pptx
Universal Set and Subset.pptx
 
Function or not function
Function or not functionFunction or not function
Function or not function
 
SET THEORY
SET THEORYSET THEORY
SET THEORY
 
Set Concepts
Set ConceptsSet Concepts
Set Concepts
 
Union and intersection
Union and intersectionUnion and intersection
Union and intersection
 
Sets in mathematics
Sets in mathematicsSets in mathematics
Sets in mathematics
 
Introduction to set theory
Introduction to set theoryIntroduction to set theory
Introduction to set theory
 
Sets
SetsSets
Sets
 
Final maths presentation on sets
Final maths presentation on setsFinal maths presentation on sets
Final maths presentation on sets
 
Complement of a set
Complement of a setComplement of a set
Complement of a set
 
Introduction to Sets
Introduction to SetsIntroduction to Sets
Introduction to Sets
 
Union & Intersection of Sets
Union & Intersection of SetsUnion & Intersection of Sets
Union & Intersection of Sets
 
Ppt sets and set operations
Ppt sets and set operationsPpt sets and set operations
Ppt sets and set operations
 

Destaque

Set Theory
Set TheorySet Theory
Set Theoryitutor
 
Set Theory - Venn Diagrams and Maxima, Minima
Set Theory - Venn Diagrams and Maxima, MinimaSet Theory - Venn Diagrams and Maxima, Minima
Set Theory - Venn Diagrams and Maxima, Minima2IIM
 
Mathematics class XI SETS
Mathematics class XI SETSMathematics class XI SETS
Mathematics class XI SETSNaveen R
 
Maths Project 11 class(SETS)
Maths Project 11 class(SETS)Maths Project 11 class(SETS)
Maths Project 11 class(SETS)Sahil Mehra
 
Propositional logic sneha-mam
Propositional logic sneha-mam Propositional logic sneha-mam
Propositional logic sneha-mam nitesh9353
 
Propositional logic
Propositional logicPropositional logic
Propositional logicRushdi Shams
 
Set Operations Topic Including Union , Intersection, Disjoint etc De Morgans ...
Set Operations Topic Including Union , Intersection, Disjoint etc De Morgans ...Set Operations Topic Including Union , Intersection, Disjoint etc De Morgans ...
Set Operations Topic Including Union , Intersection, Disjoint etc De Morgans ...Abu Bakar Soomro
 
Logic (slides)
Logic (slides)Logic (slides)
Logic (slides)IIUM
 
Sets theory with animation
Sets theory with animationSets theory with animation
Sets theory with animationAnshu Rathore
 
Gameplay and ludology puzzles
Gameplay and ludology puzzlesGameplay and ludology puzzles
Gameplay and ludology puzzlesgowiththefloe
 
Module in solving quadratic equation
Module in solving quadratic equationModule in solving quadratic equation
Module in solving quadratic equationaleli ariola
 
Matrices & determinants
Matrices & determinantsMatrices & determinants
Matrices & determinantsindu thakur
 

Destaque (20)

Set Theory
Set TheorySet Theory
Set Theory
 
Set Theory - Venn Diagrams and Maxima, Minima
Set Theory - Venn Diagrams and Maxima, MinimaSet Theory - Venn Diagrams and Maxima, Minima
Set Theory - Venn Diagrams and Maxima, Minima
 
Mathematics class XI SETS
Mathematics class XI SETSMathematics class XI SETS
Mathematics class XI SETS
 
Maths Project 11 class(SETS)
Maths Project 11 class(SETS)Maths Project 11 class(SETS)
Maths Project 11 class(SETS)
 
Maths sets ppt
Maths sets pptMaths sets ppt
Maths sets ppt
 
Logic part1
Logic part1Logic part1
Logic part1
 
Propositional logic sneha-mam
Propositional logic sneha-mam Propositional logic sneha-mam
Propositional logic sneha-mam
 
Hum 200 w7
Hum 200 w7 Hum 200 w7
Hum 200 w7
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Set Operations Topic Including Union , Intersection, Disjoint etc De Morgans ...
Set Operations Topic Including Union , Intersection, Disjoint etc De Morgans ...Set Operations Topic Including Union , Intersection, Disjoint etc De Morgans ...
Set Operations Topic Including Union , Intersection, Disjoint etc De Morgans ...
 
Logic (slides)
Logic (slides)Logic (slides)
Logic (slides)
 
Sets theory with animation
Sets theory with animationSets theory with animation
Sets theory with animation
 
Gameplay and ludology puzzles
Gameplay and ludology puzzlesGameplay and ludology puzzles
Gameplay and ludology puzzles
 
Module in solving quadratic equation
Module in solving quadratic equationModule in solving quadratic equation
Module in solving quadratic equation
 
First order logic
First order logicFirst order logic
First order logic
 
REAL NUMBERS
REAL NUMBERSREAL NUMBERS
REAL NUMBERS
 
Maths &Fun
Maths &FunMaths &Fun
Maths &Fun
 
Matrices & determinants
Matrices & determinantsMatrices & determinants
Matrices & determinants
 
Logic
LogicLogic
Logic
 

Semelhante a Mathematics Sets and Logic Week 1

Set theory and Venn Diagram.docx
Set theory and Venn Diagram.docxSet theory and Venn Diagram.docx
Set theory and Venn Diagram.docxRenierXanderUy
 
schaums-probability.pdf
schaums-probability.pdfschaums-probability.pdf
schaums-probability.pdfSahat Hutajulu
 
SET AND ITS OPERATIONS
SET AND ITS OPERATIONSSET AND ITS OPERATIONS
SET AND ITS OPERATIONSRohithV15
 
POWERPOINT (SETS & FUNCTIONS).pdf
POWERPOINT (SETS & FUNCTIONS).pdfPOWERPOINT (SETS & FUNCTIONS).pdf
POWERPOINT (SETS & FUNCTIONS).pdfMaryAnnBatac1
 
20200911-XI-Maths-Sets-2 of 2-Ppt.pdf
20200911-XI-Maths-Sets-2 of 2-Ppt.pdf20200911-XI-Maths-Sets-2 of 2-Ppt.pdf
20200911-XI-Maths-Sets-2 of 2-Ppt.pdfMridulDhamija
 
Sets functions-sequences-exercises
Sets functions-sequences-exercisesSets functions-sequences-exercises
Sets functions-sequences-exercisesRoshayu Mohamad
 
Mathematics JEE quick revision notes pdf
Mathematics JEE quick revision notes pdfMathematics JEE quick revision notes pdf
Mathematics JEE quick revision notes pdfgowhiksankar54
 
mathematical sets.pdf
mathematical sets.pdfmathematical sets.pdf
mathematical sets.pdfJihudumie.Com
 
CMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set OperationsCMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set Operationsallyn joy calcaben
 
Bba i-bm-u-1.2 set theory -
Bba i-bm-u-1.2 set theory  - Bba i-bm-u-1.2 set theory  -
Bba i-bm-u-1.2 set theory - Rai University
 
Introduction to set theory
Introduction to set theoryIntroduction to set theory
Introduction to set theoryNittaya Noinan
 
Set-notation--venn-diagrams-and-probability [Read-Only].pptx
Set-notation--venn-diagrams-and-probability [Read-Only].pptxSet-notation--venn-diagrams-and-probability [Read-Only].pptx
Set-notation--venn-diagrams-and-probability [Read-Only].pptxChepkirui Sharon
 

Semelhante a Mathematics Sets and Logic Week 1 (20)

Set theory and Venn Diagram.docx
Set theory and Venn Diagram.docxSet theory and Venn Diagram.docx
Set theory and Venn Diagram.docx
 
schaums-probability.pdf
schaums-probability.pdfschaums-probability.pdf
schaums-probability.pdf
 
6.1_set.pptx
6.1_set.pptx6.1_set.pptx
6.1_set.pptx
 
SET AND ITS OPERATIONS
SET AND ITS OPERATIONSSET AND ITS OPERATIONS
SET AND ITS OPERATIONS
 
POWERPOINT (SETS & FUNCTIONS).pdf
POWERPOINT (SETS & FUNCTIONS).pdfPOWERPOINT (SETS & FUNCTIONS).pdf
POWERPOINT (SETS & FUNCTIONS).pdf
 
20200911-XI-Maths-Sets-2 of 2-Ppt.pdf
20200911-XI-Maths-Sets-2 of 2-Ppt.pdf20200911-XI-Maths-Sets-2 of 2-Ppt.pdf
20200911-XI-Maths-Sets-2 of 2-Ppt.pdf
 
Sets in discrete mathematics
Sets in discrete mathematicsSets in discrete mathematics
Sets in discrete mathematics
 
Sets class 11
Sets class 11Sets class 11
Sets class 11
 
Sets functions-sequences-exercises
Sets functions-sequences-exercisesSets functions-sequences-exercises
Sets functions-sequences-exercises
 
Sets
SetsSets
Sets
 
SETS
SETSSETS
SETS
 
Mathematics JEE quick revision notes pdf
Mathematics JEE quick revision notes pdfMathematics JEE quick revision notes pdf
Mathematics JEE quick revision notes pdf
 
mathematical sets.pdf
mathematical sets.pdfmathematical sets.pdf
mathematical sets.pdf
 
Sets
SetsSets
Sets
 
CMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set OperationsCMSC 56 | Lecture 6: Sets & Set Operations
CMSC 56 | Lecture 6: Sets & Set Operations
 
Bba i-bm-u-1.2 set theory -
Bba i-bm-u-1.2 set theory  - Bba i-bm-u-1.2 set theory  -
Bba i-bm-u-1.2 set theory -
 
SET THEORY
SET THEORYSET THEORY
SET THEORY
 
Sets
SetsSets
Sets
 
Introduction to set theory
Introduction to set theoryIntroduction to set theory
Introduction to set theory
 
Set-notation--venn-diagrams-and-probability [Read-Only].pptx
Set-notation--venn-diagrams-and-probability [Read-Only].pptxSet-notation--venn-diagrams-and-probability [Read-Only].pptx
Set-notation--venn-diagrams-and-probability [Read-Only].pptx
 

Último

This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 

Último (20)

This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 

Mathematics Sets and Logic Week 1

  • 1. Chapter 1 : Introduction to Set and Logic SM0013 Mathematics I Khadizah Ghazali Lecture 1 – 25/05/2011
  • 2. SM0013 - 24/05/2011 2 LEARNING OUTCOMES At the end of this chapter, you should be able to : know what set & logic are about define some basic terminologies in set & logic identify relations between pairs of sets use Venn diagrams & the counting formula to solve set equations build & use the truth table
  • 3. SM0013 - 24/05/2011 3 Outline (A) 1.1 Symbols in set & logic 1.2 Set Terminology and Notation 1.3 Operations on set 1.4 Algebra of sets 1.5 Finite Sets and Counting Principle.
  • 4. SM0013 - 24/05/2011 4 Outline (B) 1.6 Statements and Argument 1.7 Combining, Conditional and Biconditional Statements 1.8 Truth Table 1.9 Logic of Equivalent
  • 5. SM0013 - 24/05/2011 5 SECTION 1.1 Symbols in set & logic Symbols is the central part in set & logic. Here some important symbols :
  • 10. SM0013 - 24/05/2011 10 Here is a list of sets that we will refer to often, and the symbols are standard.
  • 11. SM0013 - 24/05/2011 11 Example 1.1Example 1.1
  • 12. SM0013 - 24/05/2011 12 Example 1.2Example 1.2
  • 13. SM0013 - 24/05/2011 13 Example 1.3Example 1.3
  • 14. SM0013 - 24/05/2011 14 SECTION 1.2 Set Terminology & Notation George Cantor (1845-1915), in 1895, was the first to define a set formally. Definition : Set A set is a group of things of the same kind that belong together. The objects that make up a set are called elements or members of the set.
  • 15. SM0013 - 24/05/2011 15 Some Properties of Sets The order in which the elements are presented in a set is not important. A = {a, e, i, o, u} and B = {e, o, u, a, i} both define the same set. The members of a set can be anything. In a set the same member does not appear more than once. F = {a, e, i, o, a, u} is incorrect since the element ‘a’ repeats.
  • 16. SM0013 - 24/05/2011 16 Some Notation Consider the set A = {a, e, i, o, u} then We write “‘a’ is a member of ‘A’” as: a ∈ A We write “‘b’ is not a member of ‘A’” as: b ∉ A Note: b ∉ A ≡ ¬ (b ∈ A)
  • 17. SM0013 - 24/05/2011 17 Set representation: There are 4 ways to represent a set. 1. Set may be represented by words, for example: A = the first three natural numbers greater than zero B = the colors red, white, blue, and green
  • 18. SM0013 - 24/05/2011 18 Set representation (cont.): 2. Another way to represented a set is to list its elements between curly brackets (by enumeration). ~ is called the roster method, for example: C = {1, 2, 3} D = {red, white, blue, green}
  • 19. SM0013 - 24/05/2011 19 Set representation (cont.): 3. Another kind of set notation commonly used is set-builder notation, for example: The set E of a natural number less than 4 is written as
  • 20. SM0013 - 24/05/2011 20 Set representation (cont.): 4. A set can also be represented by a Vann diagram A pictorial way of representing sets. The universal set is represented by the interior of a rectangle and the other sets are represented by disks lying within the rectangle. E.g. A = {a, e, i, o, u} a e i o u A
  • 21. SM0013 - 24/05/2011 21 Equality of two Sets A set ‘A’ is equal to a set ‘B’ if and only if both sets have the same elements. If sets ‘A’ and ‘B’ are equal we write: A = B. If sets ‘A’ and ‘B’ are not equal we write A ≠ B. In other words we can say: A = B ⇔ (∀x, x∈A ⇔ x∈B) E.g. A = {1, 2, 3, 4, 5}, B = {2, 4, 1, 3, 5}, C = {1, 3, 5, 4} D = {x : x ∈ Z ∧ 0 < x < 6}, E = {1, 10/5, , 22, 5} then A = B = D = E and A ≠ C. 9
  • 22. SM0013 - 24/05/2011 22 Universal Set and Empty Set The members of all the investigated sets in a particular problem usually belongs to some fixed large set. That set is called the universal set and is usually denoted by ‘U’. The set that has no elements is called the empty set and is denoted by Φ or {}. E.g. {x | x2 = 4 and x is an odd integer} = Φ
  • 23. SM0013 - 24/05/2011 23 Cardinality of a Set The number of elements in a set is called the cardinality of a set. Let ‘A’ be any set then its cardinality is denoted by |A| @ n(A) E.g. A = {a, e, i, o, u} then |A| = 5.
  • 24. SM0013 - 24/05/2011 24 Subsets Set ‘A’ is called a subset of set ‘B’ if and only if every element of set ‘A’ is also an element of set ‘B’. We also say that ‘A’ is contained in ‘B’ or that ‘B’ contains ‘A’. It is denoted by A ⊆ B or B ⊇ A. In other words we can say: (A ⊆ B) ⇔ (∀x, x ∈ A ⇒ x ∈ B)
  • 25. SM0013 - 24/05/2011 25 Subset cont. If ‘A’ is not a subset of ‘B’ then it is denoted by A ⊆ B or B ⊇ A E.g. A = {1, 2, 3, 4, 5} and B = {1, 3} and C = {2, 4, 6} then B ⊆ A and C ⊆ A 1 3 5 2 4 6 B A C
  • 26. SM0013 - 24/05/2011 26 Some Properties Regarding Subsets For any set ‘A’, Φ ⊆ A ⊆ U For any set ‘A’, A ⊆ A A ⊆ B ∧ B ⊆ C ⇒ A ⊆ C A = B ⇔ A ⊆ B ∧ B ⊆ A
  • 27. SM0013 - 24/05/2011 27 Proper Subsets Notice that when we say A ⊆ B then it is even possible to be A = B. We say that set ‘A’ is a proper subset of set ‘B’ if and only if A ⊆ B and A ≠ B. We denote it by A ⊂ B or B ⊃ A. In other words we can say: (A ⊂ B) ⇔ (∀x, x∈A ⇒ x∈B ∧ A≠B)
  • 28. SM0013 - 24/05/2011 28 Venn Diagram for a Proper Subset Note that if A ⊂ B then the Venn diagram depicting those sets is as follows: If A ⊆ B then the disc showing ‘B’ may overlap with the disc showing ‘A’ where in this case it is actually A = B B A
  • 29. SM0013 - 24/05/2011 29 Power Set The set of all subsets of a set ‘S’ is called the power set of ‘S’. It is denoted by P(S) or 2S. In other words we can say: P(S) = {x : x ⊆ S} E.g. A = {1, 2, 3} then P(A) = {Φ, {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3}} Note that |P(S)| = 2|S|. E.g. |P(A)| = 2|A| = 23 = 8.
  • 30. SM0013 - 24/05/2011 30 ??? Is the empty set, Φ a subset of {3, 5, 7}? If we say that Φ is not a subset of {3, 5, 7}, then there must be an element of Φ that does not belong to {3, 5, 7}. But that cannot happen because Φ is empty. So Φ is a subset of {3, 5, 7}. In fact, by the same reasoning, the empty set is a subset of every set.
  • 31. SM0013 - 24/05/2011 31 SECTION 1.3 Operations on Set Complement : The (absolute) complement of a set ‘A’ is the set of elements which belong to the universal set but which do not belong to A. This is denoted by Ac or Ā or Á . In other words we can say: Ac = {x : x∈U ∧ x∉A}
  • 32. SM0013 - 24/05/2011 32 Venn Diagram for the Complement A Ac
  • 33. SM0013 - 24/05/2011 33 Set Complementation If U is a universal set and A is a subset of U, then
  • 34. SM0013 - 24/05/2011 34 ∪nion Union of two sets ‘A’ and ‘B’ is the set of all elements which belong to either ‘A’ or ‘B’ or both. This is denoted by A ∪ B. In other words we can say: A ∪ B = {x : x∈A ∨ x∈B} E.g. A = {3, 5, 7}, B = {2, 3, 5} A ∪ B = {3, 5, 7, 2, 3, 5} = {2, 3, 5, 7}
  • 35. SM0013 - 24/05/2011 35 Venn Diagram Representation for Union B A A ∪ B 3 57 2
  • 36. SM0013 - 24/05/2011 36 I∩tersection Intersection of two sets ‘A’ and ‘B’ is the set of all elements which belong to both ‘A’ and ‘B’. This is denoted by A ∩ B. In other words we can say: A ∩ B = {x : x∈A ∧ x∈B} E.g. A = {3, 5, 7}, B = {2, 3, 5} A ∩ B = {3, 5}
  • 37. SM0013 - 24/05/2011 37 Venn Diagram Representation for Intersection B A A ∩ B 3 57 2
  • 38. SM0013 - 24/05/2011 38 Difference The difference or the relative complement of a set ‘B’ with respect to a set ‘A’ is the set of elements which belong to ‘A’ but which do not belong to ‘B’. This is denoted by A B. In other words we can say: A B = {x : x∈A ∧ x∉B} E.g. A = {3, 5, 7}, B = {2, 3, 5} A B = {3, 5, 7}{2, 3, 5} = {7}
  • 39. SM0013 - 24/05/2011 39 Venn Diagram Representation for Difference B A A B 3 57 2
  • 40. SM0013 - 24/05/2011 40 Disjoint Sets If two sets A and B have no elements in common, that is, if then A and B are called disjoint sets. Notice that the circles corresponding to A and B not overlap anywhere because A∩B is empty. A ∩ B = Φ B A
  • 41. SM0013 - 24/05/2011 41 Some Properties A ⊆ A ∪ B and B ⊆ A ∪ B A∩B ⊆ A and A∩B ⊆ B |A ∪ B| = |A| + |B| - |A∩B| A ⊆ B ⇒ Bc ⊆ Ac A B = A ∩ Bc If A ∩ B = Φ then we say ‘A’ and ‘B’ are disjoint.
  • 42. SM0013 - 24/05/2011 42 SECTION 1.4 Algebra of Set In section 1.3 we saw that, given two sets A and B, the operations union and intersection could be used to generate two further sets These two new sets can then be combined with a third set C, associated with the same universal set U as the sets A and B, to form four further sets ∪ ∩A B and A B ( ) ( ) ( ) ( )∪ ∪ ∩ ∪ ∪ ∩ ∩ ∩C A B , C A B , C A B , C A B
  • 43. SM0013 - 24/05/2011 43 And the compositions of these sets are clearly indicated by the shaded portion in the Venn diagrams
  • 44. SM0013 - 24/05/2011 44 Algebraic Laws on Sets: Sets operations of union, intersection and complement satisfy various laws (identities). Let U be the universal set and A, B and C are subsets of U.
  • 45. SM0013 - 24/05/2011 45 Algebra of Sets Idempotent laws A ∪ A = A A ∩ A = A Associative laws (A ∪ B) ∪ C = A ∪ (B ∪ C) (A ∩ B) ∩ C = A ∩ (B ∩ C)
  • 46. SM0013 - 24/05/2011 46 Algebra of Sets cont. Commutative laws A ∪ B = B ∪ A A ∩ B = B ∩ A Distributive laws A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C) A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C)
  • 47. SM0013 - 24/05/2011 47 Algebra of Sets cont. Identity laws A ∪ Φ = A A ∩ U = A A ∪ U = U A ∩ Φ = Φ Involution laws (Ac)c = A
  • 48. SM0013 - 24/05/2011 48 Algebra of Sets cont. Complement laws A ∪ Ac = U A ∩ Ac = Φ Uc = Φ Φc = U
  • 49. SM0013 - 24/05/2011 49 Algebra of Sets cont. De Morgan’s laws (A ∪ B)c = Ac ∩ Bc (A ∩ B)c = Ac ∪ Bc Note: Compare these De Morgan’s laws with the De Morgan’s laws that you will find in logic and see the similarity.
  • 50. SM0013 - 24/05/2011 50 Proofs Basically there are two approaches in proving above mentioned laws and any other set relationship Mathematical Notation Using Venn diagrams
  • 51. SM0013 - 24/05/2011 51 Example 1.4 :Example 1.4 :
  • 52. SM0013 - 24/05/2011 52 Solution : a)Method 1;
  • 53. SM0013 - 24/05/2011 53 Solution : a)Method 2;
  • 54. SM0013 - 24/05/2011 54 Solution : b)
  • 55. SM0013 - 24/05/2011 55 SECTION 1.5 Finite Sets & Counting Principle Definition : Finite set A set is said to be finite if it contains exactly p elements. Otherwise a set is said to be infinite.
  • 56. SM0013 - 24/05/2011 56 Number of the elements in a set; is determined by simply counting the elements in the set. If A is any set, then n(A) or |A| denotes the number of elements in A.
  • 57. SM0013 - 24/05/2011 57 Another result that is easily seen to be true is the following cases :
  • 58. SM0013 - 24/05/2011 58 Case III : Inclusion-Exclusion Principle
  • 59. SM0013 - 24/05/2011 59 Case IV:
  • 60. SM0013 - 24/05/2011 60 Example 1.5 :Example 1.5 :
  • 61. SM0013 - 24/05/2011 61 Example 1.6 :Example 1.6 :
  • 62. SM0013 - 24/05/2011 62 Example 1.7 :Example 1.7 :