Projection Functions: Combining X1 to Xn Coordinates

  • Context: Graduate 
  • Thread starter Thread starter Square1
  • Start date Start date
  • Tags Tags
    Functions Projection
Click For Summary

Discussion Overview

The discussion revolves around the concept of projection functions in the context of Cartesian products of sets. Participants explore the definition and implications of projection mappings from the product of multiple sets to individual sets, addressing both theoretical and conceptual aspects.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant introduces the projection function from the product of sets X1,...,Xn, expressing confusion about the multiplication of sets and the nature of the projection.
  • Another participant clarifies that the Cartesian product X1 × ... × Xn consists of n-tuples where each coordinate belongs to the corresponding set Xi.
  • There is a question about whether there are restrictions on the number of sets involved in the product, with some participants noting that there are no restrictions and that infinite products can be considered.
  • Participants discuss the importance of the order of multiplication of sets, with examples illustrating that the order can affect the resulting product.
  • One participant expresses confusion about the notation used for projection functions, specifically the use of π, and seeks clarification on its meaning.
  • Another participant provides an example using real numbers to illustrate how the projection function extracts a specific coordinate from an n-tuple.
  • There is a discussion about whether projection functions can output either a coordinate of an n-tuple or an entire set, with participants clarifying that projection functions specifically output the i-th coordinate of an n-tuple.
  • One participant questions the interpretation of tuples within the Cartesian product, seeking to understand whether a tuple represents a single element or multiple elements within the resulting set.
  • Participants acknowledge the complexity of the topic and express a sense of progress in understanding the projection functions and their definitions.

Areas of Agreement / Disagreement

Participants generally agree on the definitions and properties of projection functions, but there remains some uncertainty regarding the implications of notation and the interpretation of Cartesian products. The discussion includes multiple viewpoints and clarifications without reaching a consensus on every point.

Contextual Notes

Some participants express confusion over the notation and terminology used in defining projection functions and Cartesian products, indicating a need for clearer definitions and examples. The discussion also highlights the importance of understanding the relationship between the order of sets and the resulting tuples.

Square1
Messages
143
Reaction score
1
Given sets X1,...,Xn the projection from the product X1 * ... *Xn is the function
pri = prxi : X1 * ... *Xn → Xi , pri(t1, ..., ti, ...,tn) := ti

Im having a hard time figuring out what exactly is going on here.

Some coordinate from all sets X1 to Xn are getting multiplied together? The above bit is an introductory example/case of "the projection function". Any help will do. Thanks.
 
Physics news on Phys.org
Let [itex]X_1,\dots,X_n[/itex] be sets. Then [itex]X_1 \times \cdots \times X_n = \{(x_1,\dots,x_n) : x_i \in X_i\}[/itex]; that is, elements of [itex]X_1 \times \cdots \times X_n[/itex] are [itex]n[/itex]-tuples where the [itex]i[/itex]-coordinate is contained in [itex]X_i[/itex].

Now define the projection mapping [itex]\pi_i:X_1 \times \cdots \times X_n \rightarrow X_i[/itex] by setting [itex]\pi_i(x_1,\dots,x_i,\dots,x_n) = x_i[/itex]. So [itex]\pi_i[/itex] finds the [itex]i[/itex]-th value in the [itex]n[/itex]-tuple [itex](x_1,\dots,x_n)[/itex] and then prints out this value.
 
Last edited:
So..

You are multiplying any number of sets (any restrictions on "n" of the sets?), and the resulting (insert word here...set??) is a collection of all possible n-tuples (x1,...xn) where any given xi of a tuple will be a member of set Xi (so does this imply a condition on the order of multiplying the sets?).

