Class 12 - Maths - Relations Functions

Exercise 1.1

Question 1:

Determine whether each of the following relations are reflexive, symmetric and transitive:

(i) Relation R in the set A = {1, 2, 3...13, 14} defined as

R = {(x, y): 3x − y = 0}

(ii) Relation R in the set N of natural numbers defined as

R = {(x, y): y = x + 5 and x < 4}

(iii) Relation R in the set A = {1, 2, 3, 4, 5, 6} as

R = {(x, y): y is divisible by x}

(iv) Relation R in the set Z of all integers defined as

R = {(x, y): x − y is as integer}

(v) Relation R in the set A of human beings in a town at a particular time given by

(a) R = {(x, y): x and y work at the same place}

(b) R = {(x, y): x and y live in the same locality}

(c) R = {(x, y): x is exactly 7 cm taller than y}

(d) R = {(x, y): x is wife of y}

(e) R = {(x, y): x is father of y}

(i) Given, A = {1, 2, 3 ... 13, 14}

R = {(x, y): 3x − y = 0}

So, R = {(1, 3), (2, 6), (3, 9), (4, 12)}

R is not reflexive since (1, 1), (2, 2) ... (14, 14) ∉ R.

Also, R is not symmetric as (1, 3) ∈ R, but (3, 1) ∉ R.       [Since 3(3) − 1 ≠ 0]

Also, R is not transitive as (1, 3), (3, 9) ∈ R, but (1, 9) ∉ R.            [Since 3(1) − 9 ≠ 0]

Hence, R is neither reflexive, nor symmetric, nor transitive.

(ii) R = {(x, y): y = x + 5 and x < 4} = {(1, 6), (2, 7), (3, 8)}

It is clear that (1, 1) ∉ R.

So, R is not reflexive.

Again, (1, 6) ∈ R but (1, 6) ∉ R.

So, R is not symmetric.

Now, since there is no pair in R such that (x, y) and (y, z) ∈ R, then (x, z) cannot belong to R.

So, R is not transitive.

Hence, R is neither reflexive, nor symmetric, nor transitive.

(iii) A = {1, 2, 3, 4, 5, 6}

R = {(x, y): y is divisible by x}

We know that any number (x) is divisible by itself.

So, (x, x) ∈ R

Hence, R is reflexive.

Now,

(2, 4) ∈ R                      [as 4 is divisible by 2]

But, (4, 2) ∉ R             [as 2 is not divisible by 4]

So, R is not symmetric.

Let (x, y), (y, z) ∈ R. Then, y is divisible by x and z is divisible by y.

=> z is divisible by x.

=> (x, z) ∈ R

So, R is transitive.

Hence, R is reflexive and transitive but not symmetric.

(iv) R = {(x, y): x − y is an integer}

Now, for every x ∈ Z, (x, x) ∈ R as x − x = 0 is an integer.

So, R is reflexive.

Now, for every x, y ∈ Z, if (x, y) ∈ R, then x − y is an integer.

=> −(x − y) is also an integer.

=> (y − x) is an integer.

=> (y, x) ∈ R

So, R is symmetric.

Now,

Let (x, y) and (y, z) ∈ R, where x, y, z ∈ Z.

=> (x − y) and (y − z) are integers.

=> x − z = (x − y) + (y − z) is an integer.

=> (x, z) ∈ R

So, R is transitive.

Hence, R is reflexive, symmetric, and transitive.

(v) (a) R = {(x, y): x and y work at the same place}

=> (x, x) ∈ R [as x and x work at the same place]

So, R is reflexive.

If (x, y) ∈ R, then x and y work at the same place.

=> y and x work at the same place.

=> (y, x) ∈ R.

So, R is symmetric.

Now, let (x, y), (y, z) ∈ R

=> x and y work at the same place and y and z work at the same place.

=> x and z work at the same place.

=> (x, z) ∈ R

So, R is transitive.

Hence, R is reflexive, symmetric and transitive.

(b) R = {(x, y): x and y live in the same locality}

Clearly, (x, x) ∈ R as x and x is the same human being.

So, R is reflexive.

If (x, y) ∈ R, then x and y live in the same locality.

=> y and x live in the same locality.

=> (y, x) ∈ R

So, R is symmetric.

Now, let (x, y) ∈ R and (y, z) ∈ R.

=> x and y live in the same locality and y and z live in the same locality.

=> x and z live in the same locality.

=> (x, z) ∈ R

So, R is transitive.

Hence, R is reflexive, symmetric and transitive.

(c) R = {(x, y): x is exactly 7 cm taller than y}

Now, (x, x) ∉ R

Since human being x cannot be taller than himself.

So, R is not reflexive.

Now, let (x, y) ∈ R.

=> x is exactly 7 cm taller than y.

Then, y is not taller than x.                      [Since, y is 7 cm smaller than x]

So, (y, x) ∉ R

If x is exactly 7 cm taller than y, then y is exactly 7 cm shorter than x.

So, R is not symmetric.

Now,

Let (x, y), (y, z) ∈ R.

=> x is exactly 7 cm taller than y and y is exactly 7 cm taller than z.

=> x is exactly 14 cm taller than z .

=> (x, z) ∉ R

So, R is not transitive.

Hence, R is neither reflexive, nor symmetric, nor transitive.

(d) R = {(x, y): x is the wife of y}

Now,

(x, x) ∉ R

Since x cannot be the wife of herself.

So, R is not reflexive.

Now, let (x, y) ∈ R

=> x is the wife of y.

Clearly y is not the wife of x.

So, (y, x) ∉ R

Indeed if x is the wife of y, then y is the husband of x.

So, R is not transitive.

Let (x, y), (y, z) ∈ R

=> x is the wife of y and y is the wife of z.

This case is not possible. Also, this does not imply that x is the wife of z.

=> (x, z) ∉ R

So, R is not transitive.

Hence, R is neither reflexive, nor symmetric, nor transitive.

(e) R = {(x, y): x is the father of y}

(x, x) ∉ R

As x cannot be the father of himself.

So, R is not reflexive.

Now, let (x, y) ∉ R.

=> x is the father of y.

=> y cannot be the father of y.

Indeed, y is the son or the daughter of y.

=> (y, x) ∉ R

So, R is not symmetric.

Now, let (x, y) ∈ R and (y, z) ∉ R.

=> x is the father of y and y is the father of z.

=> x is not the father of z.

Indeed x is the grandfather of z.

=> (x, z) ∉ R

So, R is not transitive.

Hence, R is neither reflexive, nor symmetric, nor transitive.

Question 2:

Show that the relation R in the set R of real numbers, defined as R = {(a, b): a ≤ b2}

is neither reflexive nor symmetric nor transitive.

R = {(a, b): a ≤ b2}

It can be observed that (1/2, 1/2) ∉ R, since, 1/2 > (1/2)2

So, R is not reflexive.

Now, (1, 4) ∈ R as 1 < 42 But, 4 is not less than 12

So, (4, 1) ∉ R

Hence, R is not symmetric.

Now, (3, 2), (2, 1.5) ∈ R                     [Since 3 < 22 = 4 and 2 < (1.5)2 = 2.25]

But, 3 > (1.5)2 = 2.25

=> (3, 1.5) ∉ R

So, R is not transitive.

Hence, R is neither reflexive, nor symmetric, nor transitive.

Question 3:

Check whether the relation R defined in the set {1, 2, 3, 4, 5, 6} as R = {(a, b): b = a + 1} is reflexive, symmetric or transitive.

Let A = {1, 2, 3, 4, 5, 6}.

A relation R is defined on set A as: R = {(a, b): b = a + 1}

So, R = {(1, 2), (2, 3), (3, 4), (4, 5), (5, 6)}

we can find (a, a) ∉ R, where a ∈ A.

For instance,

(1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6) ∉ R

So, R is not reflexive.

It can be observed that (1, 2) ∈ R, but (2, 1) ∉ R.

So, R is not symmetric.

Now, (1, 2), (2, 3) ∈ R

But, (1, 3) ∉ R

So, R is not transitive

Hence, R is neither reflexive, nor symmetric, nor transitive.

Question 4:

Show that the relation R in R defined as R = {(a, b): a ≤ b}, is reflexive and transitive but not symmetric.

R = {(a, b): a ≤ b}

Clearly (a, a) ∈ R [as a = a]

So, R is reflexive.

Now, (2, 4) ∈ R (as 2 < 4)

But, (4, 2) ∉ R as 4 is greater than 2.

So, R is not symmetric.

Now, let (a, b), (b, c) ∈ R.

Then, a ≤ b and b ≤ c

=> a ≤ c

=> (a, c) ∈ R

So, R is transitive.

Hence R is reflexive and transitive but not symmetric.

Question 5:

Check whether the relation R in R defined as R = {(a, b): a ≤ b3} is reflexive, symmetric or transitive.

R = {(a, b): a ≤ b3}

It is observed that (1/2, 1/2) ∉ R, since, 1/2 > (1/2)3

So, R is not reflexive.

Now, (1, 2) ∈ R              (as 1 < 23 = 8)

But, (2, 1) ∉ R                (as 23 > 1)

So, R is not symmetric.

We have (3, 3/2), (3/2, 6/5) ∈ R, since 3 < (3/2)3 and 3/2 < (6/5)3

But (3, 6/5) ∉ R as 3 > (6/5)3

So, R is not transitive.

Hence, R is neither reflexive, nor symmetric, nor transitive.

Question 6:

Show that the relation R in the set {1, 2, 3} given by R = {(1, 2), (2, 1)} is symmetric but neither reflexive nor transitive.

Let A = {1, 2, 3}.

A relation R on A is defined as R = {(1, 2), (2, 1)}.

It is clear that (1, 1), (2, 2), (3, 3) ∉ R.

So, R is not reflexive.

Now, as (1, 2) ∈ R and (2, 1) ∈ R

So, R is symmetric.

Now, (1, 2) and (2, 1) ∈ R

However, (1, 1) ∉ R

So, R is not transitive.

Hence, R is symmetric but neither reflexive nor transitive.

Question 7:

Show that the relation R in the set A of all the books in a library of a college, given by R = {(x, y): x and y have same number of pages} is an equivalence relation.

Set A is the set of all books in the library of a college.

R = {x, y): x and y have the same number of pages}

Now, R is reflexive since (x, x) ∈ R as x and x has the same number of pages.

Let (x, y) ∈ R

=> x and y have the same number of pages.

=> y and x have the same number of pages.

=> (y, x) ∈ R

So, R is symmetric.

Now, let (x, y) ∈ R and (y, z) ∈ R.

=> x and y and have the same number of pages and y and z have the same number of pages.

=> x and z have the same number of pages.

=> (x, z) ∈ R

So, R is transitive.

Hence, R is an equivalence relation.

Question 8:

Show that the relation R in the set A = {1, 2, 3, 4, 5} given by R = {(a, b): |a − b| is even}, is an equivalence relation.

Show that all the elements of {1, 3, 5} are related to each other and all the elements of {2, 4} are related to each other.

But no element of {1, 3, 5} is related to any element of {2, 4}.

Given, A = {1, 2, 3, 4, 5} and R = {(a, b): |a - b| is even}

It is clear that for any element a ∈ A, we have

|a - a| = 0 (which is even).

So, R is reflexive.

Let (a, b) ∈ R.

=> |a − b| is even

=>|-(a - b)|= |b - a| is also even

=> (b, a) ∈ R

So, R is symmetric.

Now, let (a, b) ∈ R and (b, c) ∈ R.

