Number Theory Section Summary: 2.4

Diophantine Equations

  1. Definitions

    Diophantine equation: A Diophantine equation is basically one whose solution is over the integers.

  2. Theorems

    Theorem 2.9: The linear Diophantine equation ax+by=c has a solution iff d|c, where tex2html_wrap_inline219 . If tex2html_wrap_inline221 is any particular solution of this equation, then all other solutions are given by

    displaymath195

    for integral values of t.

    Corollary: If tex2html_wrap_inline225 , and tex2html_wrap_inline221 is any particular solution of the equation ax+by=c, then all other solutions are given by

    displaymath196

    for integral values of t.

  3. Properties/Tricks/Hints/Etc.

    In doing these problems, which are often are of the form of amusing story problems, it is important to include restraints imposed by the nature of the variables. For example, if you are counting roosters, what does a negative number of roosters mean?

  4. Summary

    Theorem 2.9 is really an obvious conclusion of the corollary of Theorem 2.3: the set tex2html_wrap_inline233 is precisely the set of multiples of tex2html_wrap_inline219 , and we're testing whether a value c is an element of T.

    Hence, the question ``Does ax+by=c have a solution?'' is answered by checking to see if d|c (that is, if c is a multiple of d).

    A solution tex2html_wrap_inline221 is not unique, however, as one can obviously see: for example, if x=b and y=-a, then ab+b(-a)=0. So for any solution tex2html_wrap_inline221 of

    displaymath197

    simply add zero (in the form t(ab+b(-a))):

    displaymath198

    or

    displaymath199

    also holds true. So tex2html_wrap_inline261 is a solution, for any integral value of t.

    For those of you who love linear algebra (all of you, I'm sure!), you can think of it this way: if we have a solution

    displaymath200

    then we can find the solutions of the homogeneous equation

    displaymath201

    and then tack them on to tex2html_wrap_inline265 to create the general solution

    displaymath202

    This represents all the solutions, if we're willing to allow k to be real. But we're only interested in solutions over the integers, so we have to be careful! We can factor out a tex2html_wrap_inline219 from the homogeneous equation, to produce

    displaymath203

    The safe bet is to make sure that tex2html_wrap_inline271 : hence the general solution is

    displaymath204




Thu Jan 26 17:12:42 EST 2006