What is the operator priority in set theory?

1.5k Views Asked by At

Say I have three arbitrary sets $A,B,C$.

Which statement is true ?

$A \times B \cup C = (A \times B) \cup C $ $\quad $ or $\quad$ $A \times B \cup C = A \times (B \cup C) $

And the same question for Union and Intersection.

Which statement is true ?

$A \cap B \cup C = (A \cap B) \cup C $ $\quad $ or $\quad$ $A \cap B \cup C = A \cap (B \cup C) $

1

There are 1 best solutions below

1
On BEST ANSWER

There's no universally adopted convention about this.

Since both $\cap$ and $\times$ are generally viewed as "multiplication-like" and $\cup$ is "addition-like", most readers would probably, if they had to choose, interpret your expressions as $(A\times B)\cup C$ and $(A\cap B)\cup C$.

But you can't really rely on that. It is strongly recommended to use explicit parentheses when writing expressions like these to avoid ambiguity.