=>|a - b| is even and |b - c| is even

=> (a - b) is even and (b - c) is even

=> (a - c) = (a - b) + (b - c) is even              [Sum of two even integers is even]

=>|a – c| is even.

=> (a, c) ∈ R

So, R is transitive.

Hence, R is an equivalence relation.

Now, all elements of the set {1, 2, 3} are related to each other as all the elements of this

subset are odd. Thus, the modulus of the difference between any two elements will be even.

Similarly, all elements of the set {2, 4} are related to each other as all the elements of this

subset are even.

Also, no element of the subset {1, 3, 5} can be related to any element of {2, 4} as all elements

of {1, 3, 5} are odd and all elements of {2, 4} are even. Thus, the modulus of the difference

between the two elements (from each of these two subsets) will not be even.

[Since 1 – 2, 1 – 4, 3 – 2, 3 – 4, 5 – 2 and 5 – 4 all are odd]

Question 9:

Show that each of the relation R in the set A = {x ∈ Z: 0 ≤ x ≤ 12}, given by

(i) R = {(a, b) : |a – b| is a multiple of 4}                    (ii) R = {(a, b) : a = b}

is an equivalence relation. Find the set of all elements related to 1 in each case.

Given, A = {x ∈ Z: 0 ≤ x ≤ 12} = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}

(i) R = {(a, b) : |a – b| is a multiple of 4}

For any element a ∈ A, we have (a, a) ∈ R as |a – a| = 0 is a multiple of 4.

So, R is reflexive.

Now, let (a, b) ∈ R

=> |a – b| is a multiple of 4.

=>| – (a – b)| = |b – a| is a multiple of 4.

=> (b, a) ∈ R

So, R is symmetric.

Now, let (a, b), (b, c) ∈ R.

=> |a – b| is a multiple of 4 and |b – c| is a multiple of 4.

=> (a – b) is a multiple of 4 and (b – c) is a multiple of 4.

=> (a – c) = (a – b) + (b – c) is a multiple of 4.

=> |a – c| is a multiple of 4.

=> (a, c) ∈ R

So, R is transitive.

Hence, R is an equivalence relation.

The set of elements related to 1 is {1, 5, 9} as

|1 – 1| = 0 is a multiple of 4.

|5 – 1| = 4 is a multiple of 4.

|9 – 1| = 8 is a multiple of 4.

(ii) R = {(a, b): a = b}

For any element a ∈ A, we have (a, a) ∈ R, since a = a.

So, R is reflexive.

Now, let (a, b) ∈ R.

=> a = b

=> b = a

=> (b, a) ∈ R

So, R is symmetric.

Now, let (a, b) ∈ R and (b, c) ∈ R.

=> a = b and b = c

=> a = c

=> (a, c) ∈ R

So, R is transitive.

Hence, R is an equivalence relation.

The elements in R that are related to 1 will be those elements from set A which are equal to 1.

Hence, the set of elements related to 1 is {1}.

Question 10:

Given an example of a relation. Which is

(i) Symmetric but neither reflexive nor transitive.

(ii) Transitive but neither reflexive nor symmetric.

(iii) Reflexive and symmetric but not transitive.

(iv) Reflexive and transitive but not symmetric.

(v) Symmetric and transitive but not reflexive.

(i) Let A = {5, 6, 7}.

Define a relation R on A as R = {(5, 6), (6, 5)}.

Relation R is not reflexive as (5, 5), (6, 6), (7, 7) ∉ R.

Now, as (5, 6) ∈ R and also (6, 5) ∈ R, R is symmetric.

Again, (5, 6), (6, 5) ∈ R, but (5, 5) ∉ R

So, R is not transitive.

Hence, relation R is symmetric but not reflexive or transitive.

(ii) Consider a relation R in R defined as:

R = {(a, b): a < b}

For any a ∈ R, we have (a, a) ∉ R since a cannot be strictly less than a itself.

In fact, a = a.

So, R is not reflexive.

Now, (1, 2) ∈ R (as 1 < 2)

But, 2 is not less than 1

So, (2, 1) ∉ R

Hence, R is not symmetric.

Now, let (a, b), (b, c) ∈ R.

⇒ a < b and b < c

⇒ a < c

⇒ (a, c) ∈ R

So, R is transitive.

Hence, relation R is transitive but not reflexive and symmetric.

(iii) Let A = {4, 6, 8}

Define a relation R on A as

A = {(4, 4), (6, 6), (8, 8), (4, 6), (6, 4), (6, 8), (8, 6)}

Relation R is reflexive since for every a ∈ A, (a, a) ∈ R

i.e. {(4, 4), (6, 6), (8, 8)} ∈ R.

Relation R is symmetric since (a, b) ∈ R ⇒ (b, a) ∈ R for all a, b ∈ R

Relation R is not transitive since (4, 6), (6, 8) ∈ R, but (4, 8) ∉ R

Hence, relation R is reflexive and symmetric but not transitive.

(iv) Define a relation R in R as:

R = {a, b): a3 ≥ b3}

Clearly (a, a) ∈ R as a3 = a3

So, R is reflexive.

Now, (2, 1) ∈ R            [as 23 ≥ 13]

But, (1, 2) ∉ R            [Since 13 < 23]

So, R is not symmetric.

Now, Let (a, b), (b, c) ∈ R.

⇒ a3 ≥ b3 and b3 ≥ c3

⇒ a3 ≥ c3

⇒ (a, c) ∈ R

So, R is transitive.

Hence, relation R is reflexive and transitive but not symmetric.

(v) Let A = {−5, −6}

Define a relation R on A as

R = {(−5, −6), (−6, −5), (−5, −5)}

Relation R is not reflexive as (−6, −6) ∉ R

Relation R is symmetric as (−5, −6) ∈ R and (−6, −5) ∈ R

It is seen that (−5, −6), (−6, −5) ∈ R

Also, (−5, −5) ∈ R

So, the relation R is transitive.

Hence, relation R is symmetric and transitive but not reflexive.

Question 11:

Show that the relation R in the set A of points in a plane given by R = {(P, Q):

Distance of the point P from the origin is same as the distance of the point Q from the origin}, is an equivalence relation.

Further, show that the set of all point related to a point P ≠ (0, 0) is the circle passing through P with origin as centre.

R = {(P, Q): Distance of point P from the origin is the same as the distance of point Q from the

origin}

Clearly, (P, P) ∈ R since the distance of point P from the origin is always the same as the

distance of the same point P from the origin.

So, R is reflexive.

Now, Let (P, Q) ∈ R.

⇒ The distance of point P from the origin is the same as the distance of point Q from the

origin.

⇒ The distance of point Q from the origin is the same as the distance of point P from the

origin.

⇒ (Q, P) ∈ R

So, R is symmetric.

Now, Let (P, Q), (Q, S) ∈ R.

⇒ The distance of points P and Q from the origin is the same and also, the distance of points Q

and S from the origin is the same.

⇒ The distance of points P and S from the origin is the same.

⇒ (P, S) ∈ R

So, R is transitive.

Therefore, R is an equivalence relation.

The set of all points related to P ≠ (0, 0) will be those points whose distance from the origin is

the same as the distance of point P from the origin.

In other words, if O (0, 0) is the origin and OP = k, then the set of all points related to P is at a

distance of k from the origin.

Hence, this set of points forms a circle with the centre as the origin and this circle passes

through point P.

Question 12:

Show that the relation R defined in the set A of all triangles as R = {(T1, T2): T1 is similar to T2}, is equivalence relation.

Consider three right angle triangles T1 with sides 3, 4, 5, T2 with sides 5, 12, 13 and T3 with sides 6, 8, 10.

Which triangles among T1, T2 and T3 are related?

R = {(T1, T2): T1 is similar to T2}

R is reflexive since every triangle is similar to itself.

Again, if (T1, T2) ∈ R, then T1 is similar to T2.

⇒ T2 is similar to T1.

⇒ (T2, T1) ∈ R

So, R is symmetric.

Now, let (T1, T2), (T2, T3) ∈ R.

⇒ T1 is similar to T2 and T2 is similar to T3.

⇒ T1 is similar to T3.

⇒ (T1, T3) ∈ R

So, R is transitive.

Thus, R is an equivalence relation.

Now, we can observe that 3/6 = 4/8 = 5/10 (= 1/2)

So, the corresponding sides of triangles T1 and T3 are in the same ratio.

Then, triangle T1 is similar to triangle T3.

Hence, T1 is related to T3.

Question 13:

Show that the relation R defined in the set A of all polygons as R = {(P1, P2): P1 and P2 have same number of sides}, is an equivalence relation.

What is the set of all elements in A related to the right angle triangle T with sides 3, 4 and 5?

R = {(P1, P2): P1 and P2 have same the number of sides}

Since (P1, P1) ∈ R, as the same polygon has the same number of sides with itself.

So, R is reflexive,

Let (P1, P2) ∈ R.

⇒ P1 and P2 have the same number of sides.

⇒ P2 and P1 have the same number of sides.

⇒ (P2, P1) ∈ R

So, R is symmetric.

Now, let (P1, P2), (P2, P3) ∈ R.

⇒ P1 and P2 have the same number of sides.

Also, P2 and P3 have the same number of sides.

⇒ P1 and P3 have the same number of sides.

⇒ (P1, P3) ∈ R

So, R is transitive.

Hence, R is an equivalence relation.

The elements in A related to the right-angled triangle (T) with sides 3, 4, and 5 are those

polygons which have 3 sides (Since T is a polygon with 3 sides).

Hence, the set of all elements in A related to triangle T is the set of all triangles.

Question 14:

Let L be the set of all lines in XY plane and R be the relation in L defined as R = {(L1, L2): L1 is parallel to L2}.

Show that R is an equivalence relation. Find the set of all lines related to the line y = 2x + 4.

R = {(L1, L2): L1 is parallel to L2}

R is reflexive as any line L1 is parallel to itself i.e., (L1, L1) ∈ R.

Now, let (L1, L2) ∈ R.

⇒ L1 is parallel to L2

⇒ L2 is parallel to L1.

⇒ (L2, L1) ∈ R

So, R is symmetric.

Now, let (L1, L2), (L2, L3) ∈ R.

⇒ L1 is parallel to L2.

Also, L2 is parallel to L3.

⇒ L1 is parallel to L3.

So, R is transitive.

Hence, R is an equivalence relation.

The set of all lines related to the line y = 2x + 4 is the set of all lines that are parallel to the line

y = 2x + 4.

Slope of line y = 2x + 4 is m = 2

It is known that parallel lines have the same slopes.

The line parallel to the given line is of the form y = 2x + c, where c ∈ R.

Hence, the set of all lines related to the given line is given by y = 2x + c, where c ∈ R.

Question 15:

Let R be the relation in the set {1, 2, 3, 4} given by

R = {(1, 2), (2, 2), (1, 1), (4, 4), (1, 3), (3, 3), (3, 2)}. Choose the correct answer.

(A) R is reflexive and symmetric but not transitive.

(B) R is reflexive and transitive but not symmetric.

(C) R is symmetric and transitive but not reflexive.

(D) R is an equivalence relation.

Given, R = {(1, 2), (2, 2), (1, 1), (4, 4), (1, 3), (3, 3), (3,2)}

It is seen that (a, a) ∈ R, for every a ∈ {1, 2, 3, 4}.

So, R is reflexive.

It is seen that (1, 2) ∈ R, but (2, 1) ∉ R.

So, R is not symmetric.

Also, it is observed that

(a, b), (b, c) ∈ R

