Quantrex Quantrex AcademyJEE · NEET · NDA PYQs with solutions Open app
COMEDK2025MathematicsFunctionsActual

A function f from the set of natural numbers to integers defined by f(n)= array l n-1 2 , when n is odd - n 2 , when n is even array . is

Options

  1. Aonto but not one-one
  2. Bone-one but not onto
  3. Cneither one-one nor onto
  4. Done-one and onto

Correct answer

D. one-one and onto

Step-by-step solution

The function f: N Z is defined as f(n) = n-1 2 if n is odd and f(n) = - n 2 if n is even. To check for one-one, consider two distinct natural numbers n₁ and n₂ . If n₁ is odd and n₂ is even, f(n₁) = n₁-1 2 0 and f(n₂) = - n₂ 2 To check for onto, consider any integer k Z . If k 0 , we can choose n = 2k+1 , which is an odd natural number, such that f(2k+1) = 2k+1-1 2 = k . If k Therefore, the function is both one-one and onto. Answer: one-one and onto

Practice Functions on Quantrex Academy →

More from Functions

If f : R A , defined by f ( x )= x + 3 x -1 , is an onto function then A = 2025Let g(x)=1+x-[x] and f(x)= cases -1, & x 0 cases ([x] ) denotes the greatest integer less than or equal to (x ). Then for all x , f ( g ( x ))= 2025The domain of the real valued function f(x)= 3 4-x^2 + ₁₀ (x^3-x ) is 2025A real valued function f: A B defined by f(x)= 4-x^2 4+x^2 x A is a bijection. If -4 A then A B= 2025Let [ x ] represent the greatest integer less than or equal to x , x = x -[ x ] , 2 =1.414 and 3 =1.732 . If f(x)= x+ [ x 1+x^2 ] is a real valued function, then f ( 2 )+ f (- 3 )= 2025If the range of the function f(x)=-3 x-3 is 3,-6,-9,-18 , then which one of the following is not in the domain of f ? 2025The domain of the function f(x)= _e ( 1 x^2-4 x+4 ) + ⁻¹ (x^2-2 ) is 2025Consider the following statements Statement-I : A function f : A B is said to be one-one if and only if f(x) f(y) x y Statement-II : A relation f: A B is said to be a function if x 2025 Full Functions list All COMEDK PYQs