document.write( "Question 548064: Prove that the function is bijective. The function is f: N--->Z f(x)=(1+(−1)^x * (2x − 1)) /4\r
\n" ); document.write( "\n" ); document.write( "I tried to attempt it using induction. I did a base case for subjectivity of f(1) and f(2) and it worked. Then I tried to substitute k+1 for x but I have gotten stuck.
\n" ); document.write( "

Algebra.Com's Answer #356755 by richard1234(7193)\"\" \"About 
You can put this solution on YOUR website!
Presuming\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " where x is a positive integer. We know that the domain is {1,2,3,4,...} and the range is {...-2,-1,0,1,2,...}. Hence we can say that if x is even, the domain is {2,4,...} and the range is {1,2,3,...} (since the function is equivalent to f(x) = x/2). If x is odd, the domain is {1,3,...} and the range is {0,-1,-2,...}. There exists a one-to-one correlation between both disjoint domains and ranges, so the entire function is bijective.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "However, we must be careful with one-to-one correlations with infinite sets such as {2,4,6,8,...} and {1,2,3,...} if x is even (e.g. look up \"Hilbert's paradox of the Grand Hotel\"). We can still define a function (e.g. f(x) = x/2) so we don't have to worry about this.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );