XII MATHS, Relations and Functions Study Notes
XII MATHS, Relations and Functions Study Notes
Definitions:
Let A and B be two non-empty sets, then a function f from set A to set B is a rule which associates
each element of A to a unique element of B.
o Relation
If (a, b) ∈ R, we say that a is related to b under the relation R and we write as a R b
o Function
It is represented as f: A → B and function is also called mapping.
o Real Function
f: A → B is called a real function, if A and B are subsets of R.
o Domain and Codomain of a Real Function
Domain and codomain of a function f is a set of all real numbers x for which f(x) is a real
number. Here, set A is domain and set B is codomain.
o Range of a real function
f is a set of values f(x) which it attains on the points of its domain
Types of Relations
o A relation R in a set A is called Empty relation, if no element of A is related to any element of
A, i.e., R = φ ⊂ A × A.
o A relation R in a set A is called Universal relation, if each element of A is related to every
element of A, i.e., R = A × A.
o Both the empty relation and the universal relation are sometimes called Trivial Relations
o A relation R in a set A is called
▪ Reflexive
▪ if (a, a) ∈ R, for every a ∈ A,
▪ Symmetric
▪ If (a1, a2) ∈ R implies that (a2, a1) ∈ R, for all a1, a2∈ A.
▪ Transitive
▪ If (a1, a2) ∈ R and (a2, a3) ∈ R implies that (a1, a3) ∈ R, for all a1, a2, a3 ∈ A.
o Given an arbitrary equivalence relation R in an arbitrary set X, R divides X into mutually disjoint
subsets Ai called partitions or subdivisions of X satisfying:
▪ All elements of Ai are related to each other, for all i.
▪ No element of Ai is related to any element of Aj, i ≠ j.
▪ ⋃ Aj = X and Ai ∩ Aj = φ, i ≠ j.
o The subsets Ai are called equivalence classes.
Note:
o Two ways of representing a relation
▪ Roaster method
▪ Set builder method
o If (a, b) ∈ R, we say that a is related to b and we denote it as a R b.
Types of Functions
Consider the functions f1, f2, f3 and f4 given
o Many-One Function
• A function f: X → Y is said to be onto (or surjective), if every element of Y is the image of some
element of X under f, i.e., for every y ∈ Y, there exists an element x in X such that f(x) = y.
o f: X → Y is onto if and only if Range of f = Y.
o Eg:
• A function f: X → Y is said to be one-one and onto (or bijective), if f is both one-one and
onto.
o Eg:
Composite Function
• Let f: A → B and g: B → C be two functions.
• Then the composition of f and g, denoted by g o f, is defined as the function g o f: A → C given by
g o f(x) = g (f(x)), ∀ x ∈ A.
• Eg:
o Let f : {2, 3, 4, 5} → {3, 4, 5, 9} and g : {3, 4, 5, 9} → {7, 11, 15} be functions
o Defined as f (2) = 3, f (3) = 4, f (4) = f (5) = 5 and g (3) = g (4) = 7 and g (5) = g (9) = 11.
o Find g o f.
o Solution
▪ g o f(2) = g (f(2)) = g (3) = 7,
▪ g o f (3) = g (f(3)) = g (4) = 7,
▪ g o f (4) = g (f(4)) = g (5) = 11 and
▪ g o f (5) = g (5) = 11
• It can be verified in general that gof is one-one implies that f is one-one. Similarly, gof is onto
implies that g is onto.
• While composing f and g, to get gof, first f and then g was applied, while in the reverse process of
the composite gof, first the reverse process of g is applied and then the reverse process of f.
• If f: X → Y is a function such that there exists a function g: Y → X such that gof = IX and fog =
IY, then f must be one-one and onto.
Invertible Function
• A function f: X → Y is defined to be invertible, if there exists a function g: Y → X such that gof =
IX and fog = IY. The function g is called the inverse of f
• Denoted by f–1.
• Thus, if f is invertible, then f must be one-one and onto and conversely, if f is one-one and onto,
then f must be invertible.
Theorem 1
• If f : X → Y, g : Y → Z and h : Z → S are functions, then
o h o (g o f) = (h o g) o f.
• Proof
We have
o h o (g o f) (x) = h(g o f (x)) = h(g(f(x))), ∀ x in X
o (h o g) o f (x) = h o g (f(x)) = h (g (f(x))), ∀ x in X.
Q. 5 If A = {a, b, c, d } and the function f = {(a, b), (b, d), (c, a), (d, c)}, write
-1
f .
Sol. Given that, A = {a, b, c, d }
and f = {(a, b ), (b, d ), (c, a), (d , c )}
f -1 = {(b, a), (d , b ), (a, c ), (c, d )}
Q. 7 Is g = {(1, 1), (2, 3), (3, 5), (4, 7)} a function? If g is described by
g(x) = a x + b, then what value should be assigned to a and b?
Sol. Given that, g = {(1, 1), (2, 3), (3, 5), (4, 7)}.
Here, each element of domain has unique image. So, g is a function.
Now given that, g (x ) = ax + b
g(1) = a + b
a + b =1 …(i)
g(2 ) = 2 a + b
2a + b = 3 …(ii)
From Eqs. (i) and (ii),
2(1 - b ) + b = 3
Þ 2 - 2b + b = 3
Þ 2 -b = 3
b = -1
If b = - 1, then a = 2
a = 2, b = - 1
Q. 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}.
Sol. (i) Given set of ordered pair is {(x, y) : x is a person, y is the mother of x}.
It represent a function. Here, the image of distinct elements of x under f are not distinct,
so it is not a injective but it is a surjective.
(ii) Set of ordered pairs = {(a, b ) : a is a person, b is an ancestor of a}
Here, each element of domain does not have a unique image. So, it does not represent
function.
Q. 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 fog.
Sol. Given that, 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
fog = {(2, 5), (5, 2 ), (1, 5)}
1
Q. 14 Let f : R ® R be the function defined by f (x) = , " x Î R.
2 - cos x
Then, find the range of f .
K Thinking Process
Range of f = { y ÎY : y = f(x) : for some in x} and use range of cos x is [-1,1]
1
Sol. Given function, f( x ) = , " x ÎR
2 - cos x
1
Let y=
2 - cos x
Þ 2 y - ycos x = 1
Þ ycos x = 2 y - 1
2y - 1 1 1
Þ cos x = =2 - Þ cos x = 2 -
y y y
1
Þ -1 £ cos x £ 1 Þ -1 £ 2 - £ 1
y
1 1
Þ - 3 £ - £ -1 Þ 1£ £ 3
y y
1 1
Þ £ £1
3 y
é1 ù
So, y range is ê , 1ú.
ë3 û
Q. 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
equivalence relation.
Sol. Given that, " a, b Î Z, aRb if and only if a - b is divisible by n.
Now,
I. Reflexive
aRa Þ (a - a) is divisible by n, which is true for any integer a as ‘O’ is divisible by n.
Hence, R is reflexive.
II. Symmetric
aRb
Þ a - b is divisible by n.
Þ - b + a is divisible by n.
Þ -(b - a) is divisible by n.
Þ (b - a) is divisible by n.
Þ bRa
Hence, R is symmetric.
III. Transitive
Let aRb and bRc
Þ (a - b ) is divisible by n and (b - c )is divisible by n
Þ (a - b ) + (b - c ) is divisibly by n
Þ (a - c ) is divisible by n
Þ aRc
Hence, R is transitive.
So, R is an equivalence relation.
1
Q. 36 If f : R ® R be defined by f (x) = , " x Î R. Then, f is
x
(a) one-one (b) onto (c) bijective (d) f is not defined
K Thinking Process
In the given function at x = 0, f(x) = ¥. So, the function is not define.
1
Sol. (d) Given that, f( x ) = , " x ÎR
x
For x = 0,
f(x ) is not defined.
Hence, f(x ) is a not define function.
3x 2 3x 2
(c) (d)
x + 2x 2 - 4
4
9x + 30 x 2 - 2
4
x
Sol. (a) Given that, f(x ) = 3x 2 - 5 and g (x ) =
x2 + 1
gof = g {f(x )} = g (3x 2 - 5)
3x 2 - 5 3x 2 - 5
= 2 2
=
(3x - 5) + 1 9x - 30x 2 + 25 + 1
4
3x 2 - 5
=
9x - 30x 2 + 26
4
3x + 2
f : R - ìí üý ® R be defined by f (x) =
3
Q. 41 If , then
î5þ 5x - 3
1
(a) f -1( x) = f ( x) (b) f -1( x) = - f ( x) (c) ( fof ) x = - x (d) f -1( x) = f ( x)
19
Sol. (a) 3x +2
Given that, f( x ) =
5x -3
3x +2
Let y=
5x -3
3x + 2 = 5xy - 3 y Þ x(3 - 5 y) = - 3 y - 2
3y + 2 3x + 2
x= Þ f -1(x ) =
5y - 3 5x - 3
\ f -1(x ) = f(x )
, Q. 42 If f : [0, 1] ® [0, 1] be defined by f ( ) ì x if x is rational
x =í
î1 - x, if x is irrational
then ( fof )x is
(a) constant (b) 1 + x (c) x (d) None of these
Sol. (c) Given that, f: [0, 1] ® [0, 1] be defined by
ì x, if x is rational
f (x ) = í
î 1 - x, if x is irrational
\ (fof )x = f(f(x )) = x
2x - 1
Q. 44 If f : N ® R be the function defined by f (x) = and g : Q ® R
2
3
be another function defined by g(x) = x + 2. Then, (gof ) is
2
7
(a) 1 (b) 1 (c) (d) None of these
2
2x - 1
Sol. (d) Given that, f( x ) = and g (x ) = x + 2
2
æ 3 ö
3 é æ 3 öù ç 2 ´ - 1÷
(gof ) = g ê f ç ÷ ú = g ç 2 ÷
2 ë è 2 øû çç 2 ÷÷
è ø
= g(1) = 1 + 2 = 3
Q. 45 If f : R ® R be defined by f ( ) ì2x x > 3
ï
x = í x2 : 1 < x £ 3
ï3x : x £ 1
î :
Then, f (-1) + f (2) + f (4) is
(a) 9 (b) 14 (c) 5 (d) None of these
ì2 x : x > 3
ï
Sol. (a) Given that, f( x ) = í x 2 : 1 < x £ 3
ï3x : x £ 1
î
f(-1) + f(2 ) + f(4) = 3 (-1) + (2 )2 + 2 ´ 4
= - 3 + 4 + 8= 9
Fillers
Q. 47 Let the relation R be defined in N by aRb, if 2a +3b = 30. Then, R = …..
.
Sol. Given that, 2 a + 3b = 30
3b = 30 - 2 a
30 - 2 a
b=
3
For a = 3, b = 8
a = 6, b = 6
a = 9, b = 4
a = 12, b = 2
R = {(3, 8), (6, 6), (9, 4), (12, 2 )}
x
Q. 50 If f : R ® R be defined by f (x) = , then ( fofof )(x) = ……… .
2
1+x
x
Sol. Given that, f( x ) =
1 + x2
(fofof )(x ) = f [ f{f(x )}]
æ x ö
ç ÷
é æ ö ù ç 1 + x 2 ÷
ç x ÷
= f êf ú= f ç ÷
ê ç 2 ÷ ú ç 2
÷
ë è 1 + x øû x
ç 1+ 2 ÷
è 1 + x ø
é 2 ù æ ö
x 1+ x ú= f ç x ÷
=fê
ê ú ç 2 ÷
è 1 + 2x
2 2
ë 1 + x ( 2 x + 1) û ø
x
1 + 2x 2 x 1 + 2x 2
= =
x2 1 + 2 x 2 1 + 3x 2
1+ 2
1 + 2x
x x
= =
1 + 3x 2 3x 2 + 1
Q. 57 The relation R on the set A ={1, 2, 3} defined as R = {(1, 1), (1, 2), (2,
1), (3, 3)} is reflexive, symmetric and transitive.
Sol. False
Given that, R = {(1, 1), (1, 2), (2, 1), (3, 3)}
(2, 2 ) Ï R
So, R is not reflexive.