4
$\begingroup$

I have an idea about how to do this. I've seen this before so this is what I think. Is this how you refer to a single element in a set?

$$a = \{5, 7, 3, 4\};a_2 = 7$$

Is this correct?

$\endgroup$
4
  • $\begingroup$ I've never seen that notation, and it's a little strange since the sets $a=\{5,7,3,4\}=\{3,4,5,7\}$ are equal. So what is $a_2$? Is it $7$ or $4$, or something else? I would just say "an element $7\in a$" to refer to $7$. $\endgroup$
    – Vika
    Commented Feb 11, 2012 at 2:47
  • 4
    $\begingroup$ No, because sets don't have order and repeats don't matter; as sets, $\{5,7,3,4\}=\{3,5,4,7\}=\{3,3,3,3,5,4,7\}$, which makes the notation ill-defined. Now, if $a$ were an ordered $4$-tuple, $a=(5,7,3,4)$, then it is common to refer to the $i$th entry of the tuple as $a_i$. $\endgroup$ Commented Feb 11, 2012 at 2:48
  • $\begingroup$ @ArturoMagidin Okay, I get it now. $\endgroup$
    – David G
    Commented Feb 11, 2012 at 2:49
  • 1
    $\begingroup$ If $a=[5,7,3,4]$ was a list, then $a_2=7$ is good notation. However, as Vika points out, sets are unordered so referring to the "second element in the set" makes no sense. $\endgroup$
    – Bill Cook
    Commented Feb 11, 2012 at 2:50

1 Answer 1

3
$\begingroup$

You can just refer to it as 7. To say 7 is an element of the set, we write $7 \in \{5,7,3,4 \}$. Usually the order you write elements of sets in doesn't matter.

You can have very big (uncountable) sets where it is not easy to assign a number to each element of the set, for example the set of real numbers (i.e. decimal numbers) $\mathbb{R}$. So there is no (immediate) sensible idea of a "2nd element" of this set, but there is for your example.

$\endgroup$
1
  • $\begingroup$ I should add for posterity that if you know a bit about ordinals and cardinals, it is possible to enumerate sets like $\mathbb{R}$ in such a way that every element can be put into a linear order (i.e. given any number there is a 'next' number, with no other number appearing between those two). $\endgroup$ Commented Jun 2, 2012 at 19:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .