Answer:
No, function is not one-to-one
No, function is not onto
Step-by-step explanation:
We are given that a function
f:[tex]Z\rightarrow Z[/tex]
[tex]f(x)=\mid{x-5}\mid +5[/tex]
If function is one-to-one then different x have different image .
Domain =Z
Codomain=Z
When function is onto then range=Codomain
Substitute x=1
Then ,[tex]f(1)=\mid{1-5}\mid+5=4+5=9[/tex]
When substitute x=9
Then , we get [tex]f(9)=\mid {9-5}\mid +5=4+5=9[/tex]
Image of 1 and 9 are same hence, function is not one-to-one.
Negative elements of Z and Zero has no preimage.Therefore, function is not onto.