Content deleted Content added
m Reverted edits by 60.191.119.58 (talk) to last version by ClueBot NG |
fix link |
||
Line 19:
The simplest notational approach of this type, which is feasible only for fairly small sets, is to enumerate the elements exhaustively. Thus the set of suits in a standard deck of playing cards is denoted by {♠, <span style="color:red">♦</span>, <span style="color:red">♥</span>, ♣} and the set of even [[prime numbers]] is denoted by {{math|{2}}}. This approach also provides the notation {{math|{}}} for the empty set.
The [[semantics]] of the term ''set'' imposes certain [[syntactic]] constraints on these notations. The only information that is fundamental for a set is which particular objects are, or are not, elements. As a result, the order in which elements appear in an enumeration is irrelevant: {{math|{''π'', 6, 1/2}}} and {{math|{1/2, ''π'', 6}}} are two enumerations of a single set. Likewise, repeated mention of an element is also irrelevant, so {{math|{1, 2, 2, 3, 3, 3} {{=}} {1, 2, 3}}} To deal with collections for which members' multiplicity ''is'' significant, there is a generalization of sets called ''[[
A variant of this explicitly exhaustive enumeration uses ranges of elements and features the [[ellipsis]]. Thus the set of the first ten natural numbers is {{math|{1, 2, 3, ..., 10}}}. Here, of course, the ellipsis means "and so forth." Note that wherever an ellipsis is used to denote a range, it is punctuated as though it were an element of the set. If either extreme of a range is indeterminate, it may be denoted by a [[mathematical expression]] giving a formula to compute it. As an example, if {{math|''n''}} is known from context to be a positive integer, then the set of the first {{math|''n''}} [[square number|perfect squares]] may be denoted by {{math|{1, ..., ''n''<sup>2</sup>}}}.
Some [[infinite
A more powerful mechanism for denoting a set in terms of its elements is [[set-builder notation]]. Here the general pattern is {{math|{''x'' : ''P''(''x'')}}}, which denotes the set of all elements {{math|''x''}} (from some [[universal set]]) for which the assertion {{math|''P''(''x'')}} about {{math|''x''}} is true. For example, when understood as a set of points, the circle with radius {{math|''r''}} and center {{math|(''a'', ''b'')}}, may be denoted as {{math|{(''u'', ''v'') : (''u''−''a'')<sup>2</sup> + (''v''-''b'')<sup>2</sup> {{=}} ''r''<sup>2</sup>}}}.
|