Cartesian Product of Sets: A, B & C

In summary, the Cartesian product of two sets $A$ and $B$, denoted by $A \times B$, is defined as the set of all ordered pairs $<a,b>$ where $a \in A$ and $b \in B$. This definition can be extended to the Cartesian product of three sets, $A \times B \times C$, which is equivalent to $(A \times B) \times C$. However, the sets $A \times (B \times C)$ and $(A \times B) \times C$ are not necessarily equal, as the elements of these sets have different forms. It is possible for a set to be both an ordered pair and a number, depending on the definitions of
  • #1
evinda
Gold Member
MHB
3,836
0
Hi! (Wave)

If $A,B$ are sets, the set $\{ <a,b>=\{ a \in A \wedge b \in B \}$ is called Cartesian product of $A,B$ and is symbolized $A \times B$.

If $A,B,C$ sets, then we define the Cartesian product of $A,B,C$ as:

$$A \times B \times C:=(A \times B) \times C$$

But.. is it: $(A \times B) \times C=A \times (B \times C)$, or not? (Thinking)
 
Physics news on Phys.org
  • #2
Suppose that $A=B=C=\Bbb N$. If $x\in (A\times B)\times C$, then the first component of $x$ is an ordered pair. If $x\in A\times (B\times C)$, then the first component of $x$ is a number. And yes, in set theory both ordered pairs and numbers are sets and it may happen (or not?) that a set is both a number and a pair. But it should be easy to find a number that is not a pair and vice versa.
 
  • #3
Evgeny.Makarov said:
Suppose that $A=B=C=\Bbb N$. If $x\in (A\times B)\times C$, then the first component of $x$ is an ordered pair. If $x\in A\times (B\times C)$, then the first component of $x$ is a number. And yes, in set theory both ordered pairs and numbers are sets and it may happen (or not?) that a set is both a number and a pair. But it should be easy to find a number that is not a pair and vice versa.

Can it only happen that a set is both a number and a pair, if the pair contains twice the same number? Or am I wrong? (Thinking)
 
  • #4
Whether a set can be both an ordered pair and a number depends on the definitions of pairs and numbers. If we are talking about Kuratowski definition of pairs: $(a,b)=\{\{a\},\{a,b\}\}$, and Von Neumann definition of ordinals (numbers), then consider $(\varnothing,\varnothing)=\{\{\varnothing\}\}$. This set is not a Von Neumann ordinal. In fact, the only Von Neumann ordinal with one or two elements are $2=\{\varnothing\}$ and $2=\{\varnothing,\{\varnothing\}\}$. They are different from an ordered pair $p=\{\{a\},\{a,b\}\}$ because $\varnothing\in1$ and $\varnothing\in2$, but $\varnothing\notin p$. So for these definitions, a number is never an ordered pair.

Even if it were possible for a set to be both a number and a pair, that would be an incident of encoding of pairs and numbers. I wrote in the thread about Kuratowski pairs that it is merely a hack. Conceptually, an ordered pair is a completely different object from a natural number. And since elements of $(A\times B)\times C$ have pairs as their first component and elements of $A\times (B\times C)$ have, say, numbers as their first component, these sets are different. They are isomorphic, though.
 
  • #5
$$A^3=(A \times A) \times A$$

When $w \in A^3$, to see of which form it is, do we have to do it like that?

It will be of the form $<x,y>$, where $x \in A \times A$ and $y \in A$.
Since, $x \in A \times A$, it is of the form $<c,d>: c,d \in A$.

Therefore, $w=<<c,d>,y>:c,d,y \in A $.

Or am I wrong? (Thinking)
 
  • #6
You are correct.
 
  • #7
Evgeny.Makarov said:
You are correct.

Nice, thank you very much! (Smile)
 
  • #8
Evgeny.Makarov said:
Suppose that $A=B=C=\Bbb N$. If $x\in (A\times B)\times C$, then the first component of $x$ is an ordered pair. If $x\in A\times (B\times C)$, then the first component of $x$ is a number. And yes, in set theory both ordered pairs and numbers are sets and it may happen (or not?) that a set is both a number and a pair. But it should be easy to find a number that is not a pair and vice versa.

I want to verify, that $X \times (Y \times Z) \neq (X \times Y) \times Z$, for $X=\{ \varnothing \},Y=\{ \varnothing \}, Z=\{ \varnothing, \{ \varnothing \} \}$.

Is it like that?

$$X \times (Y \times Z)=\{ \{ \varnothing \} \times (\{ \varnothing \} \times \{ \varnothing,\{ \varnothing \} \}) \}=\{ \{ \varnothing \} \times (<\varnothing, \varnothing>,<\varnothing,\{ \varnothing \}>) \}=\{ <\varnothing,<\varnothing, \varnothing>>, <\varnothing,<\varnothing,\{ \varnothing \}>>\}$$

$$(X \times Y) \times Z=\{ (\{ \varnothing \} \times \{ \varnothing \}) \times \{ \varnothing,\{ \varnothing \} \} \}=\{ <\{ \varnothing \}, \{ \varnothing \}> \times \{ \varnothing, \{ \varnothing \} \}\}=\\ =\{ << \{ \varnothing\},\{ \varnothing\}>, \varnothing\},<< \{ \varnothing \}, \{ \varnothing \}>,\{ \varnothing \}> \}$$Or have I done something wrong? (Thinking)
 

FAQ: Cartesian Product of Sets: A, B & C

What is a Cartesian product of sets?

The Cartesian product of two sets A and B is a mathematical operation that combines every element in set A with every element in set B to form a new set of ordered pairs.

How is a Cartesian product of sets calculated?

To calculate the Cartesian product of two sets A and B, simply take each element from set A and combine it with every element from set B. The resulting set will contain all possible ordered pairs.

Can a Cartesian product of sets have more than two sets?

Yes, a Cartesian product can be performed on any number of sets. For example, the Cartesian product of three sets A, B, and C would result in a new set of ordered triples.

What is the difference between a Cartesian product and a cross product?

A Cartesian product is a mathematical operation that combines elements from sets to form a new set, while a cross product is a vector operation that results in a vector perpendicular to both vectors being multiplied. In other words, a Cartesian product combines elements, while a cross product combines vectors.

What are some real-world applications of Cartesian products?

Cartesian products are commonly used in statistics, computer science, and physics. They are also used in data analysis to combine different sets of data to find patterns or relationships. In computer science, Cartesian products are used in database design to create relationships between tables.

Similar threads

Replies
35
Views
3K
Replies
2
Views
1K
Replies
4
Views
2K
Replies
4
Views
2K
Replies
4
Views
3K
Replies
1
Views
1K
Replies
17
Views
2K
Back
Top