I've realized that I have a lot of trouble with actually finding a working formula to use for once I figure out the function to use. Here's an example of one problem that stumped me:
Determine whether each of these sets is finite, countably infinite, or uncountable. For those that are countably infinite, exhibit a one-to-one correspondence between the set of positive integers and that set.
e) The set $A × Z^+$ where A = {2, 3}
I know that I essentially need to (in order)...
- Make a function to use, which I think should be $ f:Z^+→(A×Z^+)$ to start.
- *** Figure out a formula to use with the function that stays true to the problem (This is what I'm having a lot of trouble with).
- Use said formula to either prove or disprove the function f is one-to-one or onto.
- Then flip the function to make $g:(A×Z^+)→Z^+$
- *** Figure out the formula for that function.
- Use this formula to either prove or disprove the function g is one-to-one or onto.
What I've starred are my trouble areas. I honestly don't know where to begin when it comes to finding a formula for this problem. I know that this is countably infinite and I know that the list would go something like this: { (2,1) , (3,1) , (2,2), (3,2) , (2,3) , (3,3) , (2,4) , (3,4) , ... }.
However, I do really want to practice the proof of this, but I can't seem to wrap my head around how I can relate a formula to the function $f$ or $g$. Any feedback is appreciated!
If you want a formula for $2,3,2,3,2,3,\dots$, you can use $2.5+(0.5)(-1)^n$.
If you want a formula for $1,1,2,2,3,3,4,4,\dots$, if you multiply by two you get $2,2,4,4,6,6,8,8,\dots$, which is the sum of $1,2,3,4,5,6,7,8,\dots$ and $1,0,1,0,1,0,1,0,\dots$. The first of those is just $n$, the second can be handled the same way we did $2,3,2,3,2,3,\dots$.