Question #255916

Determine whether this function f(n) = n2 − 1 is one-to-one, onto, or both. Explain your answers. The domain of each function is the set of all integers. The codomain of each function is also the set of all integers


Expert's answer

Let us determine whether the function f:ZZ, f(n)=n21,f:\Z\to\Z,\ f(n) = n^2 − 1, is one-to-one, onto, or both.

Since f(1)=(1)21=0=121=f(1),f(-1)=(-1)^2-1=0=1^2-1=f(1), we conclude that this function is not one-to-one. Taking into account that for y=2y=-2 the equation f(n)=y,f(n)=y, that is n21=2n^2-1=-2 or n2=1,n^2=-1, has no integer solutions, we conclude that f1(2)=,f^{-1}(-2)=\emptyset, and hence the function ff is not onto. Therefore, ff is not a bijection.


LATEST TUTORIALS
APPROVED BY CLIENTS