Sequences
Sequence
A sequence is a list of things, taken in a certain order. $$ \begin{array}{c} (1, 2, 3, -3, 8) \\ (\text{Among, Us, Impostor}) \end{array} $$
Unlike sets, they are instead denoted using brackets instead of braces.
Important features of sequences: ?
Link to original
- Order of list matters. and are different sequences.
- Repeated occurrences matter. and are different sequences.
Tuple
A tuple is a finite [[Sequence|sequence]].
Two tuples are equal if they have the same length and their corresponding elements are the same:
Link to original
k-Tuple
A is a sequence with $k$ elements, the number $k$ is called the length of the tuple.
Link to originalOrdered pair
An ordered pair is another name for a $2\text{-tuple}$, $$ \boxed{(a, b) = (c, d)} \text{ means that } a = c \text{ and } b = d $$
Link to original
Cartesian product of sets
Cartesian product of sets
The Cartesian product of sets and is the set $$ A \times B = \{ (x, y) | x \in A \text{ and } y \in B \} $$
consists of ordered pairs where and .
For example, let and . Hence, .
Generic Format
The Cartesian product of sets is the set $$ A_1 \times A_2 \times ... \times A_k = \{ (x_1, x_2, ..., x_k) | x_i \in A \text{ for } i = 1, 2, ..., k \} $$
consists of those where
Link to original