Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Diophantine equation
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Polynomial equation whose integer solutions are sought}} {{Use dmy dates|date=October 2020}} [[File:Rtriangle.svg|thumb|Finding all [[Pythagorean triple|right triangles with integer side-lengths]] is equivalent to solving the Diophantine equation <math>a^2 + b^2 = c^2.</math>]] In [[mathematics]], a '''Diophantine equation''' is an [[equation]], typically a [[polynomial equation]] in two or more [[unknown (mathematics)|unknown]]s with [[integer]] coefficients, for which only [[integer]] solutions are of interest. A '''linear Diophantine equation''' equates the sum of two or more unknowns, with coefficients, to a constant. An '''exponential Diophantine equation''' is one in which unknowns can appear in [[exponent]]s. '''Diophantine problems''' have fewer equations than unknowns and involve finding integers that solve all equations simultaneously. Because such [[systems of equations]] define [[algebraic curve]]s, [[algebraic surface]]s, or, more generally, [[algebraic set]]s, their study is a part of [[algebraic geometry]] that is called ''[[Diophantine geometry]]''. The word ''Diophantine'' refers to the [[Greek mathematics#Hellenistic|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 [[Mathematical symbol|symbolism]] into [[algebra]]. The mathematical study of Diophantine problems that Diophantus initiated is now called '''Diophantine analysis'''. While individual equations present a kind of puzzle and have been considered throughout history, the formulation of general theories of Diophantine equations, beyond the case of linear and [[quadratic equation|quadratic]] equations, was an achievement of the twentieth century. ==Examples== In the following Diophantine equations, {{mvar|w, x, y}}, and {{mvar|z}} are the unknowns and the other letters are given constants: {| class="wikitable" | <math>ax+by = c</math>||This is a linear Diophantine equation, related to [[Bézout's identity]]. |- | <math>w^3 + x^3 = y^3 + z^3</math>|| The smallest [[Triviality (mathematics)#Trivial and nontrivial solutions|nontrivial solution]] in positive integers is {{math|1=12<sup>3</sup> + 1<sup>3</sup> = 9<sup>3</sup> + 10<sup>3</sup> = 1729}}. It was famously given as an evident property of 1729, a [[taxicab number]] (also named [[Hardy–Ramanujan number]]) by [[Ramanujan]] to [[G. H. Hardy|Hardy]] while meeting in 1917.<ref>{{cite web |url=http://www-gap.dcs.st-and.ac.uk/~history/Quotations/Hardy.html |title=Quotations by Hardy |publisher=Gap.dcs.st-and.ac.uk |access-date=20 November 2012 |archive-url=https://web.archive.org/web/20120716185939/http://www-gap.dcs.st-and.ac.uk/~history/Quotations/Hardy.html |archive-date=16 July 2012 |url-status=dead }}</ref> There are infinitely many nontrivial solutions.<ref>{{citation|title=An Introduction to Number Theory|volume=232|series=Graduate Texts in Mathematics|first1=G.|last1=Everest|first2=Thomas|last2=Ward|publisher=Springer|year=2006|isbn=9781846280443|page=117|url=https://books.google.com/books?id=Z9MAm0lTKuEC&pg=PA117}}.</ref> |- | <math>x^n + y^n = z^n</math>||For {{math|1= ''n'' = 2}} there are infinitely many solutions {{math|(''x, y, z'')}}: the [[Pythagorean triple]]s. For larger integer values of {{mvar|n}}, [[Fermat's Last Theorem]] (initially claimed in 1637 by Fermat and [[Wiles's proof of Fermat's Last Theorem|proved by Andrew Wiles]] in 1995<ref name=wiles>{{cite journal|last=Wiles|first=Andrew|author-link=Andrew Wiles|year=1995|title=Modular elliptic curves and Fermat's Last Theorem|url=http://users.tpg.com.au/nanahcub/flt.pdf |journal=[[Annals of Mathematics]]|volume=141|issue=3|pages=443–551|oclc=37032255|doi=10.2307/2118559|jstor=2118559}}</ref>) states there are no positive integer solutions {{math|(''x, y, z'')}}. |- | <math>x^2 - ny^2 = \pm 1</math>|| This is [[Pell's equation]], which is named after the English mathematician [[John Pell (mathematician)|John Pell]]. It was studied by [[Brahmagupta]] in the 7th century, as well as by Fermat in the 17th century. |- | <math>\frac 4 n = \frac 1 x + \frac 1 y + \frac 1 z</math>||The [[Erdős–Straus conjecture]] states that, for every positive integer {{mvar|n}} ≥ 2, there exists a solution in {{mvar|x, y}}, and {{mvar|z}}, all as positive integers. Although not usually stated in polynomial form, this example is equivalent to the polynomial equation <math>4xyz = n(yz+xz+xy).</math> |- | <math>x^4 + y^4 + z^4 = w^4</math>||Conjectured incorrectly by [[Euler]] to have no nontrivial solutions. Proved by [[Elkies]] to have infinitely many nontrivial solutions, with a computer search by Frye determining the smallest nontrivial solution, {{math|1=95800<sup>4</sup> + 217519<sup>4</sup> + 414560<sup>4</sup> = 422481<sup>4</sup>}}.<ref>{{cite journal |authorlink=Noam Elkies |first=Noam |last=Elkies |title=On ''A''<sup>4</sup> + ''B''<sup>4</sup> + ''C''<sup>4</sup> = ''D''<sup>4</sup> |url= https://www.ams.org/journals/mcom/1988-51-184/S0025-5718-1988-0930224-9/S0025-5718-1988-0930224-9.pdf |journal=[[Mathematics of Computation]] |year=1988 |volume=51 |issue=184 |pages=825–835 |doi=10.2307/2008781 |mr=0930224 |jstor=2008781}}</ref><ref>{{cite conference|last = Frye|first = Roger E.|year = 1988|title = Proceedings of Supercomputing 88, Vol.II: Science and Applications|contribution = Finding 95800<sup>4</sup> + 217519<sup>4</sup> + 414560<sup>4</sup> = 422481<sup>4</sup> on the Connection Machine|doi = 10.1109/SUPERC.1988.74138|pages = 106–116}}</ref> |} =={{anchor|Linear Diophantine}}Linear Diophantine equations== ===One equation=== The simplest linear Diophantine equation takes the form <math display=block>ax+by=c,</math> where {{mvar|a}}, {{mvar|b}} and {{mvar|c}} are given integers. The solutions are described by the following theorem: :''This Diophantine equation has a solution'' (where {{mvar|x}} and {{mvar|y}} are integers) ''[[if and only if]]'' {{mvar|c}} ''is a multiple of the [[greatest common divisor]] of'' {{mvar|a}} ''and'' {{mvar|b}}. ''Moreover, if'' {{math|(''x, y'')}} ''is a solution, then the other solutions have the form'' {{math|(''x'' + ''kv, y'' − ''ku'')}}, ''where'' {{mvar|k}} ''is an arbitrary integer, and'' {{mvar|u}} ''and'' {{mvar|v}} ''are the quotients of'' {{mvar|a}} ''and'' {{mvar|b}} ''(respectively) by the greatest common divisor of'' {{mvar|a}} ''and'' {{mvar|b}}. '''Proof:''' If {{mvar|d}} is this greatest common divisor, [[Bézout's identity]] asserts the existence of integers {{mvar|e}} and {{mvar|f}} such that {{math|1=''ae'' + ''bf'' = ''d''}}. If {{mvar|c}} is a multiple of {{mvar|d}}, then {{math|1=''c'' = ''dh''}} for some integer {{mvar|h}}, and {{math|(''eh, fh'')}} is a solution. On the other hand, for every pair of integers {{mvar|x}} and {{mvar|y}}, the greatest common divisor {{mvar|d}} of {{mvar|a}} and {{mvar|b}} divides {{math|''ax'' + ''by''}}. Thus, if the equation has a solution, then {{mvar|c}} must be a multiple of {{mvar|d}}. If {{math|1=''a'' = ''ud''}} and {{math|''b'' {{=}} ''vd''}}, then for every solution {{math|(''x, y'')}}, we have <math display=block>\begin{align} a(x+kv) + b(y-ku) &= ax+by+k(av-bu) \\ &= ax+by+k(udv-vdu) \\ &= ax+by, \end{align}</math> showing that {{math|(''x'' + ''kv, y'' − ''ku'')}} is another solution. Finally, given two solutions such that <math display=block>ax_1 + by_1 = ax_2 + by_2 = c,</math> one deduces that <math display=block>u(x_2 - x_1) + v(y_2 - y_1) = 0.</math> As {{mvar|u}} and {{mvar|v}} are [[coprime]], [[Euclid's lemma]] shows that {{mvar|v}} divides {{math|''x''<sub>2</sub> − ''x''<sub>1</sub>}}, and thus that there exists an integer {{mvar|k}} such that both <math display=block>x_2 - x_1 = kv, \quad y_2 - y_1 = -ku.</math> Therefore, <math display=block>x_2 = x_1 + kv, \quad y_2 = y_1 - ku,</math> which completes the proof. ===Chinese remainder theorem=== The [[Chinese remainder theorem]] describes an important class of linear Diophantine systems of equations: let <math>n_1, \dots, n_k</math> be {{mvar|k}} [[pairwise coprime]] integers greater than one, <math>a_1, \dots, a_k</math> be {{mvar|k}} arbitrary integers, and {{mvar|N}} be the product <math>n_1 \cdots n_k.</math> The Chinese remainder theorem asserts that the following linear Diophantine system has exactly one solution <math>(x, x_1, \dots, x_k)</math> such that {{math|0 ≤ ''x'' < ''N''}}, and that the other solutions are obtained by adding to {{mvar|x}} a multiple of {{mvar|N}}: <math display=block>\begin{align} x &= a_1 + n_1\,x_1\\ &\;\;\vdots\\ x &= a_k + n_k\,x_k \end{align}</math> === System of linear Diophantine equations=== More generally, every system of linear Diophantine equations may be solved by computing the [[Smith normal form]] of its matrix, in a way that is similar to the use of the [[reduced row echelon form]] to solve a [[system of linear equations]] over a field. Using [[matrix (mathematics)#Notation|matrix notation]] every system of linear Diophantine equations may be written <math display=block>AX = C,</math> where {{mvar|A}} is an {{math|''m'' × ''n''}} matrix of integers, {{mvar|X}} is an {{math|''n'' × 1}} [[column matrix]] of unknowns and {{mvar|C}} is an {{math|''m'' × 1}} column matrix of integers. The computation of the Smith normal form of {{mvar|A}} provides two [[unimodular matrix|unimodular matrices]] (that is matrices that are invertible over the integers and have ±1 as determinant) {{mvar|U}} and {{mvar|V}} of respective dimensions {{math|''m'' × ''m''}} and {{math|''n'' × ''n''}}, such that the matrix <math display=block>B = [b_{i,j}] = UAV</math> is such that {{mvar|b<sub>i,i</sub>}} is not zero for {{mvar|i}} not greater than some integer {{mvar|k}}, and all the other entries are zero. The system to be solved may thus be rewritten as <math display=block>B (V^{-1}X) = UC.</math> Calling {{mvar|y<sub>i</sub>}} the entries of {{math|''V''{{i sup|−1}}''X''}} and {{mvar|d<sub>i</sub>}} those of {{math|1=''D'' = ''UC''}}, this leads to the system <math display=block>\begin{align} & b_{i,i}y_i = d_i, \quad 1 \leq i \leq k \\ & 0y_i = d_i, \quad k < i \leq n. \end{align}</math> This system is equivalent to the given one in the following sense: A column matrix of integers {{mvar|x}} is a solution of the given system if and only if {{math|1=''x'' = ''Vy''}} for some column matrix of integers {{mvar|y}} such that {{math|1=''By'' = ''D''}}. It follows that the system has a solution if and only if {{mvar|b<sub>i,i</sub>}} divides {{mvar|d<sub>i</sub>}} for {{math|''i'' ≤ ''k''}} and {{math|1=''d<sub>i</sub>'' = 0}} for {{math|''i'' > ''k''}}. If this condition is fulfilled, the solutions of the given system are <math display=block> V\, \begin{bmatrix} \frac{d_1}{b_{1,1}}\\ \vdots\\ \frac{d_k}{b_{k,k}}\\ h_{k+1}\\ \vdots\\ h_n \end{bmatrix}\,, </math> where {{math|''h''<sub>''k''+1</sub>, …, ''h<sub>n</sub>''}} are arbitrary integers. [[Hermite normal form]] may also be used for solving systems of linear Diophantine equations. However, Hermite normal form does not directly provide the solutions; to get the solutions from the Hermite normal form, one has to successively solve several linear equations. Nevertheless, Richard Zippel wrote that the Smith normal form "is somewhat more than is actually needed to solve linear diophantine equations. Instead of reducing the equation to diagonal form, we only need to make it triangular, which is called the Hermite normal form. The Hermite normal form is substantially easier to compute than the Smith normal form."<ref name="Zippel1993">{{cite book|author=Richard Zippel|title=Effective Polynomial Computation|year=1993|publisher=Springer Science & Business Media|isbn=978-0-7923-9375-7|page=50}}</ref> [[Integer linear programming]] amounts to finding some integer solutions (optimal in some sense) of linear systems that include also [[inequation]]s. Thus systems of linear Diophantine equations are basic in this context, and textbooks on integer programming usually have a treatment of systems of linear Diophantine equations.<ref>{{cite book|editor=John Alan Robinson and Andrei Voronkov|title=Handbook of Automated Reasoning Volume I|year=2001|publisher=Elsevier and MIT Press|id= (Elsevier) (MIT Press)|author=Alexander Bockmayr, Volker Weispfenning|chapter=Solving Numerical Constraints|page=779|isbn=0-444-82949-0}}</ref> ==Homogeneous equations== A homogeneous Diophantine equation is a Diophantine equation that is defined by a [[homogeneous polynomial]]. A typical such equation is the equation of [[Fermat's Last Theorem]] :<math>x^d+y^d -z^d=0.</math> As a homogeneous polynomial in {{mvar|n}} indeterminates defines a [[projective hypersurface|hypersurface]] in the [[projective space]] of dimension {{math|''n'' − 1}}, solving a homogeneous Diophantine equation is the same as finding the [[rational point]]s of a projective hypersurface. Solving a homogeneous Diophantine equation is generally a very difficult problem, even in the simplest non-trivial case of three indeterminates (in the case of two indeterminates the problem is equivalent with testing if a [[rational number]] is the {{mvar|d}}th power of another rational number). A witness of the difficulty of the problem is Fermat's Last Theorem (for {{math|''d'' > 2}}, there is no integer solution of the above equation), which needed more than three centuries of mathematicians' efforts before being solved. For degrees higher than three, most known results are theorems asserting that there are no solutions (for example Fermat's Last Theorem) or that the number of solutions is finite (for example [[Falting's theorem]]). For the degree three, there are general solving methods, which work on almost all equations that are encountered in practice, but no algorithm is known that works for every cubic equation.<ref>{{Cite web|last=Kovacic|first=Jerald|date=8 May 1985|title=An Algorithm for Solving Second Order Linear Homogeneous Differential Equations|url=https://core.ac.uk/download/pdf/82509765.pdf|url-status=live|website=Core|archive-url=https://web.archive.org/web/20190416022032/https://core.ac.uk/download/pdf/82509765.pdf |archive-date=16 April 2019 }}</ref> ===Degree two=== Homogeneous Diophantine equations of degree two are easier to solve. The standard solving method proceeds in two steps. One has first to find one solution, or to prove that there is no solution. When a solution has been found, all solutions are then deduced. For proving that there is no solution, one may reduce the equation [[modular arithmetic|modulo {{mvar|p}}]]. For example, the Diophantine equation :<math>x^2+y^2=3z^2,</math> does not have any other solution than the trivial solution {{math|(0, 0, 0)}}. In fact, by dividing {{mvar|x, y}}, and {{mvar|z}} by their [[greatest common divisor]], one may suppose that they are [[coprime]]. The squares modulo 4 are congruent to 0 and 1. Thus the left-hand side of the equation is congruent to 0, 1, or 2, and the right-hand side is congruent to 0 or 3. Thus the equality may be obtained only if {{mvar|x, y}}, and {{mvar|z}} are all even, and are thus not coprime. Thus the only solution is the trivial solution {{math|(0, 0, 0)}}. This shows that there is no [[rational point]] on a [[circle]] of radius <math>\sqrt{3}</math>, centered at the origin. More generally, the [[Hasse principle]] allows deciding whether a homogeneous Diophantine equation of degree two has an integer solution, and computing a solution if there exist. If a non-trivial integer solution is known, one may produce all other solutions in the following way. ====Geometric interpretation==== Let :<math>Q(x_1, \ldots, x_n)=0</math> be a homogeneous Diophantine equation, where <math>Q(x_1, \ldots, x_n)</math> is a [[quadratic form]] (that is, a homogeneous polynomial of degree 2), with integer coefficients. The ''trivial solution'' is the solution where all <math>x_i</math> are zero. If <math>(a_1, \ldots, a_n)</math> is a non-trivial integer solution of this equation, then <math>\left(a_1, \ldots, a_n\right)</math> are the [[homogeneous coordinates]] of a [[rational point]] of the hypersurface defined by {{mvar|Q}}. Conversely, if <math display="inline">\left(\frac {p_1}q, \ldots, \frac {p_n}q \right)</math> are homogeneous coordinates of a rational point of this hypersurface, where <math>q, p_1, \ldots, p_n</math> are integers, then <math>\left(p_1, \ldots, p_n\right)</math> is an integer solution of the Diophantine equation. Moreover, the integer solutions that define a given rational point are all sequences of the form :<math>\left(k\frac{p_1}d, \ldots, k\frac{p_n}d\right),</math> where {{mvar|k}} is any integer, and {{mvar|d}} is the greatest common divisor of the <math>p_i.</math> It follows that solving the Diophantine equation <math>Q(x_1, \ldots, x_n)=0</math> is completely reduced to finding the rational points of the corresponding projective hypersurface. ====Parameterization==== Let now <math>A=\left(a_1, \ldots, a_n\right)</math> be an integer solution of the equation <math>Q(x_1, \ldots, x_n)=0.</math> As {{mvar|Q}} is a polynomial of degree two, a line passing through {{mvar|A}} crosses the hypersurface at a single other point, which is rational if and only if the line is rational (that is, if the line is defined by rational parameters). This allows parameterizing the hypersurface by the lines passing through {{mvar|A}}, and the rational points are those that are obtained from rational lines, that is, those that correspond to rational values of the parameters. More precisely, one may proceed as follows. By permuting the indices, one may suppose, without loss of generality that <math>a_n\ne 0.</math> Then one may pass to the affine case by considering the [[affine algebraic variety|affine hypersurface]] defined by :<math>q(x_1,\ldots,x_{n-1})=Q(x_1, \ldots, x_{n-1},1),</math> which has the rational point :<math>R= (r_1, \ldots, r_{n-1})=\left(\frac{a_1}{a_n}, \ldots, \frac{a_{n-1}}{a_n}\right).</math> If this rational point is a [[singular point of an algebraic variety|singular point]], that is if all [[partial derivative]]s are zero at {{mvar|R}}, all lines passing through {{mvar|R}} are contained in the hypersurface, and one has a [[conical surface|cone]]. The change of variables :<math>y_i=x_i-r_i</math> does not change the rational points, and transforms {{mvar|q}} into a homogeneous polynomial in {{math|''n'' − 1}} variables. In this case, the problem may thus be solved by applying the method to an equation with fewer variables. If the polynomial {{mvar|q}} is a product of linear polynomials (possibly with non-rational coefficients), then it defines two [[hyperplane]]s. The intersection of these hyperplanes is a rational [[flat (geometry)|flat]], and contains rational singular points. This case is thus a special instance of the preceding case. In the general case, consider the [[parametric equation]] of a line passing through {{mvar|R}}: :<math>\begin{align} x_2 &= r_2 + t_2(x_1-r_1)\\ &\;\;\vdots\\ x_{n-1} &= r_{n-1} + t_{n-1}(x_1-r_1). \end{align}</math> Substituting this in {{mvar|q}}, one gets a polynomial of degree two in {{math|''x''{{sub|1}}}}, that is zero for {{math|1=''x''{{sub|1}} = ''r''{{sub|1}}}}. It is thus divisible by {{math|''x''{{sub|1}} − ''r''{{sub|1}}}}. The quotient is linear in {{math|''x''{{sub|1}}}}, and may be solved for expressing {{math|''x''{{sub|1}}}} as a quotient of two polynomials of degree at most two in <math>t_2, \ldots, t_{n-1},</math> with integer coefficients: :<math>x_1=\frac{f_1(t_2, \ldots, t_{n-1})}{f_n(t_2, \ldots, t_{n-1})}.</math> Substituting this in the expressions for <math>x_2, \ldots, x_{n-1},</math> one gets, for {{math|1=''i'' = 1, …, ''n'' − 1}}, :<math>x_i=\frac{f_i(t_2, \ldots, t_{n-1})}{f_n(t_2, \ldots, t_{n-1})},</math> where <math>f_1, \ldots, f_n</math> are polynomials of degree at most two with integer coefficients. Then, one can return to the homogeneous case. Let, for {{math|1=''i'' = 1, …, ''n''}}, :<math>F_i(t_1, \ldots, t_{n-1})=t_1^2 f_i\left(\frac{t_2}{t_1}, \ldots, \frac{t_{n-1}}{t_1} \right),</math> be the [[homogenization of a polynomial|homogenization]] of <math>f_i.</math> These quadratic polynomials with integer coefficients form a parameterization of the projective hypersurface defined by {{mvar|Q}}: :<math>\begin{align} x_1&= F_1(t_1, \ldots, t_{n-1})\\ &\;\;\vdots\\ x_n&= F_n(t_1, \ldots, t_{n-1}). \end{align}</math> A point of the projective hypersurface defined by {{mvar|Q}} is rational if and only if it may be obtained from rational values of <math>t_1, \ldots, t_{n-1}.</math> As <math>F_1, \ldots,F_n</math> are homogeneous polynomials, the point is not changed if all {{mvar|t{{sub|i}}}} are multiplied by the same rational number. Thus, one may suppose that <math>t_1, \ldots, t_{n-1}</math> are [[coprime integers]]. It follows that the integer solutions of the Diophantine equation are exactly the sequences <math>(x_1, \ldots, x_n)</math> where, for {{math|1=''i'' = 1, ..., ''n''}}, :<math>x_i= k\,\frac{F_i(t_1, \ldots, t_{n-1})}{d},</math> where {{mvar|k}} is an integer, <math>t_1, \ldots, t_{n-1}</math> are coprime integers, and {{mvar|d}} is the greatest common divisor of the {{mvar|n}} integers <math>F_i(t_1, \ldots, t_{n-1}).</math> One could hope that the coprimality of the {{mvar|t{{sub|i}}}}, could imply that {{math|1=''d'' = 1}}. Unfortunately this is not the case, as shown in the next section. ====Example of Pythagorean triples==== The equation :<math>x^2+y^2-z^2=0</math> is probably the first homogeneous Diophantine equation of degree two that has been studied. Its solutions are the [[Pythagorean triple]]s. This is also the homogeneous equation of the [[unit circle]]. In this section, we show how the above method allows retrieving [[Euclid's formula]] for generating Pythagorean triples. For retrieving exactly Euclid's formula, we start from the solution {{math|(−1, 0, 1)}}, corresponding to the point {{math|(−1, 0)}} of the unit circle. A line passing through this point may be parameterized by its slope: :<math>y=t(x+1).</math> Putting this in the circle equation :<math>x^2+y^2-1=0,</math> one gets :<math>x^2-1 +t^2(x+1)^2=0.</math> Dividing by {{math|''x'' + 1}}, results in :<math>x-1+t^2(x+1)=0,</math> which is easy to solve in {{mvar|x}}: :<math>x=\frac{1-t^2}{1+t^2}.</math> It follows :<math>y=t(x+1) = \frac{2t}{1+t^2}.</math> Homogenizing as described above one gets all solutions as :<math>\begin{align} x&=k\,\frac{s^2-t^2}{d}\\ y&=k\,\frac{2st}{d}\\ z&=k\,\frac{s^2+t^2}{d}, \end{align}</math> where {{mvar|k}} is any integer, {{mvar|s}} and {{mvar|t}} are coprime integers, and {{mvar|d}} is the greatest common divisor of the three numerators. In fact, {{math|1=''d'' = 2}} if {{mvar|s}} and {{mvar|t}} are both odd, and {{math|1=''d'' = 1}} if one is odd and the other is even. The ''primitive triples'' are the solutions where {{math|1=''k'' = 1}} and {{math|''s'' > ''t'' > 0}}. This description of the solutions differs slightly from Euclid's formula because Euclid's formula considers only the solutions such that {{mvar|x, y}}, and {{mvar|z}} are all positive, and does not distinguish between two triples that differ by the exchange of {{mvar|x}} and {{mvar|y}}, ==Diophantine analysis== === Typical questions === The questions asked in Diophantine analysis include: #Are there any solutions? #Are there any solutions beyond some that are easily found by [[List of mathematical jargon#Proof techniques|inspection]]? #Are there finitely or infinitely many solutions? #Can all solutions be found in theory? #Can one in practice compute a full list of solutions? These traditional problems often lay unsolved for centuries, and mathematicians gradually came to understand their depth (in some cases), rather than treat them as puzzles. === Typical problem === The given information is that a father's age is 1 less than twice that of his son, and that the digits {{mvar|AB}} making up the father's age are reversed in the son's age (i.e. {{mvar|BA}}). This leads to the equation {{math|10''A'' + ''B'' {{=}} 2(10''B'' + ''A'') − 1}}, thus {{math|19''B'' − 8''A'' {{=}} 1}}. Inspection gives the result {{math|''A'' {{=}} 7}}, {{math|''B'' {{=}} 3}}, and thus {{mvar|AB}} equals 73 years and {{mvar|BA}} equals 37 years. One may easily show that there is not any other solution with {{mvar|A}} and {{mvar|B}} positive integers less than 10. Many well known puzzles in the field of [[recreational mathematics]] lead to diophantine equations. Examples include the [[cannonball problem]], [[Archimedes's cattle problem]] and [[the monkey and the coconuts]]. ===17th and 18th centuries=== In 1637, [[Pierre de Fermat]] scribbled on the margin of his copy of ''[[Arithmetica]]'': "It is impossible to separate a cube into two cubes, or a fourth power into two fourth powers, or in general, any power higher than the second into two like powers." Stated in more modern language, "The equation {{math|1=''a{{sup|n}}'' + ''b{{sup|n}}'' = ''c{{sup|n}}''}} has no solutions for any {{mvar|n}} higher than 2." Following this, he wrote: "I have discovered a truly marvelous proof of this proposition, which this margin is too narrow to contain." Such a proof eluded mathematicians for centuries, however, and as such his statement became famous as [[Fermat's Last Theorem]]. It was not until 1995 that it was proven by the British mathematician [[Andrew Wiles]]. In 1657, Fermat attempted to solve the Diophantine equation {{math|61''x''<sup>2</sup> + 1 {{=}} ''y''<sup>2</sup>}} (solved by [[Brahmagupta]] over 1000 years earlier). The equation was eventually solved by [[Euler]] in the early 18th century, who also solved a number of other Diophantine equations. The smallest solution of this equation in positive integers is {{math|''x'' {{=}} 226153980}}, {{math|''y'' {{=}} 1766319049}} (see [[Chakravala method]]). ===Hilbert's tenth problem=== {{main article|Hilbert's tenth problem}} In 1900, [[David Hilbert]] proposed the solvability of all Diophantine equations as [[Hilbert's tenth problem|the tenth]] of his [[Hilbert's problems|fundamental problems]]. In 1970, [[Yuri Matiyasevich]] solved it negatively, building on work of [[Julia Robinson]], [[Martin Davis (mathematician)|Martin Davis]], and [[Hilary Putnam]] to prove that a general [[algorithm]] for solving all Diophantine equations [[proof of impossibility|cannot exist]]. ===Diophantine geometry=== [[Diophantine geometry]], is the application of techniques from [[algebraic geometry]] which considers equations that also have a geometric meaning. The central idea of Diophantine geometry is that of a [[rational point]], namely a solution to a polynomial equation or a [[system of polynomial equations]], which is a vector in a prescribed [[field (mathematics)|field]] {{mvar|K}}, when {{mvar|K}} is ''not'' [[algebraically closed]]. ===Modern research=== The oldest general method for solving a Diophantine equation{{mdash}}or for proving that there is no solution{{mdash}} is the method of [[infinite descent]], which was introduced by [[Pierre de Fermat]]. Another general method is the [[Hasse principle]] that uses [[modular arithmetic]] modulo all prime numbers for finding the solutions. Despite many improvements these methods cannot solve most Diophantine equations. The difficulty of solving Diophantine equations is illustrated by [[Hilbert's tenth problem]], which was set in 1900 by [[David Hilbert]]; it was to find an algorithm to determine whether a given polynomial Diophantine equation with integer coefficients has an integer solution. [[Matiyasevich's theorem]] implies that such an algorithm cannot exist. During the 20th century, a new approach has been deeply explored, consisting of using [[algebraic geometry]]. In fact, a Diophantine equation can be viewed as the equation of an [[hypersurface]], and the solutions of the equation are the points of the hypersurface that have integer coordinates. This approach led eventually to the [[Wiles's proof of Fermat's Last Theorem|proof by Andrew Wiles]] in 1994 of [[Fermat's Last Theorem]], stated without proof around 1637. This is another illustration of the difficulty of solving Diophantine equations. ===Infinite Diophantine equations=== An example of an infinite Diophantine equation is: <math display=block>n = a^2 + 2b^2 + 3c^2 + 4d^2 + 5e^2 + \cdots,</math> which can be expressed as "How many ways can a given integer {{mvar|n}} be written as the sum of a square plus twice a square plus thrice a square and so on?" The number of ways this can be done for each {{mvar|n}} forms an integer sequence. Infinite Diophantine equations are related to [[theta functions]] and infinite dimensional lattices. This equation always has a solution for any positive {{mvar|n}}.<ref>{{cite web | url=https://oeis.org/A320067 | title=A320067 - Oeis }}</ref> Compare this to: <math display=block>n = a^2 + 4b^2 + 9c^2 + 16d^2 + 25e^2 + \cdots,</math> which does not always have a solution for positive {{mvar|n}}. ==Exponential Diophantine equations== If a Diophantine equation has as an additional variable or variables occurring as [[exponentiation|exponents]], it is an exponential Diophantine equation. Examples include: * the [[Ramanujan–Nagell equation]], {{math|1=2<sup>''n''</sup> − 7 = ''x''<sup>2</sup>}} * the equation of the [[Fermat–Catalan conjecture]] and [[Beal's conjecture]], {{math|1=''a<sup>m</sup>'' + ''b<sup>n</sup>'' = ''c<sup>k</sup>''}} with inequality restrictions on the exponents * the [[Erdős–Moser equation]], {{math|1=1<sup>''k''</sup> + 2<sup>''k''</sup> + ⋯ + (''m'' − 1)<sup>''k''</sup> = ''m<sup>k</sup>''}} A general theory for such equations is not available; particular cases such as [[Catalan's conjecture]] and [[Fermat's Last Theorem]] have been tackled. However, the majority are solved via ad-hoc methods such as [[Størmer's theorem]] or even [[trial and error]]. ==See also== * [[Kuṭṭaka]], [[Aryabhata]]'s algorithm for solving linear Diophantine equations in two unknowns ==Notes== {{Reflist|colwidth=30em}} ==References== * {{Cite book| first=L. J.|last=Mordell | author-link=Louis Mordell | title=Diophantine equations | publisher=[[Academic Press]] | year=1969 | isbn=0-12-506250-8 | zbl=0188.34503 | series=Pure and Applied Mathematics | volume=30 }} * {{Cite book | last=Schmidt | first=Wolfgang M. | author-link=Wolfgang M. Schmidt | title=Diophantine approximations and Diophantine equations | series=Lecture Notes in Mathematics | publisher=[[Springer-Verlag]] | year=1991 | isbn=3-540-54058-X | volume=1467 | location=Berlin | zbl=0754.11020 }} * {{Cite book| first1=T. N.|last1=Shorey | first2=R.|last2=Tijdeman |author2-link=Robert Tijdeman| title=Exponential Diophantine equations | series=Cambridge Tracts in Mathematics | volume=87 | publisher=[[Cambridge University Press]] | year=1986 | isbn=0-521-26826-5 | zbl=0606.10011 }} * {{Cite book | first=Nigel P. | last=Smart | title=The algorithmic resolution of Diophantine equations | series=London Mathematical Society Student Texts | volume=41 | publisher=Cambridge University Press | year=1998 | isbn=0-521-64156-X | zbl=0907.11001 | url-access=registration | url=https://archive.org/details/algorithmicresol0000smar }} * {{Cite book | first=John | last=Stillwell | title=Mathematics and its History | edition=Second | publisher=Springer Science + Business Media Inc. | year=2004 | isbn=0-387-95336-1|url=https://books.google.com/books?id=WNjRrqTm62QC&q=diophantine}} ==Further reading== *{{cite journal |jstor=23905707 |title=Diophante et Fermat |last1=Bachmakova |first1=Isabelle |journal=Revue d'Histoire des Sciences et de Leurs Applications |year=1966 |volume=19 |issue=4 |pages=289–306 |doi=10.3406/rhs.1966.2507 }} *Bashmakova, Izabella G. ''[[Diophantus and Diophantine Equations]]''. Moscow: Nauka 1972 [in Russian]. German translation: ''Diophant und diophantische Gleichungen''. Birkhauser, Basel/ Stuttgart, 1974. English translation: ''Diophantus and Diophantine Equations''. Translated by Abe Shenitzer with the editorial assistance of Hardy Grant and updated by Joseph Silverman. The Dolciani Mathematical Expositions, 20. Mathematical Association of America, Washington, DC. 1997. *Bashmakova, Izabella G. "[https://web.archive.org/web/20190403144351/https://core.ac.uk/download/pdf/81109310.pdf Arithmetic of Algebraic Curves from Diophantus to Poincaré"] ''Historia Mathematica'' 8 (1981), 393–416. *Bashmakova, Izabella G., Slavutin, E. I. ''History of Diophantine Analysis from Diophantus to Fermat''. Moscow: Nauka 1984 [in Russian]. *Bashmakova, Izabella G. "Diophantine Equations and the Evolution of Algebra", ''American Mathematical Society Translations'' 147 (2), 1990, pp. 85–100. Translated by A. Shenitzer and H. Grant. * {{cite book | last=Dickson | first=Leonard Eugene | author-link=Leonard Eugene Dickson | title=[[History of the Theory of Numbers]]. Volume II: Diophantine analysis | orig-year=1920 | zbl=1214.11002 | mr=0245500 | location=Mineola, NY | publisher=Dover Publications | isbn=978-0-486-44233-4 | year=2005}} * Bogdan Grechuk (2024). ''Polynomial Diophantine Equations: A Systematic Approach'', Springer. *{{cite book |doi=10.1515/9783110336481 |title=Les "Arithmétiques" de Diophante |year=2013 |last1=Rashed |first1=Roshdi |last2=Houzel |first2=Christian |isbn=978-3-11-033593-4 }} *Rashed, Roshdi, ''Histoire de l'analyse diophantienne classique : D'Abū Kāmil à Fermat'', Berlin, New York : Walter de Gruyter. ==External links== *[http://mathworld.wolfram.com/DiophantineEquation.html Diophantine Equation]. From [[MathWorld]] at [[Wolfram Research]]. *{{Springer|id=d/d032610|title=Diophantine equations}} *[http://www.alpertron.com.ar/QUAD.HTM Dario Alpern's Online Calculator]. Retrieved 18 March 2009 {{Ancient Greek mathematics}} {{Authority control}} {{DEFAULTSORT:Diophantine Equation}} [[Category:Diophantine equations|*]]
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Anchor
(
edit
)
Template:Ancient Greek mathematics
(
edit
)
Template:Authority control
(
edit
)
Template:Citation
(
edit
)
Template:Cite book
(
edit
)
Template:Cite conference
(
edit
)
Template:Cite journal
(
edit
)
Template:Cite web
(
edit
)
Template:Main article
(
edit
)
Template:Math
(
edit
)
Template:Mdash
(
edit
)
Template:Mvar
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Template:Springer
(
edit
)
Template:Use dmy dates
(
edit
)
Search
Search
Editing
Diophantine equation
Add topic