⇒ (a, c) ∈ R for all a, b, c ∈ {1, 2, 3, 4}.

So, R is transitive.

Hence, R is reflexive and transitive but not symmetric.

So, the correct answer is option (B).

Question 16:

Let R be the relation in the set N given by

R = {(a, b): a = b − 2, b > 6}. Choose the correct answer.

(A) (2, 4) ∈ R                   (B) (3, 8) ∈ R                      (C) (6, 8) ∈ R                  (D) (8, 7) ∈ R

Given, R = {(a, b): a = b − 2, b > 6}

Now,

Since b > 6, (2, 4) ∉ R

Also, as 3 ≠ 8 − 2

So, (3, 8) ∉ R

And, as 8 ≠ 7 − 2

So, (8, 7) ∉ R

Now, consider (6, 8).

We have 8 > 6 and also, 6 = 8 − 2

So, (6, 8) ∈ R

Hence, the correct answer is option C.

Exercise 1.2

Question 1:

Show that the function f: R → R defined by f(x) = 1/x is one-one and onto, where R is the set of all non-zero real numbers.

Is the result true, if the domain R is replaced by N with co-domain being same as R?

It is given that f: R* → R* is defined by f(x) = 1/x

For one – one:

Let x, y ∈ R* such that f(x) = f(y)

⇒ 1/x = 1/y

⇒ x = y

So, f is one – one.

For onto:

It is clear that for y ∈ R*, there exists x = 1/y ∈ R* [as y ≠ 0] such that

f(x) = 1/(1/y) = y

So, f is onto.

Thus, the given function f is one – one and onto.

Now, consider function g: N → R* defined by g(x) = 1/x

We have,

g(x1) = g(x2)

⇒ 1/x1 = 1/x2

⇒ x1 = x2

So, g is one – one.

Further, it is clear that g is not onto as for 1.2 ∈ R* there does not exit any x in N such that

g(x) = 1/1.2

Hence, function g is one-one but not onto.

Question 2:

Check the injectivity and surjectivity of the following functions:

(i) f: N → N given by f(x) = x2

(ii) f: Z → Z given by f(x) = x2

(iii) f: R → R given by f(x) = x2

(iv) f: N → N given by f(x) = x3

(v) f: Z → Z given by f(x) = x3

(i) f: N → N is given by f(x) = x2

It is seen that for x, y ∈ N,

f(x) = f(y)

⇒ x2 = y2

⇒ x = y

So, f is injective.

Now, 2 ∈ N. But, there does not exist any x in N such that f(x) = x2 = 2.

So, f is not surjective.

Hence, function f is injective but not surjective.

(ii) f: Z → Z is given by f(x) = x2

It is seen that f(−1) = f(1) = 1, but −1 ≠ 1

So, f is not injective.

Now, −2 ∈ Z. But, there does not exist any element x ∈ Z such that

f(x) = −2 or x2 = −2

So, f is not surjective.

Hence, function f is neither injective nor surjective.

(iii) f: R → R is given by f(x) = x2

It is seen that f(−1) = f(1) = 1, but −1 ≠ 1

So, f is not injective.

Now, −2 ∈ R. But, there does not exist any element x ∈ R such that

f(x) = −2 or x2 = −2

So, f is not surjective.

Hence, function f is neither injective nor surjective.

(iv) f: N → N given by f(x) = x3

It is seen that for x, y ∈ N,

f(x) = f(y)

⇒ x3 = y3

⇒ x = y

So, f is injective.

Now, 2 ∈ N. But, there does not exist any element x ∈ N such that

f(x) = 2 or x3 = 2

So, f is not surjective

Hence, function f is injective but not surjective.

(v) f: Z → Z is given by f(x) = x3

It is seen that for x, y ∈ Z,

f(x) = f(y)

⇒ x3 = y3

⇒ x = y

So, f is injective.

Now, 2 ∈ Z. But, there does not exist any element x ∈ Z such that

f(x) = 2 or x3 = 2

So, f is not surjective.

Hence, function f is injective but not surjective.

Question 3:

Prove that the Greatest Integer Function f: R → R given by f(x) = [x], is neither one – one nor onto,

where [x] denotes the greatest integer less than or equal to x.

f: R → R is given by, f(x) = [x]

It is seen that f(1.2) = [1.2] = 1, f(1.9) = [1.9] = 1

So, f(1.2) = f(1.9), but 1.2 ≠ 1.9

Hence, f is not one – one.

Now, consider 0.7 ∈ R

It is known that f(x) = [x] is always an integer.

Thus, there does not exist any element x ∈ R such that f(x) = 0.7

So, f is not onto.

Hence, the greatest integer function is neither one – one nor onto.

Question 4:

Show that the Modulus Function f: R → R given by f(x) = |x|, is neither one –one nor onto, where |x| is x,

if x is positive or 0 and |x| is − x, if x is negative.

f: R → R is given by f(x) = |x| =     { x, if x ≥ 0 ,

-x, if x < 0 }

It is clear that f(-1) = |-1| = 1 and f(1) = |1| = 1

So, f(−1) = f(1), but −1 ≠ 1

Hence, f is not one – one.

Now, consider −1 ∈ R

It is known that f(x) = |x| is always non-negative. Thus, there does not exist any element x in

domain R such that f(x) = |x| = −1

So, f is not onto.

Hence, the modulus function is neither one-one nor onto.

Question 5:

Show that the Signum Function f: R → R, given by f(x) =    { 1, if x > 0 ,

0, if x = 0 ,

−1, if x < 0 }

is neither one-one nor onto.

f: R → R is given by f(x) =   { 1, if x > 0 ,

0, if x = 0 ,

-1, if x < 0 }

It is seen that f(1) = f(2) = 1, but 1 ≠ 2

So, f is not one – one.

Now, as f(x) takes only 3 values (1, 0, or −1) for the element −2 in co-domain R, there does not

exist any x in domain R such that f(x) = −2.

So, f is not onto.

Hence, the Signum function is neither one – one nor onto.

Question 6:

Let A = {1, 2, 3}, B = {4, 5, 6, 7} and let f = {(1, 4), (2, 5), (3, 6)} be a function from A to B.

Show that f is one – one.

It is given that A = {1, 2, 3}, B = {4, 5, 6, 7}.

f: A → B is defined as f = {(1, 4), (2, 5), (3, 6)}.

So, f (1) = 4, f (2) = 5, f (3) = 6

It is seen that the images of distinct elements of A under f are distinct.

Hence, function f is one – one.

Question 7:

In each of the following cases, state whether the function is one – one, onto or bijective.

(i) f: R → R defined by f(x) = 3 − 4x  (ii) f: R → R defined by f(x) = 1 + x2

(i) f: R → R is defined as f(x) = 3 − 4x.

Let x1, x2 ∈ R such that f(x1) = f(x2)

⇒ 3 - 4x1 = 3 - 4x2

⇒ -4x1 = -4x2

⇒ x1 = x2

So, f is one – one.

For any real number (y) in R, there exists (3 – y)/4 in R such that

f ((3 – y)/4) = 3 – 4{(3 – y)/4} = y

So, f is onto.

Hence, the function f is bijective.

(ii) f: R → R is defined as f(x) = 1 + x2

Let x1, x2 ∈ R such that f(x1) = f(x2)

⇒ 1+ x12 = 1 + x22

⇒ x12 = x22

⇒ x1 = ± x2

So, f(x1) = f(x2) does not imply that x1 = x2

For example f(1) = f(-1) = 2

So, f is not one – one.

Consider an element −2 in co-domain R.

It is seen that f(x) = 1 + x2 is positive for all x ∈ R.

Thus, there does not exist any x in domain R such that f(x) = −2

So, f is not onto.

Hence, f is neither one – one nor onto.

Question 8:

Let A and B be sets. Show that f: A * B → B * A such that (a, b) = (b, a) is bijective function.

Given, f: A * B → B * A is defined as f(a, b) = (b, a)

Let (a1, b1), (a2, b2) ∈ A * B such that f(a1, b1) = f(a2, b2)

⇒ (b1, a1) = (b2, a2)

⇒ b1 = b2 and a1 = a2

⇒ (a1, b1) = (a2, b2)

So, f is one – one.

Now, let (b, a) ∈ B * A be any element.

Then, there exists (a, b) ∈ A * B such that f(a, b) = (b, a).               [By definition of f]

So, f is onto.

Hence, f is bijective.

Question 9:

Let f: N → N be defined by f(n) =   {  (n + 1)/2, if n is odd ,

n/2, if n is even }

for all n ∈ N. State whether the function f is bijective. Justify your answer.

f: N → N is defined as f(n) =  { (n + 1)/2, if n is odd ,

n/2, if n is even }

for all n ∈ N

It can be observed that:

f(1) = (1 + 1)/2 = 1 and f(2) = 2/2 = 1             [By definition of f(n)]

f(1) = f(2), where 1 ≠ 2

So, f is not one-one.

Consider a natural number (n) in co-domain N.

Case 1: When n is odd

So, n = 2r + 1 for some r ∈ N. Then, there exists 4r + 1 ∈ N such that

f(4r + 1) = (4r + 1 + 1)/2 = 2r + 1

Case 2: When n is even

So, n = 2r for some r ∈ N.

Then, there exists 4r ∈ N such that

f(4r) = 4r/2 = 2r

So, f is onto.

Hence, f is not a bijective function.

Question 10:

Let A = R − {3} and B = R − {1}.

Consider the function f: A → B defined by f(x) = (x – 2)/(x – 3).

Given, A = R − {3}, B = R − {1} and f: A → B defined by f(x) = (x – 2)/(x – 3)

Let x, y ∈ A such that f(x) = f(y)

⇒ (x – 2)/(x – 3) = (y – 2)/(y – 3)

⇒ (x – 2)(y – 3) = (y – 2)(x – 3)

⇒ xy – 3x – 2y + 6 = xy – 2x – 3y + 6

⇒ – 3x – 2y = – 2x – 3y

⇒ x = y

So, f is one-one.

Let y ∈ B = R − {1}. Then, y ≠ 1

The function f is onto if there exists x ∈ A such that f(x) = y

Now, f(x) = y

⇒ (x – 2)/(x – 3) = y

⇒ x – 2 = xy – 3y

⇒ x(1 – y) = – 3y + 2

⇒ x = (2 - 3y)/(1 – y) ∈ A         [y ≠ 1]

Thus, for any y ∈ B, there exists (2 - 3y)/(1 – y) ∈ A such that

f ((2 - 3y)/(1 – y)) = [{(2 - 3y)/(1 – y)} – 2]/[{(2 - 3y)/(1 – y)} - 3]

= (2 - 3y - 2 + 2y)/(2 - 3y - 3 + 3y)

= -y/(-1)

= y

So, f is onto.

Hence, function f is one – one and onto.

Question 11:

Let f: R → R be defined as f(x) = x4. Choose the correct answer.

(A) f is one-one onto                               (B) f is many-one onto

(C) f is one-one but not onto                 (D) f is neither one-one nor onto

f: R → R is defined as f(x) = x4

Let x, y ∈ R such that f(x) = f(y)

⇒ x4 = y4

⇒ x = ± y

So, f(x) = f(y) does not imply that x = y

For example f(1) = f(–1) = 1

So, f is not one-one.

Consider an element 2 in co-domain R. It is clear that there does not exist any x in domain R

such that f(x) = 2

So, f is not onto.

Hence, function f is neither one – one nor onto.

The correct answer is option D.

Question 12:

