Number Theory / Deeper structure
Diophantine Equations
Equations where only whole-number answers count, from linear ones you can always solve to Fermat’s famous impossibility.
Contents 3 sections
By the end you can
- Find all integer solutions of
- Generate Pythagorean triples
- Use modular arithmetic to prove an equation has no solutions
Helps to know: GCD and the Euclidean Algorithm, Modular Arithmetic
§1All solutions of a linear equation
If solves and , then every solution is , for an integer .
Example 1Solve
- divides , so solutions exist.
§2Proving impossibility
Squares are or modulo , so is never . Hence has no integer solutions, with no searching needed.
Check yourself
- Q1Does have integer solutions? (Note .)