All Topics  
Sequence

 

   Email Print
   Bookmark   Link






 

Sequence



 
 
In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, a sequence is an ordered list of objects (or events). Like a set, it contains members
Element (mathematics)

In mathematics, an element or member of a Set is any one of the distinct objects that make up that set....
 (also called elements or terms), and the number of terms (possibly infinite) is called the length of the sequence. Unlike a set, order matters, and the exact same elements can appear multiple times at different positions in the sequence.

For example, (C, R, Y) is a sequence of letters that differs from (Y, C, R), as the ordering matters.






Discussion
Ask a question about 'Sequence'
Start a new discussion about 'Sequence'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, a sequence is an ordered list of objects (or events). Like a set, it contains members
Element (mathematics)

In mathematics, an element or member of a Set is any one of the distinct objects that make up that set....
 (also called elements or terms), and the number of terms (possibly infinite) is called the length of the sequence. Unlike a set, order matters, and the exact same elements can appear multiple times at different positions in the sequence.

For example, (C, R, Y) is a sequence of letters that differs from (Y, C, R), as the ordering matters. Sequences can be finite
Finite set

In mathematics, finite set is a Set that has a finite number of element . For example,is a finite set with five elements. The number of elements of a finite set is a natural number , and is called the cardinality of the set....
, as in this example, or infinite
Infinite set

In set theory, an infinite set is a Set that is not a finite set. Infinite sets may be countable set or uncountable set. Some examples are:* the set of all integers, , is a countably infinite set; and...
, such as the sequence of all even
Even and odd numbers

In mathematics, the parity of an object states whether it is even or odd.This concept begins with integers. An even number is an integer that is "evenly divisible" by 2, i.e., divisible by 2 without remainder; an odd number is an integer that is not evenly divisible by 2....
 positive integer
Integer

The integers are natural numbers including 0 and their negative and non-negative numberss . They are numbers that can be written without a fractional or decimal component, and fall within the set ....
s (2, 4, 6,...).

Examples and notation

What are notions of sequences in mathematics, some of which (e.g., exact sequence
Exact sequence

In mathematics, especially in homological algebra and other applications of abelian category theory, as well as in differential geometry and group theory, an exact sequence is a sequence of objects and morphisms between them such that the of one morphism equals the kernel of the next....
) are not covered by the notations introduced below.

A sequence may be denoted (a1, a2, ...). For shortness, the notation (an) is also used.

A more formal definition of a finite sequence with terms in a set S is a function
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
 from to S for some n = 0. An infinite sequence in S is a function from (the set of natural number
Natural number

In mathematics, a natural number can mean either an element of the Set = *n = = ? = ? ...
s without 0) to S.

Sequences may also start from 0, so the first term in the sequence is then a0.

A sequence of a fixed-length n is also called an n-tuple. Finite sequences include the empty sequence that has no elements.

A function from all integers into a set is sometimes called a bi-infinite sequence, since it may be thought of as a sequence indexed by negative integers grafted onto a sequence indexed by positive integers.

Types and properties of sequences

A subsequence
Subsequence

In mathematics, a subsequence is a sequence that can be derived from another sequence by deleting some elements without changing the order of the remaining elements....
 of a given sequence is a sequence formed from the given sequence by deleting some of the elements without disturbing the relative positions of the remaining elements.

If the terms of the sequence are a subset of an ordered set
Partially ordered set

In mathematics, especially order theory, a partially ordered set formalizes the intuitive concept of an ordering, sequencing, or arrangement of the elements of a Set ....
, then a monotonically increasing sequence is one for which each term is greater than or equal to the term before it; if each term is strictly
Strict

In mathematics writing, the adjective strict is used to modify technical terms which have multiple meanings. It indicates that the exclusive meaning of the term is to be understood....
 greater than the one preceding it, the sequence is called strictly monotonically increasing. A monotonically decreasing sequence is defined similarly. Any sequence fulfilling the monotonicity
Monotonic function

In mathematics, a monotonic function is a function which preserves the given order. This concept first arose in calculus, and was later generalized to the more abstract setting of order theory....
 property is called monotonic or monotone. This is a special case of the more general notion of monotonic function
Monotonic function

In mathematics, a monotonic function is a function which preserves the given order. This concept first arose in calculus, and was later generalized to the more abstract setting of order theory....
.

The terms non-decreasing and non-increasing are used in order to avoid any possible confusion with strictly increasing and strictly decreasing, respectively.

If the terms of a sequence are integer
Integer

The integers are natural numbers including 0 and their negative and non-negative numberss . They are numbers that can be written without a fractional or decimal component, and fall within the set ....
s, then the sequence is an integer sequence
Integer sequence

