Sign in
ui-button
ui-button
A function of from the set of natural numbers to integers defined by \( \Large f \left(n\right) = \frac{\frac{n-1}{2},\ when\ n\ is\ odd}{-\frac{n}{2},\ when\ n\ is\ even} \) is:
A) one-one but not onto
B) onto but not one-one
C) one-one and onto both
D) neither one-one nor onto
Correct answer:
C) one-one and onto both
Description for Correct answer:
We have \( \Large f \left(n\right) = \bigg\{ \frac{n-1}{2},\ when \ n \ is odd\ , {-\frac{n}{2},\ when\ n\ is\ even} \)
and \( \Large f : N \rightarrow I \) where N is the set of natulal numbers and I is the set of integers.
Let \( \Large x,\ y\ \epsilon\ N \) and both are even.
then \( \Large f \left(x\right) = f \left(y\right) \)
\( \Large -\frac{x}{2} = -\frac{y}{2} => x = y \)
Again \( \Large x,\ y\ \epsilon\ N \)
then \( \Large f \left(x\right)=f \left(y\right)\frac{x-1}{2}=\frac{y-1}{2} =>x=y \)
i.e. function is one-one.
Since, each negative integer is an image of even natural; and each positive integer is an image of odd natural number so function is onto.
Hence, function is one-one onto.
Please provide the error details in above question
Report Error
Recent Activities
General Knowledge
More questions and answers on- General Knowledge
Aptitude
More questions and answers on- Aptitude
Number System
More questions and answers on- Number System
Time and Distance
More questions and answers on- Time and Distance
Average
More questions and answers on- Average
Time and work
More questions and answers on- Time and work
Simple and compound interest
More questions and answers on- Simple and compound interest
Mensuration
More questions and answers on- Mensuration
Number series
More questions and answers on- Number series
Pipes and Cisterns
More questions and answers on- Pipes and Cisterns
Linear Equations
More questions and answers on- Linear Equations
Quadratic Equations
More questions and answers on- Quadratic Equations
Simplification
More questions and answers on- Simplification
Approximation
More questions and answers on- Approximation
Word problems
More questions and answers on- Word problems