Let f: R → R be defined as f(x) = 3x. Choose the correct answer.

(A) f is one – one onto                               (B) f is many – one onto

(C) f is one – one but not onto                 (D) f is neither one – one nor onto

f: R → R is defined as f(x) = 3x

Let x, y ∈ R such that f(x) = f(y)

⇒ 3x = 3y

⇒ x = y

So, f is one-one.

Also, for any real number (y) in co-domain R, there exists y/3 in R such that

f(y/3) = 3(y/3) = y

So, f is onto.

Hence, function f is one – one and onto.

The correct answer is option A.

Exercise 1.3

Question 1:

Let f: {1, 3, 4} → {1, 2, 5} and g: {1, 2, 5} → {1, 3} be given by f = {(1, 2), (3, 5), (4, 1)} and  g = {(1, 3), (2, 3), (5, 1)}. Write down gof.

The functions f: {1, 3, 4} → {1, 2, 5} and g: {1, 2, 5} → {1, 3} are defined as:

f = {(1, 2), (3, 5), (4, 1)} and g = {(1, 3), (2, 3), (5, 1)}

gof(1) = g[f(1)] = g(2) = 3           [Since f(1) = 2 and g(2) = 3]

gof(3) = g[f(3)] = g(5) = 1           [Since f(3) = 5 and g(5) = 1]

gof(4) = g[f(4)] = g(1) = 3           [Since f(4) = 1 and g(1) = 3]

So, gof = {(1, 3), (3, 1), (4, 3)}

Question 2:

Let f, g and h be functions from R to R. Show that

(f + g)oh = foh + goh

(f.g)oh = (foh).(goh)

To prove: (f + g)oh = foh + goh

LHS = [(f + g)oh](x)

= (f + g)[h(x)]

= f [h(x)] + g[h(x)]

= (foh)(x) + (goh)(x)

= {(foh)(x) + (goh)}(x)

= RHS

So, {(f + g)oh}(x) = {(foh)(x) + (goh)}(x) for all x ∈R

Hence, (f + g)oh = foh + goh

To Prove: (f.g)oh = (foh).(goh)

LHS = [(f.g)oh](x)

= (f.g)[h(x)]

= f[h(x)] . g[h(x)]

= (foh)(x) . (goh)(x)

= {(foh).(goh)}(x) = RHS

So, [(f.g)oh](x) = {(foh).(goh)}(x) for all x ∈R

Hence, (f.g)oh = (foh).(goh)

Question 3:

Find gof and fog, if

(i) f(x) = |x| and g(x) = |5x − 2|   (ii) f(x) = 8x3 and g(x) = x1/3

(i) Given, f(x) = |x| and g(x) = |5x - 2|

So, gof(x) = g(f(x)) = g(|x|) = |5|x|- 2|

fog(x) = f(g(x)) = f(|5x - 2|) = ||5x - 2|| = |5x - 2|

(ii) Given, f(x) = 8x3 and g(x) = x1/3

So, gof(x) = g(f(x)) = g(8x3) = (8x3)1/3 = 2x

fog(x) = f(g(x)) = f(x1/3) = 8(x1/3)3 = 8x

Question 4:

If f(x) = (4x + 3)/(6x − 4), x ≠ 2/3, show that fof(x) = x, for all x ≠ 2/3. What is the inverse of f?

It is given that f(x) = (4x + 3)/(6x - 4), x ≠ 2/3

(fof)(x) = f(f(x))

= f((4x + 3)/(6x – 4))

= {4(4x + 3)/(6x – 4) + 3}/{6(4x + 3)/(6x – 4) - 4}

= (16x + 12 + 18x – 12)/(24x + 18 - 24x + 16)

= 34x/34

= x

So, fof(x) = x, for all x ≠ 2/3

⇒ fof = Ix

Hence, the given function f is invertible and the inverse of f is f itself.

Question 5:

State with reason whether following functions have inverse

(i) f: {1, 2, 3, 4} → {10} with

f = {(1, 10), (2, 10), (3, 10), (4, 10)}

(ii) g: {5, 6, 7, 8} → {1, 2, 3, 4} with

g = {(5, 4), (6, 3), (7, 4), (8, 2)}

(iii) h: {2, 3, 4, 5} → {7, 9, 11, 13} with

h = {(2, 7), (3, 9), (4, 11), (5, 13)}

(i) f: {1, 2, 3, 4} → {10} defined as f = {(1, 10), (2, 10), (3, 10), (4, 10)}

From the given definition of f, we can see that f is a many one function as

f(1) = f(2) = f(3) = f(4) = 10

So, f is not one – one.

Hence, function f does not have an inverse.

(ii) g: {5, 6, 7, 8} → {1, 2, 3, 4} defined as

g = {(5, 4), (6, 3), (7, 4), (8, 2)}

From the given definition of g, it is seen that g is a many one function as

g(5) = g(7) = 4

So, g is not one – one.

Hence, function g does not have an inverse.

(iii) h: {2, 3, 4, 5} → {7, 9, 11, 13} defined as

h = {(2, 7), (3, 9), (4, 11), (5, 13)}

It is seen that all distinct elements of the set {2, 3, 4, 5} have distinct images under h.

So, the function h is one – one.

Also, h is onto since for every element y of the set {7, 9, 11, 13}, there exists an element x in

the set {2, 3, 4, 5}, such that h(x) = y

Thus, h is a one – one and onto function.

Hence, h has an inverse.

Question 6:

Show that f : [−1, 1] → R, given by f(x) = x/(x + 2) is one – one. Find the inverse of the function      f : [−1, 1] → Range f

(Hint: For y ∈ Range f, y = f(x) = x/(x + 2), for some x in [−1, 1], i.e., x = 2y/(1 − y)

Given, f : [−1, 1] → R is given as f(x) = x/(x + 2)

For one – one:

Let f(x) = f(y)

⇒ x/(x + 2) = y/(y + 2)

⇒ xy +2x = xy +2y

⇒ 2x = 2y

⇒ x = y

So, f is a one – one function.

It is clear that f : [−1, 1] → Range f is onto.

So, f : [−1, 1] → Range f is one – one and onto and therefore, the inverse of the function

f : [−1, 1] → Range f exists.

Let g : Range f → [−1, 1] be the inverse of f.

Let y be an arbitrary element of range f.

Since f : [−1, 1] → Range f is onto, we have

y = f(x) for some x ∈ [−1, 1]

⇒ y = x/(x + 2)

⇒ xy + 2y = x

⇒ x(1 - y) = 2y

⇒ x = 2y/(1 – y), y ≠ 1

Now, let us define g : Range f → [−1, 1] as

g(y) = 2y/(1 – y), y ≠ 1

Now, (gof)(x) = g(f(x))

= g(x/(x + 2))

= 2x/(x + 2)/{1 - x/(x + 2)}

= 2x/(x + 2 - x)

= 2x/2

= x

and (fog)(x) = f(g(x))

= f(2y/(1 - y))

= 2y/(1 - y)/{ 2y/(1 - y) + 2}

= 2y/(2y + 2 – 2y)

= 2y/2

= y

So, gof = x = I[-1, 1] and fog = y = IRange f

So, f-1 = g

=> f-1(y) = 2y/(1 - y), y ≠ 1

Question 7:

Consider f: R → R given by f(x) = 4x + 3. Show that f is invertible. Find the inverse of f.

Given, f: R → R is given by, f(x) = 4x + 3

For one – one:

Let f(x) = f(y)

⇒ 4x + 3 = 4y + 3

⇒ 4x = 4y

⇒ x = y

So, f is a one – one function.

For onto:

For y ∈ R, let y = 4x + 3

⇒ x = (y – 3)/4 ∈ R

Therefore, for any y ∈ R, there exists x = (y – 3)/4 ∈ R, such that

f(x) = f((y – 3)/4) = 4((y – 3)/4)) + 3 = y

So, f is onto.

Thus, f is one – one and onto and therefore, f−1 exists.

Let us define g: R → R by g(x) = (y – 3)/4

Now,

(gof)(x) = g(f(x)) = g(4x + 3) = {(4x + 3) – 3}/4 = 4x/4 = x

and (fog)(y) = f(g(y)) = f((y - 3)/4) = 4(y - 3)/4 + 3 = y – 3 + 3 = y

So, gof = fog = IR

Hence, f is invertible and the inverse of f is given by f-1 (y) = g(y) = (y – 3)/4

Question 8:

Consider f: R+ → [4, ∞) given by f(x) = x2 + 4.

Show that f is invertible with the inverse f−1 of given f by f−1(y) = √(y – 4),

where R+ is the set of all non-negative real numbers.

Given, f : R+ → [4, ∞) is given as f(x) = x2 + 4

For one – one:

Let f(x) = f(y)

⇒ x2 + 4 = y2 + 4

⇒ x2 = y2

⇒ x = y                [as x = y ∈ R+]

So, f is a one – one function.

For onto:

For y ∈ [4, ∞), let y = x2 + 4

⇒ x2 = y − 4 ≥ 0               [as y ≥ 4]

⇒ x = √(y – 4) ≥ 0

Therefore, for any y ∈ [4, ∞), there exists x = √(y – 4) ∈ R+, such that

f(x) = f(√(y - 4)) = (√(y - 4))2 + 4 = y - 4 + 4 = y

So, f is onto.

Thus, f is one – one and onto and therefore, f−1 exists.

Let us define g: [4, ∞) → R+ by g(y) = √(y – 4)

Now,

(gof)(x) = g(f(x)) = g(x2 + 4) = √{x2 + 4 – 4} = √x2 = x

and

(fog)(y) = f(g(y)) = f(√(y - 4)) = (√(y – 4))2 + 4 = y - 4 + 4 = y

So, gof = fog = IR

Hence, f is invertible and the inverse of f is given by

f-1(y) = g(y) = √(y – 4)

Question 9:

Consider f: R+ → [−5, ∞) given by f(x) = 9x2 + 6x − 5. Show that f is invertible with  f−1(y) = [{√(y + 6) − 1}/3]

f: R+ → [−5, ∞) is given as f(x) = 9x2 + 6x − 5

Let y be an arbitrary element of [−5, ∞).

Let y = 9x2 + 6x – 5

⇒ y = (3x + 1)2 – 1 - 5

⇒ y = (3x + 1)2 - 6

⇒ y + 6 = (3x + 1)2

⇒ 3x + 1 = √(y + 6)                         [as y ≥ −5 ⟹ y + 6 > 0]

⇒ x = [{√(y + 6) − 1}/3]

So, f is onto, thereby range f = [−5, ∞).

Let us define g: [−5, ∞) → R+ as g(y) = [{√(y + 6) − 1}/3]

Now,

(gof)(x) = g(f(x)) = g(9x2 + 6x - 5)

= g((3x + 1)2 - 6)

= [√{(3x + 1)2 - 6 + 6} – 1]/3

= (3x + 1 – 1)/3

= 3x/3

= x

and (fog)(y) = f(g(y)) = f ({√(y + 6) − 1}/3)

= [3{√(y + 6) − 1}/3 + 1]2 - 6

= {√(y + 6)}2 - 1

= y + 6 - 6

= y

So, gof = x = IR and fog = y = IRange f

Hence, f is invertible and the inverse of f is given by

f−1(y) = g(y) = {√(y + 6) – 1}/3

Question 10:

Let f : X → Y be an invertible function. Show that f has unique inverse. (Hint: suppose g1 and g2 are two inverses of f.

Then for all y ∈ Y, fog1(y) = IY(y) = fog2(y). Use one – one ness of f).

