In mathematics, the Zassenhaus algorithm
is a method to calculate a
basis for the
intersection
In mathematics, the intersection of two or more objects is another object consisting of everything that is contained in all of the objects simultaneously. For example, in Euclidean geometry, when two lines in a plane are not parallel, their ...
and
sum of two
subspaces of a
vector space
In mathematics and physics, a vector space (also called a linear space) is a set (mathematics), set whose elements, often called vector (mathematics and physics), ''vectors'', can be added together and multiplied ("scaled") by numbers called sc ...
.
It is named after
Hans Zassenhaus, but no publication of this algorithm by him is known.
It is used in
computer algebra system
A computer algebra system (CAS) or symbolic algebra system (SAS) is any mathematical software with the ability to manipulate mathematical expressions in a way similar to the traditional manual computations of mathematicians and scientists. The de ...
s.
Algorithm
Input
Let be a vector space and , two finite-dimensional subspaces of with the following
spanning sets:
:
and
:
Finally, let
be
linearly independent
In the theory of vector spaces, a set of vectors is said to be if there exists no nontrivial linear combination of the vectors that equals the zero vector. If such a linear combination exists, then the vectors are said to be . These concep ...
vectors so that
and
can be written as
:
and
:
Output
The algorithm computes the base of the
sum and a base of the
intersection
In mathematics, the intersection of two or more objects is another object consisting of everything that is contained in all of the objects simultaneously. For example, in Euclidean geometry, when two lines in a plane are not parallel, their ...
.
Algorithm
The algorithm creates the following
block matrix
In mathematics, a block matrix or a partitioned matrix is a matrix that is interpreted as having been broken into sections called blocks or submatrices.
Intuitively, a matrix interpreted as a block matrix can be visualized as the original matrix w ...
of size
:
:
Using
elementary row operations
In mathematics, an elementary matrix is a square matrix obtained from the application of a single elementary row operation to the identity matrix. The elementary matrices generate the general linear group when is a field. Left multiplication ...
, this matrix is transformed to the
row echelon form
In linear algebra, a matrix is in row echelon form if it can be obtained as the result of Gaussian elimination. Every matrix can be put in row echelon form by applying a sequence of elementary row operations. The term ''echelon'' comes from the F ...
. Then, it has the following shape:
:
Here,
stands for arbitrary numbers, and the vectors
for every
and
for every
are nonzero.
Then
with
:
is a basis of
and
with
:
is a basis of
.
Proof of correctness
First, we define
to be the projection to the first component.
Let
Then
and
.
Also,
is the
kernel of
, the projection
restricted to .
Therefore,
.
The Zassenhaus algorithm calculates a basis of . In the first columns of this matrix, there is a basis
of
.
The rows of the form
(with
) are obviously in
. Because the matrix is in
row echelon form
In linear algebra, a matrix is in row echelon form if it can be obtained as the result of Gaussian elimination. Every matrix can be put in row echelon form by applying a sequence of elementary row operations. The term ''echelon'' comes from the F ...
, they are also linearly independent.
All rows which are different from zero (
and
) are a basis of , so there are
such
s. Therefore, the
s form a basis of
.
Example
Consider the two subspaces
and
of the vector space
.
Using the
standard basis
In mathematics, the standard basis (also called natural basis or canonical basis) of a coordinate vector space (such as \mathbb^n or \mathbb^n) is the set of vectors, each of whose components are all zero, except one that equals 1. For exampl ...
, we create the following matrix of dimension
:
:
Using
elementary row operations
In mathematics, an elementary matrix is a square matrix obtained from the application of a single elementary row operation to the identity matrix. The elementary matrices generate the general linear group when is a field. Left multiplication ...
, we transform this matrix into the following matrix:
:
(Some entries have been replaced by "
" because they are irrelevant to the result.)
Therefore
is a basis of
, and
is a basis of
.
See also
*
Gröbner basis
In mathematics, and more specifically in computer algebra, computational algebraic geometry, and computational commutative algebra, a Gröbner basis is a particular kind of generating set of an ideal in a polynomial ring K _1,\ldots,x_n/math> ove ...
References
External links
* {{cite web, url=http://mo.mathematik.uni-stuttgart.de/inhalt/beispiel/beispiel1105/, title=Mathematik-Online-Lexikon: Zassenhaus-Algorithmus, access-date=2012-09-15, language=de
Algorithms
Linear algebra
Eponymous algorithms