Lecture-4
Lecture-4
Lecture - 4
• Interval Notation :
A = { x| 0 ≤ x ≤ 5 } = [ 0 , 5 ]
A = { x| 0 ˂ x ˂ 5 } = ( 0 , 5 )
A = { x| 0 ˂ x ≤ 5 } = ( 0 , 5 ]
Special Sets
• Universal Set :
U is the set containing everything under consideration.
N
2 4
N U
6
• Empty Set :
A set with no elements is called empty set or null set.
Empty set is denoted by ∅ and { }
But not {∅}
Set Equality
• Two sets are equal if and only if they have the same elements.
∀x(x ∈ A ↔ x ∈ B)
• Notation: A = B
• Example:
• A = { 0, 1, 4 , 9} & B = { 4, 1, 0, 9}
A=B
• A = { 0, 1, 4 , 9} & B = { 4, 1, 0, 0, 9, 9, 9, 1}
A=B
Venn Diagrams
• Sets can be represented graphically using Venn diagrams.
• In Venn diagrams the universal set U, which contains all the objects
under consideration, is represented by a rectangle
U
2
B 4 1
A⊆B
3
5 A
Subsets
• For every set S,
(i ) ∅ ⊆ S
(ii ) S ⊆ S
• Notation: A ⊂ B
Cardinality
• If a set is finite then the number of distinct elements of the set is the
cardinality of the set.
• Notation: |S|
• Example: A = {1, 2, 2, 3, 4, 4, 4}
Therefore, |A|= 4
• Because the null set has no elements, it follows that |∅| = 0
• Notation: (a1 , a2 , . . . , an )
• Notation: A × B = {(a, b) | a ∈ A ∧ b ∈ B}
Therefore, A×B≠B×A
Cartesian Products
• The notation A2 is used to denote A × A, the Cartesian product of the
set A with itself. Similarly, A3 = A × A × A, A4 = A × A × A × A, and so
on.