Lazebnik 1996
Lazebnik 1996
On Systems ofLinear
DiophantineEquations
FELIX LAZEBNIK
ofDelaware
University
Newark, DE 19716
LAR=D=diag(dl,d2,..., ds,0...,0),
wheredi > 0,i=1,. . .,s, and dildid+,i = 1,..., s - 1.
A proofcan be found,e.g., in [14] or [8]. The idea is to use elementaryoperations
of rowsand columnsof A. MatricesL and R correspondto compositions of these
operations.Though matricesL and R in Theorem 1 mayvary,the matrixD is
uniquelydefinedby A and it is called the Smithnormalformof A.
Let us noteimmediately thatTheorem1 can be used to answerquestion(*). Given
Ax = b, rewriteit as Dy= c withRy= x, LAR = D andc = Lb. But the solutionto
the diagonalsystemDy = c is easy. More detailsand a numericalexampleare given
in the Applicationssectionof thispaper.
The questionoffinding an efficient
algorithm forcomputing theSmithnormalform
of an integermatrixis not trivial.It is not clear that the direct applicationof
elementary operationsof rowsand columnsleads to a polynomial-time algorithm:it is
conceivablethatthe integersget too large.For moredetails,see [11] and [3].
With notationsas in Proposition2, one can reduce the solutionof the system
Ax = b to a solutionof Dy = c by performing elementary transformations(over7) of
rowsand columnsof matrixA augmentedby vectorb. MatricesL and R can be
constructedby multiplying matricescorresponding to these transformations.
System
Dy = c has a solutionifand onlyif c,+l = *- = cm= 0, and dilci fori =1,.. ., s. A
general solutionof Dy =c can be given in the formy = (y1,.. . y, t1... tms),
where yi= cdi, i = 1,.. ., s, and t1,.. . , tm_-are freeintegerparameteTs. Then the
generalsolutionof Ax = b is just Ry. Clearly,we mayassumethateach equationis
reducedby the greatestcommondivisorof the coefficients of thevariables.
equationsAx = b, where
EXAMPLE. Solve the systemof diophantine
A= ( 2 4
6) x= (X2), and b 17
0o 8) R2 ( -2 0) (I= 0 14
Ri=| 0
O 0 R2= 0 1 0 , R3=|O 1 0l
and c = Lb =(47-
0O 1 2 17 -47+2t1
x= 1 18 32 -47 = -829+32t1 ,tEV Z
0 -5 -9) t, 235 - 9t1
The volumev(T) of T is definedin the usual way,as the squarerootof the absolute
value of the determinant of an m x m matrix
whose i-throwis the coordinatevector
of si in the standardbasis.ThoughT itselfdependson a particularset of generators
of L, thevolumeof T does not!
PROPOSITION5. Let S = {sl,.... Sm) and U= {ul,... ,uj be twosetsof linearly
independentvectorswhichgeneratethe same latticeL. Then m = t and v(T(S)) =
v(T(U)).
Proof We leave it to thereader.In case ofdifficulties,
lookthrough
[13, pp. 30-33
and pp. 168-1691. l
REFERE NCES
1. Z. I. Borevichand I. R. Sharfarevitch,
Numnber Theory,AcademicPress,1966.
2. N. Bourbaki,Elementsof Mathematics: AlgebraI, Chapters1-3, Hermann,Paris,1974;
N. Bourbaki, Elementsof Mathematics:Algebra II, Chapters 4-7, Springer-Verlag, Berlin and
New York,1989.
3. T.-W. J. Chou and G. E. Collins, Algorithms for the solutionof systemsof linear Diophantine
equations,SIAM J. Computing11 (1982), 687-708.
4. L. E. Dickson,Historyof the Theoryof Numbers,Volume2, G. E. Stechert& Co., New York,1934.
5. G. Frobenius,Theorie der linearenFormenmitganzen Coefficienten, Jour.pir Math.,86 (1878),
146-208.
6. G. Frobenius und L. Stickelberger, Ober Gruppenvon Vertauschbaren Elementen,J. de Crelle
LXXXVI,(1879), 217.
7. M. Hall, Jr.,ComnbinatorialTheory,Second Ed., JohnWiley& Sons,New York,1986.
8. N. Jacobson,Basic AlgebraI, W. H. Freemanand Co., San Francisco,1974.
TheGoldenRatiois LessThan7T2/6
JAMESD. HARPER
CentralWashingtonUniversity
WA 98926
Ellensburg,
I
(E n(n + ) = I12 = S(S -1).
<11X11211y112