|
|
|
|
Berlekamp-Massey algorithm
|
(Definition)
|
|
|
The Berlekamp-Massey algorithm is used for finding the minimal polynomial of a linearly recurrent sequence. The algorithm itself is presented at the end of this article.
Definition 1 Suppose the infinite sequence with elements from a field has the property that there exist constants
in such that, for all ,
Then is called a linearly recurrent sequence.
Definition 2 Given a linearly recurrent sequence , suppose
with
satisfy, for all
Then the polynomial
is called an annihilator for .
Proposition 1 The annihilators of form an ideal of .
To find the minimal polynomial, we need to be given an upper bound on its degree; having done so, the minimal polynomial is uniquely determined by the first elements of (since we need to get equations to solve for the unknowns
).
There is another way to determine the minimal polynomial, originally presented by Dornstetter, which uses the Euclidean Algorithm. It can be shown that the characteristic polynomial of a sequence is the unique monic polynomial of least degree for which the infinite product
has finitely many nonzero terms. (In fact, the nonzero terms will have coefficients up to where is the degree of ).
We can rewrite this as
where is a remainder polynomial of degree < , and is a quotient polynomial. Denote by the sum
.
This is where the Euclidean Algorithm comes in; if we take the GCD of and , keeping track of remainders, we get two sequences
such that
forms a series of polynomials whose degree is decreasing; as soon as this degree is less than , we have the needed polynomials with
.
There is more info about the Extended Euclidean Algorithm in “Modern Computer Algebra” by von zur Gathen and Gerhard.
(Berlekamp's algorithm proper to come)
The original algorithm is from Algebraic Coding Theory by Elwyn R. Berlekamp, McGraw-Hill, 1968. Its application to linearly recurrent sequences was noted by J.L.Massey, in “Shift-register synthesis and BCH decoding”, 1969.
|
"Berlekamp-Massey algorithm" is owned by mathcam. [ full author list (2) | owner history (1) ]
|
|
(view preamble)
Cross-references: application, theory, algebraic, decreasing, series, gcd, sum, quotient, remainder, coefficients, terms, product, monic polynomial, characteristic polynomial, Euclidean algorithm, equations, upper bound, degree, minimal, generator, monic, principal ideal domain, ideal, polynomial, property, field, infinite, algorithm, sequence, minimal polynomial
There are 6 references to this entry.
This is version 4 of Berlekamp-Massey algorithm, born on 2004-07-22, modified 2005-04-14.
Object id is 6015, canonical name is BerlekampMasseyAlgorithm.
Accessed 21765 times total.
Classification:
| AMS MSC: | 15A03 (Linear and multilinear algebra; matrix theory :: Vector spaces, linear dependence, rank) | | | 11B37 (Number theory :: Sequences and sets :: Recurrences) |
|
|
|
|
|
|
Pending Errata and Addenda
|
|
|
|
|
|
|
|
|
|
|