36.4k views
3 votes
Suppose f is the function f(x) = |x - 5| + 5 and f : Z -> Z

Is f one-to-one:

Is f onto:

1 Answer

7 votes

Answer:

No, function is not one-to-one

No, function is not onto

Explanation:

We are given that a function

f:
Z\rightarrow Z


f(x)=\mid{x-5}\mid +5

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 ,
f(1)=\mid{1-5}\mid+5=4+5=9

When substitute x=9

Then , we get
f(9)=\mid {9-5}\mid +5=4+5=9

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.

User Mitch Wheat
by
8.2k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories