Beruflich Dokumente
Kultur Dokumente
11. If A ⊂ B and C ⊂ D, then (A × C) ⊂ (B × D) (see §-11) ●•If each element of A is related to every element of A then relation R in set
12. (A×B) – (C×D) = (A×(B – D))∪((A–C)×B) (see §-12) A is called Universal Relation, i.e., R = A × A. (see §-19)
13. (A × B) ∩ (C × D) = (A ∩ C) × (B ∩ D) (see §-13) [Both the empty relation and the universal relation are sometimes called trivial
relations]
14. If n(A∩B) = n then n[(A×B)∩(B×A)] = n2 (see §-14)
●•If (x, y) ∈ R then y is called image of element x under a relation R.
15. If A ⊆ B then (A × B) ∩ (B × A) = A2 (see §-15)
3 4
Types of Relations ●•Equivalence Relation: A relation R in a set A is said to be an equivalence
●•Inverse of a relation: Inverse of Relation R is the opposite or reciprocal of relation if R is reflexive, symmetric and transitive.
the Relation (R). It is denoted by R-1. This means if R is the relation from A to B Examples: (i). Relations "is equal to" on the set of numbers, (ii). "has the same
then R-1 will be another relation from B to A. i.e., R− 1 = {(b, a) : (a, b)∈R}. birthday as" on the set of all people, (iii). "is similar to" and "is congruent to"
e.g., If R = {(x1, y1), (x2, y2)} then R− 1 = {(y1, x1), (y2, x2)}. on the set of all triangles, (iv). "has the same absolute value" on the set of real
numbers, (v). "has the same image under a function" on the elements of the
Thus Domain of R = Range of R-1 and Range of R = Domain of R-1. domain of the function, (vi). "has the same cosine" on the set of all angles and
(vii). “identical” are equivalence relation.
●•Reflexive Relation: A relation R on set A is called reflexive if we have
aRa ∀ a ∈ A. Here (a, a) ∈ R for every element a of A. e.g., ●•The empty relation R on a non-empty set X (i.e. a R b is never true) is not
1. On set A = {a,b} the relation R = {(a, a),(b, b)} is reflexive. an equivalence relation, because although it is vacuously symmetric and
transitive, it is not reflexive (except when X is also empty)
2. (i) A relation ‘≤ ’, ‘≥’ and ‘=’ on any set of numbers are reflexive.
(ii) Relation ‘being the same height as’ is Reflexive because everything is ‘the ●•Equivalence class: The subset of A which includes all elements that are
same height as’ itself. equivalent to each other is called an equivalence class.
(iii) Relation ⊆ on any collection of sets [e.g., {φ, {3},{3,4}}] is reflexive. i.e., “the equivalence class of a, denoted by [a], consists of the set of all b in A
Therefore relation ⊆ on power set of any set is reflexive. (see §-20) such that a and b are related to each other by equivalence relation”. We call an
equivalence relation between any two elements if they are reflexive, symmetric
(iv) Relation ‘<’ and ‘>’ on any set of numbers is not reflexive. and transitive. i.e., [a] = { b E A : (a, b) ∈ R } (see §-25)
●•Total No. of Reflexive Relations on a set with n elements = 2n(n-1). (see §-21)
●•The equivalence relation partitions the set S into mutually exclusive
●•Transitive Relation: A relation R on a set A is called transitive if and only equivalence classes such that: (see §-26)
if for any a, b, c ∈ A, whenever (a, b) ∈ R, and (b, c) ∈ R then (a, c) ∈ R. i.e., a (i). Every element is in one and only one equivalence class
relation R is transitive iff aRb, bRc then aRc.
(ii). The intersection of two classes is empty
●• Relations ‘≤’ , ‘≥’ and ‘=’ on any set of numbers are transitive.
(iii). The union of all classes is the entire set
●•Symmetric Relation: A relation R on a set A is called symmetric if and only
if whenever (a, b) ∈ R then (b, a) ∈ R for any a, b ∈ A. (i.e., A relation R is ●•Function: A function f from a set A to a set B is a special type of relation
symmetric iff, aRb, then bRa) for which every element of set A has one and only one image in set B. (In other
words, no two distinct ordered pairs in f have the same first element.)
●•(i) Relation ‘ = ’ on any set of numbers is symmetric.
(ii) Relation ‘<’, ‘ >’, ‘≤ ’ and ‘ ≥’ on any set of numbers is not symmetric. ●•Given a relation in x and y, we say “y is a function of x” if for every
element x in the domain, there corresponds exactly one element y in the range.
●•Number of Symmetric Relations on a set with n elements = 2n(n+1)/2. (see §-22)
●•If f: A→B is a function then set A is the domain, set B is co-domain and set
●•Total number of Reflexive and Symmetric Relations on a set with n elements {f(x):x ∈ A } is the range of f. Range is a subset of codomain.
is given by = 2n(n-1)/2. (see §-23)
●• If (a, b) ∈ f, then f (a) = b, where b is called the image of a under f and a is
●•Total number of Reflexive or Symmetric Relations on set of n element is called the pre-image of b under f. The set of images is range of function.
given by: 2n(n-1) + 2n(n +1)/2 – 2n(n –1)/2 (see §-24)
●•Every function is a relation but every relation is not necessarily a function.
5 6
●• To find when a relation is called a function consider following figure. ●•Odd Function: Let f (x) be a real valued function of a real variable. Then f
is odd if in the domain of f we have f (–x) = – f (x) or f (x) + f (–x) = 0.
●•Into function: If there exists at least one element in the codomain Y which
is not an image of any element in the domain X, then f is into. Fig (ii) & (iii).
●• Real valued function: A function which has either R or one of its subsets as ●•A polynomial function of even degree is always into function.
its range is called a real valued function.
●• Onto (or Surjective) function: A function f : X→Y is said to be surjective
●•Even Function: Let f (x) be a real valued function of a real variable. Then f is or onto, if every element of Y is the image of some element of X under f, i.e.,
even if in the domain of f we have f (x) = f (–x). Geometrically, the graph of an for every y ∈ Y, there exists an element x in X such that f (x) = y. The function
even function is symmetric with respect to the y-axis. f1 and f4, shown in Fig. (i) & (iv) are onto. (see §-27)
7 8
●•A function f : X → Y is onto if and only if the Range of f = co-domain. ●•If ‘f’ and ‘g’ are real valued functions with domains as A and B
respectively, then both f and g are defined in A∩B.
●•A one - one function defined from a finite set to itself is always onto but if
1. The domain of f + g, f – g and f.g is also A ∩ B.
the set is infinite then it is not the case.
2. The domain of (f /g) is {x | x ∈A ∩ B, g(x) ≠ 0}.
●•A function will either be onto or into.
●•Composition of f and g: Let f : A → B and g : B → C be two functions.
●•For a finite set X, a function f : X → X is one-one iff f is onto and f : X → X
is onto iff f is one-one. (This is not true for infinite set)
●•The range of a constant function is always a singleton. ●• If f and g are one-to-one then the function (gof) is also one-to-one.
●•A constant function may be one-one, many-one, onto or into. ●• If f and g are onto then the function (gof) is also onto.
●•Two functions ‘f’ and ‘g’ are identical iff their domains and ranges are equal ●•The composite of two bijections is a bijection i.e. if f and g are two
and functions of elements belonging to common domain are equal. bijections and gof is defined then gof is also a bijection.
●•Algebra of real functions: Let f : X → R and g : X → R be any two real ●•The composite of functions is not commutative, i.e. gof ≠ fog.
functions, where X ⊂ R and α be a scalar real number then ∀ x ∈ X:
●•The composite of functions is associative i.e. For three functions f, g and h :
(i) (f + g) (x) = f (x) + g (x), fo(goh) = (fog)oh.
(ii) (f – g) (x) = f(x) – g(x), ●•Inverse of a Function: A function f : X → Y is invertible iff f is bijective
(one-one and onto). (see §-30)
(iii) (α f) (x) = α f (x),
𝑓 𝑓(𝑥)
(v) (x) = , provided g(x) ≠ 0.
𝑔 𝑔(𝑥)
9 10
𝑓(𝑥)
●• The inverse of a bijective function f : X→Y, is the function g : Y→X, (ii) Rational functions: Rational functions are of the type , where f(x)
𝑔(𝑥)
holding the property: f(x) = y ⇔ g(y) = x. and g(x) are polynomial functions of x defined in a domain, where g(x) ≠ 0.
●•A function f : X → Y is invertible if there exists a function g : Y → X such 2𝑥+1 2𝑥+1
E.g., f(x)= = . Its domain is all x except x = 2 and x = −1.
that gof = IX and fog = IY. 𝑥 2 −𝑥−2 (𝑥−2)(𝑥+1)
(vi) Constant function: A function f: R → R defined by y= f (x) = c, x ∈ R (x) Greatest integer function or Step up Function: This function assumes
where c is a constant is called a constant function.. Here domain of f is R and its the value of the greatest integer, less than or equal to x and hence is called
range is {c}. The graph is a line parallel to x-axis as shown in the figure (ii). Greatest integer function. It is denoted by f(x) = [x], x ∈ R. The graph of the
(vii) Absolute Value Function (or Modulus Function): An Absolute Value function is shown in figure (ii). From the definition of [x], we can see that
Function or Modulus Function |x| is defined as: [x] = –1 for –1 ≤ x < 0
𝑥 𝑖𝑓 𝑥 ≥ 0
y=|x|={ The graph is given in figure (iii). [x] = 0 for 0 ≤ x < 1
−𝑥 𝑖𝑓 𝑥 ≤ 0
[x] = 1 for 1 ≤ x < 2
The domain of f(x) = |x| is R and Range is R+ ∪ {0}.
Basic Properties of |x|: [x] = 2 for 2 ≤ x < 3 and so on. e.g., [1.999] = 1; [2.01] = 2
§-16. If n(A)= p and n(B)= q then the total number of relations from A to B §-19. Example of Universal relation:
is 2pq and total non-empty relations is 2pq – 1. (i) Suppose A is a set of all natural numbers and B is a set of all whole
numbers. The relation between A and B is universal as every element of A is in
Proof: Given n(A) = p and n(B) = q elements,
set B.
So the number of elements in A×B = n(A×B) = pq.
(ii) Consider relation R = {(a, b) : |a – b| ≥ 0}. This is the whole set A × A, as
We know any subset of A×B is a relation from A to B.
all pairs (a, b) in A×A satisfy |a – b| ≥ 0.
Hence total number of relations from A to B is the total number of subsets of
A×B. We can find the total number of subsets of A×B in 2 ways;
(i) For each of the n(A×B) ordered pairs (i.e., pq pairs) in A×B there are two §-20. Relation on power set of a set is Reflexive.
possibilities, either the ordered pair belongs to the relation or it doesn’t. Any relation on the set of subsets of { a, b} is given by R = P(S) x P(S)
i.e., R = {(φ, φ), (φ,{a}), (φ,{b}), (φ,{a,b}), ({a},{a}), ({a},{b}),
So the total number of relations from A to B is 2×2×2×···×2 (pq terms) = 2pq.
({a},{a,b}), ({b},{b}), ({b},{a, b}), ({a,b},{a,b})}.
(Similarly, if n(A) = p, then the number of relations on A is 2p·p.= 2p2) Here we see that R is reflexive as for every element x of the set of subsets
Out of total relations (2pq) there is one empty relation included in this. {φ, {a}, {b}, {a,b}} we have (x, x) ∈ R.
Hence total number of non-void subsets or relations = 2pq −1
(ii)The possible subsets of A×B is given by its power set. §-21. Number of Reflexive Relations on a set with n elements is : 2n(n-1).
Number of subsets of power set = C0pq + C1pq + C2pq + …….. + Cpqpq = 2pq.
Proof (i): Let A = {1,2,3,….,n}. Here n(A) = n
Number of non-void subsets = C1pq + C2pq + …….. + Cpqpq = 2pq −1
Universal relation on A is = A×A as is given in following table;
Thus, for A = {1, 2, 3) & B = {x, y, z}, we have pq = 3×3 = 9
Number of possible relations (non-void subsets) =29− 1 = 511.
§-22. Number of Symmetric Relations on a set with n elements : 2n(n+1)/2. §-23. Reflexive and symmetric Relations on a set with n elements is given
by: 2n(n-1)/2.
Proof (i): Let A = {1,2,3,….,n}. Here n(A) = n
Universal relation on A is = A×A as is given in following table; Proof (i): Let A = {1,2,3,….,n}. Here n(A) = n
Universal relation on A is = A×A as is given in following table;
There are n2 ordered pairs in universal relation on A. There are n2 ordered pairs in universal relation on A.
These ordered pairs can be classified into; These ordered pairs can be classified into;
(i) Diagonal ordered pairs i.e., (a,a) type of pairs = total n pairs. (i) Diagonal ordered pairs i.e., (a,a) type of pairs = total n pairs.
(ii) Non diagonal ordered pairs = total (n2 –n) (ii) Non diagonal ordered pairs = total (n2 –n)
Each diagonal elements have two options either it will be selected or not selected Since diagonal ordered pairs must lie in Reflexive Relation, hence they can
in Relation. Hence the number of ways in which n elements can be selected = be selected in only one way.
2×2×…×2 upto n terms. = 2n Now there are (n2 – n) non- diagonal ordered pairs which are divided in form
All (n2 – n) non- diagonal ordered pairs are divided in form (a,b),(b,a). There are (a,b),(b,a). There are (n2 – n)/2 ordered pairs having (a,b) and (n2 – n)/2
(n2 – n)/2 ordered pairs having (a,b) and (n2 – n)/2 ordered pairs having (b,a). ordered pairs having (b,a).
Therefore there are (n2 – n)/2 Symmetric pairs i.e., (a,b),(b,a) together and the Therefore there are (n2 – n)/2 Symmetric pairs i.e., (a,b),(b,a) together and
number of ways of selection = 2×2×…×2 upto (n2 –n)/2 terms. = 2(n2 –n)/2 the number of ways of selection = 2×2×…×2 upto (n2 –n)/2 terms. = 2(n2 –n)/2
Total number of Symmetric Relations on set A having n elements is; Total number of Reflexive and Symmetric Relations on set A having n
= No. of ways of selecting diagonal ordered pairs × No. of ways of selecting elements is;
non-diagonal ordered pairs = No. of ways of selecting diagonal ordered pairs × No. of ways of selecting
= 2n × 2(n2 –n)/2 non-diagonal ordered pairs
= 2(n2 +n)/2 = 1 × 2(n2 –n)/2 = 2(n2 – n)/2 = 2n(n –1)/2
= 2n(n +1)/2
9 10
§-24. Total Reflexive or Symmetric Relations on set of n element is given by: (c) Finding total Reflexive and Symmetric Relations on A: Here to have
2n(n-1) + 2n(n +1)/2 – 2n(n –1)/2 Reflexive Relation, diagonal ordered pairs can be selected in only one way.
Proof: Let A = {1,2,3,….,n}. Here n(A) = n
Universal relation on A is = A×A as is given in following table;
From (b) above we got the number of Symmetric pairs in non-diagonal ordered
pairs in A×A = 2(n2 –n)/2
Total number of Reflexive and Symmetric Relations on set A having n
elements = No. of ways of selecting diagonal ordered pairs × No. of ways of
selecting non-diagonal ordered pairs
= 1 × 2(n2 –n)/2 = 2(n2 – n)/2 = 2n(n –1)/2
Total Reflexive or Symmetric Relations on A = R ∪ S = R + S – R∩S
There are n2 ordered pairs in universal relation on A. = 2n(n-1) + 2n(n +1)/2 – 2n(n –1)/2
These ordered pairs can be classified into; §-25. Examples of Equivalence Classes;
(i) Diagonal ordered pairs i.e., (a,a) type of pairs = total n pairs. (i) Suppose X was the set of all children playing in a playground. Then if ~ was
(ii) Non diagonal ordered pairs = total (n2 –n) an equivalence relation for ‘of the same age’, one equivalence class would be
(a) Finding total Reflexive Relations on A: the set of all 2-year-olds, and another the set of all 5-year-olds.
Total Reflexive (a,a) pairs in (A×A) = n. There is only one way of selection i.e., (ii) If X was the set of all polygons, and the equivalence relation ~ was defined
all pairs are to be taken into account together. as ‘ with the same number of sides’, examples of equivalences classes would
The number of pairs other than Reflexive pairs in (A×A) = (n2 – n) and each of be the set of all triangles, the set of all quadrilaterals, the set of all pentagons,
these have 2 ways of selection (either pick or do-not pick). So total number of etc.,
Reflexive Relations in A = No. of ways of selecting Reflexive pairs × No. of (iii) If X is the set of all integers, we can define the equivalence relation ~ by
ways of selecting non-Reflexive ordered pairs saying ‘a ~ b if and only if ( a – b ) is divisible by 9’. Then the equivalence
= 1 × 2n2 – n = 2n(n-1). class of 4 would include -32, -23, -14, -5, 4, 13, 22, and 31 (and a whole lot
more).
(b) Finding total Symmetric Relations on A: Each diagonal element has two
ways of selection (either it will be selected or not selected) in Relation. Hence §-26. Example (i): Let A={0,1,2,3,4} and a relation R on A defined as
the number of ways in which n elements can be selected; follows: R ={{0,0},{0,4},{1,1},{1,3},{2,2},{3,1},{3,3},{4,0},{4,4}}. We see
= 2×2×…×2 upto n terms. = 2n that R is an equivalent relation. For finding distinct equivalence classes of R
All (n2 – n) non- diagonal ordered pairs are divided in form (a,b),(b,a). There are we see that; [0] = Set of all elements in R related to 0 = {0,4}
(n2 – n)/2 ordered pairs having (a,b) and (n2 – n)/2 ordered pairs having (b,a). [1] = Set of all elements in R related to 1 = {1,3}
Therefore the number of Symmetric type of ordered pairs [i.e., (a,b),(b,a) [2] = Set of all elements in R related to 2 = {2}
together] in A×A = (n2 – n)/2 and each of these pairs can be selected in two ways [3] = Set of all elements in R related to 3 = {1,3}= [1]
(either pick or don’t pick) [4] = Set of all elements in R related to 4 = {0,4}= [0]
So the number of ways of selection = 2×2×…×2 upto (n2 –n)/2 terms. So there are only three equivalent classes; [0], [3], [2].
i.e., {{0,4},{1,3},{2}} is the set of equivalence classes of A under R. The
= 2(n2 –n)/2
digraph of R is
Therefore on set A having n elements
Total number of Symmetric Relations = No. of ways of selecting diagonal ordered
pairs × No. of ways of selecting non-diagonal ordered pairs
= 2n × 2(n2 –n)/2
= 2(n2 +n)/2 = 2n(n +1)/2
11
where three sub-graphs of the digraph represent the equivalence classes. We
further observe that A = {0, 4} ∪ {1, 3} ∪ {2} = {0,4,1,3,2}= {0,1,2,3,4} and
so {0, 4}, {1, 3} and {2} is the partition of A induced by R.
Example (ii): Show that R = {(a, b) : a ∈ Z, b ∈ Z, (a − b) is an even integer} is
an equivalence relation on Z and let us find out equivalence classes. Here;
1. a − a = 0 is an even integer. ⇒ (a, a) ∈ R. Therefore, R is reflexive.
2. Let (a, b) ∈ R. Then a − b is an even integer.
Now b − a = − (a −b) is also an even integer
⇒ (b, a) ∈ R. ⇒ (b, a) ∈ R and so R is symmetric.
3. Let (a, b) ∈ R, (b, c) ∈ R. ⇒ (a – b) and (b – c) both are even integers.
⇒ a − c is an even integer, [as (a − b) and (b − c) both are even]
⇒ (a, c) ∈ R. [as a − c = (a − b) + (b − c) is even]
Thus, (a, b) ∈ R, (b, c) ∈ R ⇒ (a, c) ∈ R and so R is transitive.
Hence R is reflexive, symmetric and transitive and so is an equivalence relation.
The elements of the equivalence class of a ∈ Z are a + 2k, k = 0, ± 1, ± 2, ± 3, ….
Thus,
[0] = { …, −6, −4, −2, 0, 2, 4, 6, …},
[1] = { …, −5, −3, −1, 1, 3, 5, 7, …},
[2] = { …, −6, −4, −2, 0, 2, 4, 6, …} = [0],
[3] = { …, −5, −3, −1, 1, 3, 5, 7, …} = [1],
Proceeding similarly, we note that there are only two equivalence classes
{ …, −6, −4, −2, 0, 2, 4, 6, …} = E0 (say)
And { …, − 5, −3, −1, 1, 3, 5,7, …} = E1 (say).
We also note that Z = E0 ∪ E1 and E0 ∩ E1 = ϕ.
The equivalence classes E0 and E1 are blocks of the partition and so {E0, E1} is a
partition of the set of all integers.
§-27. Example of Surjective Function: A function f: N→N, f(x) = x + 2
is surjective.
But f : R→R, f(x) = x2 is not surjective as the range in R consists of negative
integers and we cannot find a real number whose square is negative.
§-28. Example of Bijective Function: A function f :R→R defined by f(x) = 2x–3
is a bijective function.
Here f is injective because if f(x1) = f(x2), then 2x1 – 3 = 2x2 – 3 ⇒ x1 = x2.
And f is also surjective because 2x – 3 = y ⇒ x = (y + 5)/3 ∈ R and f(x) = y.
Since f is both surjective and injective, we can say f is bijective.
§-29. Composit function Example If f(x) = x+2 and g(x) = 2x+1, then
(fog)(x) = f(g(x)) = f(2x+1) = 2x + 1+ 2 = 2x + 3 and
(gof)(x) = g(f(x)) = g(x+2) = 2(x + 2) + 1= 2x + 5.
§-29. Example of Inverse Function: A Function f : Z→Z, f(x) = x + 5, is
invertible since it has the inverse function g : Z→Z, g(x) = x − 5. A Function
f : Z→Z, f(x) = x2 is not invertiable since this is not one-to-one as (−x)2 = x2.