Home Mathematics Diophantine Equations

Diophantine Equations

In mathematics, a Diophantine equation is a polynomial equation, usually in two or more unknowns, such that only the integer solutions are sought or studied.

Diophantine problems have fewer equations than unknown variables and involve finding integers that work correctly for all equations. In more technical language, they define an algebraic curve, algebraic surface, or more general object, and ask about the lattice points on it.

The word Diophantine refers to the Hellenistic mathematician of the 3rd century, Diophantus of Alexandria, who made a study of such equations and was one of the first mathematicians to introduce symbolism into algebra. The mathematical study of Diophantine problems that Diophantus initiated is now called Diophantine analysis.

Finding the solution or solutions to a Diophantine equation is closely tied to modular arithmetic and number theory. Often, when a Diophantine equation has infinitely many solutions, the parametric form is used to express the relation between the variables of the equation.

Hardy-Ramanujan Number

One of the examples of a 3rd degree diophantine equation.

 1729=1^3+12^3=9^3+10^3.

Its popularly known as the Hardy-Ramanujan number. Well, this number has an interesting story behind it.

Godfrey Hardy was a professor of mathematics at Cambridge University. One day he went to visit a friend, the brilliant young Indian mathematician Srinivasa Ramanujan, who was ill. Both men were mathematicians and liked to think about numbers.

When Ramanujan heard that Hardy had come in a taxi he asked him what the number of the taxi was. Hardy said that it was just a boring number – 1729. Ramanujan replied that 1729 was not a boring number at all,rather it was a very interesting one. He explained that it was the smallest number that could be expressed by the sum of two cubes in two different ways.

Image result for diophantine equation

Linear Combination

A Diophantine equation in the form $ax+by=c$ is known as a linear combination. If two relatively prime integers $a$ and $b$ are written in this form with $c=1$, the equation will have an infinite number of solutions. More generally, there will always be an infinite number of solutions when $\gcd(a,b)=1$.

If GCD(a,b) not equal to c, then there are no solutions to the equation. To see why consider the equation –$3x-9y=3(x-3y)=17$$3$ is a divisor of the LHS (also notice that  $x-3y$ must always be an integer). However, $17$ will never be a multiple of $3$, hence, no solutions exist.

Now consider the case where $c=0$. Thus, $ax=-by$. If $a$ and $b$ are relatively prime, then all solutions are obviously in the form $(bk,-ak)$ for all integers $k$. If they are not, we simply divide them by their greatest common divisor.

Pythagorean Triples

Image result for diophantine equation

A Pythagorean triple is a set of three integers that satisfy the Pythagorean Theorem, $a^2+b^2=c^2$. There are three main methods of finding Pythagorean triples:

Method of Pythagoras

If $m>1$ is an odd number, then  $m, \frac {m^2 -1}{2}, \frac {m^2 + 1}{2}$ is a Pythagorean triple.

Method of Plato

If $n>1$$2n, n^2 - 1, n^2 + 1$ is a Pythagorean triple.

Babylonian Method

For any $m,n$$m^2 - n^2, 2mn, m^2 + n^2$ is a Pythagorean triple.

Sum of Fourth Powers

An equation of form,  $x^4+y^4=z^2$ has no integer solutions, as follows:

We assume that the equation does have integer solutions, and consider the solution which minimizes $z$ . Let this solution be $(x_0,y_0,z_0)$. If $\gcd (x_0,y_0)\neq 1$ then their GCD $d$ must satsify $d^2|z$. The solution $\left(\frac{x_0}{d},\frac{y_0}{d},\frac{z_0}{d}\right)$ would then be a solution less than $z_0$, which contradicts our assumption. Thus, this equation has no integer solutions.

If $\gcd(x_0,y_0)=1$, we then proceed with casework, in $\mod 4$.

Note that every square, and therefore every fourth power, is either $1$ or $0\mod 4$. The proof of this is fairly simple, and you can show it yourself.

Case 1: $x_0^4 \equiv y_0^4 \equiv 1\mod 4$

This would imply $z^2 \equiv 2\mod 4$, a contradiction.

Case 2: $x_0^4 \equiv y_0^4 \equiv 0\mod 4$

This would imply $z^2 \equiv 0\mod 4$, a contradiction since we assumed $\gcd(x_0,y_0)=1$.

Case 3: $x_0^4 \equiv 1\mod 4, y_0^4 \equiv 0\mod 4$, and $z_0^2 \equiv 1\mod 4$

