Exact solution of linear equations usingP-adic expansions
- Cite this article as:
- Dixon, J.D. Numer. Math. (1982) 40: 137. doi:10.1007/BF01459082
- 347 Downloads
A method is described for computing the exact rational solution to a regular systemAx=b of linear equations with integer coefficients. The method involves: (i) computing the inverse (modp) ofA for some primep; (ii) using successive refinements to compute an integer vector\(\bar x\) such that\(A\bar x \equiv b\) (modpm) for a suitably large integerm; and (iii) deducing the rational solutionx from thep-adic approximation\(\bar x\). For matricesA andb with entries of bounded size and dimensionsn×n andn×1, this method can be implemented in timeO(n3(logn)2) which is better than methods previously used.