Skip to main content
QUICK REVIEW

[Paper Review] A Multivariable Chinese Remainder Theorem

Oliver Knill|arXiv (Cornell University)|Jun 22, 2012
Polynomial and algebraic computationComputer Science22 references6 citations
TL;DR

This paper generalizes the classical Chinese Remainder Theorem to systems of linear modular equations with multiple variables, proving that a solution exists for any right-hand side vector if the moduli are pairwise coprime and each row contains at least one coefficient coprime to its modulus. The method adapts Qin Jiushao’s 13th-century algorithm to iteratively construct solutions using successive lifting, extending the CRT to multivariable Diophantine systems.

ABSTRACT

Using an adaptation of Qin Jiushao's method from the 13th century, it is possible to prove that a system of linear modular equations a(i,1) x(i) + ... + a(i,n) x(n) = b(i) mod m(i), i=1, ..., n has integer solutions if m(i)>1 are pairwise relatively prime and in each row, at least one matrix element a(i,j) is relatively prime to m(i). The Chinese remainder theorem is the special case, where A has only one column.

Motivation & Objective

  • To extend the classical Chinese Remainder Theorem to systems of linear modular equations with multiple variables.
  • To establish sufficient conditions under which such systems have integer solutions for any right-hand side vector.
  • To provide a constructive algorithm based on historical methods—specifically Qin Jiushao’s 'method of finding one'—for solving multivariable modular systems.
  • To demonstrate the method's applicability to both linear and nonlinear polynomial systems modulo pairwise coprime integers.
  • To highlight the historical significance of Qin Jiushao’s algorithm as a precursor to modern computational group theory techniques like Schreier-Sims.

Proposed method

  • Uses a constructive iterative lifting process: solve one equation at a time, then lift the solution to higher moduli using the Chinese Remainder Theorem.
  • At each step, selects a variable with a coefficient coprime to the current modulus and parametrizes the solution along that direction.
  • Employs the group homomorphism $\phi: \mathbb{Z}^n \to \mathbb{Z}_{m_1} \times \cdots \times \mathbb{Z}_{m_n}$, with kernel $L_A$, to analyze solution space structure.
  • Applies the first isomorphism theorem to show that the solution set $\mathcal{X} = \mathbb{Z}^n / L_A$ is isomorphic to the image of $\phi$, ensuring surjectivity under the stated conditions.
  • Constructs solutions via $\vec{x}(t) = \sum t_i (m_1 \cdots m_i) \vec{e}_{j(i)}$, where $j(i)$ is a column with coefficient coprime to $m_i$, ensuring compatibility across moduli.
  • Extends the method to nonlinear systems by using parametric ansatzes (e.g., $\vec{x} = (t,t,t)$) and solving component-wise, lifting solutions step-by-step.

Experimental results

Research questions

  • RQ1Under what conditions does a system of linear modular equations $A\vec{x} \equiv \vec{b} \pmod{\vec{m}}$ have integer solutions when $A$ is $n \times n$ and $\vec{m}$ consists of pairwise coprime integers?
  • RQ2Can Qin Jiushao’s 13th-century algorithm for solving systems of congruences be generalized to multivariable linear systems with arbitrary integer matrices?
  • RQ3Is there a constructive method to find solutions within a bounded parallelepiped of volume $M = m_1 \cdots m_n$?
  • RQ4Can the method be extended to nonlinear polynomial systems modulo pairwise coprime moduli?
  • RQ5What is the historical and algorithmic connection between Qin Jiushao’s method and modern computational group theory algorithms like Schreier-Sims?

Key findings

  • The system $A\vec{x} \equiv \vec{b} \pmod{\vec{m}}$ has a solution for every $\vec{b}$ if the moduli $m_i$ are pairwise coprime and each row of $A$ contains at least one entry $a_{ij}$ coprime to $m_i$.
  • Solutions exist in a fundamental domain $\mathcal{X} = \mathbb{Z}^n / L_A$ of volume $M = m_1 \cdots m_n$, with $L_A$ a lattice in $\mathbb{Z}^n$.
  • A constructive algorithm exists: solve equations sequentially by lifting solutions along directions where coefficients are coprime to the modulus, using successive parametrization with $m_1 \cdots m_i$ scaling.
  • For the example $\begin{bmatrix}101 & 107 \\ 51 & 22 \end{bmatrix} \begin{bmatrix}x \\ y \end{bmatrix} \equiv \begin{bmatrix}3 \\ 7 \end{bmatrix} \pmod{\begin{bmatrix}117 \\ 71 \end{bmatrix}}$, the solution $\vec{x} = \begin{bmatrix}25 \\ 65 \end{bmatrix}$ is found.
  • The lattice of homogeneous solutions $A\vec{x} \equiv \vec{0} \pmod{\vec{m}}$ is spanned by $\begin{bmatrix}73 \\ 47 \end{bmatrix}, \begin{bmatrix}-82 \\ 61 \end{bmatrix}$, confirming the solution space structure.
  • The method extends to nonlinear systems: for $x^2 + y^3 + z^2 \equiv 1 \pmod{5}$, $x^3 + 2y^4 - z^2 \equiv 1 \pmod{7}$, $3x - 2y^3 + 5z^4 \equiv 7 \pmod{11}$, a solution $\vec{x} = (2,72,37)$ is constructed via iterative lifting.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.