Skip to content
Exercise 1.2 · Q9

Q.Let f:N→Nf: \mathbf{N} \rightarrow \mathbf{N} be defined by f(n)={n+12, if n is oddn2, if n is evenf(n) = \begin{cases} \frac{n+1}{2}, \text{ if } n \text{ is odd} \\ \frac{n}{2}, \text{ if } n \text{ is even} \end{cases} for all n∈Nn \in \mathbf{N}. State whether the function ff is bijective. Justify your answer.

Karnataka PUCTextbookSubjective· 3mImportance★★★★★
Appeared in past exams:GUJCET 2026· Set x· 1mreworded
30% · 31/104 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The function is not bijective: it is onto but not one-one, since f(1)=f(2)=1f(1) = f(2) = 1.

First, see what ff does. For an odd number n=2k−1n = 2k-1:

f(2k−1)=(2k−1)+12=2k2=k.f(2k-1) = \frac{(2k-1)+1}{2} = \frac{2k}{2} = k.

For an even number n=2kn = 2k:

f(2k)=2k2=k.f(2k) = \frac{2k}{2} = k.

So each consecutive pair {2k−1, 2k}\{2k-1,\ 2k\} maps to the same value kk; in short, f(n)=⌈n2⌉f(n) = \left\lceil \tfrac{n}{2} \right\rceil (e.g. f(1)=1, f(2)=1, f(3)=2, f(4)=2,…f(1)=1,\ f(2)=1,\ f(3)=2,\ f(4)=2,\dots).

1. Is ff one-one (injective)?

A function is one-one if distinct inputs give distinct outputs. Here

f(1)=1+12=1,f(2)=22=1.f(1) = \frac{1+1}{2} = 1, \qquad f(2) = \frac{2}{2} = 1.

Thus 1≠21 \ne 2 but f(1)=f(2)f(1) = f(2).

ff is not one-one.

2. Is ff onto (surjective)?

We must check that every k∈Nk \in \mathbf{N} is an output. For any k∈Nk \in \mathbf{N}, take the odd number n=2k−1∈Nn = 2k-1 \in \mathbf{N}:

f(2k−1)=k.f(2k-1) = k.

So every natural number kk is attained. …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.