If f:{1,2,3,.....}→{0,±1,±2,.....} is defined by f(n)=⎧⎪ ⎪⎨⎪ ⎪⎩n2 if n is even−(n−12) if n is odd then f−1(−100) is
Let f:W→W be defined as f(n)=n-1, if n is odd and f(n)=n+1, if n is even. Show that f is invertible. Find the inverse of f. Here, W is the set of all whole numbers.