Definition:Sequence
From ProofWiki
Contents |
[edit] Informal Definition
A sequence is a set of objects which is listed in a specific order, one after another.
Thus one can identify the elements of a sequence as being the first, the second, the third, ... the
th, and so on.
[edit] Formal Definition
A sequence is a mapping whose domain is a subset of
.
It can be seen that a sequence is an instance of a family of elements indexed by
.
[edit] Terms
The elements of a sequence are known as its terms.
[edit] Finite Sequence
A finite sequence is a sequence whose domain is finite.
[edit] Length of a Sequence
The length of a finite sequence is the number of terms it contains, or equivalently, the cardinality of its domain.
[edit] Sequence of n Terms
A sequence of
terms is a sequence whose domain has
elements.
Such a sequence is also known as an ordered n-tuple.
[edit] Null Sequence
A null sequence (or empty sequence) is one containing no terms.
Thus it is a mapping from
to
and therefore is null.
[edit] Infinite Sequence
An infinite sequence is a sequence whose domain is infinite.
[edit] Codomain
The codomain of a sequence can be elements of a set of any objects.
If the codomain of a sequence
is
, then the sequence is said to be a sequence of elements of
, or a sequence in
.
[edit] Rational Sequence
A rational sequence is a (usually) infinite sequence whose codomain is the set of rational numbers
.
[edit] Real Sequence
A real sequence is a (usually) infinite sequence whose codomain is the set of real numbers
.
[edit] Notation
The notation for a sequence is as follows.
If
is a sequence, then a symbol, for example "
", is chosen to represent elements of this sequence.
Then for each
,
is denoted
, and
itself is denoted
.
Any expression can be used to denote the domain of
in place of
.
The set
is usually understood to be the set
.
If this is the case, then it is usual to write
as
or even as
if brevity and simplicity improve clarity.
[edit] Sequence of Distinct Terms
A sequence of distinct terms of
is an injection from a subset of
into
.
A sequence
is a sequence of distinct terms iff
for all
such that
.
[edit] Equality of Sequences
Let
and
be two sequences:
Then
iff:
-
;
-
[edit] Notational Variants
Notation varies. Common variants for
are:
-
;
-
(this one is not recommended though, because of the implication that the order of the terms does not matter).
,

