In
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, a Sturmian word (Sturmian sequence or billiard sequence), named after
Jacques Charles François Sturm Jacques Charles François Sturm (29 September 1803 – 15 December 1855) was a French mathematician.
Life and work
Sturm was born in Geneva (then part of France) in 1803. The family of his father, Jean-Henri Sturm, had emigrated from Strasbourg ...
, is a certain kind of infinitely long
sequence of characters. Such a sequence can be generated by considering a game of
English billiards
English billiards, called simply billiards in the United Kingdom and in many former British colonies, is a cue sport that combines the aspects of carom billiards and pool. Two (one white and one yellow) and a red are used. Each player or team us ...
on a square table. The struck ball will successively hit the vertical and horizontal edges labelled 0 and 1 generating a sequence of letters. This sequence is a Sturmian word.
Definition
Sturmian sequences can be defined strictly in terms of their combinatoric properties or geometrically as
cutting sequence
In digital geometry, a cutting sequence is a sequence of symbols whose elements correspond to the individual grid lines crossed ("cut") as a curve crosses a square grid.
Sturmian words are a special case of cutting sequences where the curves ar ...
s for lines of irrational slope or codings for
irrational rotation
In the mathematical theory of dynamical systems, an irrational rotation is a map
: T_\theta : ,1\rightarrow ,1\quad T_\theta(x) \triangleq x + \theta \mod 1
where ''θ'' is an irrational number. Under the identification of a circle wit ...
s. They are traditionally taken to be infinite sequences on the alphabet of the two symbols 0 and 1.
Combinatorial definitions
Sequences of low complexity
For an infinite sequence of symbols ''w'', let ''σ''(''n'') be the
complexity function of ''w''; i.e., ''σ''(''n'') = the number of distinct
contiguous subwords (factors) in ''w'' of length ''n''. Then ''w'' is Sturmian if ''σ''(''n'') = ''n'' + 1 for all ''n''.
Balanced sequences
A set ''X'' of binary strings is called ''balanced'' if the
Hamming weight
The Hamming weight of a string is the number of symbols that are different from the zero-symbol of the alphabet used. It is thus equivalent to the Hamming distance from the all-zero string of the same length. For the most typical case, a string o ...
of elements of ''X'' takes at most two distinct values. That is, for any
, ''s'',
1 = ''k'' or , ''s'',
1 = ''k where , ''s'',
1 is the number of 1s in ''s''.
Let ''w'' be an infinite sequence of 0s and 1s and let
denote the set of all length-''n'' subwords of ''w''. The sequence ''w'' is Sturmian if
is balanced for all ''n'' and ''w'' is not eventually periodic.
Geometric definitions
Cutting sequence of irrational
Let ''w'' be an infinite sequence of 0s and 1s. The sequence ''w'' is Sturmian if for some
and some irrational
, ''w'' is realized as the
cutting sequence
In digital geometry, a cutting sequence is a sequence of symbols whose elements correspond to the individual grid lines crossed ("cut") as a curve crosses a square grid.
Sturmian words are a special case of cutting sequences where the curves ar ...
of the line
.
Difference of Beatty sequences
Let ''w'' = (''w''
''n'') be an infinite sequence of 0s and 1s. The sequence ''w'' is Sturmian if it is the difference of non-homogeneous
Beatty sequence
In mathematics, a Beatty sequence (or homogeneous Beatty sequence) is the sequence of integers found by taking the floor of the positive multiples of a positive irrational number. Beatty sequences are named after Samuel Beatty, who wrote about th ...
s, that is, for some
and some irrational
:
for all
or
:
for all
.
Coding of irrational rotation
For
, define
by
. For
define the ''θ''-coding of ''x'' to be the sequence (''x''
''n'') where
:
Let ''w'' be an infinite sequence of 0s and 1s. The sequence ''w'' is Sturmian if for some
and some irrational
, ''w'' is the ''θ''-coding of ''x''.
Discussion
Example
A famous example of a (standard) Sturmian word is the Fibonacci word;
its slope is
, where
is the golden ratio.
Balanced aperiodic sequences
A set ''S'' of finite binary words is ''balanced'' if for each ''n'' the subset ''S''
''n'' of words of length ''n'' has the property that the
Hamming weight
The Hamming weight of a string is the number of symbols that are different from the zero-symbol of the alphabet used. It is thus equivalent to the Hamming distance from the all-zero string of the same length. For the most typical case, a string o ...
of the words in ''S''
''n'' takes at most two distinct values. A balanced sequence is one for which the set of factors is balanced. A balanced sequence has at most ''n''+1 distinct factors of length ''n''.
An aperiodic sequence is one which does not consist of a finite sequence followed by a finite cycle. An aperiodic sequence has at least ''n'' + 1 distinct factors of length ''n''.
[ A sequence is Sturmian if and only if it is balanced and aperiodic.][
]
Slope and intercept
A sequence
In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms''). The number of elements (possibly infinite) is calle ...
over is a Sturmian word if and only if there exist two real number
In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every real ...
s, the ''slope'' and the ''intercept'' , with irrational
Irrationality is cognition, thinking, talking, or acting without inclusion of rationality. It is more specifically described as an action or opinion given through inadequate use of reason, or through emotional distress or cognitive deficiency. T ...
, such that
:
for all . Thus a Sturmian word provides a discretization
In applied mathematics, discretization is the process of transferring continuous functions, models, variables, and equations into discrete counterparts. This process is usually carried out as a first step toward making them suitable for numerical ...
of the straight line with slope and intercept ''ρ''. Without loss of generality, we can always assume , because for any integer ''k'' we have
:
All the Sturmian words corresponding to the same slope have the same set of factors; the word corresponding to the intercept is the standard word or characteristic word of slope .[ Hence, if , the characteristic word is the ]first difference
In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a paramete ...
of the Beatty sequence
In mathematics, a Beatty sequence (or homogeneous Beatty sequence) is the sequence of integers found by taking the floor of the positive multiples of a positive irrational number. Beatty sequences are named after Samuel Beatty, who wrote about th ...
corresponding to the irrational number .
The standard word is also the limit of a sequence of words defined recursively as follows:
Let