wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

A function f from the set of natural numbers to integers defined by

fn=n-12, when n is odd-n2, when n is evenis

(a) neither one-one nor onto
(b) one-one but not onto
(c) onto but not one-one
(d) one-one and onto both

Open in App
Solution

(d) one-one and onto both

Injectivity:

Let x and y be any two elements in the domain (N).
Case-1: Both x and y are even.Let fx=fy-x2=-y2-x=-yx=yCase-2: Both x and y are odd.Let fx=fyx-12=y-12x-1=y-1x=yCase-3: Let x be even and y be odd. Then, fx=-x2and fy=y-12Then, clearly xy fxfyFrom all the cases, f is one-one.

Surjectivity:

Co-domain of f=Z=...,-3, -2, -1, 0, 1, 2, 3, ....Range of f=..., -3-12, --22,-1-12, 02, 1-12, -22, 3-12, ...Range of f=...,-2, 1, -1, 0, 0, -1, 1,...Range of f=..., -2, -1, 0, 1, 2, ....Co-domain of f=Range of f
f is onto.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Properties
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon