Linear equation over a ring

From testwiki
Revision as of 01:13, 20 January 2025 by imported>Voidxor (Fix ref formatting for name consistency (last, first).)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description

In algebra, linear equations and systems of linear equations over a field are widely studied. "Over a field" means that the coefficients of the equations and the solutions that one is looking for belong to a given field, commonly the real or the complex numbers. This article is devoted to the same problems where "field" is replaced by "commutative ring", or "typically Noetherian integral domain".

In the case of a single equation, the problem splits in two parts. First, the ideal membership problem, which consists, given a non-homogeneous equation

a1x1++akxk=b

with a1,,ak and Template:Mvar in a given ring Template:Mvar, to decide if it has a solution with x1,,xk in Template:Mvar, and, if any, to provide one. This amounts to decide if Template:Mvar belongs to the ideal generated by the Template:Math. The simplest instance of this problem is, for Template:Math and Template:Math, to decide if Template:Mvar is a unit in Template:Mvar.

The syzygy problem consists, given Template:Mvar elements a1,,ak in Template:Mvar, to provide a system of generators of the module of the syzygies of (a1,,ak), that is a system of generators of the submodule of those elements (x1,,xk) in Template:Math that are solutions of the homogeneous equation

a1x1++akxk=0.

The simplest case, when Template:Math amounts to find a system of generators of the annihilator of Template:Math.

Given a solution of the ideal membership problem, one obtains all the solutions by adding to it the elements of the module of syzygies. In other words, all the solutions are provided by the solution of these two partial problems.

In the case of several equations, the same decomposition into subproblems occurs. The first problem becomes the submodule membership problem. The second one is also called the syzygy problem.

A ring such that there are algorithms for the arithmetic operations (addition, subtraction, multiplication) and for the above problems may be called a computable ring, or effective ring. One may also say that linear algebra on the ring is effective.

The article considers the main rings for which linear algebra is effective.

Generalities

To be able to solve the syzygy problem, it is necessary that the module of syzygies is finitely generated, because it is impossible to output an infinite list. Therefore, the problems considered here make sense only for a Noetherian ring, or at least a coherent ring. In fact, this article is restricted to Noetherian integral domains because of the following result.[1]

Given a Noetherian integral domain, if there are algorithms to solve the ideal membership problem and the syzygies problem for a single equation, then one may deduce from them algorithms for the similar problems concerning systems of equations.

This theorem is useful to prove the existence of algorithms. However, in practice, the algorithms for the systems are designed directly.

A field is an effective ring as soon one has algorithms for addition, subtraction, multiplication, and computation of multiplicative inverses. In fact, solving the submodule membership problem is what is commonly called solving the system, and solving the syzygy problem is the computation of the null space of the matrix of a system of linear equations. The basic algorithm for both problems is Gaussian elimination.

Properties of effective rings

Let Template:Mvar be an effective commutative ring.

Over the integers or a principal ideal domain

There are algorithms to solve all the problems addressed in this article over the integers. In other words, linear algebra is effective over the integers; see Linear Diophantine system for details.

More generally, linear algebra is effective on a principal ideal domain if there are algorithms for addition, subtraction and multiplication, and

It is useful to extend to the general case the notion of a unimodular matrix by calling unimodular a square matrix whose determinant is a unit. This means that the determinant is invertible and implies that the unimodular matrices are exactly the invertible matrices such all entries of the inverse matrix belong to the domain.

The above two algorithms imply that given Template:Mvar and Template:Mvar in the principal ideal domain, there is an algorithm computing a unimodular matrix

[stuv]

such that

[stuv][ab]=[gcd(a,b)0].

(This algorithm is obtained by taking for Template:Mvar and Template:Mvar the coefficients of Bézout's identity, and for Template:Mvar and Template:Mvar the quotient of Template:Math and Template:Mvar by Template:Math; this choice implies that the determinant of the square matrix is Template:Math.)

Having such an algorithm, the Smith normal form of a matrix may be computed exactly as in the integer case, and this suffices to apply the described in Linear Diophantine system for getting an algorithm for solving every linear system.

The main case where this is commonly used is the case of linear systems over the ring of univariate polynomials over a field. In this case, the extended Euclidean algorithm may be used for computing the above unimodular matrix; see Template:Slink for details.

Over polynomials rings over a field

Template:Expand section

Linear algebra is effective on a polynomial ring k[x1,,xn] over a field Template:Mvar. This has been first proved in 1926 by Grete Hermann.[2] The algorithms resulting from Hermann's results are only of historical interest, as their computational complexity is too high for allowing effective computer computation.

Proofs that linear algebra is effective on polynomial rings and computer implementations are presently all based on Gröbner basis theory.

References

Template:Reflist

  1. Template:Cite journal
  2. Template:Cite journal. English translation in Communications in Computer Algebra 32/3 (1998): 8–30.