Is the following function form ZZ to ZZ one-to-one? 1) f(n)=n−1 2) f(n)=n^2+1 3) f(n)=n^34) f(n)=⌈n ∕ 2⌉

Armorikam

Armorikam

Answered question

2021-09-05

Is the following function form Z to Z one-to-one?
1) f(n)=n1
2) f(n)=n2+1
3) f(n)=n3
4) f(n)=n2

Answer & Explanation

unett

unett

Skilled2021-09-06Added 119 answers

The function is one-to-one if f(a)=f(b), a=b and f is 11.
1) f(n)=n1
Let n1,n2Z
If f(n1)=f(n2), then n1=n2
n11=n21
n1=n2
Thus, the function is one-to-one
2) f(n)=n2+1
Let n1,n2Z
If f(n1)=f(n2), then n1=n2
n12+1=n22+1
n12=n22
±n1=±n2
n11=n2andn1=n2
Thus, the function is not one-to-one
3) f(n)=n3
Let n1,n2Z
If f(n1)=f(n2), then n1=n2
n13=n23
n1=n2
Thus, the function is one-to-one
4) f(n)=n2
Let n1,n2Z
If f(n1)=f(n2),then n1=n2
n12=n22
n1=n2
Thus, the function is one-to-one

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?