Example:: The Set of All Natural Number Is
Example:: The Set of All Natural Number Is
A set is a well-defined collection of objects. The objects in a set are called its members or
elements.
Example: The set of all natural number is N={1,2,3,…}
Representation of Sets:
Subset:
Denoted by A ⊆ B.
If every element of set A is also an element of set B, then A is a subset of B.
Example: Example: Let 𝑍 be the set of all integers and 𝑀 be the set of all even integers,
then 𝑀 is a subset of 𝑍 (𝑀 ⊆ 𝑍 ).
Complement of a set:
Cartesian product:
(2,𝑏),(3,𝑎),(3,𝑏)}.
De Morgan's Law:
Sol^n:
Proof of (1):
Let x ∈ (A U B)'
⇒ x ∉ (A U B)
⇒ x ∉ A and x ∉ B
⇒ x ∈ A' ∩ B'
⇒ x ∉ A and x ∉ B
⇒ x ∉ (A U B)
⇒ x ∈ (A U B)'
⇒ x ∈ (A U B)'
Therefore, by the definition of equality of two sets, we have (A U B)' = A' ∩ B' (Proved)
Proof of (2):
Let x ∈ (A ∩ B)'
⇒ x ∉ (A ∩ B)
⇒ x ∉ A or x ∉ B
⇒ x ∈ A' or x ∈ B'
⇒ x ∈ A' U B'
⇒ x ∈ A' or x ∈ B'
⇒ x ∉ A or x ∉ B
⇒ x ∉ (A ∩ B)
⇒ x ∈ (A ∩ B)'
Therefore, by the definition of equality of two sets, we have (A ∩ B)' = A' U B' (Proved)
Relation
◦ Definition: If A and B are two non-empty sets, then a relation from A to B is a subset of A
X B.
◦ Example: Let A = {1, 2, 3} and B = {3, 5}. The relation R from A to B with condition x<y
is
R = {(1, 3), (1, 5), (2, 3), (2, 5), (3, 5)}
2. Equivalence Relation:
Symmetric: if ( 𝑥 , 𝑦 ) ∈ 𝑅 ⇒ ( 𝑦 , 𝑥 ) ∈ 𝑅 ∀ 𝑥 , 𝑦 ∈ 𝐴
Transitive: if ( 𝑥 , 𝑦 ) ∈ 𝑅 and ( 𝑦 , 𝑧 ) ∈ 𝑅 ⇒ ( 𝑥 , 𝑧 ) ∈ 𝑅 ∀ 𝑥 , 𝑦 , 𝑧 ∈ 𝐴
Antisymmetric: if ( 𝑥 , 𝑦 ) ∈ 𝑅 and ( 𝑦 , 𝑥 ) ∈ 𝑅 ⇒ 𝑥 = 𝑦 ∀ 𝑥 , 𝑦 ∈ 𝐴
(i) Since, 𝑎2 + 𝑏2 = 1
Sol^n:
⇒ 𝑏2 + 𝑎2 = 1
𝑅 is symmetric.
(iii) Since,
1² + 0² = 1
02 + 12=1.
Function
Def^n: Let X and Y be two non-empty sets. Then a rule f which assigns to each element x of X, a
unique element of f(x) of Y is called a function from X to Y and we write f: X → Y
The element f(x) ∈ f associated with the element x ∈ X is called the image of x, while x is
called the pre-image of f(x).
The sets X and Y are known as the domain & codomain of f, while the set f(x) = {f(x): x ∈ X}
consisting of all possible images of elements of X is called the range of the function.
B f Y
1 A
2 B
3 C
4
distinct images in Y. i.e., f is one-one if f(x1) = f(x2) => x1 = x2 where, x1, x2∈ X.
One-one function: A function f: X ---> Y is said to be one-one if distinct elements in X have
Onto function: A function f: X ---> Y is said to be an onto function if every element in Y has at
least one pre-image in X.