Let f : X → Y be an invertible function.

Also, suppose f has two inverses (say g1 and g2)

Then, for all y ∈Y, we have

fog1(y) = IY(y) = fog2(y)

⇒ f(g1(y)) = f(g2(y))

⇒ g1(y) = g2(y)                  [as f is invertible ⇒ f is one – one]

⇒ g1 = g2                           [as g is one – one]

Hence, f has a unique inverse.

Question 11:

Consider f: {1, 2, 3} → {a, b, c} given by f(1) = a, f(2) = b and f(3) = c. Find f−1 and show that   (f−1)−1 = f.

Function f: {1, 2, 3} → {a, b, c} is given by f(1) = a, f(2) = b, and f(3) = c

If we define g: {a, b, c} → {1, 2, 3} as g(a) = 1, g(b) = 2, g(c) = 3

We have

(fog)(a) = f(g(a)) = f(1) = a

(fog)(b) = f(g(b)) = f(2) = b

(fog)(c) = f(g(c)) = f(3) = c

and

(gof)(1) = g(f(1)) = g(a) = 1

(gof)(2) = g(f(2)) = g(b) = 2

(gof)(3) = g(f(3)) = g(c) = 3

So, gof = IX and fog = IY, where X = {1, 2, 3} and Y = {a, b, c}.

Thus, the inverse of f exists and f−1 = g.

So, f−1 : {a, b, c} → {1, 2, 3} is given by f−1(a) = 1, f−1(b) = 2, f−1(c) = 3

Let us now find the inverse of f−1 i.e., find the inverse of g.

If we define h: {1, 2, 3} → {a, b, c} as h(1) = a, h(2) = b, h(3) = c

We have

(goh)(1) = g(h(1)) = g(a) = 1

(goh)(2) = g(h(2)) = g(b) = 2

(goh)(3) = g(h(3)) = g(c) = 3

and

(hog)(a) = h(g(a)) = h(1) = a

(hog)(b) = h(g(b)) = h(2) = b

(hog)(c) = h(g(c)) = h(3) = c

So, goh = IX and hog = IY, where X = {1, 2, 3} and Y = {a, b, c}.

Thus, the inverse of g exists and g−1 = h

⇒ (f−1)−1 = h

It can be noted that h = f

Hence, (f−1)−1 = f

Question 12:

Let f : X → Y be an invertible function. Show that the inverse of f−1 is f, i.e., (f−1)−1 = f.

Let f: X → Y be an invertible function.

Then, there exists a function g: Y → X such that gof = IX and fog = IY.

Here, f−1 = g

Now, gof = IX and fog = IY

⇒ f−1of = IX and fof−1 = IY

Hence, f−1 : Y → X is invertible and f is the inverse of f−1 i.e., (f−1)−1 = f.

Question 13:

If f : R → R be given by f(x) = (3 − x3)1/3, then fof(x) is

(A) 1/x3                      (B) x3                        (C) x                         (D) (3 − x3)

Given, f : R → R be given as f(x) = (3 - x3)1/3

So, fof(x) = f(f(x)) = f ((3 - x3)1/3) = [3 -  ((3 - x3)1/3)3]1/3

= [3 - (3 - x3)]1/3

= (x3)1/3

= x

So, fof(x) = x

Hence, the correct answer is option C.

Question 14:

Let f: R - {-4/3} → R be a function as f(x) = 4x/(3x + 4). The inverse of f is map  g : Range f → R - {-4/3} given by

(A) g(y) = 3y/(3 - 4y)          (B) g(y) = 4y/(4 - 3y)        (C) g(y) = 4y/(3 -4y)       (D) g(y) = 3y/(4 - 3y)

It is given that f : R − {−4/3} → R be a function as f(x) = 4x/(3x + 4)

Let y be an arbitrary element of Range f.

Then, there exists x ∈ R - {-4/3} such that y = f(x)

⇒ y = 4x/(3x + 4)

⇒ 3xy + 4y = 4x

⇒ x(4 - 3y) = 4y

⇒ x = 4y/(4 - 3y)

Let us define g: Range f → R- {-4/3} as g(y) = 4y/(4 - 3y)

Now,

