HOME

TheInfoList



OR:

In mathematics, the Zassenhaus algorithm is a method to calculate a
basis Basis may refer to: Finance and accounting * Adjusted basis, the net cost of an asset after adjusting for various tax-related items *Basis point, 0.01%, often used in the context of interest rates * Basis trading, a trading strategy consisting ...
for the intersection and sum of two subspaces of a
vector space In mathematics and physics, a vector space (also called a linear space) is a set whose elements, often called '' vectors'', may be added together and multiplied ("scaled") by numbers called ''scalars''. Scalars are often real numbers, but can ...
. 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 d ...
s.


Algorithm


Input

Let be a vector space and , two finite-dimensional subspaces of with the following
spanning set In mathematics, the linear span (also called the linear hull or just span) of a set of vectors (from a vector space), denoted , pp. 29-30, §§ 2.5, 2.8 is defined as the set of all linear combinations of the vectors in . It can be characterized ...
s: :U = \langle u_1, \ldots, u_n\rangle and :W = \langle w_1, \ldots, w_k\rangle. Finally, let B_1, \ldots, B_m be
linearly independent In the theory of vector spaces, a set of vectors is said to be if there is a nontrivial linear combination of the vectors that equals the zero vector. If no such linear combination exists, then the vectors are said to be . These concepts are ...
vectors so that u_i and w_i can be written as :u_i = \sum_^m a_B_j and :w_i = \sum_^m b_B_j.


Output

The algorithm computes the base of the sum U + W and a base of the intersection U \cap W.


Algorithm

The algorithm creates the following block matrix of size ((n+k) \times (2m)): :\begin a_&a_&\cdots&a_&a_&a_&\cdots&a_\\ \vdots&\vdots&&\vdots&\vdots&\vdots&&\vdots\\ a_&a_&\cdots&a_&a_&a_&\cdots&a_\\ b_&b_&\cdots&b_&0&0&\cdots&0\\ \vdots&\vdots&&\vdots&\vdots&\vdots&&\vdots\\ b_&b_&\cdots&b_&0&0&\cdots&0 \end Using
elementary row operations In mathematics, an elementary matrix is a matrix which differs from the identity matrix by one single elementary row operation. The elementary matrices generate the general linear group GL''n''(F) when F is a field. Left multiplication (pre-multi ...
, this matrix is transformed to the
row echelon form In linear algebra, a matrix is in echelon form if it has the shape resulting from a Gaussian elimination. A matrix being in row echelon form means that Gaussian elimination has operated on the rows, and column echelon form means that Gaussian ...
. Then, it has the following shape: :\begin c_&c_&\cdots&c_&\bullet&\bullet&\cdots&\bullet\\ \vdots&\vdots&&\vdots&\vdots&\vdots&&\vdots\\ c_&c_&\cdots&c_&\bullet&\bullet&\cdots&\bullet\\ 0&0&\cdots&0&d_&d_&\cdots&d_\\ \vdots&\vdots&&\vdots&\vdots&\vdots&&\vdots\\ 0&0&\cdots&0&d_&d_&\cdots&d_\\ 0&0&\cdots&0&0&0&\cdots&0\\ \vdots&\vdots&&\vdots&\vdots&\vdots&&\vdots\\ 0&0&\cdots&0&0&0&\cdots&0 \end Here, \bullet stands for arbitrary numbers, and the vectors (c_, c_, \ldots, c_) for every p \in \ and (d_, \ldots, d_) for every p\in \ are nonzero. Then (y_1, \ldots, y_q) with :y_i := \sum_^m c_B_j is a basis of U+W and (z_1, \ldots, z_\ell) with :z_i := \sum_^m d_B_j is a basis of U \cap W.


Proof of correctness

First, we define \pi_1 : V \times V \to V, (a, b) \mapsto a to be the projection to the first component. Let H:=\+\ \subseteq V\times V. Then \pi_1(H) = U+W and H\cap(0\times V)=0\times(U\cap W). Also, H \cap (0 \times V) is the
kernel Kernel may refer to: Computing * Kernel (operating system), the central component of most operating systems * Kernel (image processing), a matrix used for image convolution * Compute kernel, in GPGPU programming * Kernel method, in machine learn ...
of _H, the projection restricted to . Therefore, \dim(H) = \dim(U+W)+\dim(U\cap W). The Zassenhaus algorithm calculates a basis of . In the first columns of this matrix, there is a basis y_i of U+W. The rows of the form (0, z_i) (with z_i \neq 0) are obviously in H \cap (0 \times V). Because the matrix is in
row echelon form In linear algebra, a matrix is in echelon form if it has the shape resulting from a Gaussian elimination. A matrix being in row echelon form means that Gaussian elimination has operated on the rows, and column echelon form means that Gaussian ...
, they are also linearly independent. All rows which are different from zero ((y_i, \bullet) and (0, z_i)) are a basis of , so there are \dim(U \cap W) such z_is. Therefore, the z_is form a basis of U \cap W.


Example

Consider the two subspaces U = \left\langle \left( \begin 1\\ -1 \\ 0 \\ 1 \end \right), \left( \begin 0 \\ 0 \\ 1 \\ -1 \end \right) \right\rangle and W = \left\langle \left( \begin 5 \\ 0 \\ -3 \\ 3 \end \right), \left( \begin 0 \\ 5 \\ -3 \\ -2 \end \right) \right\rangle of the vector space \mathbb^4. Using the standard basis, we create the following matrix of dimension (2 + 2) \times (2 \cdot 4): : \left( \begin 1 & -1 & 0 & 1 & & 1 & -1 & 0 & 1 \\ 0&0&1&-1& &0&0&1&-1 \\ \\ 5&0&-3&3& &0&0&0&0 \\ 0&5&-3&-2& &0&0&0&0 \end \right). Using
elementary row operations In mathematics, an elementary matrix is a matrix which differs from the identity matrix by one single elementary row operation. The elementary matrices generate the general linear group GL''n''(F) when F is a field. Left multiplication (pre-multi ...
, we transform this matrix into the following matrix: : \left( \begin 1 & 0 & 0 & 0 & & \bullet & \bullet & \bullet & \bullet \\ 0&1&0&-1& &\bullet&\bullet&\bullet&\bullet\\ 0&0&1&-1& &\bullet&\bullet&\bullet&\bullet\\ \\ 0&0&0&0& &1&-1&0&1 \end \right) (Some entries have been replaced by "\bullet" because they are irrelevant to the result.) Therefore \left( \left(\begin 1\\0\\0\\0\end \right), \left( \begin 0\\1\\0\\-1\end \right), \left( \begin 0\\0\\1\\-1\end\right) \right) is a basis of U+W, and \left( \left(\begin 1\\-1\\0\\1\end\right) \right) is a basis of U \cap W.


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 over a field . A Gröbn ...


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