What is the cartesian product of two sets?

  • MHB
  • Thread starter evinda
  • Start date
  • Tags
    Cartesian
In summary: The sets $\{ <x,1>, <x,2>: x \in \mathbb{Z} \}$ and $\{ <x,1>, <x,2>: x \in \{ <x,1>: x \in \mathbb{Z}\}, <x,2>: xeq \{ <x,1>: x \in \mathbb{Z}\} $ are not equal because there exists a number $x$ such that $xeq \{ <x,1>: x \in \mathbb{Z}\} $ but $xeq \{ <x,2>: xeq \{ <x,1>: x \
  • #1
evinda
Gold Member
MHB
3,836
0
Hey! (Nerd)

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

I want to find the cartesian product $\mathbb{Z} \times \{ 1, 2 \}$.
I thought, that it is equal to $\{ <x,1>,<x,2>: x \in \mathbb{Z}\}$.

According to my notes, it is equal to: $\{ <x,1>: x \in \mathbb{Z}\} \cup \{ <x,2>: x \in \mathbb{Z}\}$.

Are these the same? (Thinking)

Also, how can we show that $\varnothing \times A=A \times \varnothing=\varnothing$, right? (Worried)

It is: $\varnothing \times A=\{ <b,a>: b \in \varnothing, a \in A \}$?
Can we conclude from this, that $\varnothing \times A=\varnothing$ ? (Thinking)
 
Last edited:
Physics news on Phys.org
  • #2
evinda said:
Hey! (Nerd)

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

I want to find the cartesian product $\mathbb{Z} \times \{ 1, 2 \}$.
I thought, that it is equal to $\{ <x,1>,<x,2>: x \in \mathbb{Z}\}$.

According to my notes, it is equal to: $\{ <x,1>: x \in \mathbb{Z}\} \cup \{ <x,2>: x \in \mathbb{Z}\}$.

Are these the same? (Thinking)

Hi! (Blush)

I have just looked it up in Set-builder notation on wiki.

It appears that formally the expression to the left of the ':' should represent one element and not two.
Since your notation is not ambiguous, I would still consider them the same.
But formally your first form is not defined. (Nerd)

Also, how can we show that $\varnothing \times A=A \times \varnothing=\varnothing$, right? (Worried)

It is: $\varnothing \times A=\{ <b,a>: b \in \varnothing, a \in A \}$?
Can we conclude from this, that $\varnothing \times A=\varnothing$ ? (Thinking)

Yes.
There is no element <b,a> that satisfies the conditions.
So the result is an empty set. (Nod)
 
  • #3
I like Serena said:
It appears that formally the expression to the left of the ':' should represent one element and not two.
Since your notation is not ambiguous, I would still consider them the same.
But formally your first form is not defined. (Nerd)

So, is this: $\{ <a,b>,<c,d> : a,b,c,d \in \mathbb{Z}\}$ well-defined, but this: $\{ <a,b>,<a,d> : a,b,d \in \mathbb{Z}\}$ isn't? (Thinking)
Or have I understood it wrong? (Thinking)
And what if $x$ had a specific value? :confused:

I like Serena said:
Yes.
There is no element <b,a> that satisfies the conditions.
So the result is an empty set. (Nod)

So, can we say that since there is no element $b$, such that $b \in \varnothing$, there is no $<c,d>$, such that $<c,d> \in \{ <b,a>: b \in \varnothing, a \in A\}$, so $\forall <c,d>: <c,d> \notin \varnothing \times A$.
Therefore, $ \varnothing \times A=\varnothing$.

(Thinking)
 
  • #4
evinda said:
So, is this: $\{ <a,b>,<c,d> : a,b,c,d \in \mathbb{Z}\}$ well-defined, but this: $\{ <a,b>,<a,d> : a,b,d \in \mathbb{Z}\}$ isn't? (Thinking)
Or have I understood it wrong? (Thinking)

Formally, neither is defined.
Informally, both are fine. (Smile)

And what if $x$ had a specific value? :confused:

Which x? :confused:
So, can we say that since there is no element $b$, such that $b \in \varnothing$, there is no $<c,d>$, such that $<c,d> \in \{ <b,a>: b \in \varnothing, a \in A\}$, so $\forall <c,d>: <c,d> \notin \varnothing \times A$.
Therefore, $ \varnothing \times A=\varnothing$.

(Thinking)

Yes, we can say that. (Mmm)
 
  • #5
I like Serena said:
Formally, neither is defined.

Could you explain me further, why formally, neither is defined? (Thinking)

I like Serena said:
Which x? :confused:
From $\{ <x,1>, <x,2>: x \in \mathbb{Z} \}$.. :confused:
 

Related to What is the cartesian product of two sets?

1. What is a Cartesian product?

A Cartesian product is a mathematical operation that combines two sets of elements to create a new set of ordered pairs. It is represented by the symbol x and is often used in set theory and algebra.

2. How is a Cartesian product calculated?

To calculate a Cartesian product, you multiply each element in the first set by each element in the second set. For example, if set A = {1, 2} and set B = {3, 4}, the Cartesian product A x B would be {(1,3), (1,4), (2,3), (2,4)}.

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

A Cartesian product involves combining elements from two sets to create a new set of ordered pairs, whereas a cross product involves combining vectors in a multi-dimensional space to create a new vector. They are both used in different mathematical contexts.

4. What is the purpose of a Cartesian product?

The purpose of a Cartesian product is to create a new set of ordered pairs from two sets of elements. This can be useful in solving mathematical problems, creating data tables, and analyzing relationships between different sets of data.

5. Can a Cartesian product be applied to more than two sets?

Yes, a Cartesian product can be applied to any number of sets. For example, if set A = {1, 2}, set B = {3, 4}, and set C = {5, 6}, the Cartesian product A x B x C would be {(1,3,5), (1,3,6), (1,4,5), (1,4,6), (2,3,5), (2,3,6), (2,4,5), (2,4,6)}.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
18
Views
3K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
892
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
10
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
9
Views
1K
Back
Top