# What is Diophantine Equation? | Examples with solutions

## What is Diophantine Equation?

Diophantine Equation is introduced by a mathematician Diaphantus of Alexandria.

It is an algebraic equation having two or more unknown for which rational or integral solutions are required.

The first general solution of Linear Diophantine Equation gave by a mathematician Brahmagupta who used the complicated notations for solving such equations but Diophantus did not utilize complicated algebraic notation.

Linear Diophantine Equation of two variables is given by, $\displaystyle ax+by=c$

Where, a, b and c are integers and x and y are variables. Few examples of Diophantine Equations are given here. $\displaystyle a{{x}^{2}}+b{{y}^{2}}=c{{z}^{2}}$ $\displaystyle {{x}^{2}}+{{y}^{2}}=10{{z}^{2}}$ $\displaystyle {{x}^{2}}+1={{y}^{2}}$

It is not necessary that all Diophantine equations are solvable, for example, $\displaystyle 2x+2y=1$, there is no integer solution of this equation.

Hence, the linear Diophantine equation has a finite number of solutions, e.g. 3x = 6.

Hilbert proposed twenty-three most essential unsolved problems of 20th century and his tenth problem was the solvability a general Diophantine equation.

He also asked for a general method of solving all Diophantine equations. Furthermore, Glodbach’s theory is his eighth problem.

In 1930, Godel, Turing, Kleene develop the theory of computability and Universal Turing Machine invented by Turing in 1946 and discovered fundamental unsolvable problems.

However, in 1970, Yuri Matiyasevich proved that the Diophantine problem is not solvable by stating that there is no algorithm which, for a given arbitrary Diophantine equation, would tell whether the equation has a solution or not”.

Furthermore, Anderson and Ogilvy give a number of Diophantine equations with known and unknown solutions in 1988.

## Diophantine Analysis

It is a process which required for finding solutions to Diophantine equations. Some examples of linear Diophantine equations along with their solution are:

## Example No.1

Find a particular and complete solution of a given equation $\displaystyle 50x+60y=30$

Solution $\displaystyle 50x+60y=30$

First we find the Greatest Common Divisor (GCD), $\displaystyle \begin{array}{l}60=1\times 50+10\\50=5\times 10+10\end{array}$

Now apply the Extended Euclidian Algorithm, $\displaystyle 10=(1\times 60)+10(-1\times 50)$

Therefore, a particular solution is, $\displaystyle \begin{array}{l}{{x}_{0}}=-3\\{{y}_{0}}=3\end{array}$

And the complete solution is $\displaystyle \begin{array}{l}x=-3+6n\\y=3-5n\end{array}$

## Example No.2

Find a particular and complete solution of a given equation $\displaystyle 25x+35y=20$

Solution $\displaystyle 25x+35y=20$

First we find the Greatest Common Divisor (GCD), $\displaystyle \begin{array}{l}35=1\times 25+10\\25=2\times 10+5\\10=2\times 5+0\end{array}$

Now apply the Extended Euclidian Algorithm, $\displaystyle \begin{array}{l}5=(1\times 25)+(-2\times 10)\\=(-2\times 35)+(3\times 25)\end{array}$

Therefore, a particular solution is, $\displaystyle \begin{array}{l}{{x}_{0}}=12\\{{y}_{0}}=-8\end{array}$

And the complete solution is $\displaystyle \begin{array}{l}x=12+7n\\y=-8-5n\end{array}$

## Example No.3

Find a particular and complete solution of a given equation $\displaystyle 2x+6y=5$

Solution $\displaystyle 2x+6y=5$

First we find the Greatest Common Divisor (GCD), $\displaystyle 6=3\times 2+0$

Therefore, $\displaystyle GCD(2,6)=2$ Hence, there is no solution because 2 does not divide 5.