SETS, RELATION AND FUNCTIONS
DEFINITION OF A SET:
A well defined collection of distinct objects is called a SET.
The members of a set are called its ELEMENTS.
The sets are generally denoted by capital letters A, B, C...., X, Y, Z.
The elements of a set are generally denoted by small letters a, b, c,....., x, y, z.
If x is an element of the set A, we write x∈A
If x is not an element of the set A, we write as
A well defined collection is such that given an object, it is possible to determine whether the object belongs to the particular collection or net, for example, the collection of all officers in the Post office, the collection of all subject taught to students of class X, collection of all IT companies.
On the other hand, the collection of all intelligent students in a class, the collection of all tall girls in a senior secondary school, the collection of all difficult questions asked in Mathematics, Physics and Chemistry in NEET 21 are not sets, since the words intelligent, tall, difficult are not well defined.
DESCRIPTION OF A SET
A set can be represented by either of the following two methods :
ROSTER METHOD OR TABULAR FORM
In this method a set is represented by listing all its elements separated by commas within {} For example,
· The set V of vowels in English alphabet is V = {a, e, i, o, u}
· The set E of even natural numbers is E = {2, 4, 6, 8,......}
· The set of letters forming the word SCHOOL is {S, C, H, O, L}
PROPERTY METHOD OR SET BUILDER FORM
In this method, a, set is represented by stating a rule or a set of rules, which are satisfied by all the elements of the set and not by any other element outside the set. In general, we write S = { x : P (x)}
Which means that S is a set of elements, which satisfy the condition P(x).
[The symbol : or | is read as “such that”]
For example
V = { x : x is a vowel in the English alphabet}
E = {x : x is an even natural number}
A = { x : x is a letter of the word SCHOOL}
B = {x : x is a factor of 40, x ∈ N} = {1, 2, 4, 5, 8, 10, 20, 40}
TYPES OF SET
1. EMPTY SET OR NULL SET OR VOID SET
A set which does not contain any element is called the empty set.
A null set is denoted by φ or {}.
For example:
- C = {x : x is an even prime number greater than 2}
- D = {x : x is a married bachelor}
2. SINGLETON SET
A set containing only one element is called a singleton set.
For example:
- A = {4}.
- C = {a}.
- D = { x : x+4 = 0, x∈I}.
- {0} is a singleton set.
- φ is a void set but {φ} is a singleton set.
3. FINITE AND INFINITE SETS
A set which is empty or consists of a definite number of elements is called FINITE. If a set A consists of n distinct elements then we write n (A) = n or O (A) = n It is called the CARDINAL NUMBER, or CARDINALITY or ORDER of the set A. The cardinality of a void set is zero and the cardinality of a singleton set is 1. Other examples of finite set, are
- Set A of days of the week, n (A) = 7
- Set V of vowels in English alphabet, n(V) = 5
- Set M of all men is the world, n (M) may be a quite big number but it is a finite number although we do not know the exact number of elements in M.
For example,
Z or I : the set of integers = { ......., –3, –2, –1, 0, 1, 2, 3,....}
R+ : the set of positive real numbers
Q+ : the set of positive rational numbers
I+ : the set of positive integers
4. EQUAL AND EQUIVALENT SETS
Given two sets A and B. If every element of A is also an element of B and vice versa, the sets A and B are said to be equal and we write A = B. Clearly, A = B, if they have exactly the same elements.
For example:
- Let A ={1, 4, 5} and B = {4, 1, 5}, then A = B
- Let A = { x : 2 x 6, } and B = {2, 3, 4, 5, 6} then A = B
- Let A = { x : x is a prime number number less than 6} and B = {x : x is a prime factor of 30}, then A = B
- Let A = { x : x is a letter of the word ALLOY} and B = {x : x is a letter of the word LOYAL} then A = B
- Let A = {1, 2}, B = {1, 2, 2, 1} and C = { x : x2 – 3x + 2=0} then A = B = C.
Two finite sets A and B are said to be EQUIVALENT if they have the same number of elements, i.e. n(A) = n(B). We write A≈B
All equal sets are equivalent but all equivalent sets are not equal.
For example:
- A = {a, b, c} and B = {10, 20, 30} then A≈B but A≠B.
then A≈B but A≠B.
- { x : x2 –16 = 0, } and B = {x : x–16=0, } then A≈B as well as A = B.
SUBSETS
If every element of a set A is also an element of a set B, then A is called a subset of B or A is contained in B and we write AϹB. [The symbol Ϲis read as “a subset of” or “contained in”]
Thus AϹB if x ∈ A ⇒ x ∈ B
If AϹB, then we also say that B is a SUPERSET of A and we write BϽA (read as "B contains A").
THEOREMS
·
·
For any set A, φ and A are called IMPROPER SUBSETS. All other subsets of A are called PROPER SUBSETS. If B is a proper subset of A, we write BϹA. [The symbol Ϲ is read as “ is a proper subset of”]
- For two sets A and B
[The symbol ↔is read as “if and only if” also written as iff or sometimes “implies and implied by”]
- A finite set containing n elements has 2n subsets. However the number of proper subsets is 2n – 2.
Examples :
- If A = {2, 3, 4} and B = {1, 2, 3, 4], then
- If A = {a, b, c} then n (A) = 3. Hence A has 23 = 8 subsets, viz, φ; {a}; {b}; {c}; {a, b}; {b, c}; {c, a}; {a, b, c}. φ and {a,b, c} = A are improper subsets. All other are proper subsets
- The set of irrational numbers, denoted by T, is composed of all other real numbers. Thus T = {x : x ∈ R and x ∉ Q}, i.e., all real numbers that are not rational. Some of the obvious relations among these subsets are: N ⊂ Ζ ⊂ Q, Q ⊂ R, T ⊂ R, N ⊄ Τ.
INTERVALS AS SUBSETS OF R
Let a, b ∈ R and a < b. Then the set of real numbers {y : a < y < b} is called an open interval and is denoted by (a, b). All the points between a and b belong to the open interval (a, b) but a, b themselves do not belong to this interval.
The interval which contains the end points also is called closed interval and is denoted by [a, b]. Thus [a, b] = {x : a ≤ x ≤ b}.
We can also have intervals closed at one end and open at the other, i.e.
POWER SET
UNIVERSAL SET
A set, which contains all sets under consideration as subsets is called the universal set. It is denoted by U. The choice of universal set is not unique. Different universal sets are used in different contexts.COMPARABLE SETS
VENN DIAGRAM
OPERATIONS ON SETS
UNION OF SETS
- If A = {1,2,3}; B={2,3,4,5}. Then A ∪ B = {1,2,3,4,5}
- If A = {a, e,i,o,u}; B= {e,o,u}. Then A ∪ B = {a, e,i,o,u}
- If A = {1,2}; B = {a,b,c} Then A ∪ B = {1,2,a,b,c}
- If A {x : x ∈ I+}; B{x : x ∈ I and x < 0} ;
ALGEBRA OF UNION
- Idempotent Law : A ∪ A = A
- Commutative Law : A ∪ B = B ∪ A
- Associative Law : (A ∪ B) ∪ C = A ∪ (B ∪ C)
- Identity Law : (i) A ∪ φ = A, (ii) A ∪ U = U
INTERSECTION OF SETS
- If A = {2,4,7,10} and B = {1, 2, 3, 4}, Then A∩B = {2,4}
- If A = {x : x is a prime number} and B = {x : x ∈ N}
- If A = {1,3,5,7,9,......}; B = {2,4.6,8,.....}, Then A ∩ B = φ.
- Idempotent Law : A∩A = A
- Commutative Law : A∩B = B∩A
- Associative Law : (A∩B)∩C = A∩ (B∩C)
- Identity Law : (i) A∩φ = φ, (ii) A∩U = A
- Distributive law : (i) A∪(B∩C) = (A∪B) ∩ (A∪C) (ii) A∩(B∪C) = (A∩B) ∪ (A∩C)
DIFFERENCE OF SETS
Notes:
- A⊆A∪B
- B ⊆ A ∪ B
- A∩B⊆A
- A∩B⊆B
- If A⊆B, then (a) A∪B = B, (b) A∩B = A
- If A∩B = φ, then A and B are called DISJOINT SETS
- If A∩B ≠ φ, then A and B are called OVERLAPPING SETS.
- A – B⊆A, B – A ⊆ B
- A⊆BA – B = φ
- A – B ≠ B – A
- A – B = A – (A∩B)
- A – φ = A and A – A = φ
- A – (A – B) = A B
- A – B = B – A A = B
- A – B, B – A, A∩B are pairwise disjoint.
SYMMETRIC DIFFERENCE
Thus, A’ or Ac = { x : x ∈ U and x ∉A} = U – A
- A∩A’ = φ
- A ∪ A’ = U
- U’ = φ
- φ’ = U
- (A’)’ = A
- A ⊆ B ⇔ B’ ⊆ A’
- A – B = A∩B’
- B – A = B∩A’
- A – B = B’ – A’
- De morgan’s laws
- (A∪B)’ = A’∩B’
- (A∩B)’ = A’∪B’
- A – (B∪C) = (A– B) ∩ (A–C)
- A – (B∩C) = (A–B) ∪ (A–C)
- A Δ B = (A–B) ∪ (B–A) = (A∪B) – (A∩B)
- A – B = A ⇔ A ∩ B = φ
- (A–B) ∪ B = A∪B
- (A – B) ∩ B = φ
- A ∩ (B – C) = (A∩B) – (A∩C)
- A ∩ (BΔC) = (A ∩ B) Δ (A∩C)
, where P(A) is the power set of A
VERY IMPORTANT THEOREMS ON CARDINAL NUMBERS
- n (A ∪ B) = n (A) + n (B) – n (A ∩ B)
- n (A ∪ B) = n(A) + n (B)
A and B are disjoint non void sets.
- n (A∪B∪C) = n (A) + n (B) + n (C) – n (A∩B) – n (B∩C) – n (C∩A) + n ( A∩B∩C)
- n (A–B) = n (A) – n (A ∩ B) = n (A ∩ B’)
- n (A Δ B) = n (A) + n (B) – 2 n (A∩B)
- n(A’) = n (U) – n (A)
- n (A’∪B’) = n (U) – n (A∩B)
- n (A’∩B’) = n (U) – n (A∪B)
- Let n (A) = p and n (B) = q
- If A1, A2, ......, Am are disjoint sets, then
CARTESIAN PRODUCT OF SETS
- A × B = {(1, a)}, (1, b), (2, a), (2, b), (3, a), (3, b)}
- B × A = {(a, 1)}, (a, 2), (a, 3), (b, 1), (b, 2), (b, 3)}
- A × A = {(1, 1)}, (1, 2), (1, 3), (2, 1), (2, 2), (2, 3),(3, 1), (3, 2), (3, 3)}
- B × B = { (a, a), (a, b), (b, a) (b, b)}
- If at least one of A or B is empty set then A×B = φ
- A × B ≠ φ iff A ≠ φ and B ≠ φ
- In general A × B ≠ B × A
- If A and B are finite sets, then n (A×B) = n (A). n (B)
- If A and B are non-empty sets and either A or B is an infinite set, then A×B is an infinite set
- If A = B, then A×B is expressed as A2. Thus A2 = A×A
- We can also define, in a similar way, ordered triplets. If A, B, and C are three sets, then (a, b, c), where a ∈A, b ∈ B and c ∈ C, is called an ordered triplet. The Cartesian product of sets A, B and C is defined as
- A × (B∪C) = (A×B) ∪ (A×C)
- A×(B∩C) = (A×B) ∩ (A×C)
- A× (B–C) = (A×B) – (A×C)
- If A and B are two non-empty sets, then A×B = B×A ⇔ A=B
- If A ⊆ B, then A×A ⊆ (A×B) ∩ (B×A)
- A⊆ B ⇒A × C ⊆ B×C for any set C
- A ⊆ B and C⊆ D ⇒ A×C ⊆ B × D
- (A×B) ∪ (C×D) ⊆ (A∪ C)×(B∪D)
- (A×B) ∩ (C×D) = (A∩C) × (B∩D)
- (A×B) ∩ (B×A) = (A∩B) × (B∩A)
- Let A and B be two non-empty sets having n elements in common, then A×B and B×A have n2 elements in common.
RELATIONS
- If A = {3, 5} and B = {2, 4}, then A× B = {(3,2), (3,4), (5,2), (5,4)}
- If A = {2, 3, 5, 6} and R be a relation “divides” on A that is aRb ⇔ a divides b then 2R2, 2R6, 3R3, 3R6, 5R5, 6R6
- If A = {1,2,3} and B = {a, b, c} let R = {(1,a) (1,c), (2, b)
- Let R be a relation on the set N of natural numbers defined by a + 3b = 12.
NUMBER OF RELATIONS
Let A contains m elements and B contains n element. Then A×B contains mn elements. Hence, A×B has 2mn subsets. That is the total number of relations from A to B are 2mn. The relations φ (called a VOID RELATION) and A × B (called an UNIVERSAL RELATION) are said to be TRIVIAL RELATIONS from A to B.
INVERSE RELATION
R–1 = range of R and range of R–1 = domain of R also. (R–1)–1 = R
Example :
- Let A = {1, 2, 3} and B = {a, b, c}
- Let A be set of first ten natural numbers.
Define a relation R on the set A by (a, b) ∈ R ⇔ a + 2b = 10
TYPES OF RELATIONS ON THE SET A
VOID RELATION
If R = φ , then R is called a void relation on A.
UNIVERSAL RELATION
If R = A×A, then R is called an universal relation on A.
IDENTITY RELATION
- Identity relation on a non-void set A is always reflexive on A. However, the converse need not be true.
- Universal relation on a non-void set A is reflexive
- In null set φ , every relation is reflexive.
- The relation R on N defined by (a, b)∈R ⇔ a = b is reflexive.
- The relation R on the set of real numbers R defined by (a, b) ∈R ⇔ a ≥ b
a, b ∈R, is reflexive for a ≥ a
a ∈R, hence aRa. [The relation > is not reflexive]
- Let X be a non-void set, then a relation R on P(X), the power set of X such that (A, B) ∈R ⇔ A ⊆ B is reflexive for A ⊆ A
A [every set is subset by itself]
- Define a relation R on the set L of all straight lines in a plane such that
aRb ⇒ bRa, where a, b∈A.
- Identity relation and universal relation on a non-void set are symmetric.
- In the null set every relation is symmetric.
- The relation R on N, defined by aRb ⇔ a = b is symmetric.
- The relation R on R defined by aRb ⇔ a ≥ b is not symmetric [for if a ≥ b ⇒ b
a]
- The relation R on P(X) for a non-empty set X, defined by ARB ⇔ A ⊆ B is not symmetric.
- The relation R on the set L defined by l1Rl2 ⇔ l1 is parallel to l2 is symmetric.
- The relation R on the set L defined by l1Rl2 ⇔ l1 is perpendicular to l2 is symmetric.
- A reflexive relation on the set A is not necessarily symmetric.
- A relation R on a set A is symmetric iff R = R–1.
- Identity and Universal relations on a non-empty set are transitive.
- Every relation defined on the null set φ is transitive
- The “perpendicularity” relation of the set L is not transitive.
- Identity relation on a non-empty set is anti symmetric
- Universal relation on a set A containing at least two distinct elements cannot be anti-symmetric.
- The relation R on R defined by aRb ⇔ a ≥ b is anti symmetric [For a ≥ b and b ≥ a ⇒ a =b]
- The relation R on P(X) for a non-void set X defined by ARB ⇔ A⊆B is anti symmetric.
- The relation R on N defined by aRb ⇔ a divides b is anti symmetric. However, the relation is not anti symmetric on I.
- R is reflexive, i.e, aRa
a∈A
- R is symmetric, i.e., aRb ⇒ bRa
- R is transitive, i.e., aRb and bRc ⇒ aRc
- R is reflexive, i.e. aRa
a∈A
- R is antisymmetric i.e., aRb and bRa ⇒ a = b
- R is transitive, i.e., aRb and bRc ⇒ aRc.
- If R and S are two equivalence relations on a set A, then R∩S is also an equivalence relation on A.
- If R and S are two equivalence relations on a set A, then R∪S is not necessarily an equivalence relation
- If R is an equivalence relation on a set A, then R–1 is also an equivalence relation on A.
- A1∪A2∪........= S, i.e.
Ai = S
- For any two subsets Ai and Aj of S, Ai
Aj = φ
- Let S = {1, 2, 3, 4, 5, 6, 7}. Suppose A1 = {1, 5}, A2 = {2, 4,7}, A3 = {3, 6}
- All partitions of the set {a, b, c,} are
- Let
then there is one-one correspondence between the elements of A and their reciprocals in B and vice versa.
- There is one-one correspondence between the set of real numbers R and the points on a straight line.
R2 is a function
R3 is not a function as 1 occurs twice as the first elements in ordered pairs of R3.
- One-to-one Function (or injective function)
- Many-one Function : A function f :
is many-one if two or more different elements of A have the same image in B.
- Onto or Surjective Function : The function f :
is said to be an onto function if every element of B is image of at least one element of A. That is, if for each
, there exists at least one
such that f(x) = y, then f is an onto function.
- Into Function : If the function f :
is such that there is at least one element of B which is not the image of any element of A, then f is called an into function.
- Bijective function : A function f :
is a bijective function if f is one-one as well as onto, i.e. f is injective and surjective both.
- Total number of functions from the set A to the set B = nm
- The number of one-one (injective) functions from A to B
= - If n = m, then every one-one function is a bijective function, thus, the number of bijective functions from A to B, provided n = m is n! = m!
- The number of onto (surjective) functions from A to B
=
0 Comments