English

Prove that the function f is surjective, where f: N → N such that ,n is odd,n is evenf(n)={n+12,ifn is oddn2,if n is even Is the function injective? Justify your answer.

Advertisements

Question

Prove that the function f is surjective, where f: N → N such that `f(n) = {{:((n + 1)/2",", if "n is odd"),(n/2",", if  "n is even"):}` Is the function injective? Justify your answer.

Sum
Advertisements

Solution

Let y ∈ N(codomain). Then ∃ 2y ∈ N(domain) such that f(2y) = `(2y)/2` = y. Hence, f is surjective.

1, 2 ∈ N(domain) such that f(1) = 1 = f(2)

Hence, f is not injective.

shaalaa.com
  Is there an error in this question or solution?
2022-2023 (March) Sample

RELATED QUESTIONS

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.


Given examples of two functions f: N → N and g: N → N such that gof is onto but f is not onto.

(Hint: Consider f(x) = x + 1 and `g(x) = {(x-1, ifx >1),(1, if x = 1):}`


Show that the function f: ℝ → ℝ defined by f(x) = `x/(x^2 + 1), ∀x in R`is neither one-one nor onto. Also, if g: ℝ → ℝ is defined as g(x) = 2x - 1. Find fog(x)


Let A = {−1, 0, 1} and f = {(x, x2) : x ∈ A}. Show that f : A → A is neither one-one nor onto.


Classify the following function as injection, surjection or bijection : f : N → N given by f(x) = x3


If A = {1, 2, 3}, show that a one-one function f : A → A must be onto.


Given A = {2, 3, 4}, B = {2, 5, 6, 7}. Construct an example of each of the following:
(i) an injective map from A to B
(ii) a mapping from A to B which is not injective
(iii) a mapping from A to B.


Let f, g, h be real functions given by f(x) = sin x, g (x) = 2x and h (x) = cos x. Prove that fog = go (fh).


if f (x) = `sqrt (x +3) and  g (x) = x ^2 + 1` be two real functions, then find fog and gof.


State with reason whether the following functions have inverse :

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


Consider f : R+ → [−5, ∞) given by f(x) = 9x2 + 6x − 5. Show that f is invertible with `f^-1 (x) = (sqrt (x +6)-1)/3 .`


If A = {a, b, c} and B = {−2, −1, 0, 1, 2}, write the total number of one-one functions from A to B.


If f : R → R is defined by f(x) = x2, write f−1 (25)


If f : R → R is defined by f(x) = 10 x − 7, then write f−1 (x).


Let f : R → R, g : R → R be two functions defined by f(x) = x2 + x + 1 and g(x) = 1 − x2. Write fog (−2).


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


Which one the following relations on A = {1, 2, 3} is a function?
f = {(1, 3), (2, 3), (3, 2)}, g = {(1, 2), (1, 3), (3, 1)}                                                                                                        [NCERT EXEMPLAR]


Let the function

\[f : R - \left\{ - b \right\} \to R - \left\{ 1 \right\}\]

\[f\left( x \right) = \frac{x + a}{x + b}, a \neq b .\text{Then},\]

 


Let M be the set of all 2 × 2 matrices with entries from the set R of real numbers. Then, the function f : M→ R defined by f(A) = |A| for every A ∈ M, is

 


Let

\[f : R - \left\{ n \right\} \to R\]

\[f\left( x \right) = \frac{x - m}{x - n}, \text{where} \ m \neq n .\] Then,
 

Let f: R → R be the function defined by f(x) = 4x – 3 ∀ x ∈ R. Then write f–1 


Let f: R → R be defined by f(x) = 3x – 4. Then f–1(x) is given by ______.


If f: R → R is defined by f(x) = x2 – 3x + 2, write f(f (x))


Which of the following functions from Z into Z is bijective?


A function f: x → y is/are called onto (or surjective) if x under f.


Consider a function f: `[0, pi/2] ->` R, given by f(x) = sinx and `g[0, pi/2] ->` R given by g(x) = cosx then f and g are


The domain of the function `cos^-1((2sin^-1(1/(4x^2-1)))/π)` is ______.


Let x is a real number such that are functions involved are well defined then the value of `lim_(t→0)[max{(sin^-1  x/3 + cos^-1  x/3)^2, min(x^2 + 4x + 7)}]((sin^-1t)/t)` where [.] is greatest integer function and all other brackets are usual brackets.


Let a function `f: N rightarrow N` be defined by

f(n) = `{:[(2n",", n = 2","  4","  6","  8","......),(n - 1",", n = 3","  7","  11","  15","......),((n + 1)/2",", n = 1","  5","  9","  13","......):}`

then f is ______.


Let f(x) be a polynomial of degree 3 such that f(k) = `-2/k` for k = 2, 3, 4, 5. Then the value of 52 – 10f(10) is equal to ______.


Advertisements
Share
Notifications



      Forgot password?
Use app×