Advertisements
Advertisements
Question
A function f from the set of natural numbers to the set of integers defined by
\[f\left( n \right)\begin{cases}\frac{n - 1}{2}, & \text{when n is odd} \\ - \frac{n}{2}, & \text{when n is even}\end{cases}\]
Options
neither one-one nor onto
one-one but not onto
onto but not one-one
one-one and onto
Advertisements
Solution
Injectivity:
Let x and y be any two elements in the domain (N).
\[\text{Let}f\left( x \right) = f\left( y \right)\]
\[ \Rightarrow \frac{- x}{2} = \frac{- y}{2}\]
\[ \Rightarrow - x = - y\]
\[ \Rightarrow x = y\]
\[Case-2: \text{Both x and y are odd}.\]
\[\text{Let}f\left( x \right) = f\left( y \right)\]
\[ \Rightarrow \frac{x - 1}{2} = \frac{y - 1}{2}\]
\[ \Rightarrow x - 1 = y - 1\]
\[ \Rightarrow x = y\]
\[\text{Then},f\left( x \right) = \frac{- x}{2}\text{and}f\left( y \right) = \frac{y - 1}{2}\]
\[\text{Then, clearly}\]
\[x \neq y \]
\[ \Rightarrow f\left( x \right) \neq f\left( y \right)\]
\[\text{From all the cases,fis one-one}.\]
\[\text{Range of f} = \left\{ . . . , \frac{- 3 - 1}{2}, \frac{- \left( - 2 \right)}{2}, \frac{- 1 - 1}{2}, \frac{0}{2}, \frac{1 - 1}{2}, \frac{- 2}{2}, \frac{3 - 1}{2}, . . . \right\}\]
\[ \Rightarrow \text{Range of f} = \left\{ . . . , - 2, 1, - 1, 0, 0, - 1, 1, . . . \right\}\]
\[ \Rightarrow\text{Range of f } = \left\{ . . . , - 2, - 1, 0, 1, 2, . . . . \right\}\]
\[ \Rightarrow \text{Co-domain of f = Range of f}\]
APPEARS IN
RELATED QUESTIONS
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.
Give examples of two functions f: N → Z and g: Z → Z such that g o f is injective but gis not injective.
(Hint: Consider f(x) = x and g(x) =|x|)
Give an example of a function which is one-one but not onto ?
Which of the following functions from A to B are one-one and onto?
f2 = {(2, a), (3, b), (4, c)} ; A = {2, 3, 4}, B = {a, b, c}
Classify the following function as injection, surjection or bijection :
f : R → R, defined by f(x) = |x|
Classify the following function as injection, surjection or bijection :
f : Q − {3} → Q, defined by `f (x) = (2x +3)/(x-3)`
Classify the following function as injection, surjection or bijection :
f : Q → Q, defined by f(x) = x3 + 1
Set of ordered pair of a function ? If so, examine whether the mapping is injective or surjective :{(a, b) : a is a person, b is an ancestor of a}
Show that the logarithmic function f : R0+ → R given by f (x) loga x ,a> 0 is a bijection.
Give examples of two one-one functions f1 and f2 from R to R, such that f1 + f2 : R → R. defined by (f1 + f2) (x) = f1 (x) + f2 (x) is not one-one.
Let f be a real function given by f (x)=`sqrt (x-2)`
Find each of the following:
(i) fof
(ii) fofof
(iii) (fofof) (38)
(iv) f2
Also, show that fof ≠ `f^2` .
Let
f (x) =`{ (1 + x, 0≤ x ≤ 2) , (3 -x , 2 < x ≤ 3):}`
Find fof.
Let A = {1, 2, 3, 4}; B = {3, 5, 7, 9}; C = {7, 23, 47, 79} and f : A → B, g : B → C be defined as f(x) = 2x + 1 and g(x) = x2 − 2. Express (gof)−1 and f−1 og−1 as the sets of ordered pairs and verify that (gof)−1 = f−1 og−1.
Let A and B be two sets, each with a finite number of elements. Assume that there is an injective map from A to B and that there is an injective map from B to A. Prove that there is a bijection from A to B.
Let f : R → R be defined as `f (x) = (2x - 3)/4.` write fo f-1 (1) .
Write whether f : R → R, given by `f(x) = x + sqrtx^2` is one-one, many-one, onto or into.
If a function g = {(1, 1), (2, 3), (3, 5), (4, 7)} is described by g(x) = \[\alpha x + \beta\] then find the values of \[\alpha\] and \[ \beta\] . [NCERT EXEMPLAR]
The function f : R → R defined by
`f (x) = 2^x + 2^(|x|)` is
The function f : [-1/2, 1/2, 1/2] → [-π /2,π/2], defined by f (x) = `sin^-1` (3x - `4x^3`), is
Let
The inverse of the function
\[f : R \to \left\{ x \in R : x < 1 \right\}\] given by
\[f\left( x \right) = \frac{e^x - e^{- x}}{e^x + e^{- x}}\] is
The distinct linear functions that map [−1, 1] onto [0, 2] are
Mark the correct alternative in the following question:
Let A = {1, 2, ... , n} and B = {a, b}. Then the number of subjections from A into B is
Let A = R − (2) and B = R − (1). If f: A ⟶ B is a function defined by`"f(x)"=("x"-1)/("x"-2),` how that f is one-one and onto. Hence, find f−1.
Which function is used to check whether a character is alphanumeric or not?
Write about strcmp() function.
Show that the function f: R → R defined by f(x) = `x/(x^2 + 1)`, ∀ ∈ + R , is neither one-one nor onto
Set A has 3 elements and the set B has 4 elements. Then the number of injective mappings that can be defined from A to B is ______.
Let f: R → R be the function defined by f(x) = 2x – 3 ∀ x ∈ R. write f–1
Let C be the set of complex numbers. Prove that the mapping f: C → R given by f(z) = |z|, ∀ z ∈ C, is neither one-one nor onto.
Let A = [–1, 1]. Then, discuss whether the following functions defined on A are one-one, onto or bijective:
h(x) = x|x|
Let f: `[2, oo)` → R be the function defined by f(x) = x2 – 4x + 5, then the range of f is ______.
The smallest integer function f(x) = [x] is ____________.
Let f(1, 3) `rightarrow` R be a function defined by f(x) = `(x[x])/(1 + x^2)`, where [x] denotes the greatest integer ≤ x, Then the range of f is ______.
Which one of the following graphs is a function of x?
![]() |
![]() |
| Graph A | Graph B |

The given function f : R → R is not ‘onto’ function. Give reason.
A function is called many-one if two or more different elements of the domain have:
Which condition represents a many-one function?