In mathematics, an integer sequence is a sequence of integers.An integer sequence may be specified explicitly by giving a formula for its nth term, or implicitly by giving a relationship between its terms....
. If the terms of a sequence are polynomial
Polynomial

In mathematics, a polynomial is an expression constructed from variables and constants, using the operations of addition, subtraction, multiplication, and constant non-negative whole number exponents....
s, then the sequence is a polynomial sequence
Polynomial sequence

In mathematics, a polynomial sequence is a sequence of polynomials indexed by the nonnegative integers 0, 1, 2, 3, ..., in which each index is equal to the degree of the corresponding polynomial....
.

If S is endowed with a topology
Topology

Topology is a major area of mathematics that has emerged through the development of concepts from geometry and set theory, such as those of space, dimension, shape, transformation and others....
, then it becomes possible to consider convergence of an infinite sequence in S. Such considerations involve the concept of the limit of a sequence
Limit of a sequence

The limit of a sequence is one of the oldest concepts in mathematical analysis. It provides a rigorous definition of the idea of a sequence converging towards a point called the limit....
.

Sequences in analysis

In analysis
Mathematical analysis

Mathematical analysis, which mathematicians refer to simply as analysis, has its beginnings in the rigorous formulation of calculus. It is the branch of mathematics most explicitly concerned with the notion of a limit , whether the limit of a sequence or the limit of a function....
, when talking about sequences, one will generally consider sequences of the form or which is to say, infinite sequences of elements indexed by natural number
Natural number

In mathematics, a natural number can mean either an element of the Set = *n = = ? = ? ...
s.

It may be convenient to have the sequence start with an index different from 1 or 0. For example, the sequence defined by xn = 1/log
Logarithm

In mathematics, the logarithm of a number to a given base is the Power or exponent to which the base must be raised in order to produce the number....
(n) would be defined only for n ≥ 2. When talking about such infinite sequences, it is usually sufficient (and does not change much for most considerations) to assume that the members of the sequence are defined at least for all indices large enough, that is, greater than some given N.)

The most elementary type of sequences are numerical ones, that is, sequences of real or complex number
Complex number

In mathematics, the complex numbers are an extension of the real numbers obtained by adjoining an imaginary unit, denoted i, which satisfies:...
s. This type can be generalized to sequences of elements of some vector space
Vector space

File:Vector addition ans scaling.pngA vector space is a mathematical structure formed by a collection of vectors: objects that may be Vector addition together and Scalar multiplication by numbers, called scalar s in this context....
. In analysis, the vector spaces considered are often function space
Function space

In mathematics, a function space is a Set of function s of a given kind from a set X to a set Y. It is called a space because in many applications, it is a topological space or a vector space or both....
s. Even more generally, one can study sequences with elements in some topological space
Topological space

Topological spaces are mathematical structures that allow the formal definition of concepts such as convergence, connected space, and Continuous function ....
.

Series

The sum of terms of a sequence is a series
Series (mathematics)

In mathematics, given an infinite set sequence of numbers , a series is informally the result of adding all those terms together: . These can be written more compactly using the summation symbol ?....
. More precisely, if (x1, x2, x3, ...) is a sequence, one may consider the sequence of partial sums (S1, S2, S3, ...), with Formally, this pair of sequences comprises the series with the terms x1, x2, x3, ..., which is denoted as If the sequence of partial sums is convergent, one also uses the infinite sum notation for its limit. For more details, see series
Series (mathematics)

In mathematics, given an infinite set sequence of numbers , a series is informally the result of adding all those terms together: . These can be written more compactly using the summation symbol ?....
.

Infinite sequences in theoretical computer science

Infinite sequences of digits
Numerical digit

In mathematics and computer science, a digit is a symbol used in numerals , to represent numbers, in Positional notation numeral systems. The name "digit" comes from the fact that the 10 digits of the hands correspond to the 10 symbols of the common base 10 number system, i.e....
 (or characters
Character (computing)

In computer and machine-based telecommunications terminology, a character is a unit of information that roughly corresponds to a grapheme, grapheme-like unit, or symbol, such as in an alphabet or syllabary in the written language form of a natural language....
) drawn from a finite
Finite set

In mathematics, finite set is a Set that has a finite number of element . For example,is a finite set with five elements. The number of elements of a finite set is a natural number , and is called the cardinality of the set....
 alphabet
Alphabet (computer science)

In computer science, an alphabet is a, usually finite, set of characters or digits. The most common alphabet is , the binary alphabet. A finite String is a finite sequence of characters from an alphabet; for instance a binary string is a string drawn from the alphabet ....
 are of particular interest in theoretical computer science
Theoretical computer science

