||This article may require cleanup to meet Wikipedia's quality standards. (April 2011)|
In mathematics, a Diophantine equation is an equation of the form P(x1, ..., xj, y1, ..., yk)=0 (usually abbreviated P(x,y)=0 ) where P(x,y) is a polynomial with integer coefficients. A Diophantine set is a subset S of Nj  so that for some Diophantine equation P(x,y)=0.
That is, a parameter value is in the Diophantine set S if and only if the associated Diophantine equation is satisfiable under that parameter value. Note that the use of natural numbers both in S and the existential quantification merely reflects the usual applications in computability and model theory. We can equally well speak of Diophantine sets of integers and freely replace quantification over natural numbers with quantification over the integers. Also it is sufficient to assume P is a polynomial over and multiply P by the appropriate denominators to yield integer coefficients. However, whether quantification over rationals can also be substituted for quantification over the integers it is a notoriously hard open problem.
The MRDP theorem states that a set of integers is Diophantine if and only if it is computably enumerable.  A set S is recursively enumerable precisely if there is an algorithm that, when given an integer, eventually halts if that input is a member of S and otherwise runs forever. This means that the concept of general Diophantine set, apparently belonging to number theory, can be taken rather in logical or recursion-theoretic terms. This is far from obvious, however, and represented the culmination of some decades of work.
Matiyasevich's completion of the MRDP theorem settled Hilbert's tenth problem. Hilbert's tenth problem was to find a general algorithm which can decide whether a given Diophantine equation has a solution among the integers. While Hilbert's tenth problem is not a formal mathematical statement as such the nearly universal acceptance of the (philosophical) identification of a decision algorithm with a total computable predicate allows us to use the MRDP theorem to conclude the tenth problem is unsolvable.
The well known Pell equation
is an example of a Diophantine equation with a parameter. As has long been known, the equation has a solution in the unknowns precisely when the parameter is 0 or not a perfect square. In the present context, one says that this equation provides a Diophantine definition of the set
consisting of 0 and the natural numbers that are not perfect squares. Other examples of Diophantine definitions are as follows:
- The equation only has solutions in when a is not a power of 2.
- The equation only has solutions in when a is greater than 1 and is not a prime number.
- The equation defines the set of pairs such that
Matiyasevich's theorem 
Matiyasevich's theorem says:
- Every computably enumerable set is Diophantine.
A set S of integers is computably enumerable if there is an algorithm that behaves as follows: When given as input an integer n, if n is a member of S, then the algorithm eventually halts; otherwise it runs forever. That is equivalent to saying there is an algorithm that runs forever and lists the members of S. A set S is Diophantine precisely if there is some polynomial with integer coefficients f(n, x1, ..., xk) such that an integer n is in S if and only if there exist some integers x1, ..., xk such that f(n, x1, ..., xk) = 0.
It is not hard to see that every Diophantine set is recursively enumerable: consider a Diophantine equation f(n, x1, ..., xk) = 0. Now we make an algorithm which simply tries all possible values for n, x1, ..., xk, in the increasing order of the sum of their absolute values, and prints n every time f(n, x1, ..., xk) = 0. This algorithm will obviously run forever and will list exactly the n for which f(n, x1, ..., xk) = 0 has a solution in x1, ..., xk.
Proof technique 
Yuri Matiyasevich utilized a method involving Fibonacci numbers in order to show that solutions to Diophantine equations may grow exponentially. Earlier work by Julia Robinson, Martin Davis and Hilary Putnam had shown that this suffices to show that every computably enumerable set is Diophantine.
Application to Hilbert's Tenth problem 
Hilbert's tenth problem asks for a general algorithm deciding the solvability of Diophantine equations. The conjunction of Matiyasevich's theorem with earlier results known collectively as the MRDP theorem implies that a solution to Hilbert's tenth problem is impossible.
Later work has shown that the question of solvability of a Diophantine equation is undecidable even if the equation only has 9 natural number variables (Matiyasevich, 1977) or 11 integer variables (Zhi Wei Sun, 1992).
Further applications 
One can also derive the following stronger form of Gödel's first incompleteness theorem from Matiyasevich's result:
- Corresponding to any given consistent axiomatization of number theory, one can explicitly construct a Diophantine equation which has no solutions, but such that this fact cannot be proved within the given axiomatization.
- Planet Math Definition
- The two definitions are equivalent. This can be proved using Lagrange's four-square theorem.
- The final piece of this result was published in 1970 by Matiyasevich and is thus also known as Matiyasevich's theorem but pedantically speaking Matiyasevich's theorem refers to the representability of exponentiation in Diophantine sets and the mathematical community has moved to calling the equivalence result the MRDP theorem or the Davis-Putnam-Robinson-Matiyasevich theorem after the mathematicians providing key pieces of the theorem.
- David Hilbert posed the problem in his celebrated list, from his 1900 address to the International Congress of Mathematicians.
- More precisely, given a -formula representing the set of Gödel numbers of sentences which recursively axiomatize a consistent theory extending Robinson arithmetic.
- Matiyasevich, Yuri V. (1970). "Диофантовость перечислимых множеств" [Enumerable sets are Diophantine]. Doklady Akademii Nauk SSSR (in Russian) 191: 279–282. English translation in Soviet Mathematics 11 (2), pp. 354–357.
- Davis, Martin (1973). "Hilbert's Tenth Problem is Unsolvable". American Mathematical Monthly 80: 233–269. ISSN 0002-9890. Zbl 0277.02008.
- Matiyasevich, Yuri V. (1993). Hilbert's 10th Problem. MIT Press Series in the Foundations of Computing. Foreword by Martin Davis and Hilary Putnam. Cambridge, MA: MIT Press. ISBN 0-262-13295-8. Zbl 0790.03008.
- Shlapentokh, Alexandra (2007). Hilbert's tenth problem. Diophantine classes and extensions to global fields. New Mathematical Monographs 7. Cambridge: Cambridge University Press. ISBN 0-521-83360-4. Zbl 1196.11166.
- Sun Zhi-Wei (1992). "Reduction of unknowns in Diophantine representations". Sci. China Ser. A 35 (3): 257–269. Zbl 0773.11077.