This article has the NCERT Exemplar Class 12 Maths Practice Questions with Solutions of Relations and Functions. Prepare with us!
Short Answer (S.A.)
1. Let A = {a, b, c} and the relation R be defined on A as follows: R = {(a, a), (b, c), (a, b)}. Then, write minimum number of ordered pairs to be added in R to make R reflexive and transitive.
Solution:
Given relation, R = {(a, a), (b, c), (a, b)}
To make R as reflexive we should add (b, b) and (c, c) to R. Also, to make R as transitive we should add (a, c) to R.
Hence, the minimum number of ordered pairs to be added are (b, b), (c, c) and (a, c) i.e. 3.
2. Let D be the domain of the real valued function f defined by f(x) = β(25 β x2). Then, write D.
Solution:
Given, f(x) = β(25 β x2)
The function is defined if 25 β x2 β₯ 0
So, x2 β€ 25
-5 β€ x β€ 5
Therefore, the domain of the given function is [-5, 5].
3. Let f, g: R β R be defined by f(x) = 2x + 1 and g (x) = x2 β 2, β x β R, respectively. Then, find g o f.
Solution:
Given,f(x) = 2x + 1 and g (x) = x2 β 2, β x β R
Thus, g o f = g (f (x))
= g (2x + 1)
= (2x + 1)2 β 2
= 4x2 + 4x + 1 β 2
= 4x2 + 4x β 1
4. Let f: R β R be the function defined by f (x) = 2x β 3, β x β R. write f β1.
Solution:
Given function,
f (x) = 2x β 3, β x β R
Let y = 2x β 3
x = (y + 3)/ 2
Thus,
f -1(x) = (x + 3)/ 2
5. If A = {a, b, c, d} and the function f = {(a, b), (b, d), (c, a), (d, c)}, write f β1.
Solution:
Given,
A = {a, b, c, d} and f = {(a, b), (b, d), (c, a), (d, c)}
So,
f -1 = {(b, a), (d, b), (a, c), (c, d)}
6. If f: R β R is defined by f (x) = x2 β 3x + 2, write f (f (x)).
Solution:
Given, f (x) = x2 β 3x + 2
Then,
f (f (x)) = f (x2 β 3x + 2)
= (x2 β 3x + 2)2 β 3(x2 β 3x + 2) + 2,
= x4 + 9x2 + 4 β 6x3 + 4x2 β 12x β 3x2 + 9x β 6 + 2
= x4 β 6x3 + 10x2 β 3x
Thus,
f (f (x)) = x4 β 6x3 + 10x2 β 3x
7. Is g = {(1, 1), (2, 3), (3, 5), (4, 7)} a function? If g is described by g (x) = Ξ±x + Ξ², then what value should be assigned to Ξ± and Ξ².
Solution:
Given, g = {(1, 1), (2, 3), (3, 5), (4, 7)}
Itβs seen that every element of domain has a unique image. So, g is function.
Now, also given that g (x) = Ξ±x + Ξ²
So, we have
g (1) = Ξ±(1) + Ξ² = 1
Ξ± + Ξ² = 1 β¦β¦.. (i)
And, g (2) = Ξ±(2) + Ξ² = 3
2Ξ± + Ξ² = 3 β¦β¦.. (ii)
Solving (i) and (ii), we have
Ξ± = 2 and Ξ² = -1
Therefore, g (x) = 2x β 1
8. Are the following set of ordered pairs functions? If so, examine whether the mapping is injective or surjective.
(i) {(x, y): x is a person, y is the mother of x}.
(ii){(a, b): a is a person, b is an ancestor of a}.
Solution:
(i) Given, {(x, y): x is a person, y is the mother of x}
Itβs clearly seen that each person βxβ has only one biological mother.
Hence, the above set of ordered pairs make a function.
Now more than one person may have same mother. Thus, the function is many-many one and surjective.
(ii) Given, {(a, b): a is a person, b is an ancestor of a}
Itβs clearly seen that any person βaβ has more than one ancestors.
Thus, it does not represent a function.
9. If the mappings f and g are given by f = {(1, 2), (3, 5), (4, 1)} and g = {(2, 3), (5, 1), (1, 3)}, write f o g.
Solution:
Given,
f = {(1, 2), (3, 5), (4, 1)} and g = {(2, 3), (5, 1), (1, 3)}
Now,
fog (2) = f(g(2)) = f(3) = 5
fog (5) = f(g(5)) = f(1) = 2
fog (1) = f(g(1)) = f(3) = 5
Thus,
fog = {(2, 5), (5, 2), (1, 5)}
10. Let C be the set of complex numbers. Prove that the mapping f: C β R given by f (z) = |z|, β z β C, is neither one-one nor onto.
Solution:
Given, f: C β R such that f (z) = |z|, β z β C
Now, let take z = 6 + 8i
Then,
f (6 + 8i) = |6 + 8i| = β(62 + 82) = β100 = 10
And, for z = 6 β 8i
f (6 β 8i) = |6 β 8i| = β(62 + 82) = β100 = 10
Hence, f (z) is many-one.
Also, |z| β₯ 0, β z β C
But the co-domain given is βRβ
Therefore, f(z) is not onto.
11. Let the function f: R β R be defined by f (x) = cos x, β x β R. Show that f is neither one-one nor onto.
Solution:
We have,
f: R β R, f(x) = cos x
Now,
f (x1) = f (x2)
cos x1 = cos x2
x1 = 2nΟ Β± x2, n β Z
Itβs seen that the above equation has infinite solutions for x1 and x2
Hence, f(x) is many one function.
Also the range of cos x is [-1, 1], which is subset of given co-domain R.
Therefore, the given function is not onto.
12. Let X = {1, 2, 3} and Y = {4, 5}. Find whether the following subsets of X Γ Y are functions from X to Y or not.
(i) f = {(1, 4), (1, 5), (2, 4), (3, 5)} (ii) g = {(1, 4), (2, 4), (3, 4)}
(iii) h = {(1,4), (2, 5), (3, 5)} (iv) k = {(1,4), (2, 5)}.
Solution:
Given, X = {1, 2, 3} and Y = {4, 5}
So, X Γ Y = {(1, 4), (1, 5), (2, 4), (2, 5), (3, 4), (3, 5)}
(i) f = {(1, 4), (1, 5), (2, 4), (3, 5)}
f is not a function as f(1) = 4 and f(1) = 5
Hence, pre-image β1β has not unique image.
(ii) g = {(1, 4), (2, 4), (3, 4)}
Itβs seen clearly that g is a function in which each element of the domain has unique image.
(iii) h = {(1,4), (2, 5), (3, 5)}
Itβs seen clearly that h is a function as each pre-image with a unique image.
And, function h is many-one as h(2) = h(3) = 5
(iv) k = {(1, 4),(2, 5)}
Function k is not a function as β3β has not any image under the mapping.
13. If functions f: A β B and g: B β A satisfy g o f = IA, then show that f is one-one and g is onto.
Solution:
Given,
f: A β B and g: B β A satisfy g o f = IA
Itβs clearly seen that function βgβ is inverse of βfβ.
So, βfβ has to be one-one and onto.
Hence, βgβ is also one-one and onto.
14. Let f: R β R be the function defined by f(x) = 1/(2 β cos x) β x β R. Then, find the range of f.
Solution:
Given,
f(x) = 1/(2 β cos x) β x β R
Let y = 1/(2 β cos x)
2y β ycos x = 1
cos x = (2y β 1)/ y
cos x = 2 β 1/y
Now, we know that -1 β€ cos x β€ 1
So,
-1 β€ 2 β 1/y β€ 1
-3 β€ β 1/y β€ -1
1 β€ β 1/y β€ 3
1/3 β€ y β€ 1
Thus, the range of the given function is [1/3, 1].
15. Let n be a fixed positive integer. Define a relation R in Z as follows: β a, b β Z, aRb if and only if a β b is divisible by n. Show that R is an equivalance relation.
Solution:
Given β a, b β Z, aRb if and only if a β b is divisible by n.
Now, for
aRa β (a β a) is divisible by n, which is true for any integer a as β0β is divisible by n.
Thus, R is reflective.
Now, aRb
So, (a β b) is divisible by n.
β β (b β a) is divisible by n.
β (b β a) is divisible by n
β bRa
Thus, R is symmetric.
Let aRb and bRc
Then, (a β b) is divisible by n and (b β c) is divisible by n.
So, (a β b) + (b β c) is divisible by n.
β (a β c) is divisible by n.
β aRc
Thus, R is transitive.
So, R is an equivalence relation.
Long Answer (L.A.)
16. If A = {1, 2, 3, 4 }, define relations on A which have properties of being:
(a) reflexive, transitive but not symmetric
(b) symmetric but neither reflexive nor transitive
(c) reflexive, symmetric and transitive.
Solution:
Given that, A = {1, 2, 3}.
(i) Let R1 = {(1, 1), (1, 2), (1, 3), (2, 3), (2, 2), (1, 3), (3, 3)}
R1 is reflexive as (1, 1), (2, 2) and (3, 3) lie is R1.
R1 is transitive as (1, 2) β R1, (2, 3) β R1 β (1, 3) β R1
Now, (1, 2) β R1 β (2, 1) β R1.
(ii) Let R2 = {(1, 2), (2, 1)}
Now, (1, 2) β R2, (2, 1) β R2
So, it is symmetric,
And, clearly R2 is not reflexive as (1, 1) β R2
Also, R2 is not transitive as (1, 2) β R2, (2, 1) β R2 but (1, 1) β R2
(iii) Let R3 = {(1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (2, 3), (3, 1), (3, 2), (3, 3)}
R3 is reflexive as (1, 1) (2, 2) and (3, 3) β R1
R3 is symmetric as (1, 2), (1, 3), (2, 3) β R1 β (2, 1), (3, 1), (3, 2) β R1
Therefore, R3 is reflexive, symmetric and transitive.
17. Let R be relation defined on the set of natural number N as follows:
R = {(x, y): x β N, y β N, 2x + y = 41}. Find the domain and range of the relation R. Also verify whether R is reflexive, symmetric and transitive.
Solution:
Given function: R = {(x, y): x β N, y β N, 2x + y = 41}.
So, the domain = {1, 2, 3, β¦.., 20} [Since, y β N ]
Finding the range, we have
R = {(1, 39), (2, 37), (3, 35), β¦., (19, 3), (20, 1)}
Thus, Range of the function = {1, 3, 5, β¦.., 39}
R is not reflexive as (2, 2) β R as 2 x 2 + 2 β 41
Also, R is not symmetric as (1, 39) β R but (39, 1) β R
Further R is not transitive as (11, 19) β R, (19, 3) β R; but (11, 3) β R.
Thus, R is neither reflexive nor symmetric and nor transitive.
18. Given A = {2, 3, 4}, B = {2, 5, 6, 7}. Construct an example of each of the following:
(a) an injective mapping from A to B
(b) a mapping from A to B which is not injective
(c) a mapping from B to A.
Solution:
Given, A = {2, 3, 4}, B = {2, 5, 6, 7}
(i) Let f: A β B denote a mapping
f = {(x, y): y = x + 3} or
f = {(2, 5), (3, 6), (4, 7)}, which is an injective mapping.
(ii) Let g: A β B denote a mapping such that g = {(2, 2), (3, 2), (4, 5)}, which is not an injective mapping.
(iii) Let h: B β A denote a mapping such that h = {(2, 2), (5, 3), (6, 4), (7, 4)}, which is one of the mapping from B to A.
19. Give an example of a map
(i) which is one-one but not onto
(ii) which is not one-one but onto
(iii) which is neither one-one nor onto.
Solution:
(i) Let f: N β N, be a mapping defined by f (x) = x2
For f (x1) = f (x2)
Then, x12 = x22
x1 = x2 (Since x1 + x2 = 0 is not possible)
Further βfβ is not onto, as for 1 β N, there does not exist any x in N such that f (x) = 2x + 1.
(ii) Let f: R β [0, β), be a mapping defined by f(x) = |x|
Then, itβs clearly seen that f (x) is not one-one as f (2) = f (-2).
But |x| β₯ 0, so range is [0, β].
Therefore, f (x) is onto.
(iii) Let f: R β R, be a mapping defined by f (x) = x2
Then clearly f (x) is not one-one as f (1) = f (-1). Also range of f (x) is [0, β).
Therefore, f (x) is neither one-one nor onto.
20. Let A = R β {3}, B = R β {1}. Let f : A β B be defined by f (x) = x β 2/ x β 3 β x β A . Then show that f is bijective.
Solution:
Given,
A = R β {3}, B = R β {1}
And,
f : A β B be defined by f (x) = x β 2/ x β 3 β x β A
Hence, f (x) = (x β 3 + 1)/ (x β 3) = 1 + 1/ (x β 3)
Let f(x1) = f (x2)
So, f (x) is an injective function.
Now let y = (x β 2)/ (x -3)
x β 2 = xy β 3y
x(1 β y) = 2 β 3y
x = (3y β 2)/ (y β 1)
y β R β {1} = B
Thus, f (x) is onto or subjective.
Therefore, f(x) is a bijective function.
21. Let A = [β1, 1]. Then, discuss whether the following functions defined on A are one-one, onto or bijective:
(i) f(x) = x/2 (ii) g(x) = |x|
(iii) h(x) = x|x| (iv) k(x) = x2
Solution:
Given, A = [β1, 1]
(i) f: [-1, 1] β [-1, 1], f (x) = x/2
Let f (x1) = f(x2)
x1/ 2 = x2
So, f (x) is one-one.
Also x β [-1, 1]
x/2 = f (x) = [-1/2, 1/2]
Hence, the range is a subset of co-domain βAβ
So, f (x) is not onto.
Therefore, f (x) is not bijective.
(ii) g (x) = |x|
Let g (x1) = g (x2)
|x1| = |x2|
x1 = Β± x2
So, g (x) is not one-one
Also g (x) = |x| β₯ 0, for all real x
Hence, the range is [0, 1], which is subset of co-domain βAβ
So, f (x) is not onto.
Therefore, f (x) is not bijective.
(iii) h (x) = x|x|
Let h (x1) = h (x2)
x1|x1| = x2|x2|
If x1, x2 > 0
x12 = x22
x12 β x22 = 0
(x1 β x2)(x1 + x2) = 0
x1 = x2 (as x1 + x2 β 0)
Similarly for x1, x2 < 0, we have x1 = x2
Itβs clearly seen that for x1 and x2 of opposite sign, x1 β x2.
Hence, f (x) is one-one.
For x β [0, 1], f (x) = x2 β [0, 1]
For x < 0, f (x) = -x2 β [-1, 0)
Hence, the range is [-1, 1].
So, h (x) is onto.
Therefore, h (x) is bijective.
(iv) k (x) = x2
Let k (x1) = k (x2)
x12 = x22
x1 = Β± x2
Therefore, k (x) is not one-one.
22. Each of the following defines a relation on N:
(i) x is greater than y, x, y β N
(ii) x + y = 10, x, y β N
(iii) x y is square of an integer x, y β N
(iv) x + 4y = 10 x, y β N.
Determine which of the above relations are reflexive, symmetric and transitive.
Solution:
(i) Given, x is greater than y; x, y β N
If (x, x) β R, then x > x, which is not true for any x β N.
Thus, R is not reflexive.
Let (x, y) β R
β xRy
β x > y
So, y > x is not true for any x, y β N
Hence, R is not symmetric.
Let xRy and yRz
β x > y and y > z
β x > z
β xRz
Hence, R is transitive.
(ii) x + y = 10; x, y β N
Thus,
R = {(x, y); x + y = 10, x, y β N}
R = {(1, 9), (2, 8), (3, 7), (4, 6), (5, 5), (6, 4), (7, 3), (8, 2), (9, 1)}
Itβs clear (1, 1) β R
So, R is not reflexive.
(x, y) β R β (y, x) β R
Therefore, R is symmetric.
Now (1, 9) β R, (9, 1) β R, but (1, 1) β R
Therefore, R is not transitive.
(iii) Given, xy is square of an integer x, y β N
R = {(x, y) : xy is a square of an integer x, y β N}
Itβs clearly (x, x) β R, β x β N
As x2 is square of an integer for any x β N
Thus, R is reflexive.
If (x, y) β R β (y, x) β R
So, R is symmetric.
Now, if xy is square of an integer and yz is square of an integer.
Then, let xy = m2 and yz = n2 for some m, n β Z
x = m2/y and z = x2/y
xz = m2n2/ y2, which is square of an integer.
Thus, R is transitive.
(iv) x + 4y = 10; x, y β N
R = {(x, y): x + 4y = 10; x, y β N}
R = {(2, 2), (6, 1)}
Itβs clearly seen (1, 1) β R
Hence, R is not symmetric.
(x, y) β R β x + 4y = 10
And (y, z) β R β y + 4z = 10
β x β 16z = -30
β (x, z) β R
Therefore, R is not transitive.
23. Let A = {1, 2, 3, β¦ 9} and R be the relation in A ΓA defined by (a, b) R (c, d) if a + d = b + c for (a, b), (c, d) in A ΓA. Prove that R is an equivalence relation and also obtain the equivalent class [(2, 5)].
Solution:
Given, A = {1, 2, 3, β¦ 9} and (a, b) R (c, d) if a + d = b + c for (a, b), (c, d) β A ΓA.
Let (a, b) R(a, b)
So, a + b = b + a, β a, b β A which is true for any a, b β A.
Thus, R is reflexive.
Let (a, b) R(c, d)
Then,
a + d = b + c
c + b = d + a
(c, d) R(a, b)
Thus, R is symmetric.
Let (a, b) R(c, d) and (c, d) R(e, f)
a + d = b + c and c + f = d + e
a + d = b + c and d + e = c + f
(a + d) β (d + e = (b + c) β (c + f)
a β e = b β f
a + f = b + e
(a, b) R(e, f)
So, R is transitive.
Therefore, R is an equivalence relation.
And, [(2,5)=(1,4)(2,5),(3,6),(4,7),(5,8),(6,9)] is the equivalent class under relation R.
24. Using the definition, prove that the function f : Aβ B is invertible if and only if f is both one-one and onto.
Solution:
Let f: A β B be many-one function.
Let f(a) = p and f(b) = p
So, for inverse function we will have f-1(p) = a and f-1(p) = b
Thus, in this case inverse function is not defined as we have two images βa and bβ for one pre-image βpβ.
But for f to be invertible it must be one-one.
Now, let f: A β B is not onto function.
Let B = {p, q, r} and range of f be {p, q}.
Here image βrβ has not any pre-image, which will have no image in set A.
And for f to be invertible it must be onto.
Thus, βfβ is invertible if and only if βfβ is both one-one and onto.
A function f = X β Y is invertible iff f is a bijective function.
25. Functions f , g : R β R are defined, respectively, by f (x) = x2 + 3x + 1, g (x) = 2x β 3, find
(i) f o g (ii) g o f (iii) f o f (iv) g o g
Solution:
Given, f(x) = x2 + 3x + 1, g (x) = 2x β 3
(i) fog = f(g(x))
= f(2x β 3)
= (2x β 3)2 + 3(2x β 3) + 1
= 4x2 + 9 β 12x + 6x β 9 + 1
= 4x2 β 6x + 1
(ii) gof = g(f(x))
= g(x2 + 3x + 1)
= 2(x2 + 3x + 1) β 3
= 2x2 + 6x β 1
(iii) fof = f(f(x))
= f(x2 + 3x + 1)
= (x2 + 3x + 1)2 + 3(x2 + 3x + 1) + 1
= x4 + 9x2 + 1 + 6x3 + 6x + 2x2 + 3x2 + 9x + 3 + 1
= x4 + 6x3 + 14x2 + 15x + 5
(iv) gog = g(g(x))
= g(2x β 3)
= 2(2x β 3) β 3
= 4x β 6 β 3
= 4x β 9
26. Let * be the binary operation defined on Q. Find which of the following binary operations are commutative
(i) a * b = a β b β a, b βQ (ii) a * b = a2 + b2 β a, b β Q
(iii) a * b = a + ab β a, b β Q (iv) a * b = (a β b)2 β a, b β Q
Solution:
Given that * is a binary operation defined on Q.
(i) a * b = a β b, β a, b βQ and b * a = b β a
So, a * b β b * a
Thus, * is not commutative.
(ii) a * b = a2 + b2
b * a = b2 + a2
Thus, * is commutative.
(iii) a * b = a + ab
b * a = b + ab
So clearly, a + ab β b + ab
Thus, * is not commutative.
(iv) a * b = (a β b)2, β a, b βQ
b * a = (b βa)2
Since, (a β b)2 = (b β a)2
Thus, * is commutative.
27. Let * be binary operation defined on R by a * b = 1 + ab, β a, b β R. Then the operation * is
(i) commutative but not associative
(ii) associative but not commutative
(iii) neither commutative nor associative
(iv) both commutative and associative
Solution:
(i) Given that * is a binary operation defined on R by a * b = 1 + ab, β a, b β R
So, we have a * b = ab + 1 = b * a
So, * is a commutative binary operation.
Now, a * (b * c) = a * (1 + bc) = 1 + a (1 + bc) = 1 + a + abc
Also,
(a * b) * c = (1 + ab) * c = 1 + (1 + ab) c = 1 + c + abc
Thus, a * (b * c) β (a * b) * c
Hence, * is not associative.
Therefore, * is commutative but not associative.
Objective Type Questions
Choose the correct answer out of the given four options in each of the Exercises from 28 to 47 (M.C.Q.)
28. Let T be the set of all triangles in the Euclidean plane, and let a relation R on T be defined as aRb if a is congruent to b β a, b β T. Then R is
(A) reflexive but not transitive (B) transitive but not symmetric
(C) equivalence (D) none of these
Solution:
(C) equivalence
Given aRb, if a is congruent to b, β a, b β T.
Then, we have aRa β a is congruent to a; which is always true.
So, R is reflexive.
Let aRb β a ~ b
b ~ a
bRa
So, R is symmetric.
Let aRb and bRc
a ~ b and b ~ c
a ~ c
aRc
So, R is transitive.
Therefore, R is equivalence relation.
29. Consider the non-empty set consisting of children in a family and a relation R defined as aRb if a is brother of b. Then R is
(A) symmetric but not transitive (B) transitive but not symmetric
(C) neither symmetric nor transitive (D) both symmetric and transitive
Solution:
(B) transitive but not symmetric
aRb β a is brother of b.
This does not mean b is also a brother of a as b can be a sister of a.
Thus, R is not symmetric.
aRb β a is brother of b.
and bRc β b is brother of c.
So, a is brother of c.
Therefore, R is transitive.
30. The maximum number of equivalence relations on the set A = {1, 2, 3} are
(A) 1 (B) 2
(C) 3 (D) 5
Solution:
(D) 5
Given, set A = {1, 2, 3}
Now, the number of equivalence relations as follows
R1Β = {(1, 1), (2, 2), (3, 3)}
R2Β = {(1, 1), (2, 2), (3, 3), (1, 2), (2, 1)}
R3Β = {(1, 1), (2, 2), (3, 3), (1, 3), (3, 1)}
R4 = {(1, 1), (2, 2), (3, 3), (2, 3), (3, 2)}
R5 = {(1, 2, 3) β A x A = A2}
Thus, maximum number of equivalence relation is β5β.
31. If a relation R on the set {1, 2, 3} be defined by R = {(1, 2)}, then R is
(A) reflexive (B) transitive
(C) symmetric (D) none of these
Solution:
(D) none of these
R on the set {1, 2, 3} be defined by R = {(1, 2)}
Hence, its clear that R is not reflexive, transitive and symmetric.