Class 12, NCERT Chapter 1, Example12
Suppose f(x1
) = f(x2
).
Note that if x1 is odd and x2
is even, then we will have
x1
+ 1 = x2
– 1, i.e., x2
– x1
= 2, which is impossible.
Similarly, the possibility of x1
being
even and x2
being odd can also be ruled out, using a similar argument.
Therefore,
both x1
and x2
must be either odd or even.
Suppose both x1
and x2
are odd.
Then
f(x1
) = f(x2
)
⇒ x1
+ 1 = x2
+ 1
⇒ x1
= x2
Similarly, if both x1
and x2
are even, then also
f(x1
) = f(x2
)
⇒ x1
– 1 = x2
– 1
⇒ x1
= x2
.
Thus, f is one-one.
Also, any odd number
2r + 1 in the co-domain N is the image of 2r + 2 in the domain N and
any even number
2r in the co-domain N is the image of 2r – 1 in the domain N.
Thus, f is onto.
Comments
Post a Comment