Theoretical computer science is the collection of topics of computer science that focuses on the more abstract, logical and mathematical aspects of computing, such as the theory of computation, analysis of algorithms, and semantics of programming languages....
. They are often referred to simply as sequences (as opposed to finite strings
String (computer science)

In computer programming and some branches of mathematics, a string is an ordered sequence of symbols. These symbols are chosen from a predetermined set or alphabet....
). Infinite binary sequences, for instance, are infinite sequences of bit
Bit

A bit is a binary numeral system numerical digit, taking a value of either 0 or 1. Binary digits are a basic unit of information Computer data storage and transmission in digital computing and digital information theory....
s (characters drawn from the alphabet ). The set C = of all infinite, binary sequences is sometimes called the Cantor space
Cantor space

In mathematics, the term Cantor space is sometimes used to denotethe topological abstraction of the classical Cantor set:A topological space is a...
.

An infinite binary sequence can represent a formal language
Formal language

A formal language is a set of words, i.e. finite string of letters, or symbols. The inventory from which these letters are taken is called the alphabet over which the language is defined....
 (a set of strings) by setting the n th bit of the sequence to 1 if and only if the n th string (in shortlex order
Shortlex order

The shortlex order is an ordering for ordered sets of objects, where the sequences are primarily sorted by cardinality with the shortest sequences first, and sequences of the same length are sorted into lexicographical order....
) is in the language. Therefore, the study of complexity class
Complexity class

In computational complexity theory, a complexity class is a set of problems of related complexity. A typical complexity class has a definition of the form:...
es, which are sets of languages, may be regarded as studying sets of infinite sequences.

An infinite sequence drawn from the alphabet may also represent a real number expressed in the base-b positional number system. This equivalence is often used to bring the techniques of real analysis
Real analysis

Real analysis, or theory of functions of a real variable is a branch of mathematical analysis dealing with the Set of real numbers. In particular, it deals with the analytic function properties of real function and sequences, including convergence and limit s of sequences of real numbers, the calculus of the real numbers, and continu...
 to bear on complexity classes.

Sequences as vectors

Sequences over a field may also be viewed as vectors in a vector space
Vector space

File:Vector addition ans scaling.pngA vector space is a mathematical structure formed by a collection of vectors: objects that may be Vector addition together and Scalar multiplication by numbers, called scalar s in this context....
. Specifically, the set of F-valued sequences (where F is a field
Field (mathematics)

In abstract algebra, a field is an algebraic structure with notions of addition, subtraction, multiplication and division , satisfying certain axioms....
) is a function space
Function space

In mathematics, a function space is a Set of function s of a given kind from a set X to a set Y. It is called a space because in many applications, it is a topological space or a vector space or both....
 (in fact, a product space) of F-valued functions over the set of natural numbers.

In particular, the term sequence space
Sequence space

In functional analysis and related areas of mathematics, a sequence space is a vector space whose elements are infinite sequences of complex numbers....
 usually refers to a linear subspace
Linear subspace

The concept of a linear subspace is important in linear algebra and related fields of mathematics.A linear subspace is usually called simply a subspace when the context serves to distinguish it from other kinds of subspaces....
 of the set of all possible infinite sequences with elements in .

Doubly-infinite sequences

