10. Diophantine Equations II

Selected Classical Problems

Selected Classical Problems in Diophantine Equations II

students, in this lesson you will explore some famous number theory puzzles that have challenged mathematicians for centuries 📘✨ These are called selected classical problems because they are well-known, historically important, and rich in methods. They often ask for integer solutions to equations, which means we are looking for whole numbers, not decimals or fractions.

What this lesson is about

The main goals are to help you:

  • understand what makes a problem a classical Diophantine problem,
  • use number theory ideas to search for integer solutions,
  • connect these problems to topics like divisibility, parity, factoring, and modular arithmetic,
  • and recognize how these problems fit into the larger study of Diophantine equations.

Classical problems are important because they show how simple-looking equations can hide deep structure. A famous equation may look harmless, but once the condition “solutions must be integers” is added, the problem becomes much more interesting. That is the heart of Diophantine equations.

Why classical problems matter

A Diophantine equation is any equation where we want integer solutions, such as $x^2+y^2=z^2$ or $x^n+y^n=z^n$. In this lesson, we focus on problems that became famous because they were solved using clever reasoning rather than brute force. Often, the key is to prove that a solution is impossible, or to describe all possible solutions.

These problems are useful because they train you to think like a number theorist 🔍 Instead of just calculating, you ask questions like:

  • Is the left side always even or odd?
  • What happens modulo $2$, $3$, $4$, or $8$?
  • Can the equation be factored?
  • Can we rewrite it in a form that reveals hidden patterns?

That style of reasoning appears again and again throughout number theory.

Problem type 1: Integer solutions to $x^2+y^2=z^2$

One of the most famous classical problems is finding integer triples satisfying $x^2+y^2=z^2$. These are called Pythagorean triples because they come from the Pythagorean theorem. If $x$, $y$, and $z$ are side lengths of a right triangle, then the equation is true.

Examples include:

  • $3^2+4^2=5^2$
  • $5^2+12^2=13^2$
  • $8^2+15^2=17^2$

A key idea is that there are infinitely many such triples. One way to generate them is using the formulas

$$x=m^2-n^2, \quad y=2mn, \quad z=m^2+n^2$$

where $m$ and $n$ are integers with $m>n>0$. For example, if $m=2$ and $n=1$, then

$$x=3, \quad y=4, \quad z=5.$$

This shows how a classical problem can be turned into a general method.

The deeper lesson is that integer solutions are often not random. They may come from a pattern or a parametrization, which is a formula that produces all solutions of a certain kind.

Problem type 2: When can a number be a sum of two squares?

Another famous classical problem asks which integers can be written as a sum of two squares, like $n=a^2+b^2$. This is not only about finding one example. It is about deciding whether such a representation exists at all.

For small numbers, we can test directly:

  • $5=1^2+2^2$
  • $10=1^2+3^2$
  • $13=2^2+3^2$
  • $3$ cannot be written as a sum of two squares.

A helpful observation is that squares have limited remainders modulo small numbers. For example, any integer square is congruent to $0$ or $1$ modulo $4$. So if both $a^2$ and $b^2$ are each $0$ or $1$ modulo $4$, then their sum can only be $0$, $1$, or $2$ modulo $4$. That means a number congruent to $3$ modulo $4$ cannot be a sum of two squares.

This is a powerful example of using modular arithmetic to prove impossibility. The full classification of numbers that are sums of two squares is more advanced, but one important result is:

A positive integer can be written as a sum of two squares if and only if every prime congruent to $3$ modulo $4$ appears with an even exponent in its prime factorization.

That theorem shows how prime factorization and congruences work together in classical number theory.

Problem type 3: Solving equations by factoring

Many classical Diophantine problems become easier when the equation can be factored. For example, consider

$$x^2-y^2=n.$$

Using the identity

$$x^2-y^2=(x-y)(x+y),$$

we turn the problem into a factorization problem. If $n$ is given, then we can search for pairs of factors $d$ and $e$ such that

$$de=n,$$

with

$$x-y=d, \quad x+y=e.$$

Then we solve for

$$x=\frac{d+e}{2}, \quad y=\frac{e-d}{2}.$$

This method is useful only when $d$ and $e$ have the same parity, because otherwise $x$ and $y$ will not be integers.

Example: let $n=15$. Factor pairs of $15$ are $(1,15)$ and $(3,5)$. Using $d=3$ and $e=5$ gives

