Homepage Solution manuals Terence Tao Analysis I Exercise 3.6.5 (Cartesian product of A,B and B,A have equal cardinality)

Exercise 3.6.5 (Cartesian product of A,B and B,A have equal cardinality)

Let A and B be sets. Show that A × B and B × A have equal cardinality by constructing an explicit bijection between the two sets. Then use Proposition 3.6.14 to conclude an alternate proof of Lemma 2.3.2.

Answers

Before we prove this, just note that we do not require that A and B be finite for the first part to be true. But we do have to check two cases: (1) At least one of A or B is empty, (2) Neither are empty.

Proof. Let A and B be sets. Consider the following sets:

A × B = { ( a , b ) : a A , b B } B × A = { ( b , a ) : b B , a A }

(1) If at least one of A or B is empty, then, by Exercise 3.5.8, we have A × B = and B × A = . This implies, by Exercise 3.6.2, that # ( A × B ) = 0 and # ( B × A ) = 0 , implying # ( A × B ) = # ( B × A ) , as was to be shown (technically, I did not make an explicit bijection for this case, but it should be easy to do).

(2) Now suppose neither A nor B is empty. Let’s define a function f : A × B B × A by f ( ( a , b ) ) = ( b , a ) .

Let’s show f is injective (one-to-one). Let a 1 , a 2 A and b 1 , b 2 B such that f ( ( a 1 , b 1 ) ) = f ( ( a 2 , b 2 ) ) . We want to show this implies ( a 1 , b 1 ) = ( a 2 , b 2 ) . Well, f ( ( a 1 , b 1 ) ) = f ( ( a 2 , b 2 ) ) implies ( b 1 , a 1 ) = ( b 2 , a 2 ) by definition of f . Then, by Definition 3.5.1, we have b 1 = b 2 and a 1 = a 2 , which is logically equivalent to a 1 = a 2 and b 1 = b 2 . Then, by Definition 3.5.1 again, we have ( a 1 , b 1 ) = ( a 2 , b 2 ) . Hence, f is injective.

Let’s show f is surjective (onto). Let ( b , a ) B × A be any element of B × A . We want to show there exists a y A × B such that f ( y ) = ( b , a ) . Indeed, choosing y = ( a , b ) makes it true. Hence, f is surjective (if this argument isn’t to your liking, then an alternative is to show the forward image f ( A × B ) equals B × A ).

By showing f is injective and surjective, we have shown it is bijective (a one-to-one correspondence). This implies, by Definition 3.6.1, that A × B and B × A have equal cardinality.

Now we prove Lemma 2.3.2 using the above and Proposition 3.6.14. Suppose we have two finite sets X and Y with # ( X ) = n and # ( Y ) = m . By part (e) of Proposition 3.6.14, we have # ( X × Y ) = n × m and # ( Y × X ) = m × n . We proved above that X × Y and Y × X must have equal cardinality. Thus, n × m = m × n , proving Lemma 2.3.2.

User profile picture
2024-02-09 06:23
Comments