The linear Diophantine equation solvability criterion says that has an integer solution exactly when divides . The Euclidean algorithm gives
Thus , which divides . Therefore
Applying the Euclidean algorithm,
Hence . Since does not divide , the linear Diophantine equation solvability criterion gives
The quadratic form factors as a sum of two squares:
The change of variables
has determinant , so its matrix is a unimodular matrix and it maps bijectively to itself. The original equation is therefore equivalent to
The sum of two squares theorem also decides this systematically: , and every prime factor congruent to modulo occurs to an even power, vacuously here. Thus is a sum of two integer squares. Explicitly,
Inverting the change of variables gives, for example, . Consequently
This is the unimodular reduction of a discriminant-minus-four form to two squares.

Articles by others on the same topic (0)

There are currently no matching articles.