New Reply

Positive solution for linear Diophantine equations

 
Share Thread Thread Tools
Nov27-12, 06:28 PM   #1
 

Positive solution for linear Diophantine equations


The linear Diophantine equations: ax+by=c, a,b,c is natural numbers.
If c is a multiple of gcd(a,b), there is infinite integer solutions, and I know how to find x,y.
However, I wonder how to find positive integer solution x,y only.
PhysOrg.com
PhysOrg
mathematics news on PhysOrg.com

>> Mathematicians analyze social divisions using cell phone data
>> Can math models of gaming strategies be used to detect terrorism networks?
>> Mathematician proves there are infinitely many pairs of prime numbers less than 70 million units apart
Nov27-12, 07:08 PM   #2
 
Quote by pyfgcr View Post
The linear Diophantine equations: ax+by=c, a,b,c is natural numbers.
If c is a multiple of gcd(a,b), there is infinite integer solutions, and I know how to find x,y.
However, I wonder how to find positive integer solution x,y only.

They may not exists. For example, the equation [itex]\,7x+6y=5\,[/itex] cannot have positive solutions, but it has

solutions, like [itex]\,(5,-6)\,[/itex]

DonAntonio
Nov29-12, 12:40 AM   #3
 
Shouldn't that be (5,-5)?
Nov29-12, 05:40 AM   #4
 

Positive solution for linear Diophantine equations


Quote by Mensanator View Post
Shouldn't that be (5,-5)?

Yes, you're right of course. Thanks.

DonAntonio
Nov29-12, 08:08 AM   #5
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus
All solutions of the Diophantine equation ax+ by= c (assuming a, b, relatively prime) are of the form x= x0+ kb, y= y0- ka for k any integer. If you want both x and y positive, you must be able to choose k so that those are postive. Whether that is possible, of course, depends on a, b, x0, and y0.
New Reply
Thread Tools


Similar Threads for: Positive solution for linear Diophantine equations
Thread Forum Replies
Linear diophantine equations Linear & Abstract Algebra 1
number theory - gcd and linear diophantine equations Calculus & Beyond Homework 1
Linear algebra (impact of solution of theory of linear equations) Calculus & Beyond Homework 2
Linear Diophantine Equations Calculus & Beyond Homework 8
General solution to diophantine equations Linear & Abstract Algebra 3