For example: let A={a}, B={b,b'}, C={c} and f(a) = b, g(b) = c, g(b') = c
We can list all the elements of the union of these three sets (with possible repetitions) as follows:
a00 a10 a20 a01 a11 a21 a02 a12 a22 ...
Therefore, this set is countable. Since the union of the three sets
is a subset of this, it must also be countable.
First row: all the singleton subsets of N, i.e., {1}, {2}, {3},
...,
Second row: all 2-element subsets of N, i.e., {1,2} , {1,3}, {2,3},
{1,4}, {2,4}, {3,4}, {1,5}, ...,
Third row: all 3-element subsets of N, i.e., {1,2,3}, {1,2,4}, {1,3,4},
{2,3,4}, {1,2,5}, {1,3,5}, {1,4,5}, {2,3,5}, {2,4,5}, {3,4,5}, etc.
and so on, enumerating all subsets of N by set size.
We may then enumerate the complete set using a dovetailing approach by visiting the sets in the corresponding array of sets in a diagonal fashion.
f(n) = 2n+1
f(n) = (n+1)/2, if n is odd = -n/2, if n is even
This gives us the following ordering:
<0,0,0> <0,0,1> <0,1,0> <1,0,0> <0,0,2> <0,1,1> <0,2,0>
<1,0,1> <1,1,0> <2,0,0> ...
We can now define a bijection f between N and this set as follows:
f(0) = (0,0,0), f(1) = (0,0,1), f(2) = (0,1,0), f(3) = (1,0,0), ...
Inductive Hypothesis: Assume true for n:
1 ´ 2 ´ 3 + 2 ´ 3 ´ 4 + ... + n(n+1)(n+2) = n(n+1)(n+2)(n+3)/4
Inductive Case: Show that it is true for n+1:
LHS = 1 ´ 2 ´
3 + 2 ´ 3 ´
4 + ... + n(n+1)(n+2) + (n+1)(n+2)(n+3)
= n(n+1)(n+2)(n+3)/4 + (n+1)(n+2)(n+3) (by inductive hypothesis)
= n(n+1)(n+2)(n+3)/4 + 4(n+1)(n+2)(n+3)/4
= (n+1)(n+2)(n+3)(n+4)/4
= RHS
Inductive Hypothesis: Assume true for n:
n3+2n is divisible by 3
Inductive Case: Show that it is true for n+1:
(n+1)3+2(n+1)
= n3 +3n2 + 3n + 1 + 2n + 2
= (n3+2n) + 3n2 + 3n + 3
= (n3+2n) + 3(n2 + n + 1)
Each of these terms is obviously divisible by 3 (the first by the inductive
hypothesis)
Therefore the predicate is true for all n
The sets of real numbers in the intervals [-1,0] and [0,1] are both uncountable. Their intersection {0} is finite.
The sets R+ È N (positive reals and naturals), and R- È N (negative reals and naturals) are both uncountable. Their intersection (N) is countably infinite.
The sets R (reals) and R+ (positive reals) are both uncountable. Their
intersection (R+) is uncountable.
If S-T were countable, then (S-T) È (S Ç T) = S would be also.