Is that right?
The next line though I am a bit confused about the choice of pi. :(
 
Square1 said:
You are multiplying any number of sets (any restrictions on "n" of the sets?), and the resulting (insert word here...set??) is a collection of all possible n-tuples (x1,...xn) where any given xi of a tuple will be a member of set Xi (so does this imply a condition on the order of multiplying the sets?).

There is no restriction on the number of sets. You can actually generalize this to take infinite products of sets, although at that point you have to abandon the tuple notation.

Strictly speaking the order in which you take products of the sets is important. For example, [itex]\{1\} \times \{0\} \neq \{0\} \times \{1\}[/itex]. Under certain circumstances the order is more or less irrelevant, but since you seem to be just learning about cartesian products, I would not worry about it.

The next line though I am a bit confused about the choice of pi. :(

Sorry about that. A common name for the [itex]i[/itex]-th projection function is [itex]\pi_i[/itex]. This has no connection with the number we denote by [itex]\pi[/itex] or anything else. This is kind of an example where symbols get overloaded in math.
 
Ah ok thank you thank you.
jgens said:
Now define the projection mapping [itex]\pi_i:X_1 \times \cdots \times X_n \rightarrow X_i[/itex] by setting [itex]\pi_1(x_1,\dots,x_i,\dots,x_n) = x_i[/itex]. So [itex]\pi_i[/itex] finds the [itex]i[/itex]-th value in the [itex]n[/itex]-tuple [itex](x_1,\dots,x_n)[/itex] and then prints out this value.


So picking i=1 for example means, you will be "extracting" a single n-tuple then from the collection X1 x ... x Xn , where all entries are are the i'th/first coordinate of their original set?
 
Square1 said:
So picking i=1 for example means, you will be "extracting" a single n-tuple then from the collection X1 x ... x Xn , where all entries are are the i'th/first coordinate of their original set?

Not really. The projection functions do not extract an [itex]n[/itex]-tuple. Rather they extract a particular value from each [itex]n[/itex]-tuple you give them as an input. An example might be helpful.

Consider the case when [itex]X_1 = \cdots = X_n = \mathbb{R}[/itex]. Then [itex]X_1 \times \cdots \times X_n = \mathbb{R}^n[/itex]. We will consider the first projection function [itex]\pi_1[/itex]. Notice that [itex](1,0,\dots,0) \in \mathbb{R}^n[/itex] and [itex](1,2,3,4,\dots,n) \in \mathbb{R}^n[/itex]. It turns out that [itex]\pi_1(1,0,\dots,0) = 1[/itex] and that [itex]\pi_1(1,2,3,4,\dots,n) = 1[/itex].

So given an [itex]n[/itex]-tuple input, the projection function searched for the [itex]i[/itex]-th coordinate and then printed out whatever value was on that coordinate.
 
Hmm am i getting closer? So are projection functions can be used to output both: a given coordinate of an n-tuple, or a given i'th set, depending on how you define "pi sub i"
ex: pi*sub*Xi : X1 x ... x Xn
or
pi*sub*i : (t1, ... ti, ...tn)

? (crossed fingers)
 
Square1 said:
So are projection functions can be used to output both: a given coordinate of an n-tuple, or a given i'th set, depending on how you define "pi sub i"

Not really. I mean [itex]\pi_i[/itex] takes an [itex]n[/itex]-tuple in [itex]X_1 \times \cdots \times X_n[/itex] as an input, and then outputs the [itex]i[/itex]-th coordinate of that [itex]n[/itex]-tuple.

It is true that [itex]\pi_i(X_1 \times \cdots \times X_n) = X_i[/itex] and you can define a set-function which will output the image of a given set under [itex]\pi_i[/itex], but these are not the functions one usually refers to when talking about projection functions.
 
So which n-tuple does it take from X1 x ... x Xn ?
 
  • #10
Square1 said:
So which n-tuple does it take from X1 x ... x Xn ?

You can apply [itex]\pi_i[/itex] to any [itex]n[/itex]-tuple in [itex]X_1 \times \cdots \times X_n[/itex].
 
  • #11
Ok wait a second, when you say here the elements of the resulting set multiplication are...

jgens said:
Let [itex]X_1,\dots,X_n[/itex] be sets. Then [itex]X_1 \times \cdots \times X_n = \{(x_1,\dots,x_n) : x_i \in X_i\}[/itex]; that is, elements of [itex]X_1 \times \cdots \times X_n[/itex] are [itex]n[/itex]-tuples where the [itex]i[/itex]-coordinate is contained in [itex]X_i[/itex].

{(x1, ..., xn)}, is the tuple inside this set here just one element of the resulting set, implying many more such elements, or are the parenthesis not indicating one element but the entire set?
 
  • #12
Square1 said:
{(x1, ..., xn)}, is the tuple inside this set here just one element of the resulting set, implying many more such elements, or are the parenthesis not indicating one element but the entire set?

In general, there are many elements in [itex]X_1 \times \cdots \times X_n[/itex]. How many elements exactly depends on the sizes of [itex]X_1,\dots,X_n[/itex]. It might help if you read the article here: http://en.wikipedia.org/wiki/Cartesian_product
 
  • #13
Ok I think was
a) overthinking this too much lol, and
b) overlooked two points (the last question I asked, and that by definition the projection function outputs a single number...at least in my class notes.)

I think I got it now. Thanks for the help, and patience :D
 

Similar threads

Replies
3
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
6
Views
2K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K