关于裴蜀定理的一些证明

本文详细阐述了裴蜀定理及其推论,包括线性不定方程ax+by=c有整数解的条件,以及a,b互质时存在整数x,y使ax+by=1。同时给出了ax+by=gcd(a,b)有整数解x,y的证明过程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

转载自 http://blog.youkuaiyun.com/discreeter/article/details/69833579


裴蜀定理: 
对任何a,b∈Z和它们的最大公约数d,关于未知数xy的线性不定方程(称为裴蜀等式):ax+by=c有整数解(x,y)当且仅当dc,可知有无穷多解。特别地,一定存在整数x,y,使ax+by=d成立。 
推论: 
a,b互质的充要条件是存在整数x,y使ax+by=1

对于(a,b∈Z)ax+by=gcd(a,b)一定有整数解x,y的证明: 
d=gcd(a,b),可得da,db,且d(ax+by)。 
sab的线性组合集中最小的正元素,并且对于某个x,yZ,有s=ax+by,可知sZ。 
q=⌊a/s⌋,则有r=amods=a−qs=a−q(ax+by)=a(1−qx)+b(−qy),因此r也是ab的一个线性组合,已知s是这个线性集合中的最小正整数,又0r<s,可得r=0,因此有sa,同理有sb,因此sab的公约数,所以有ds。因为对于任意x,yZ,有d(ax+by),而对于某个x,yZ,有s=ax+by,所以有ds。但ds且s>0,可得ds。综合ds和ds,得d=s,故s=gcd(a,b)。我们已知sab的线性组合集中的最小正元素,故ax+by=gcd(a,b)一定有整数解x,y,亦可知对于a,b∈Z,gcd(a,b)是ax+by(x,yZ)的最小正元素

对于(a,b∈Z)ax+by=c有整数解的条件是gcd(a,b)∣c的证明: 
充分性:设d=gcd(a,b),已知ax+by=d一定有整数解,设其解为(x0,y0)dc,则存在kZ,使得c=kd=k(ax+by)=a(kx)+b(ky),即解为(kx0,ky0)。 
必要性:因x1,y1∈Z,设d=gcd(a,b),有da,db,d(ax1,by1),即dc

 

Proof by Well-OrderingPrinciple

Let the set S to be all positive integers of the form ua + vb for some Integer u and v. Then S must have at least one element.[let u = 1 and v = 1 and a+b is in S]

Let gcd(a, b) = d Then d|a and d|b,by the def of divisibility.a = dn, b = dm for some integer n,m.

then ua + vb = dnu + dmv =d(nu + mv)  [nu + mv is a integer because sum and product of integers]

thus d | (ua + vb) .therefore all of the element in S is divisible by d.

By well-ordering principle,contains a least element called it t,Then d | t. by theorem 3.3.3 t>= d.   (1)

Let q = a/s ,then r = a mod t = a - qt = a - (ua +vb)q = a(1-qu) + b(-qv)

And (1-qu), (-qv)are all integers, thus r is the integer has the form au + bv. and  because 0<= r < t. and t is the least element in set S.

Hence can't be in set S , so r must be zero. and t | a.

By the same step we can proved that t | b. Hence t is a common divisor of a and b. and therefore t<= gcd(a, b) = d. (2)

by (1) (2)  t >=d and t<=d then t = d. The least element in set S is the gcd(a, b)QED




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值