If are nonzero integers, , and is one solution of the linear Diophantine equation , then all solutions areSubtract two solutions and use the fact that and are coprime integers. The linear Diophantine equation solvability criterion says that a particular solution exists exactly when divides ; the extended Euclidean algorithm constructs one. This parametrization separates existence from the complete family of answers.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 1G ii Solution Created 2026-09-24 Updated 2026-09-25
Applying the Euclidean algorithm,Hence . Since does not divide , the linear Diophantine equation solvability criterion gives
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 1 1G i Solution Created 2026-09-24 Updated 2026-09-25
The linear Diophantine equation solvability criterion says that has an integer solution exactly when divides . The Euclidean algorithm givesThus , which divides . Therefore