Question

Is this function a surjection, 1 to 1 or a bijection, or none? Show each property. Z f: W (-1) given by f(n) = where{x} is t

0 0
Add a comment Improve this question Transcribed image text
Answer #1

f:W\rightarrow \mathbb{Z} is defined by , f(n)=(-1)^{n}\left [ \frac{n+1}{2} \right ] .

Surjection :  Let  m\in \mathbb{Z} .

Case 1 : If m\geq 0 then if we choose  n=2m then ,

f(n)=f(2m)

\Rightarrow f(n)=(-1)^{2m}\left [ \frac{2m+1}{2} \right ]

\Rightarrow f(n)=\left [ \frac{2m+1}{2} \right ]

\Rightarrow f(n)=\left [ m+\frac{1}{2} \right ]

\Rightarrow f(n)=m

Case 2 : If m\leq 0    then if we choose  n=2(m+1) then ,

f(n)=f(2(m+1))

\Rightarrow f(n)=(-1)^{2(m-1)}\left [ \frac{2m+2+1}{2} \right ]

\Rightarrow f(n)=\left [ \frac{2(m+1)-1}{2} \right ]

\Rightarrow f(n)=\left [ m+1-\frac{1}{2} \right ]

\Rightarrow f(n)=m

So for all  m\in \mathbb{Z} there exist  n\in w such that  f(n)=w .

Hence  f is surjective .

One-to-one : Let f(m)=f(n)

\Rightarrow (-1)^{n}\left [ \frac{n+1}{2} \right ]=(-1)^{m}\left [ \frac{m+1}{2} \right ]

So either both n and m are even or both are odd

If both are even then , n= 2k and m=2p say then ,

\Rightarrow (-1)^{2k}\left [ \frac{2k+1}{2} \right ]=(-1)^{2p}\left [ \frac{2p+1}{2} \right ]

\Rightarrow \left [k+ \frac{1}{2} \right ]=\left [p+ \frac{1}{2} \right ]

\Rightarrow k=p

\Rightarrow 2k=2p

\Rightarrow m=n

Also if both m and n are odd the n = 2k+1 and m =2p +1

\Rightarrow (-1)^{2k+1}\left [ \frac{2k+1+1}{2} \right ]=(-1)^{2p+1}\left [ \frac{2p+1+1}{2} \right ]

\Rightarrow -\left [ \frac{2k+1+1}{2} \right ]=-\left [ \frac{2p+1+1}{2} \right ]

\Rightarrow \left [ \frac{2k+1+1}{2} \right ]=\left [ \frac{2p+1+1}{2} \right ]

\Rightarrow \left [k+1 \right ]=\left [ p+1 \right ]

\Rightarrow k+1=p+1

\Rightarrow k=p

\Rightarrow 2k+1=2p+1

\Rightarrow m=n

So if  f(m)=f(n) then  m=n . So  f is one-to-one .

As  f is both  one-to-one and  surjective so it is an bijection .

.

.

.

.

Please comment if needed .

Add a comment
Know the answer?
Add Answer to:
Is this function a surjection, 1 to 1 or a bijection, or none? Show each property....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT