Logarithm TheoremPythagorean TheoremCombinatoricsQuadratic EquationsSequence and SeriesLinear Algebra Draft for Information Only
ContentClassical Linear Diophantine Equation
Classical Linear Diophantine EquationSource: An Introduction to Diophantine Equations - A Problem-Based Approach Linear Diophantine EquationA linear Diophantine equation is a first-degree equation of the form Linear Bivariate Diophantine EquationA linear bivariate Diophantine equation is a first-degree equation with two variables of the form Theorem ALet a, b, c be integers, a and b nonzero. Consider the linear Diophantine equation.
Proof of A.1
For
ax+by=c If d divides c then the equation is solvable in integers since c/d is alway an integer.
After dividing both sides of the equation by d/c,
Suppose u and v are two integers for which u>v and gcd(u,v)=d. From Euclidean algorithm, assume u=vq+r for integers u, v, q, and r.
Euclidean AlgorithmThrough Euclidean algorithm, a larger integer, u can be broken down into two parts, with one part is the multiple, q of the smaller integer, v and the other part is the remainder, r. Since the remainder is always less than the smaller integer and be divided by d also. Therefore the gcd of two integers, u and v can be determined by repeating the mechanism of Euclidean algorithm with v and r systematically until the remainder equals to 0.
The mechanism of Euclidean algorithm eventually terminates, since the remainders get smaller and smaller and end at zero. that is
Since rₙ=0, rₙ₋₁ divides rₙ₋₂ , therefore Euclidean algorithm also assure that Extended Euclidean AlgorithmThe gcd(u,v) can then be determined through extended Euclidean algorithm as an integer combination of a and b. That is gcd(u,v)=ux+vy=d in which d is one of the remainders from Euclidean Algorithm. Rearranging equations from Euclidean Algorithm
Define the integers xₖ and yₖ recurively by
Therefore the variables xₖ and yₖ can be determined in terms of qₖ
The variables xₖ and yₖ are always opposite in sign and changed alternately. The remainder rₖ can therefore be calculated from the equation rₖ=uxₖ+vyₖ accordingly. That is
Assume u=(u/gcd(u,v)) and v=(v/gcd(u,v)). Then
Therefore |xₙ|=v/gcd(u,v) and |yₙ|=u/gcd(u,v). In other words, |xₙ₋₁|<v and |yₙ₋₁|<u are always true unless n=0 and q₀=1, that is unless u=v=1
For example364x+110y=46 gcd(182*2,55*2)=gcd(364,110)=2 Euclidean algorithm
Extended Euclidean algorithm The variables xₖ and yₖ
The equation of gcd(u,v)
The solutions from equation of gcd(u,v)
364(13)+110(-43)=2 Therefore solution to equation 364x+110y=46 is
(x,y)=(299,-989) Proof of A.2Suppose f(x,y)=ax+by=c and gcd(a,b)=d Since f(x,y)=c=ax+by⇒f(x₀,y₀)=ax₀+by₀=c Add and subtract (ab/d)/t ⇒f(x₀,y₀)=ax₀+(ab/d)/t-(ab/d)/t+by₀=c ⇒f(x₀,y₀)=a(x₀+(b/d)/t)+b(y₀-(ab/d)/t)=c Proof of A.3If c=gcd(a,b) and |a| or |b| is different from 1, then a particular solution (x,y)=(x₀,y₀) to (x₀+(b/d)t, y₀-(a/d)t) can be found such that |x₀|<|b| and |y₀|<|a|. From proof 1, the range of variables xₖ and yₖ are bounded such that, in general, |x₀|<|b| and |y₀|<|a|. 1=|x₀|<|x₁|<|x₂|<|x₃|<…<|xₙ₋₂|<|xₙ₋₁|<|xₙ|=|v/gcd(u,v)| Since c=gcd(a,b)>0, If rk:n=0=0, then either a|b or b|a. If rk:n>0=0, then gcd(a,b)=c exists. Besides,since
unless n=0 and q₀=1, that is unless u=v=1 Theorem BThe equation a₁x₁+a₂x₂+…+aₙxₙ=c where a₁, a₂, …, aₙ, c are fixed integers is solvable if and only if gcd(a₁, a₂, …, aₙ)|c In case of solvability, one can choose n-1 solutions such that each solution is an integer linear combination of those n-1 solutions. Proof of BLet d= gcd(a₁, a₂, …, aₙ). If c is not divisible by d, then a₁x₁+a₂x₂+…+aₙxₙ=c is not solvable. Since the left hand side of equation is divisble by d, while the right hand side is not.
©sideway ID: 190300007 Last Updated: 3/7/2019 Revision: 0 Ref: References
Latest Updated Links
|
Home 5 Business Management HBR 3 Information Recreation Hobbies 8 Culture Chinese 1097 English 339 Travel 9 Reference 79 Computer Hardware 251 Software Application 213 Digitization 32 Latex 52 Manim 205 KB 1 Numeric 19 Programming Web 289 Unicode 504 HTML 66 CSS 65 SVG 46 ASP.NET 270 OS 431 DeskTop 7 Python 72 Knowledge Mathematics Formulas 8 Set 1 Logic 1 Algebra 84 Number Theory 206 Trigonometry 31 Geometry 34 Calculus 67 Engineering Tables 8 Mechanical Rigid Bodies Statics 92 Dynamics 37 Fluid 5 Control Acoustics 19 Natural Sciences Matter 1 Electric 27 Biology 1 |
Copyright © 2000-2025 Sideway . All rights reserved Disclaimers last modified on 06 September 2019