$$x=4, \quad y=1,$$

and indeed

$$4^2-1^2=16-1=15.$$

This type of problem shows how algebra and divisibility work together in integer settings.

Problem type 4: Odd-even reasoning and impossibility

Sometimes the best solution is to show that no integer solution exists. One very common technique is parity, which means checking whether numbers are odd or even.

Suppose we want to solve

$$x^2+y^2=z^2$$

in integers. If $x$ and $y$ are both odd, then $x^2$ and $y^2$ are both odd, so $x^2+y^2$ is even. But a square can be even or odd, so that alone is not enough. Still, parity gives strong information.

A famous example is proving that there are no integer solutions to

$$x^2+y^2=3z^2$$

except $x=y=z=0$. Why? Because squares modulo $3$ can only be $0$ or $1$. The sum of two numbers each equal to $0$ or $1$ modulo $3$ can never be congruent to $2$ modulo $3$, but $3z^2$ is always congruent to $0$ modulo $3$. More careful analysis leads to a contradiction unless all variables are zero.

Similarly, some equations fail because the left side and right side have incompatible parity or modular behavior. These proofs are elegant because they show impossibility without searching endlessly for solutions.

Problem type 5: A famous classical theorem and its meaning

One of the most famous classical Diophantine problems is the equation

$$x^n+y^n=z^n$$

for integers $x$, $y$, $z$, and $n>2$. This is known as the statement of Fermat’s Last Theorem. It says there are no nonzero integer solutions for $n>2$.

This theorem is important in the history of number theory because it motivated the development of many advanced ideas. Even though the full proof is deep, the basic lesson fits this unit: a simple-looking equation can hide extraordinary difficulty. Special cases can sometimes be proved using elementary tools, while the general result requires deeper methods.

For example, the case $n=4$ can be attacked using infinite descent, a classic number theory method that shows if a solution exists, then a smaller one also exists. Repeating this would give an endless chain of smaller positive integers, which is impossible. This kind of argument is a classic tool in Diophantine equations.

How these problems connect to the rest of Diophantine equations II

students, the selected classical problems are not isolated topics. They connect directly to the rest of Diophantine equations II in several ways:

  • Pythagorean triples introduce parametrization and geometry.
  • Sums of squares use congruences and prime factorization.
  • Factoring methods show how algebra can reduce an integer equation to a finite search.
  • Impossibility proofs use parity and modular arithmetic.
  • Classical theorems show how far number theory can go, from elementary tricks to advanced results.

Together, these problems build a toolkit. Once you learn the tools, you can attack many new equations with confidence.

Worked example: using modular arithmetic

Let us check whether the equation

$$x^2+y^2=7$$

has integer solutions.

Squares modulo $4$ are only $0$ or $1$. So possible values of $x^2+y^2$ modulo $4$ are $0$, $1$, or $2$, but never $3$. Since

$$7 \equiv 3 \pmod{4},$$

this equation has no integer solution.

This is a short proof, but it uses a big idea: sometimes you can rule out whole classes of numbers with a simple congruence test. That is a major theme in classical Diophantine problems.

Conclusion

Selected classical problems are a central part of Diophantine equations because they teach the main methods of the subject: pattern finding, factoring, modular arithmetic, parity, and proof by contradiction. students, these problems matter not only because they are famous, but because they show how number theory turns questions about whole numbers into deep mathematical investigations 📚✨ Whether you are finding Pythagorean triples, testing sums of squares, or proving that no solution exists, you are using the core ideas of Diophantine reasoning.

Study Notes

  • A Diophantine equation asks for integer solutions.
  • Classical problems are famous historical Diophantine questions that often reveal important methods.
  • Pythagorean triples satisfy $x^2+y^2=z^2$ and can be generated by

$$x=m^2-n^2, \quad y=2mn, \quad z=m^2+n^2.$$

  • A number congruent to $3$ modulo $4$ cannot be written as a sum of two squares.
  • Squares modulo $4$ are only $0$ or $1$.
  • Factoring identities like

$$x^2-y^2=(x-y)(x+y)$$

can turn an equation into a factor problem.

  • Parity and modular arithmetic are powerful tools for proving that solutions do not exist.
  • Classical problems connect algebra, divisibility, congruences, and geometry.
  • These problems build the foundation for more advanced work in Diophantine equations.
  • The main lesson: integer equations often require structure, not just computation.

Practice Quiz

5 questions to test your understanding