Normally, the term infinite sequence refers to a sequence which is infinite in one direction, and finite in the other -- the sequence has a first element, but no final element (a singly-infinite sequence). A doubly-infinite sequence is infinite in both directions -- it has neither a first nor a final element. Singly-infinite sequences are functions from the natural numbers (N') to some set, whereas doubly-infinite sequences are functions from the integers (Z) to some set.

One can interpret singly infinite sequences as element of the semigroup ring
Group ring

In algebra, a group ring is a free module and at the same time a Ring , constructed in a natural way from any given ring and any given Group . As a free module, its ring of scalars is the given ring and its basis is one-to-one with the given group....
 of the natural numbers , and doubly infinite sequences as elements of the group ring
Group ring

In algebra, a group ring is a free module and at the same time a Ring , constructed in a natural way from any given ring and any given Group . As a free module, its ring of scalars is the given ring and its basis is one-to-one with the given group....
 of the integer
Integer

The integers are natural numbers including 0 and their negative and non-negative numberss . They are numbers that can be written without a fractional or decimal component, and fall within the set ....
s . This perspective is used in the Cauchy product
Cauchy product

In mathematics, the Cauchy product, named in honor of Augustin Louis Cauchy, of two sequences , is the discrete convolutionThat is, it is the product of the sequences, considered as elements of the group ring of the natural numbers ....
 of sequences.

Ordinal-indexed sequence

An is a generalization of a sequence. If a is a limit ordinal
Limit ordinal

A limit ordinal is an ordinal number which is neither zero nor a successor ordinal.Various equivalent ways to express this are:*It cannot be reached via the successor ordinal S; in precise terms, we say λ is a limit ordinal if and only if λ > 0 and for any β < λ, there exists γ such that β < γ...
 and X is a set, an a-indexed sequence of elements of X is a function from a to X. In this terminology an ?-indexed sequence is an ordinary sequence.

Sequences and automata

Automata
Automata theory

In theoretical computer science, automata theory is the study of abstract machines and problems which they are able to solve. Automata theory is closely related to formal language theory as the automata are often classified by the class of formal languages they are able to recognize....
 or finite state machine
Finite state machine

A finite state machine or finite state automaton or simply a state machine, is a model of behavior composed of a finite number of state s, transitions between those states, and actions....
s can typically thought of as directed graphs, with edges labeled using some specific alphabet Σ. Most familiar types of automata transition from state to state by reading input letters from Σ, following edges with matching labels; the ordered input for such an automaton forms a sequence called a word (or input word). The sequence of states encountered by the automaton when processing a word is called a run. A nondeterministic automaton may have unlabeled or duplicate out-edges for any state, giving more than one successor for some input letter. This is typically thought of as producing multiple possible runs for a given word, each being a sequence of single states, rather than producing a single run that is a sequence of sets of states; however, 'run' is occasionally used to mean the latter.

See also

  • Net (topology) (a generalization of sequences)
  • Sequence space
    Sequence space

    In functional analysis and related areas of mathematics, a sequence space is a vector space whose elements are infinite sequences of complex numbers....
  • Permutation
    Permutation

    In several fields of mathematics the term permutation is used with different but closely related meanings. They all relate to the notion of mapping the element s of a set to other elements of the same set, i.e., exchanging elements of a set....
  • Recurrence relation
    Recurrence relation

    In mathematics, a recurrence relation is an equation that defines a sequence recursion: each term of the sequence is defined as a Function of the preceding terms....


Types of sequences

  • Cauchy sequence
    Cauchy sequence

    In mathematics, a Cauchy sequence, named after Augustin Cauchy, is a sequence whose elements become arbitrarily close to each other as the sequence progresses....
  • Farey sequence
    Farey sequence

    In mathematics, the Farey sequence of order n is the sequence of completely reduced vulgar fractions between 0 and 1 which, when in lowest terms, have denominators less than or equal to n, arranged in order of increasing size....
  • Thue-Morse sequence
    Thue-Morse sequence

    In mathematics and its applications, the Thue-Morse sequence, or Prouhet-Thue-Morse sequence, is a certain binary sequence whose initial segments alternate ....
  • Look-and-say sequence
    Look-and-say sequence

    In mathematics, the look-and-say sequence is the integer sequence beginning as follows:To generate a member of the sequence from the previous member, read off the digits of the previous member, counting the number of digits in groups of the same digit....
  • Fibonacci sequence
    Fibonacci number

    In mathematics, the Fibonacci numbers are a sequence of numbers named after Leonardo of Pisa, known as Fibonacci . Fibonacci's 1202 book Liber Abaci introduced the sequence to Western European mathematics, although the sequence had been previously described in Indian mathematics....
  • Arithmetic progression
    Arithmetic progression

    In mathematics, an arithmetic progression or arithmetic sequence is a sequence of numbers such that the difference of any two successive members of the sequence is a constant....
  • Geometric progression
    Geometric progression

    In mathematics, a geometric progression, also known as a geometric sequence, is a sequence of numbers where each term after the first is found by multiplying the previous one by a fixed non-zero number called the common ratio....


Related concepts

  • List (computing)
    List (computing)

    In computer science, a list is an ordered Multiset of entity/items.In the context of object-oriented programming languages, a list is defined as an instance of an abstract data type , formalizing the concept of an order theoryed Collection class of entity....
  • Recursion (computer science)
    Recursion (computer science)

    Recursion is a way of thinking about and solving problems. In fact, Recursion_ is one of the central ideas of computer science. Solving a problem using recursion means the solution depends on solutions to smaller instances of the same problem....
  • Tuple
    Tuple

    In mathematics, a tuple is a sequence of a specific number of values, called the components of the tuple. These components can be any kind of mathematical objects, where each component of a tuple is a value of a specified type....

Operations on sequences

  • Limit of a sequence
    Limit of a sequence

    The limit of a sequence is one of the oldest concepts in mathematical analysis. It provides a rigorous definition of the idea of a sequence converging towards a point called the limit....
  • Cauchy product
    Cauchy product

    In mathematics, the Cauchy product, named in honor of Augustin Louis Cauchy, of two sequences , is the discrete convolutionThat is, it is the product of the sequences, considered as elements of the group ring of the natural numbers ....


External links

(free)