Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to write $\{(i, x, y) \mid (i,x) \in \{(1,1), (2,1), (2,2)\}\}$ where $y$ could be any (integer) value. Is there a shorter way to write that...

Also for $\{(i, x, y) \mid i = 2, x = 1\}$, can we write $\{(2, 1, y)\}$ which looks like a singleton?

share|cite|improve this question
up vote 2 down vote accepted

$$\{(i, x, y) \mid y \in \mathbb{Z}, (i,x) \in \{(1,1), (2,1), (2,2)\} \}$$

For second one

$$ \{ \hspace{3pt} (2, 1, y) \mid \hspace{3pt} y \in \mathbb{Z} \}$$

share|cite|improve this answer

For your first set, you could use the notation for cartesian products, and write $\{(1, 1), (2, 1), (2, 2)\} \times \mathbb{Z}$. (If you interpret this literally, its elements look like $((2, 2), 42)$, so you might want to note that you're identifying this with $(2, 2, 42)$.)

Likewise, for your second set, you can write $\{(2, 1)\} \times \mathbb{Z}$. Alternatively, you can abuse notation a bit, and write $(2, 1) \times \mathbb{Z}$, or $(2, 1, \mathbb{Z})$.

share|cite|improve this answer

The second is easy: $\{2\} \times \{1\} \times \mathbb{Z}$. For the first, you could write $\{(1,2),(2,1),(2,2)\}\times \mathbb{Z}$ if you're willing to identify $((i,x),y)$ with $(i,x,y)$.

Or for the second: $\{(2,1,y):\;y\in\mathbb{Z}\}$

share|cite|improve this answer

Not exceptionally better, but your set is

$$\{1,2\} \times \{1,2\} \times \mathbb{Z}$$

The set $\{(2,1,y) | y \in \mathbb{Z}\}$ is pretty compact notation as it is.

share|cite|improve this answer
The first proposition is wrong. – Did Mar 3 '12 at 20:34
Ah, true enough. I didn't notice that $(1,2,y)$ is not valid. – Kurtis Zimmerman Mar 3 '12 at 21:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.