Saturday, 27 April 2024

Tao Analysis I - 3.5.9

Exercise 3.5.9

Suppose that I and J are two sets, and for all αI let Aα be a set, and for all βJ let Bβ be a set. Show that

(αIAα)(βJBβ)=(α,β)I×J(AαBβ)

What happens if one interchanges all the union and intersection symbols here?


Solution Strategy

For this solution I wanted to develop the proof using only a chain of equivalences , rather than the more verbose approach of proving one direction , and the other direction .

This math stack exchange answer helped clarify this approach, which is still unfamiliar to me (link). 

In addition this wikipedia article on manipulating prenex normal form is useful (link).


Solution Part One

Let's start with the LHS.

x(αIAα)(βJBβ)x(αIAα)x(βJBβ)

Using the definition of the union of sets, this means both of the following are true:

  • x is an element of at least one Aα
  • x is an element of at least one Bβ

For the next step we have to take care with the use of the existential quantifier.

x(αIAα)(βJBβ)(αI)[xAα](βJ)[xBβ]

This is essentially writing out what we have written in the bullet points.

If there exists an αI and a βJ which meet certain conditions,  then there exists an (α,β)I×J where the same conditions are met. That is,

x(αIAα)(βJBβ)(αI)[xAα](βJ)[xBβ]((α,β)I×J)[xAαxBβ]((α,β)I×J)[xAαBβ]x(α,β)I×J(AαBβ)

Thus, we have shown

(αIAα)(βJBβ)=(α,β)I×J(AαBβ)


Solution Part Two

Now consider what happens if we interchange the union and intersection symbols. We have a new proposal to show:

(αIAα)(βJBβ)=(α,β)I×J(AαBβ)

The proof is almost the same, so we'll only write down the essence of it.

Let's start with the LHS.

(αIAα)(βJBβ)x(αIAα)x(βJBβ)

Using the definition of the intersection of sets, this means either or both of the following are true:

  • x is an element of every Aα
  • x is an element of every Bβ

For the next step we have to take care with the use of the "for all" quantifier.

x(αIAα)(βJBβ)(αI)[xAα](βJ)[xBβ]

We continue in a similar manner to the above,

x(αIAα)(βJBβ)(αI)[xAα](βJ)[xBβ]((α,β)I×J)[xAαxBβ]((α,β)I×J)[xAαBβ]x(α,β)I×J(AαBβ)

Thus, we have shown

(αIAα)(βJBβ)=(α,β)I×J(AαBβ)


Thursday, 25 April 2024

Tao Analysis I - 3.5.8

Exercise 3.5.8

Let X1,,Xn be sets. Show that the Cartesian product i=1nXi is empty if and only if at least one of the Xi is empty.


Let's remind ourselves of Definition 3.5.6 for Cartesian products. 

If (Xi)1in is an ordered n-tuple of sets, we define their Cartesian product as

1inXi:={(xi)1in:xiXi for all 1in}


We need to how both of the following:

  • i=1nXi=Xi=
  • Xi=i=1nXi=


Let's start with the second statement as it is easier to prove. If at least one Xi is empty, let's call it Xj then there is no xj=∈Xi. This means the ntuple (xi)1in can't be formed with n components. Thus the cartesian product, a set, is empty.

Now let's consider the first statement. The cartesian product is empty only if the n-tuples can't be formed with n components. This only happens if one of the Xi is empty. 


By proving both statements, we have shown the Cartesian product i=1nXi is empty if and only if at least one of the Xi is empty.


Tao Analysis I - 3.5.7

Exercise 3.5.7

Let X, Y be sets, and let πX×YX:X×YX and πX×YY:X×YY be the maps πX×YX(x,y):=x and πX×YY(x,y):=y; these maps are known as the co-ordinate functions on X×Y. Show that for any functions f:ZX and g:ZY, there exists a unique function h:ZX×Y such that πX×YXh=f and πX×YYh=g. (Compare this to the last part of Exercise 3.3.8, and to Exercise 3.1.7.) This function h is known as the pairing of f and g and is denoted h=(f,g).


Exploration

Lt's illustrate some of these new ideas with a small example.

Consider X={x1,x2} and Y={y1}. The cartesian product is therefore X×Y={(x1,y1),(x2,y1)}.

The function πX×YX:X×YX maps from the cartesian product, the set of ordered n-tuples, to the codomain which is the set X. An example of the mapping πX×YX(x,y):=x is

πX×YX(x2,y1)=x2

The map essentially extracts the "first coordinate" from the pair in the ordered 2-tuple.

Similarly, an example of the mapping for the other function, πX×YY(x,y):=y, is

πX×YY(x2,y1):=y1

This extracts the "second coordinate" from the ordered 2-tuple.


Let's draw a picture to illustrate the described functions f:ZXg:ZY, and h:ZX×Y.

Our aim is to show that for any f and g, the function h exists and is unique, given the constraints πX×YXh=f and πX×YYh=g.


Solution Part One

For exercises that ask us to prove a set exists, we typically construct the set from the axioms of set theory. However, to show a function exists is a little different as Tao discusses in his book. He writes, in Remark 3.3.2, that the existence of functions could have been made axiomatic, but they aren't because they can be constructed using ordered triple (domain, codomain, graph/mapping) and the operations of axiomatic set theory.

For our purposes, to show a function exists, we need to make clear its domain and codomain, and then ensure the mapping is well-defined, it conforms to the requirement that each element of the domain maps to only one element of the codomain, the "vertical line test".

It is suggested there might exist a function h:ZX×Y such that the following two conditions are met:

zZ[πX×YX(h(z))=f(z)]

zZ[πX×YY(h(z))=g(z)]

Let's assume such a function does exist. What form does it take?

We know that for all zZ, h(z) takes the form of an ordered pair (h1(z),h2(z)) where h1(z)X and h2(z)Y. That is, h1:ZX and h2:ZY.

What is h1(z) and h2(z)?

We use the two conditions to answer this:

πX×YX(h(z))=h1(z)=f(z)

πX×YY(h(z))=h2(z)=g(z)

So we have

h(z)=(f(z),g(z))

We have shown that if there exists a function h:zX×Y that conforms to the two conditions above, then it must be of the unique form h(z)=(f(z),g(z))

To show existence, we use the definition of the function we derived h(z)=(f(z),g(z)) and show it conforms to any required constrains, and is well-behaved as a function:

  • the domain of h is Z
  • the codomain of h is X×Y
  • the first condition is met, πX×YX(h(z))=πX×YX(f(z),g(z))=f(z)
  • the second condition is met, πX×YY(h(z))=πX×YY(f(z),g(z))=g(z)
  • h(z)=(f(z),g(z)) is unique to z because both f and g are well-defined functions, where f(z) is unique to z, g(z) is unique to z, and so h(z)=(f(z),g(z)) is also unique to z.

This solution was helped by this answer (link).


Solution Part Two

We are asked to compare this result with last part of Exercise 3.3.8, and to Exercise 3.1.7.

Drawing pictures is the easiest way to show the similarities between the sets and functions in these exercises.

In the following we can see there is a duality between the existence of a unique function that maps to X×Y in the first instance, and maps from XY in the second.


And in the following we can see similar duality regarding intersection and union where the function is replaced by a predicate "is a subset of".


Apparently this nudge by Tao relates to category theory, something beyond this book, but discussed here (link).