We also know that squares are either $-1, 0$ or $1 \mod 5$. Thus, all fourth powers are either $0$ or $1 \mod 5$.

By similar approach, we show that:

$x_0^4 \equiv 0\mod 5, y_0^4 \equiv 1\mod 5$, So $z_0^2 \equiv 1\mod 5$.

This is a contradiction, as $z_0^2 \equiv 1\mod 4$ implies $z_0$ is odd, and $z_0^2 \equiv 1\mod 5$ implies $z_0$ is even. QED

Pell Equations

A Pell equation is a type of Diophantine equation in the form $x^2-Dy^2=\pm1$ for natural number $D$. The solutions to the Pell equation when $D$is not a perfect square are connected to the continued fraction expansion of $\sqrt D$. If $a$ is the period of the continued fraction and $C_k=P_k/Q_k$is the $k$ th convergent, all solutions to the Pell equation are in the form $(P_{ia},Q_{ia})$ for positive integer $i$.

Methods of Solving

Coordinate Plane

Note that any linear combination can be transformed into the linear equation $y=\frac{-b}{a}x+\frac{c}{a}$, which is just the slope-intercept equation for a line. The solutions to the diophantine equation correspond to lattice points that lie on the line. For example, consider the equation $-3x+4y=4$ or $y=\frac{3}{4}x+1$. One solution is (0,1). If you graph the line, it’s easy to see that the line intersects a lattice point as x and y increase or decrease by the same multiple of $4$ and $3$, respectively (wording?). Hence, the solutions to the equation may be written parametrically $x=4t, y=3t+1$ (if we think of $(0,1)$ as a “starting point”).

Modular Arithmetic

Sometimes, modular arithmetic can be used to prove that no solutions to a given Diophantine equation exist. Specifically, if we show that the equation in question is never true mod $m$, for some integer $m$, then we have shown that the equation is false. However, this technique cannot be used to show that solutions to a Diophantine equation do exist.

Induction

Sometimes, when a few solutions have been found, induction can be used to find a family of solutions. Techniques such as infinite Descent can also show that no solutions to a particular equation exist, or that no solutions outside of a particular family exist.

General Solutions

It is natural to ask whether there is a general solution for Diophantine equations, i.e., an algorithm that will find the solutions for any given Diophantine equations. This is known as Hilbert’s tenth problem. The answer, however, is no.

Fermat’s Last Theorem

$x^n+y^n=z^n$ is known as Fermat’s Last Theorem for the condition $n\geq3$. In the 1600s, Fermat, as he was working through a book on Diophantine Equations, wrote a comment in the margins to the effect of “I have a truly marvelous proof of this proposition which this margin is too narrow to contain.” Fermat actually made many conjectures and proposed plenty of “theorems,” but wasn’t one to write down the proofs or much other than scribbled comments. After he died, all his conjectures were re-proven (either false or true) except for Fermat’s Last Theorem. After over 350 years of failing to be proven, the theorem was finally proven by Andrew Wiles after he spent over 7 years working on the 200-page proof, and another year fixing an error in the original proof.

Besides this, you can view our video and blog collections in the Video Section & Blog Section of the website.

Abhijeet Mahato
Abhijeet Mahatohttp://scilynk.in
Abhijeet is a 4th-year Undergraduate Student at IIT Kharagpur. His major inclination is towards exploring the science behind the things of our day-to-day life.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Stars – A Mystery To The Dark Night

When you look at the dark night sky, it seems beautiful and mysterious. Living beneath this open dark sky, the earliest humans...

Herd Immunity and Pandemics – Solution to COVID-19 Crisis?

During the current pandemic, we often hear the term herd immunity. What is Herd Immunity, you ask? Herd immunity is "resistance against...

The fastest rotating disk galaxy – UGC 12591

The Moon goes around the Earth at about a kilometer a second; the Earth goes around the Sun at about 30 kilometers...

Solvatochromism – One solute, multiple colors, endless possibilities

Introduction: Most chemicals impart almost the same colour irrespective of the solvent they are...

Recent Comments

Alex Watson on Chika’s Test and Proof
Abhijeet Mahato on Chika’s Test and Proof
Chandrashekar Iyer on Chika’s Test and Proof
Chandrashekar iyer on No Protons Just Neutrons
Chandrashekar Iyer on Pervading Darkness
Vivek Prakash on The Genomic Dust