Question #203291

Give an example, with justification, of a function with domain Z \{2,3}and codomain N.Is this function 1 –1?Is it onto ?Give reasons for your answers.


1
Expert's answer
2021-06-07T19:30:06-0400

Consider the function f:Z{2,3}N,  f(n)={n  if n<0n+1  if n{0,1} or n4.f:\mathbb Z\setminus\{2,3\}\to\mathbb N,\ \ f(n)=\begin{cases} -n\ \text{ if }n< 0\\ n+1\ \text{ if }n\in\{ 0,1\} \text{ or } n\ge4 \end{cases}. By defenition of this function, the domain of ff is Z{2,3}\mathbb Z\setminus\{2,3\} and codomain is N.\mathbb N.


Taking into account that f(1)=1f(-1)=1 and f(0)=1,f(0)=1, we conclude that ff is not 1-1. Since for any nNn\in\mathbb N we have that f(n)=(n)=n,f(-n)=-(-n)=n, the function ff is onto.



Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS