Relations And Functions β Chapter 1 Relations
In class 9 we discussed the Cartesian product of sets. Now, we extend our ideas to relation in a set, and then in the next chapter we shall be taking up functions.
Relation In A Set
A relation R in a set A is a subset of A x A.
Thus, R is a relation in a set A β R β A x A.
If (a,b) β R, then we say that a is related to b and write, a R b.
If (a,b) β R, then we say that a is not related to b and write, a \(\not R\) b.
Example Let A = {1,2,3,4,5,6} and let R be a relation in A, given by
R = {(a, b): a β b = 2}.
Then, R = {(3,1),(4,2),(5,3),(6,4)}.
Clearly, 3 R 1, 4 R 2, 5 R 3 and 6 R 4.
But, 1 \(\not R\) 3, 2 \(\not R\) 4, 5 \(\not R\) 6, etc.
Read and Learn MoreΒ Class 12 Math Solutions
Domain And Range Of A Relation
Let R be a relation in a set A. Then, the set of all first coordinates of elements of R is called the domain of R, written as dom (R) and the set of all second coordinates of R is called the range of R, written as range (R).
β΄ dom (R) = {a:(a,b) β R} and range (R) = {b:(a,b) β R}.
Example Let A = {1,2,3,4,β¦,15,16} and let R be a relation in A, given by
R = {(a,b):b = a2}.
Then, R = {(1,1), (2,4), (3,9), (4,16)}.
β΄ dom (R) = {1,2,3,4} and range (R) = {1,4,9,16}.
Some Particular Types of Relations
Empty Relation (Or Void Relation) A relation R in a set A is called an empty relation, if no element of A is related to any element of A and we denote such a relation by Ξ¦
Thus, R = Ξ¦ β A x A.
Example Let A = {1,2,3,4,5} and let R be a relation in A, given by R = {(a,b): a β b = 6}.
No element (a,b) β A x A satisfies the property a β b = 6.
β΄ R is an empty relation in A.
Universal Relation A relation R in a set A is called a universal relation, if each element of A is related to every element of A.
Thus, R = (A x A) β (A x A) is the universal relation on A.
Example Let A = {1,2,3}. Then,
R = (A x A) = {(1,1),(1,2),(1,3),(2,1)(2,2),(2,3),(3,1),(3,2),(3,3)} is the universal relation in A.
WBBSE Class 12 Relations Solutions
Identity Relation The relation IA = {(a, a): a β A} is called the identity relation on A.
Example Let A = {1,2,3}. Then,
IA = {(1,1),(2,2),(3,3)} is the identity relation on A.
Various Types Of Relations
Let A be a nonempty set. Then, a relation R on A is said to be
(1) reflexive if (a, a) β R for each a β A,
i.e., if a R a for each a β A.
(2) Symmetric if (a,b) β R β (b, a) β R for all a,b β A,
i.e., if a R b β b R a for all a, b β A.
(3) transitive if (a,b) β R, (b,c) β R β (a,c) β R for all a,b,c β A,
i.e., if a R b and b R c β a R c.
Equivalence Relation A relation R in a set A is said to be an equivalence relation if it is reflexive, symmetric, and transitive.
WBCHSE Class 12 Maths Solutions For Relations Solved Examples
Example 1 Let A be the set of all triangles in a plane and let R be a relation in A, defined by R = {(β³1, β³2): β³1 β β³2}. Show that R is an equivalence relation in A.
Solution
The given relation satisfies the following properties:
(1) Reflexivity
Let β³ be an arbitrary triangle in A. Then,
β³ β β³ β (β³, β³) β R for all values of β³ in A.
β΄ R is reflexive.
(2) Symmetry
Let β³1, β³2 β A such that (β³1, β³2) β R. Then,
(β³1, β³2) β R β β³1 β β³2
β β³2 β β³1
β (β³2, β³1) β R.
(3) Transitivity
Let β³1, β³2, β³3 β A such that (β³1, β³2) β R and (β³2, β³3) β R.
Then, (β³1, β³2) β R and (β³2, β³3) β R
β β³1 β β³2 and β³2 β β³3
β β³1 β β³3
β (β³1, β³3) β R.
β΄ R is transitive
Thus, R is reflexive, symmetric, and transitive.
Hence, R is an equivalence relation.
Real-Life Applications of Relation Concepts
Example 2 Let A be the set of all lines in xy-plane and let R be a relation in A, defined by R = {(L1, L2): L1 β₯ L2}. show that R is an equivalence relation in A. Find the set of all lines related to the line y = 3x + 5.
Solution
The given relation satisfies the following properties:
(1) Reflexivity
Let L be an arbitrary line in A. Then,
L β₯ L β (L, L) β R β L β A.
Thus, R is reflexive.
(2) Symmetry
Let L1, L2 β A such that (L1, L2) β R. Then,
(L1, L2) β R β L1 β₯ L2
β L2 β₯ L1
β (L2, L1) β R.
β΄ R is symmetric.
(3) Transitivity
Let L1, L2, L3 β A such that (L1, L2) β R and (L2, L3) β R.
Then, (L1, L2) β R and (L2, L3) β R
β L1 β₯ L2 and L2 β₯ L3
β L1 β₯ L3
β (L1, L3) β R.
β΄ R is transitive
Thus R is reflexive, symmetric, and transitive.
Hence, R is an equivalence relation.
The family of lines parallel to the line y = 3x + 5 is given by y = 3x + k, where k is real.
Example 3 Let Z be the set of all integers and let R be a relation in Z, defined by R = {(a, b):(a-b) is even}. Show that R is an equivalence relation in Z.
Solution
R = {(a, b):(a-b) is even}
Here, R satisfies the following properties:
(1) Reflexivity
Let a be an arbitrary element of Z.
Then, (a-a) = 0, which is even.
β΄ (a, a) β R β a β Z.
So, R is reflexive.
(2) Symmetry
Let a,b β Z such that (a,b) β R. Then,
(a,b) β R β (a-b) is even
β -(a-b) is even
β (b-a) is even
β (b,a) β R.
β΄ R is symmetric.
(3) Transitivity
Let a, b, c β Z such that (a,b) β R and (b,c) β R. Then,
(a,b) β R and (b,c) β R
β (a-b) is even and (b-c) is even
β {(a-b) + (b-c)} is even
β (a-c) β R.
β (a,c) β R.
β΄ R is transitive.
Thus, R is reflexive, symmetric and transitive.
Hence, R is an equivalence relation in Z.
Example 4 Let A be the set of all lines in a plane and let R be a relation in A defined by R = {(L1, L2): L1 β₯ L2}. Show that R is symmetric but neither reflexive nor transitive.
Solution
Given
Let A be the set of all lines in a plane and let R be a relation in A defined by R = {(L1, L2): L1 β₯ L2}.
Any line L cannot be perpendicular to itself.
β΄ (L, L) β R for any L β A.
So, R is not reflexive.
Again, let (L1, L2) β R. Then,
(L1, L2) β R β L1 β₯ L2
β L2 β₯ L1
β (L2,L3) β R.
β΄ R is symmetric.
Now, let L1, L2, L3 β A such that L1 β₯ L2 and L2 β₯ L3.
Then, clearly, L1 is not perpendicular to L3.
Thus, (L1,L2) β R and (L2,L3) β R, but (L1, L3) β R.
β΄ R is not transitive.
Hence, R is symmetric but neither reflexive nor transitive.
Understanding Types of Relations in Maths
Example 5 Let S be the set of all real numbers and let R be a relation in S defined by R{(a, b): (1+ab) > 0}. Show that R is reflexive and symmetric but not transitive.
Solution
Given
Let S be the set of all real numbers and let R be a relation in S defined by R{(a, b): (1+ab) > 0}.
Let a be any real number. Then,
(1 + aa) = (1 + a2) > 0 shows that (a,a) β R β a β S.
β΄ R is reflexive.
Also, (a,b) β R β (1 + ab) > 0
β (1 + ba) > 0 [β΅ ab = ba]
β (b,a) β R.
β΄ R is symmetric.
In order to show that R is not transitive, consider (-1,0) and (0,2).
Clearly, (-1,0) β R, since [1 + (-1) x 0] > 0.
And, (0,2) β R, since [1 + 0 x 2] > 0.
But, (-1,2) β R, since [1 + (-1) x 2] is not greater than 0.
Hence, R is reflexive and symmetric but not transitive.
Example 6. Let S be the set of all real numbers and let R be a relation in S, defined by R = {(a,b): a β€ b}. Show that R is reflexive and transitive but not symmetric.
Solution
Given
Let S be the set of all real numbers and let R be a relation in S, defined by R = {(a,b): a β€ b}.
Here, R satisfies the following properties:
(1) Reflexivity
Let a be an arbitrary real number.
Then, a β€ a β (a,a) β R.
Thus, (a,a) β R β a β S.
β΄ R is reflexive.
(2) Transitivity
Let a, b, c be real numbers such that (a,b) β R and (b,c) β R .
Then, (a,b) β R and (b,c) β R
β a β€ b and b β€ c
β a β€ c
β (a,c) β R.
β΄ R is transitive.
(3) Nonsymmetry
Clearly, (4,5) β R since 4 β€ 5.
But, (5,4) β R since 5 β€ 4 is not true.
β΄ R is not symmetric.
Class 11 Physics | Class 12 Maths | Class 11 Chemistry |
NEET Foundation | Class 12 Physics | NEET Physics |
Example 7 Let S be the set of all real numbers and let R be a relation in S, defined by R = {(a,b): a β€ b2}. Show that R satisfies none of reflexivity, symmetry and transitivity.
Solution
Given
Let S be the set of all real numbers and let R be a relation in S, defined by R = {(a,b): a β€ b2}.
(1) Nonreflexivity
Clearly, \(\frac{1}{2}\) is a real number and \(\frac{1}{2} \leq\left(\frac{1}{2}\right)^2\) is not true.
β΄ \(\left(\frac{1}{2}, \frac{1}{2}\right) \notin R .\)
Hence, R is not reflexive.
(2) Nonsymmetry
Consider the real numbers \(\frac{1}{2}\) and 1.
Clearly, \(\frac{1}{2}\) β€ 12 β \(\left(\frac{1}{2}, 1\right) \in R \text {. }\)
But, 1 β€ (\(\frac{1}{2}\))2 is not true and so \(\left(1, \frac{1}{2}\right) \notin R \text {. }\)
Thus, \(\left(\frac{1}{2}, 1\right) \in R but \left(1, \frac{1}{2}\right) \notin R .\)
Hence, R is not symmetric.
(3) Nontransitivity
Consider the real numbers 2, -2 and 1.
Clearly, 2 β€ (-2)2 and -2 β€ (1)2 but 2 β€ 12 is not true.
Thus, (2,-2) β R and (-2,1) β R, but (2,1) β R.
Hence, R is not transitive.
Step-by-Step Solutions to Relation Problems
Example 8 Let S be the set of all real numbers and let R be a relation in S, defined by R = {(a,b): a β€ b3}. Show that R satisfies none of reflexivity, symmetry and transitivity.
Solution
GivenΒ
Let S be the set of all real numbers and let R be a relation in S, defined by R = {(a,b): a β€ b3}.
(1) Nonreflexivity
Clearly, \(\frac{1}{2}\) is a real number and \(\frac{1}{2}\) β€ (\(\frac{1}{2}\))3 is not true.
β΄ \(\left(\frac{1}{2}, \frac{1}{2}\right) \notin R\)
Hence, R is not reflexive.
(2) Nonsymmetry
Take the real numbers \(\frac{1}{2}\) and 1.
Clearly, \(\frac{1}{2}\) β€ 13 is true and therefore, \(\left(\frac{1}{2}, 1\right) \in R \text {. }\)
But, \(1 \leq\left(\frac{1}{2}\right)^3 is not true and so \left(1, \frac{1}{2}\right) \notin R .\)
Hence R is not symmetric.
(3) Nontransitivity
Consider the real numbers, 3, \(\frac{3}{2}\) and \(\frac{4}{3}\).
Clearly, 3 \(\leq\left(\frac{3}{2}\right)^3 \text { and } \frac{3}{2} \leq\left(\frac{4}{3}\right)^3 \text { but } 3 \leq\left(\frac{4}{3}\right)^3\) is not true.
Thus, \(\left(3, \frac{3}{2}\right) \in R \text { and }\left(\frac{3}{2}, \frac{4}{3}\right) \in R \text {, but }\left(3, \frac{4}{3}\right) \notin R\).
Hence, R is not transitive.
Thus, R satisfies none of reflexivity, symmetry and transitivity.
Example 9 Let N be the set of all natural numbers and let R be a relation in N, defined by R = {(a, b): a is a factor of b}. Then, show that R is reflexive and transitive but not symmetric.
Solution
GivenΒ
Let N be the set of all natural numbers and let R be a relation in N, defined by R = {(a, b): a is a factor of b}.
Here, R satisfies the following properties:
(1) Reflexivity
Let a be an arbitrary element of N.
Then, clearly, a is a factor of a.
β΄ (a,a) β R β a β N.
So, R is reflexive.
(2) Transitivity
Let a, b, c β N such that (a,b) β R and (b,c) β R.
Now, (a,b) β R and (b,c) β R
β (a is a factor of b) and (b is a factor of c)
β b = ad and c = be for some d,e β N
β c = (ad)e = a(de) [by associative law]
β a is a factor of c
β (a,c) β R.
β΄ (a,b) β R and (b,c) β R β (a,c) β R.
Hence, R is transitive.
(3) Nonsymmetry
Clearly, 2 and 6 are natural numbers and 2 is a factor of 6.
β΄ (2,6) β R.
But, 6 is not a factor of 2.
β΄ (6,2) β R.
Thus, (2,6) β R and (6,2) β R.
Hence, R is not symmetric.
Example 10 Let N be the set of all natural numbers and let R be a relation in N, defined by R = {(a, b): a is a multiple of b}. Show that R is reflexive and transitive but not symmetric.
Solution
Given
Let N be the set of all natural numbers and let R be a relation in N, defined by R = {(a, b): a is a multiple of b}.
Here R satisfies the following properties:
(1) Reflexivity
Let a be an arbitrary element of N.
Then, a = (a x a) shows that a is a multiple of a.
β΄ (a,a) β R β a β N.
So, R is reflexive.
(2) Transitivity
Let a, b, c β N such that (a,b) β R and (b,c) β R.
Now, (a,b) β R and (b,c) β R
β (a is a multiple of b) and (b is a multiple of c)
β a = bd and b = ce for some d β N and e β N
β a = (ce)d
β a = c(ed)
β a is a multiple of c
β (a,c) β R.
β΄ (a,b) β R and (b,c) β R β (a,c) β R.
Hence, R is transitive.
(3) Nonsymmetry
Clearly, 6 and 2 are natural numbers and 6 is a multiple of 2.
β΄ (6,2) β R.
But, 2 is not a multiple of 6.
β΄ (2,6) β R.
Thus, (6,2) β R and (2,6) β R.
Hence, R is not symmetric.
Common Questions on Relations and Their Solutions
Example 11 Let X be a nonempty set and let S be the collection of all subsets of X. Let R be a relation in S, defined by R = {(A,B): A β B}. Show that R is transitive but neither reflexive nor symmetric.
Solution
Given
Let X be a nonempty set and let S be the collection of all subsets of X. Let R be a relation in S, defined by R = {(A,B): A β B}.
Clearly, R satisfies the following properties:
(1) Transitivity
Let A, B, C β S such that (A,b) β R and (B,c) β R.
Now, (A,b) β R and (B,C) β R
β A β B and B β C
β A β C
β (A, C) β R.
β΄ R is transitive.
(2) Nonreflexivity
Let A be any set in S.
Then, A β A shows that (A,A) β R.
β΄ R is not reflexive.
(3) Nonsymmetry
Now (A, B) β R β A β B
β B β A
β (B, A) β R.
β΄ R is not symmetric.
Hence, R is transitive but neither reflexive nor symmetric.
Example 12 Give an example of a relation which is
- reflexive and transitive but not symmetric;
- symmetric and transitive but not reflexive;
- reflexive and symmetric but not transitive;
- symmetric but neither reflexive nor transitive;
- transitive but neither reflexive nor symmetric.
Solution
Let A = {1,2,3).
Then, it is easy to verify that the relation
(1) R1 = {(1,1), (2,2), (3,3), (1,2)} is reflexive and transitive.
R1 is not symmetric, since
(1,2) β R and (2,1) β R.
(2) R2 = {(1,1), (2,2), (1,2), (2,1)} is symmetric and transitive.
But, R2 is not reflexive, since (3,3) β R2.
(3) R3 = {(1,1), (2,2), (3,3), (1,2), (2,1), (2,3), (3,2)} is reflexive and symmetric.
But, R3 is not transitive, since
(1,2) β R3, (2,3) β R3 but (1,3) β R3.
(4) R4 = {(2,2), (3,3), (1,2), (2,1)} is symmetric.
But, R4 is not reflexive since (1,1) β R4.
Also, R4 is not transitive, as
(1,2) β R4 and (2,1) β R4 but (1,1) β R4.
(5) R5 = {(2,2), (3,3), (1,2)} is transitive.
But, R5 is not reflexive, since (1,1) β R.
And, R5 is not symmetric as (1,2) β R5 but (2,1) β R5.
Properties of Relations Explained
Example 13 Let N be the set of all natural numbers and let R be a relation on N x N, defined by (a,b) R (c,d) β ad = bc. Show that R is an equivalence relation.
Solution
Given
Let N be the set of all natural numbers and let R be a relation on N x N, defined by (a,b) R (c,d) β ad = bc.
Here R satisfies the following properties:
(1) Reflexivity
Let (a,b) β R. Then,
(a,b) R (a,b), since ab = ba [by commutative law of multiplication on N].
Thus, (a,b) R (a,b) β (a,b) β R.
β΄ R is reflexive.
(2) Symmetry
Let (a,b) R (c,d). Then,
(a,b) R (c,d) β ad = bc
β bc = ad
β cb = da
[by commutativity of multiplication on N]
β (c,d) R (a,b).
β΄ R is symmetric.
(3) Transitivity
Let (a,b) R (c,d) and (c,d) R (e,f). Then,
ad = bc and cf = de
β adcf = bcde
β (af)(cd) = (be)(cd)
β af = be [by cancellation law]
β (a,b) R (e,f).
β΄ (a,b) R (c,d) and (c,d) R (e,f) β (a,b) R (e,f).
β΄ R is transitive.
Thus, R is reflexive, symmetric and transitive.
Hence, R is an equivalence relation.
Example 14 If R1 and R2 be two equivalence relations on a set A, prove that R1 β© R2 is also an equivalence relation on A.
Solution
Given
R1 and R2 be two equivalence relations on a set A
Let R1 and R2 be two equivalence relations on a set A.
Then, R1 β A x A, R2 β A x A β (R1 β© R2) β A x A.
So, (R1 β© R2) is a relation on A.
This relation on A satisfies the following properties.
(1) Reflexivity
R1 is reflexive and R2 is reflexive
β (a,a) β R1 and (a,a) β R2 for all a β A
β (a,a) β R1 β© R2 for all a β A
β R1 β© R2 is reflexive.
(2) Symmetry
Let (a,b) be an arbitrary element of R1 β© R2. Then,
(a,b) β R1 β© R2
β (a,b) β R1 and (a,b) β R2
β (b,a) β R1 and (b,a) β R2
[β΅ R1 is symmetric and R2 is symmetric]
β (b,a) β R1 β© R2.
This shows that R1 β© R2 is symmetric.
(3) Transitivity
(a,b) β R1 β© R2 and (b,c) β R1 β© R2
β (a,b) β R1, (a,b) β R2, and (b,c) β R1, (b,c) β R2
β {(a,b) β R1, (b,c) β R1}, and {(a,b) β R2, (b,c) β R2}
β (a,c) β R1 and (a,c) β R2
[β΅ R1 is transitive and R2 is transitive]
β (a,c) β R1 β© R2.
This shows that (R1 β© R2) is transitive.
Thus, R1 β© R2 is reflexive, symmetric and transitive.
Hence, R1 β© R2 is an equivalence relation.
Examples of Equivalence Relations
Example 15 Give an example to show that the union of two equivalence relations on a set A need not be an equivalence relation on A.
Solution
Let R1 and R2 be two relations on a set A = {1,2,3}, given by
R1 = {(1,1), (2,2), (3,3), (1,2), (2,1)}
and R2Β = {(1,1), (2,2), (3,3), (1,3), (3,1)}.
Then, it is easy to verify that each one of R1 and R2 is an equivalence relation.
But, R1 βͺ R2 = {(1,1), (2,2), (3,3), (,2), (2,1), (1,3), (3,1)} is not transitive, as
(3,1) β R1 βͺ R2 and (1,2) β R1 βͺ R2 but (3,2) β R1 βͺ R2.
Hence, (R1 βͺ R2) is not an equivalence relation.
Equivalence Classes Let R be an equivalence relation in a set A and let a β A. Then, the set of all those elements of A which are related to a, is called the equivalence class determined by a and it is denoted by [a].
Thus, [a] = {b β A: (a,b) β R}.
Two equivalence classes are either disjoint or identical.
An Important Result An equivalence relation R on a set A partitions the set into mutually disjoint equivalence classes.
Example 16 On the set Z all integers, consider the relation R = {(a,b):(a-b) is divisible by 3}. Show that R is an equivalence relation on Z. Also find the partitioning of Z into mutually disjoint equivalence classes.
Solution
Given
On the set Z all integers, consider the relation R = {(a,b):(a-b) is divisible by 3}.
The relation R on Z satisfies the following properties:
(1) Reflexivity
Let a β Z.
Then, (a-a) = 0, which is divisible by 3.
β΄ a R a β a β Z.
So, R is reflexive.
(2) Symmetry
Let a, b β Z such that a R b. Then,
a R b β a β b is divisible by 3
β -(a-b) is divisible by 3
β (b-a) is divisible by 3
β b R a.
β΄ a R b β b R a β a,b β Z.
So, R is symmetric.
(3) Transitivity
Let a, b, c β Z such that a R b and b R c. Then,
a R b, b R c β (a-b) is divisible by 3 and (b-c) is divisible by 3
β [(a-b)+(b-c)] is divisible by 3
β (a-c) is divisible by 3.
Thus, a R b, b R c β a R c β a, b, c β Z.
β΄ R is an equivalence relation on Z.
Now, let us consider [0], [1] and [2].
We have:
[0] = {x β Z: x R 0}
= {x β Z:(x-0) is divisible by 3}
= {β¦, -6,-3,0,3,6,9,β¦}.
β΄ [0] = {β¦, -6,-3,0,3,6,9,β¦}.
Similarly, [1] = {x β Z: x R 1}
= {x β Z: (x-1) is divisible by 3}
= {β¦,-5,-2,1,4,7,10,β¦}.
β΄ [1] = {β¦,-5,-2,1,4,7,10,β¦}.
And, [2] = {x β Z: x R 2}
= {x β Z: (x-2) is divisible by 3}
= {β¦,-4,-1,2,5,8,11,β¦}
β΄ [2] = {β¦,-4,-1,2,5,8,11,β¦}.
Clearly, [0], [1] and [2] are mutually disjoint and Z = [0] βͺ [1] βͺ [2].
Example 17 Let A = {1,2,3,4,5,6,7} and let R be a relation on A, defined by R = {(a,b): both a and b are either odd or even}. Prove that R is an equivalence relation.
Let B = {1,3,5,7} and C = {2,4,6}.
Show that
- all elements of B are related to each other;
- all elements of C are related to each other;
- no element of B is related to any element of C.
Solution
The given relation satisfies the following properties:
(1) Reflexivity
Let a β A.
Then, it is clear that a are both odd or both even.
β΄ (a,a) β R β a β A.
So, R is reflexive.
(2) Symmetry
Let (a,b) β R. Then,
(a,b) β R β both a and b are either odd or even
β both b and a are either odd or even
β (b,a) β R.
β΄ R is symmetric.
(3) Transitivity
Let (a,b) β R and (b,c) β R. Then,
(a,b) β R and (b,c) β R
β {both a and b are either odd or even} and {both b and c are either odd or even}
β both a and c are either odd or even
β (a,c) β R.
β΄ R is transitive.
Hence, R is an equivalence relation.
- If we pick up any two elements of B, then both being odd, they are related to each other.
- If we pick up any two elements of C, then both being even, they are related to each other.
- If we pick up one element of B and one element of C, then one is even while the other is odd.
So, they are not related to each other.