gof(x) = g(f(x)) = g (4x/(3x + 4) = 4(4x/(3x + 4))/{4 − 3(4x/(3x + 4))}

= 16x/(12x + 16 − 12x) = 16x/16 = x

and fog(y) = f(g(y)) = f (4y/(4 − 3y)) = 4(4y/(4 − 3y))/{3(4y/(4 − 3y)) + 4}

= 16y/(12y + 16 − 12y)

= 16y/16

= y

So, gof = IR-{-4/3} and fog = IRange f

Thus, g is the inverse of f i.e., f−1 = g

Hence, the inverse of f is the map g: Range f → R - {-4/3}, which is given by g(y) = 4y/(4 - 3y)

Hence, the correct answer is option B.

Exercise 1.4

Question 1:

Determine whether or not each of the definition of given below gives a binary operation.

In the event that * is not a binary operation, give justification for this.

(i) On Z+, define * by a * b = a − b                       (ii) On Z+, define * by a * b = ab

(iii) On R, define * by a * b = ab2                            (iv) On Z+, define * by a * b = |a − b|

(v) On Z+, define * by a * b = a

(i) On Z+, * is defined by a * b = a − b.

It is not a binary operation as the image of (1, 2) under * is 1 * 2 = 1 − 2 = −1 ∉ Z+.

(ii) On Z+, * is defined by a * b = ab

It is seen that for each a, b ∈ Z+, there is a unique element ab in Z+.

This means that * carries each pair (a, b) to a unique element a * b = ab in Z+.

Therefore, * is a binary operation.

(iii) On R, * is defined by a * b = ab2

It is seen that for each a, b ∈ R, there is a unique element ab2 in R.

This means that * carries each pair (a, b) to a unique element a * b = ab2 in R.

Therefore, * is a binary operation.

(iv) On Z+, * is defined by a * b = |a − b|

It is seen that for each a, b ∈ Z+, there is a unique element |a − b| in Z+.

This means that * carries each pair (a, b) to a unique element a * b = |a − b| in Z+.

Therefore, * is a binary operation.

(v) On Z+, * is defined by a * b = a

It is seen that for each a, b ∈ Z+, there is a unique element a in Z+.

This means that * carries each pair (a, b) to a unique element a * b = a in Z+.

Therefore, * is a binary operation.

Question 2:

For each binary operation * defined below, determine whether * is commutative or associative.

(i) On Z, define a * b = a – b                        (ii) On Q, define a * b = ab + 1

(iii) On Q, define a * b = ab/2                     (iv) On Z+, define a * b = 2ab

(v) On Z+, define a * b = ab                           (vi) On R − {−1}, define a ∗ b = a/(b + 1)

(i) On Z, * is defined by a * b = a − b

It can be observed that 1 * 2 = 1 − 2 = −1 and 2 * 1 = 2 − 1 = 1

So, 1 * 2 ≠ 2 * 1, where 1, 2 ∈ Z

Hence, the operation * is not commutative.

Also, we have

(1 * 2) * 3 = (1 − 2) * 3 = −1 * 3 = −1 − 3 = −4

1 * (2 * 3) = 1 * (2 − 3) = 1 * −1 = 1 − (−1) = 2

So, (1 * 2) * 3 ≠ 1 * (2 * 3), where 1, 2, 3 ∈ Z

Hence, the operation * is not associative.

(ii) On Q, * is defined by a * b = ab + 1

It is known that: ab = ba for all a, b ∈ Q

⇒ ab + 1 = ba + 1 for all a, b ∈ Q

⇒ a * b = a * b for all a, b ∈ Q

Therefore, the operation * is commutative.

It can be observed that

(1 * 2) * 3 = (1 * 2 + 1) * 3 = 3 * 3 = 3 * 3 + 1 = 10

1 * (2 * 3) = 1 * (2 * 3 + 1) = 1 * 7 = 1 * 7 + 1 = 8

So, (1 * 2) * 3 ≠ 1 * (2 * 3), where 1, 2, 3 ∈ Q

Therefore, the operation * is not associative.

(iii) On Q, * is defined by a * b = ab/2

It is known that: ab = ba for all a, b ∈ Q

⇒ ab/2 = ba/2 for all a, b ∈ Q

⇒ a * b = b * a for all a, b ∈ Q

Therefore, the operation * is commutative.

For all a, b, c ∈ Q, we have

(a ∗ b) ∗ c = (ab/2) ∗ c = {(ab/2) c}/2 = abc/4 and

a ∗ (b ∗ c) = a ∗ (bc/2) = {a(bc/2)}/2 = abc/4

So, (a * b) * c = a * (b * c), where a, b, c ∈ Q

Therefore, the operation * is associative.

(iv) On Z+, * is defined by a * b = 2ab

It is known that: ab = ba for all a, b ∈ Z

⇒ 2ab = 2ba for all a, b ∈ Z+

⇒ a * b = b * a for all a, b ∈ Z+

Therefore, the operation * is commutative.

It can be observed that

(1 ∗ 2) ∗ 3 = 21*2 ∗ 3 = 4 ∗ 3 = 24*3 = 212 and

1 ∗ (2 ∗ 3) = 1 ∗ 22*3 = 1 ∗ 26 = 1 ∗ 64 = 21*64 = 264

So, (1 * 2) * 3 ≠ 1 * (2 * 3), where 1, 2, 3 ∈ Z+

Therefore, the operation * is not associative.

(v) On Z+, * is defined by a * b = ab

It can be observed that

1 * 2 = 12 = 1 and 2*1 = 21 = 2

So, 1 * 2 ≠ 2 * 1, where 1, 2 ∈ Z+

Therefore, the operation * is not commutative.

It can also be observed that

(2 ∗ 3) ∗ 4 = 23 ∗ 4 = 8 ∗ 4 = 84 = 212 and

2 ∗ (3 ∗ 4) = 2 ∗ 34 = 2 ∗ 81 = 281

So, (2 * 3) * 4 ≠ 2 * (3 * 4), where 2, 3, 4 ∈ Z+

Therefore, the operation * is not associative.

(vi) On R, * − {−1} is defined by a ∗ b = a/(b + 1)

It can be observed that

1 ∗ 2 = 1/(2 + 1) = 1/3 and 2 ∗ 1 = 2/(1 + 1) = 2/2 = 1

So, 1 * 2 ≠ 2 * 1, where 1, 2 ∈ R − {−1}

Therefore, the operation * is not commutative.

It can also be observed that

(1 ∗ 2) ∗ 3 = 1/(2 + 1) * 3 = 1/3 * 3 = (1/3)/(3 + 1) = 1/12 and

1 ∗ (2 ∗ 3) = 1 ∗ 2/(3 + 1) = = 1 ∗ (2/4)  = 1 ∗ 1/2 = 1/(1/2 + 1) = 1/(3/2) = 2/3

So,  (1 * 2) * 3 ≠ 1 * (2 * 3), where 1, 2, 3 ∈ R − {−1}

Therefore, the operation * is not associative.

Question 3:

Consider the binary operation ∧ on the set {1, 2, 3, 4, 5} defined by a ∧ b = min {a, b}.

Write the operation table of the operation ∧.

The binary operation ∧ on the set {1, 2, 3, 4, 5} is defined as

a ∧ b = min {a, b} for all a, b ∈ {1, 2, 3, 4, 5}

Thus, the operation table for the given operation ∧ can be given as:

Question 4:

Consider a binary operation * on the set {1, 2, 3, 4, 5} given by the following multiplication table.

(i) Compute (2 * 3) * 4 and 2 * (3 * 4)    (ii) Is * commutative?

(iii) Compute (2 * 3) * (4 * 5).

(Hint: use the following table)

(i) (2 * 3) * 4 = 1 * 4 = 1

2 * (3 * 4) = 2 * 1 = 1

(ii) For every a, b ∈ {1, 2, 3, 4, 5}, we have a * b = b * a. Therefore, the operation * is

commutative.

(iii) (2 * 3) = 1 and (4 * 5) = 1

So, (2 * 3) * (4 * 5) = 1 * 1 = 1

Question 5:

Let *′ be the binary operation on the set {1, 2, 3, 4, 5} defined by a *′ b = H.C.F. of a and b.

Is the operation *′ same as the operation * defined in Exercise 4 above? Justify your answer.

The binary operation *′ on the set {1, 2, 3 4, 5} is defined as a *′ b = H.C.F of a and b.

The operation table for the operation *′ can be given as:

We observe that the operation tables for the operations * and *′ are the same.

Thus, the operation *′ is same as the operation*.

Question 6:

Let * be the binary operation on N given by a * b = L.C.M. of a and b.

Find

(i) 5 * 7, 20 * 16                                 (ii) Is * commutative?

(iii) Is * associative?                         (iv) Find the identity of * in N

(v) Which elements of N are invertible for the operation *?

The binary operation * on N is defined as a * b = L.C.M. of a and b.

(i) 5 * 7 = L.C.M. of 5 and 7 = 35

20 * 16 = L.C.M of 20 and 16 = 80

(ii) It is known that

L.C.M of a and b = L.C.M of b and a for all a, b ∈ N.

So, a * b = b * a

Thus, the operation * is commutative.

(iii) For a, b, c ∈ N, we have

(a * b) * c = (L.C.M of a and b) * c = LCM of a, b, and c

a * (b * c) = a * (LCM of b and c) = L.C.M of a, b, and c

So, (a * b) * c = a * (b * c)

Thus, the operation * is associative.

(iv) It is known that:

L.C.M. of a and 1 = a = L.C.M. 1 and a for all a ∈ N

⇒ a * 1 = a = 1 * a for all a ∈ N

Thus, 1 is the identity of * in N.

(v) An element a in N is invertible with respect to the operation * if there exists an element b

in N, such that a * b = e = b * a.

Here, e = 1

This means that

L.C.M of a and b = 1 = L.C.M of b and a

This case is possible only when a and b are equal to 1.

Thus, 1 is the only invertible element of N with respect to the operation *.

Question 7:

Is * defined on the set {1, 2, 3, 4, 5} by a * b = L.C.M. of a and b a binary operation? Justify your answer.

The operation * on the set A = {1, 2, 3, 4, 5} is defined as a * b = L.C.M. of a and b.

Then, the operation table for the given operation * can be given as:

It can be observed from the obtained table that

3 * 2 = 2 * 3 = 6 ∉ A,

5 * 2 = 2 * 5 = 10 ∉ A,

3 * 4 = 4 * 3 = 12 ∉ A,

3 * 5 = 5 * 3 = 15 ∉ A,

4 * 5 = 5 * 4 = 20 ∉ A

Hence, the given operation * is not a binary operation.

Question 8:

Let * be the binary operation on N defined by a * b = H.C.F. of a and b.

Is * commutative? Is * associative? Does there exist identity for this binary operation on N?

The binary operation * on N is defined as: a * b = H.C.F. of a and b

It is known that

H.C.F. of a and b = H.C.F. of b and a for all a, b ∈ N.

So, a * b = b * a

Thus, the operation * is commutative.

For a, b, c ∈ N, we have

(a * b) * c = (H.C.F. of a and b) * c = H.C.F. of a, b and c

a * (b * c) = a * (H.C.F. of b and c) = H.C.F. of a, b, and c

So, (a * b) * c = a * (b * c)

Thus, the operation * is associative.

Now, an element e ∈ N will be the identity for the operation * if a * e = a = e* a for all a ∈ N.

But this relation is not true for any a ∈ N.

Thus, the operation * does not have any identity in N.

Question 9:

Let * be a binary operation on the set Q of rational numbers as follows:

(i) a * b = a − b                           (ii) a * b = a2 + b2                           (iii) a * b = a + ab

(iv) a * b = (a − b)2                     (v) a ∗ b = ab/4                              (vi) a * b = ab2

Find which of the binary operations are commutative and which are associative.

(i) On Q, the operation * is defined as a * b = a − b. It can be observed that:

(1/2) * (1/3) = 1/2 - 1/3 = (3 - 2)/6 = 1/6 and

(1/3) * (1/2) = 1/3 - 1/2 = (2 - 3)/6 = -1/6

So, (1/2) * (1/3) ≠ (1/3) * (1/2), where 1/2, 1/3 ∈ Q

Thus, the operation * is not commutative.

It can also be observed that

(1/2 * 1/3) * 1/4 = (1/2 - 1/3) * 1/4 = (3 - 2)/6 * 1/4 = 1/6 * 1/4 = (2 - 3)/12 = -1/12 and

1/2 *( 1/3 * 1/4) = 1/2 * (1/3 - 1/4) = 1/2 *  (4 - 3)/12 = 1/2 * 1/12 = (6 - 1)/12 = 5/12

So, (1/2 * 1/3) * 1/4 ≠ 1/2 * (1/3 * 1/4), where 1/2, 1/3, 1/4 ∈ Q

Thus, the operation * is not commutative.

(ii) On Q, the operation * is defined as a * b = a2 + b2

For a, b ∈ Q, we have

a * b = a2 + b2 = b2 + a2 = b * a

So, a * b = b * a

Thus, the operation * is commutative.

It can be observed that

(1 * 2) * 3 = (12 + 22) * 3 = (1 + 4) * 3 = 5 * 3 = 52 + 32 = 34 and

1 * (2 * 3) = 1 * (22 + 32) = 1 * (4 + 9) = 1 * 13 = 12 + 132 = 170

So, (1 * 2) * 3 ≠ 1 * (2 * 3), where 1, 2, 3 ∈ Q

Thus, the operation * is not associative.

(iii) On Q, the operation * is defined as a * b = a + ab

It can be observed that

1 * 2 = 1 + 1 * 2 = 1 + 2 = 3

2 * 1 = 2 + 2 * 1 = 2 + 2 = 4

So, 1 * 2 ≠ 2 * 1, where 1, 2 ∈ Q

Thus, the operation * is not commutative.

It can also be observed that

(1 * 2) * 3 = (1 + 1 * 2) * 3 = (1 + 2) * 3 = 3 * 3 = 3 + 3 * 3 = 3 + 9 = 12 and

1 * (2 * 3) = 1 * (2 + 2 * 3) = 1 * (2 + 6) = 1 * 8 = 1 + 1 * 8 =1 + 8 = 9

So, (1 * 2) * 3 ≠ 1 * (2 * 3), where 1, 2, 3 ∈ Q

Thus, the operation * is not associative.

(iv) On Q, the operation * is defined by a * b = (a − b)2

For a, b ∈ Q, we have

a * b = (a − b)2

b * a = (b − a)2 = [− (a − b)]2 = (a − b)2

So, a * b = b * a

Thus, the operation * is commutative.

It can be observed that

(1 * 2) * 3 = (1 – 2)2 * 3 = (– 1)2 * 3 = 1 * 3 = (1 – 3)2 = (– 2)2 = 4

And 1 * (2 * 3) = 1 * (2 – 3)2 = 1 * (– 1)2 = 1 * 1 = (1 – 1)2 = 0

So, (1 * 2) * 3 ≠ 1 * (2 * 3), where 1, 2, 3 ∈ Q

Thus, the operation * is not associative.

(v) On Q, the operation * is defined as a*b = ab/4

For a, b ∈ Q, we have

a*b = ab/4 = ba/4 = b*a

So, a * b = b * a

Thus, the operation * is commutative.

For a, b, c ∈ Q, we have

(a ∗ b) ∗ c = (ab/4) ∗ c = {(ab/4) . c}/4 = abc/16 and

a ∗ (b ∗ c) = a ∗ ( bc/4) = {a. (bc/4)}/4 = abc/16

So, (a * b) * c = a * (b * c), where a, b, c ∈ Q

Thus, the operation * is associative.

(vi) On Q, the operation * is defined as a * b = ab2

It can be observed that

(1/2) * (1/3) = (1/2) * (1/3)2 = (1/2).(1/9) = 1/18

And (1/3) * (1/2) = (1/3) * (1/2)2 = (1/3) * (1/4) = 1/12

So, (1/2) * (1/3) ≠ (1/3) * (1/2), where 1/2 and 1/3 ∈ Q

Thus, the operation * is not commutative.

It can also be observed that

(1/2 * 1/3) * 1/4 = [1/2(1/3)2] ∗ 1/4 = 1/18 ∗ 1/4 = (1/18) * (1/4)2 = 1/(18 * 16) = 1/288 and

1/2 * (1/3 * 1/4) = (1/2)[1/3(1/4)2] = 1/2 ∗ 1/48 = (1/2) * (1/48)2 = 1/(2 * 2304) = 1/4608

So, (1/2 * 1/3) * 1/4 ≠ 1/2 * (1/3 * 1/4) , where 1/2, 1/3, 1/4 ∈ Q

Thus, the operation * is not associative.

Hence, the operations defined in (ii), (iv), (v) are commutative and the operation defined in (v)

is associative.

Question 10:

Find which of the operations given above has identity.

(i) a * b = a − b                           (ii) a * b = a2 + b2                           (iii) a * b = a + ab

(iv) a * b = (a − b)2                     (v) a ∗ b = ab/4                              (vi) a * b = ab2

(i) a * b = a − b

An element e will be the identity element for the operation *

if a * e = a = e * a

i.e. a - e = a = e - a, for all a ∈ Q.

There is no possible value of e where a – e = e - a

Thus, * has no identity element in Q.

(ii) a * b = a2 + b2

An element e will be the identity element for the operation *

if a * e = a = e * a

i.e. a2 + e2 = a = e2 + a2, for all a ∈ Q.

There is no possible value of e where a2 + e2 = a = e2 + a2

Thus, * has no identity element in Q.

(iii) a * b = a + ab

An element e will be the identity element for the operation *

if a * e = a = e * a

i.e. a + ae = a = e + ae, for all a ∈ Q.

There is no possible value of e where a + ae = a = ae + a

Thus, * has no identity element in Q.

(iv) a * b = (a − b)2

An element e will be the identity element for the operation *

if a * e = a = e * a

i.e. (a - e)2 = a = (e – a)2, for all a ∈ Q.

There is no possible value of e where (a - e)2 = a = (e – a)2

Thus, * has no identity element in Q.

(v) a ∗ b = ab/4

An element e will be the identity element for the operation *

if a * e = a = e * a

i.e. ae/4 = a = ea/4, which is possible if e = 4

Thus, 4 is the identity element of * in Q.

(vi) a * b = ab2

An element e will be the identity element for the operation *

if a * e = a = e * a

i.e. ae2 = a = ea2, for all a ∈ Q.

There is no possible value of e where ae2 = a = ea2

Thus, * has no identity element in Q.

Question 11:

Let A = N * N and * be the binary operation on A defined by

(a, b) * (c, d) = (a + c, b + d)

Show that * is commutative and associative. Find the identity element for * on A, if any.

Given, A = N * N and * is a binary operation on A and is defined by

(a, b) * (c, d) = (a + c, b + d)

Let (a, b), (c, d) ∈ A

Then, a, b, c, d ∈ N

We have:

(a, b) * (c, d) = (a + c, b + d)

(c, d) * (a, b) = (c + a, d + b) = (a + c, b + d)

[Addition is commutative in the set of natural numbers]

So, (a, b) * (c, d) = (c, d) * (a, b)

Therefore, the operation * is commutative.

Now, let (a, b), (c, d), (e, f) ∈ A

Then, a, b, c, d, e, f ∈ N

We have

[(a, b) ∗ (c, d)] ∗ (e, f) = (a + c, b + d) ∗ (e, f) = (a + c + e, b + d + f) and

(a, b) ∗ [(c, d) ∗ (e, f)] = (a, b) ∗ (c + e, d + f) = (a + c + e, b + d + f)

So, [(a, b) ∗ (c, d)] ∗ (e, f) = (a, b) ∗ [(c, d) ∗ (e, f)]

Therefore, the operation * is associative.

Let an element e = (e1, e2) ∈ A will be an identity element for the operation *

if a * e = a = e * a for all a = (a1, a2) ∈ A

i.e., (a1 + e1, a2 + e2) = (a1, a2) = (e1 + a1, e2 + a2)

which is not true for any element in A.

Therefore, the operation * does not have any identity element.

Question 12:

State whether the following statements are true or false. Justify.

(i) For an arbitrary binary operation * on a set N, a * a = a ∀ a ∈ N.

(ii) If * is a commutative binary operation on N, then a * (b * c) = (c * b) * a

(i) Define an operation * on N as a * b = a + b ∀ a, b ∈ N

Then, in particular, for b = a = 3, we have

3 * 3 = 3 + 3 = 6 ≠ 3

Therefore, statement (i) is false.

(ii) R.H.S. = (c * b) * a

= (b * c) * a                 [* is commutative]

= a * (b * c)                 [Again, as * is commutative]

= L.H.S.

So, a * (b * c) = (c * b) * a

Therefore, statement (ii) is true.

Question 13:

Consider a binary operation * on N defined as a * b = a3 + b3. Choose the correct answer.

(A) Is * both associative and commutative?            (B) Is * commutative but not associative?

(C) Is * associative but not commutative?               (D) Is * neither commutative nor associative?

On N, the operation * is defined as a * b = a3 + b3

For, a, b, ∈ N, we have

a * b = a3 + b3 = b3 + a3 = b * a              [Addition is commutative in N]

Therefore, the operation * is commutative.

It can be observed that

(1 * 2) * 3 = (13 + 23) * 3 = (1 + 8) * 3 = 9 * 3 = 93 + 33 = 729 + 27 = 756 and

1* (2 * 3) = 1 * (23 + 33) = 1* (8 + 27) = 1 * 35 = 13 + 353 = 1 + 42875 = 42876

So, (1 * 2) * 3 ≠ 1 * (2 * 3), where 1, 2, 3 ∈ N

Therefore, the operation * is not associative.

Hence, the operation * is commutative, but not associative.

Thus, the correct answer is option B.

Miscellaneous Exercise

Question 1:

Let f: R → R be defined as f(x) = 10x + 7. Find the function g: R → R such that  g o f = f o g = 1R.

It is given that f: R → R is defined as f(x) = 10x + 7

For one – one:

Let f(x) = f(y), where x, y ∈ R.

⇒ 10x + 7 = 10y + 7

⇒ x = y

So, f is a one – one function.

For onto:

For y ∈ R, let y = 10x + 7

⇒ x = (y – 7)/10 ∈ R

Therefore, for any y ∈ R, there exists x = (y – 7)/10 ∈ R such that

f(x) = f((y−7)/10) = 10(y−7)/10 + 7 = y − 7 + 7 = y

So, f is onto.

Therefore, f is one – one and onto.

Thus, f is an invertible function.

Let us define g: R → R as g(y) = (y – 7)/10

Now, we have

gof(x) = g(f(x)) = g(10x + 7) = {(10x + 7) – 7}/10 = 10x/10 = x and

fog(y) = f(g(y)) = f ((y – 7)/10) = 10(y – 7)/10 + 7 = y − 7 + 7 = y

So, g o f = IR and f o g = IR

Hence, the required function g: R → R is defined as g(y) = (y – 7)/10

Question 2:

Let f: W → W be defined as f(n) = n − 1, if is odd and f(n) = n + 1, if n is even.

Show that f is invertible. Find the inverse of f. Here, W is the set of all whole numbers.

It is given that:

F : W → W is defined as f(n) =    {n − 1, if n is odd ,

n + 1, if n is even }

For one – one:

Let f(n) = f(m)

It can be observed that if n is odd and m is even, then we will have n − 1 = m + 1

⇒ n − m = 2

However, this is impossible.

Similarly, the possibility of n being even and m being odd can also be ignored under a similar

argument.

So, Both n and m must be either odd or even. Now, if both n and m are odd,

Then, we have

f(n) = f(m)

⇒ n − 1 = m – 1

⇒ n = m

Again, if both n and m are even,

Then, we have

f(n) = f(m)

⇒ n + 1 = m + 1

⇒ n = m

So, f is one – one.

For onto:

It is clear that any odd number 2r + 1 in co-domain N is the image of 2r in domain N and any

even number 2r in co-domain N is the image of 2r + 1 in domain N.

So, f is onto.

Hence, f is an invertible function.

Let us define g: W → W as g(m) =     {m + 1, if m is even ,

m − 1, if m is odd }

Now, when n is odd

gof(n) = g(f(n)) = g(n − 1) = n − 1 + 1 = n and

When n is even

gof(n) = g(f(n)) = g(n + 1) = n + 1 − 1 = n

Similarly,

When m is odd

fog(m) = f(g(m)) = f(m − 1) = m − 1 + 1 = m and

When m is even

fog(m) = f(g(m)) = f(m + 1) = m + 1 − 1 = m

So, gof = IW and fog = IW

Thus, f is invertible and the inverse of f is given by f-1 = g, which is the same as f.

Hence, the inverse of f is f itself.

Question 3:

If f: R → R is defined by f(x) = x2 − 3x + 2, find f(f(x)).

It is given that f: R → R is defined as f(x) = x2 − 3x + 2

f(f(x)) = f(x2 − 3x + 2)

= (x2 − 3x + 2)2 − 3(x2 − 3x + 2) + 2

= (x4 + 9x2 + 4 − 6x3 − 12x + 4x2) + (−3x2 + 9x − 6) + 2

= x4 − 6x3 + 10x2 − 3x

Question 4:

Show that function f: R → {x ∈ R: −1 < x < 1} defined by f(x) = x/(1+|x|), x ∈ R is one – one and onto function.

It is given that f: R → {x ∈ R: −1 < x < 1} is defined as f(x) = x/(1 +|x|), x ∈ R.

For one – one:

Suppose f(x) = f(y), where x, y ∈ R.

⇒ x/(1 + |x|) = y/(1 + |y|)

It can be observed that if x is positive and y is negative,

Then, we have

x/(1 + x) = y/(1 – y)

⇒ 2xy = x − y

Since, x is positive and y is negative

x > y ⇒ x − y > 0

But, 2xy is negative.

Then 2xy ≠ x − y

Thus, the case of x being positive and y being negative can be ruled out.

Under a similar argument, x being negative and y being positive can also be ruled out.

So, x and y have to be either positive or negative.

When x and y are both positive, we have

f(x) = f(y)

⇒ x/(1 + x) = y/(1 + y)

⇒ x + xy = y + xy

⇒ x = y

When x and y are both negative, we have

f(x) = f(y)

⇒ x/(1 – x) = y/(1 – y)

⇒ x − xy = y − xy

⇒ x = y

So, f is one – one.

For onto:

Now, let y ∈ R such that −1 < y < 1

If y is negative, then, there exists x = y/(1 + y) ∈ R such that

f(x) = f(y/(1 + y)) = {y/(1 + y)}/{1 + |y/(1 + y)|}

= {y/(1 + y)}/{1 + (-y)/(1 + y)}

= y/(1 + y – y)

= y

If y is positive, then, there exists x = y/(1 – y) ∈ R such that

f(x) = f(y/(1 - y)) = {y/(1 - y)}/{1 + |y/(1 - y)|}

= {y/(1 - y)}/{1 + y/(1 - y)}

= y/(1 - y + y)

= y

So, f is onto.

Hence, f is one – one and onto.

Question 5:

Show that the function f: R → R given by f(x) = x3 is injective.

f: R → R is given as f(x) = x3

For one – one:

Suppose f(x) = f(y), where x, y ∈ R.

⇒ x3 = y3   ..............1

Now, we need to show that x = y

Suppose x ≠ y, their cubes will also not be equal.

⇒ x3 ≠ y3

However, this will be a contradiction to 1

So, x = y

Hence, f is injective.

Question 6:

Give examples of two functions f: N → Z and g: Z → Z such that g o f is injective but g is not injective.

(Hint: Consider f(x) = x and g (x) = |x|)

Define f: N → Z as f(x) = x and g: Z → Z as g (x) = |x|

We first show that g is not injective.

It can be observed that

g (−1) =|−1| = 1

g (1) = |1| = 1

So, g (−1) = g (1), but −1 ≠ 1

g is not injective.

Now, g of: N → Z is defined as gof(x) = g(f(x)) = g(x) = |x|

Let x, y ∈ N such that gof(x) = gof(y)

⇒ |x| = |y|

Since x and y ∈ N, both are positive.

So, |x| = |y|

⇒ x = y

Hence, gof is injective.

Question 7:

Given examples of two functions f: N → N and g: N → N such that g of is onto but f is not onto.

(Hint: Consider f(x) = x + 1 and g(x) =   {  x − 1, if x > 1 ,

1, if x = 1 }

Define f: N → N by f(x) = x + 1

and g: N → N by g(x) =    { x − 1, if x > 1 ,

1, if x = 1 }

We first show that g is not onto.

For this, consider element 1 in co-domain N. It is clear that this element is not an image of any

of the elements in domain N.

So, f is not onto.

Now, gof: N → N is defined by

gof(x) = g(f(x)) = g(x + 1) = x + 1 − 1 = x   [x ∈ N ⇒ x + 1 > 1]

Then, it is clear that for y ∈ N, there exists x = y ∈ N such that gof(x) = y.

Hence, gof is onto.

Question 8:

Given a non-empty set X, consider P(X) which is the set of all subsets of X. Define the relation R in P(X) as follows:

For subsets A, B in P(X), ARB if and only if A ⊂ B. Is R an equivalence relation on P(X)? Justify you answer.

Since every set is a subset of itself, ARA for all A ∈ P(X).

So, R is reflexive.

Let ARB ⇒ A ⊂ B.

This cannot be implied to B ⊂ A.

For instance, if A = {1, 2} and B = {1, 2, 3}, then it cannot be implied that B is related to A.

So, R is not symmetric.

Further, if ARB and BRC, then A ⊂ B and B ⊂ C.

⇒ A ⊂ C

⇒ ARC

So, R is transitive.

Hence, R is not an equivalence relation as it is not symmetric.

Question 9:

Given a non-empty set X, consider the binary operation *:

P(X) * P(X) → P(X) given by A * B = A ∩ B ∀ A, B in P(X) is the power set of X.

Show that X is the identity element for this operation and X is the only invertible element in P(X) with respect to the operation*.

It is given the binary operation *:

P(X) * P(X) → P(X) given by A * B = A ∩ B ∀ A, B in P(X)

We know that

A ∩ X = A = X ∩ A for all A ∈ P(X)

⇒ A * X = A = X * A for all A ∈ P(X)

Thus, X is the identity element for the given binary operation *.

Now, an element A ∈ P(X) is invertible if there exists B ∈ P(X) such that

A * B = X = B * A                   [As X is the identity element]

or

A ∩ B = X = B ∩ A

This case is possible only when A = X = B.

Thus, X is the only invertible element in P(X) with respect to the given operation*.

Hence, the given result is proved.

Question 10:

Find the number of all onto functions from the set {1, 2, 3, ... , n) to itself.

Onto functions from the set {1, 2, 3, ... ,n} to itself is simply a permutation on n symbols

1, 2, ..., n.

Thus, the total number of onto maps from {1, 2, ... ,n} to itself is the same as the total number

of permutations on n symbols 1, 2, ..., n, which is n!.

Question 11:

Let S = {a, b, c} and T = {1, 2, 3}. Find F−1 of the following functions F from S to T, if it exists.

(i) F = {(a, 3), (b, 2), (c, 1)}    (ii) F = {(a, 2), (b, 1), (c, 1)}

Given, S = {a, b, c}, T = {1, 2, 3}

(i) F: S → T is defined as F = {(a, 3), (b, 2), (c, 1)}

⇒ F (a) = 3, F (b) = 2, F(c) = 1

Therefore, F−1 : T → S is given by F−1 = {(3, a), (2, b), (1, c)}.

(ii) F: S → T is defined as F = {(a, 2), (b, 1), (c, 1)}

Since F (b) = F (c) = 1, F is not one – one.

Hence, F is not invertible i.e., F-1 does not exist.

Question 12:

Consider the binary operations *: R × R → R and o: R × R → R defined as a ∗ b = |a − b| and

a o b = a, ∀ a, b ∈ R.

Show that * is commutative but not associative, o is associative but not commutative.

Further, show that ∀ a, b, c ∈ R, a*(b o c) = (a * b) o (a * c).

[If it is so, we say that the operation * distributes over the operation o]. Does o distribute over *? Justify your answer.

It is given that *: R × R → and o: R × R → R is defined as a ∗ b = |a − b| and a o b = a, ∀ a, b ∈ R

For a, b ∈ R, we have

a ∗ b = |a − b| and b ∗ a = |b − a| = |−(a − b)| = |a − b|

So, a * b = b * a

Hence, the operation * is commutative.

It can be observed that

(1 ∗ 2) ∗ 3 = (|1 − 2|) ∗ 3 = 1 ∗ 3 = |1 − 3| = 2 and

1 ∗ (2 ∗ 3) = 1 ∗ (|2 − 3|) = 1 ∗ 1 = |1 − 1| = 0

So, (1 ∗ 2) ∗ 3 ≠ 1 ∗ (2 ∗ 3) where 1, 2, 3 ∈ R.

Hence, the operation * is not associative.

Now, consider the operation o

It can be observed that 1 o 2 = 1 and 2 o 1 = 2

So, 1 o 2 ≠ 2 o 1 where 1, 2 ∈ R.

Hence, the operation o is not commutative.

Let a, b, c ∈ R. Then, we have

(a o b) o c = a o c = a and

a o (b o c) = a o b = a

So, (a o b) o c = a o (b o c), where a, b, c ∈ R

Hence, the operation o is associative.

Now, let a, b, c ∈ R, then we have

a * (b o c) = a * b =|a − b|

(a * b) o (a * c) = (|a − b|) o (|a − c|) = |a − b|

Hence, a * (b o c) = (a * b) o (a * c).

Now,

1 o (2 ∗ 3) = 1 o (|2 − 3|) = 1 o 1 = 1

(1 o 2) * (1 o 3) = 1 * 1 = |1 − 1| = 0

So, 1 o (2 * 3) ≠ (1 o 2) * (1 o 3) where 1, 2, 3 ∈ R

Hence, the operation o does not distribute over *.

Question 13:

Given a non-empty set X, let *: P(X) × P(X) → P(X) be defined as A * B = (A − B) ∪ (B − A), ∀ A, B ∈ P(X).

Show that the empty set Φ is the identity for the operation * and all the elements A of P(X) are invertible with A−1 = A.

(Hint: (A − ф) ∪ (ф − A) = A and (A − A) ∪ (A − A) = A * A = ф).

It is given that *: P(X) × P(X) → P(X) is defined as

A * B = (A − B) ∪ (B − A) ∀ A, B ∈ P(X).

Let A ∈ P(X). Then, we have

A * ф = (A − ф) ∪ (ф − A) = A ∪ ф = A

ф * A = (ф − A) ∪ (A − ф) = ф ∪ A = A

So, A * ф = A = ф * A for all A ∈ P(X)

Thus, ф is the identity element for the given operation*.

Now, an element A ∈ P(X) will be invertible if there exists B ∈ P(X) such that

A * B = ф = B * A         [As ф is the identity element]

Now, we observed that

A * A = ( A – A) ∪ (A – A) = ф ∪ ф = ф for all A ∈ P(X)

Hence, all the elements A of P(X) are invertible with A−1 = A.

Question 14:

Define a binary operation * on the set {0, 1, 2, 3, 4, 5} as

a ∗ b =     a + b,         if a + b < 6

a + b − 6,  if a + b ≥ 6

Show that zero is the identity for this operation and each element a ≠ 0 of the set is invertible with 6 − a being the inverse of a.

Let X = {0, 1, 2, 3, 4, 5}.

The operation * on X is defined as

a ∗ b =     a + b,         if a + b < 6

a + b − 6,  if a + b ≥ 6

An element e ∈ X is the identity element for the operation *, if

a ∗ e = a = e ∗ a for all a ∈ X

For a ∈ X, we have

a ∗ 0 = a + 0 = a                   [a ∈ X ⇒ a + 0 < 6]

0 ∗ a = 0 + a = a                   [a ∈ X ⇒ 0 + a < 6]

So, a ∗ 0 = a = 0 ∗ a for all a ∈ X

Thus, 0 is the identity element for the given operation *.

An element a ∈ X is invertible if there exists b ∈ X such that a * b = 0 = b * a. i.e.,

a + b = 0 = b + a,                   if a + b < 6

a + b − 6 = 0 = b + a − 6,      if a + b ≥ 6

⇒ a = −b or b = 6 − a

But, X = {0, 1, 2, 3, 4, 5} and a, b ∈ X. Then, a ≠ −b

So, b = 6 − a is the inverse of a for all a ∈ X.

Hence, the inverse of an element a ∈ X, a ≠ 0 is 6 − a i.e., a-1 = 6 − a.

Question 15:

Let A = {−1, 0, 1, 2}, B = {−4, −2, 0, 2} and f, g: A → B be functions defined by f(x) = x2− x, x ∈ A and g(x) = 2 |x – 1/2| − 1, x ∈ A.

(Hint: One may note that two function f: A → B and g: A → B such that f(a) = g(a) ∀ a ∈ A, are called equal  functions).

It is given that A = {−1, 0, 1, 2}, B = {−4, −2, 0, 2}.

Also, it is given that f, g: A → B are defined by

f(x) = x2− x, x ∈ A and g(x) = 2|x – 1/2| − 1, x ∈ A

It is observed that

f(−1) = (−1)2 − (−1) = 1 + 1 = 2

and g(−1) = 2 |(−1) – 1/2| − 1 = 2(3/2) − 1 = 3 − 1 = 2

⇒ f(−1) = g(−1)

f(0) = (0)2 − (0) = 0

and g(0) = 2 |0 – 1/2| − 1 = 2(1/2) − 1 = 1 − 1 = 0

⇒ f(0) = g(0)

f(1) = (1)2 − (1) = 1 − 1 = 0

and g(1) = 2 |(1) – 1/2| − 1 = 2(1/2) − 1 = 1 − 1 = 0

⇒ f(1) = g(1)

f(2) = (2)2 − (2) = 4 − 2 = 2

and g(2) = 2 |(2) – 1/2| − 1 = 2(3/2) − 1 = 3 − 1 = 2

⇒ f(2) = g(2)

So, f(a) = g(a) for all a ∈ A

Hence, the functions f and g are equal.

Question 16:

Let A = {1, 2, 3}. Then number of relations containing (1, 2) and (1, 3) which are reflexive and symmetric but not transitive is

(A) 1                                   (B) 2                                 (C) 3                                  (D) 4

The given set is A = {1, 2, 3}.

The smallest relation containing (1, 2) and (1, 3) which is reflexive and symmetric, but not

transitive is given by:

R = {(1, 1), (2, 2), (3, 3), (1, 2), (1, 3), (2, 1), (3, 1)}

This is because relation R is reflexive as (1, 1), (2, 2), (3, 3) ∈ R.

Relation R is symmetric since (1, 2), (2, 1) ∈ R and (1, 3), (3, 1) ∈ R.

But relation R is not transitive as (3, 1), (1, 2) ∈ R, but (3, 2) ∉ R.

Now, if we add any two pairs (3, 2) and (2, 3) (or both) to relation R, then relation R will

become transitive.

Hence, the total number of desired relations is one.

The correct answer is option A.

Question 17:

Let A = {1, 2, 3}. Then number of equivalence relations containing (1, 2) is

(A) 1                                (B) 2                                (C) 3                                (D) 4

It is given that A = {1, 2, 3}.

The smallest equivalence relation containing (1, 2) is given by,

R1 = {(1, 1), (2, 2), (3, 3), (1, 2), (2, 1)}

Now, we are left with only four pairs i.e., (2, 3), (3, 2), (1, 3), and (3, 1).

If we odd any one pair [say (2, 3)] to R1, then for symmetry we must add (3, 2).

Also, for transitivity we are required to add (1, 3) and (3, 1).

Hence, the only equivalence relation (bigger than R1) is the universal relation.

This shows that the total number of equivalence relations containing (1, 2) is two.

The correct answer is option B.

Question 18:

Let f: R → R be the Signum Function defined as f(x) =  {  1, x > 0 ,

0, x = 0 ,

−1, x < 1 }

and g: R → R be the Greatest Integer Function given by g(x) = [x], where [x] is greatest integer less than or equal to x.

Then does fog and gof coincide in (0, 1]?

It is given that,

f: R → R is defined as f(x) =   { 1, x > 0 ,

0, x = 0 ,

−1, x < 1 }

Also, g: R → R is defined as g(x) = [x], where [x] is the greatest integer less than or equal to x.

Now, let x ∈ (0, 1]

Then, we have

[x] = 1 if x = 1 and [x] = 0 if 0 < x < 1.

fog(x) = f(g(x)) = f([x]) =     f(1), if x = 1

f(0), if x ∈ (0, 1)

=   {  1, if x = 1 ,

0, if x ∈ (0, 1) }

gof(x) = g(f(x)) = g(1) = [1] = 1                         [ as x > 0]

Thus, when x ∈ (0, 1), we have fog(x) = 0 and gof (x) = 1

Hence, fog and gof do not coincide in (0, 1].

Question 19:

Number of binary operations on the set {a, b} are

(A) 10                                     (B) 16                                    (C) 20                                    (D) 8

A binary operation * on {a, b} is a function from {a, b} × {a, b} → {a, b}

i.e., * is a function from {(a, a), (a, b), (b, a), (b, b)} → {a, b}.

Hence, the total number of binary operations on the set {a, b} is 24 i.e., 16.

The correct answer is option B.