Professional Documents
Culture Documents
Linear Diophantine Equations
Linear Diophantine Equations
Linear Diophantine Equations
Example.
Example. Since
For example,
Diophantine equation
Theorem. Let
(a) If
(b) If
, and
. That is, the
has solutions --- in fact, infinitely many solutions.
Here
Before I give the proof, I'll give some examples, and also discuss the three variable
equation
.
Example. Solve
Since
error,
.
, there are infinitely many solutions. By trial and
, is a particular solution. Hence, the general solution is
Example. Solve
Since
.
, the equation has no solutions.
Example. Solve
Notice that
simplifying
Let
, is a particular
Thus,
All together, the general solution to the original three variable equation is
Case 1. Suppose
Case 2. Suppose
such that
. Write
for
Then
Hence,
, is a solution.
Suppose
Finally, I want to show that every solution has this form. Suppose then that
solution. Then
and
imply
Therefore,
Now
However,
Thus,
is a
This is the result stated in the theorem (with an unimportant switch of k and
.)
DIOPHANTINE EQUATION
From Wikipedia, the free encyclopedia
In mathematics, a Diophantine equation is a polynomial equation in two or
more unknowns such that only the integer solutions are searched or studied (an integer
solution is a solution such that all the unknowns take integer values). A linear
Diophantine equation is an equation between two sums of monomials of degree zero
or one.
Diophantine problems have fewer equations than unknown variables and involve
finding integers that work correctly for all equations. In more technical language, they
define analgebraic 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.
While individual equations present a kind of puzzle and have been considered
throughout history, the formulation of general theories of Diophantine equations (beyond
the theory ofquadratic forms) was an achievement of the twentieth century.
calculations.) The second to last column will contain two other numbers. In the example
with a = 87 and b = 64, the penultimate column contains 34 and 25.
8
Notice that 87*25 - 64*34 = -1. The determinant of the 2x2 matrix in the lower right will
always be either plus or minus 1. If negative, multiply both sides of the identity by -1 to
get -87*25 + 64*34 = 1. This observation is the starting point from which we can build a
solution.
9
Return to the original equation. Rewrite the identity in the previous step as either
87*(-25) + 64*(34) = 1 or 87*(-25) - 64*(-34) = 1, whichever best resembles the original
equation. For the example, the second choice is preferred since it matches the 64y term in the original when y = -34.
10
Only now do we need to look at the constant term c on the right-hand side of the
equation. Since the previous equation demonstrates a solution to ax + by = 1,
multiplying both sides by c to get a(cx) + b(cy) = c. If (-25, -34) is a solution to 87x 64y = 1, then (-75, -102) is a solution to 87x-64y = 3.
11
If a linear Diophantine equation has any solutions, then it has infinitely many
solutions. This is because ax + by = a(x+b) + b(y-a) = a(x+2b) + b(y-2a), and in general
ax + by = a(x+kb) + b(y-ka) for any integer k. Therefore, since (-75,-102) is a solution to
87x-64y = 3, other solutions are (-11,-15), (53,72), (117,159), etc. The general solution
could be written as (53+64k, 72+87k) where k is any integer.