Diophantine equations are equations of the form f = 0, where f is a polynomial with integer coefficients in one or several variables which take on integral values. They are named after Diophantus who studied equations with variables which take on rational values. Examples of Diophantine equations are
The depth of the study of general Diophantine equations is shown by the characterisation of Diophantine sets as recursively enumerable.
The field of Diophantine approximation deals with the cases of Diophantine inequalities: variables are still supposed to be integral, but some coefficients may be irrational numbers, and the equality sign is replaced by upper and lower bounds.