Linear Diophantine equations
Japanese school year: Math A
What you learn
You will learn how to find all integer solutions to equations with fewer equations than variables. This approach is widely used in discrete mathematics and problems requiring integer constraints. Mastering the Euclidean algorithm beforehand will make finding particular solutions much easier.
Key points
Use this step to find all integer solutions to . Subtract the equation with one known solution from the original to make the right side 0.
This formula expresses all integer solutions of a linear Diophantine equation. Starting from one known solution , any integer generates all possible solutions .
Use this condition to check whether the equation has integer solutions. Solutions exist if and only if is divisible by the GCD of and .
Choose a set to practice.