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.
Answers
Answered by
5
Given,
![f(n)=\left\{\begin{array}{ll}\frac{n+1}{2}&\text{If n is odd}\\\frac{n}{2}&\text{if n is even}\end{array}\right. f(n)=\left\{\begin{array}{ll}\frac{n+1}{2}&\text{If n is odd}\\\frac{n}{2}&\text{if n is even}\end{array}\right.](https://tex.z-dn.net/?f=f%28n%29%3D%5Cleft%5C%7B%5Cbegin%7Barray%7D%7Bll%7D%5Cfrac%7Bn%2B1%7D%7B2%7D%26amp%3B%5Ctext%7BIf+n+is+odd%7D%5C%5C%5Cfrac%7Bn%7D%7B2%7D%26amp%3B%5Ctext%7Bif+n+is+even%7D%5Cend%7Barray%7D%5Cright.)
now take n = 1 { it is odd}
so, f(1) = (1 + 1)/2 = 1
take n = 2 { it is even }
so, f(2) = 2/2 = 1
here, we can see f(1) = f(2) = 1 but 1 ≠ 2
so, f is not one - one function.
: When n is odd.
and assume n = 2r +1 for some r ϵ N.
⇒ there exist, 4r + 1 ϵ N such that f(4r+1) =(4r + 1 + 1)/2 = 2r + 1
: when n is even
and we assume n = 2r for some r ϵ N.
⇒ there exist 4r ϵ N such that f(4r) = (4r)/2 = 2r
hence, co-domain = range
so, f is onto function.
finally we get f is not one -one but it is onto.
so,f is not bijective function.
now take n = 1 { it is odd}
so, f(1) = (1 + 1)/2 = 1
take n = 2 { it is even }
so, f(2) = 2/2 = 1
here, we can see f(1) = f(2) = 1 but 1 ≠ 2
so, f is not one - one function.
and assume n = 2r +1 for some r ϵ N.
⇒ there exist, 4r + 1 ϵ N such that f(4r+1) =(4r + 1 + 1)/2 = 2r + 1
and we assume n = 2r for some r ϵ N.
⇒ there exist 4r ϵ N such that f(4r) = (4r)/2 = 2r
hence, co-domain = range
so, f is onto function.
finally we get f is not one -one but it is onto.
so,f is not bijective function.
Similar questions