Greatest commen divisor question

  • Thread starter Thread starter Bob19
  • Start date Start date
AI Thread Summary
The discussion revolves around proving that gcd(a, b) can be expressed as ax + by for some integers x and y. Participants clarify that the goal is to demonstrate the existence of specific integers x and y such that this equation holds true. It is emphasized that simply claiming gcd(a, b) equals ax + by is not a valid proof method. The conversation suggests using the properties of divisibility and linear combinations to establish the proof, indicating that the smallest linear combination of a and b must divide gcd(a, b). Overall, the focus is on understanding the relationship between gcd and linear combinations of integers.
Bob19
Messages
71
Reaction score
0
Hi got basic question:

I'm suppose to prove that gcd(a,b) = ax+by,

What is the best way of proving this?

Is that by claiming if d = gcd(a,b) can be divide a,b then
gcd(a,b) = ax +by ??

/Bob
 
Physics news on Phys.org
What's x and y then?

I`m sure the question is: Prove that there exist x and y, such that ax+by=gcd(a,b), for positive integers a,b.

Whar do you know about the gcd?
 
A really good way to begin any problem is by stating it clearly!

You are asked to prove that GCD(a,b)= ax+ by for SOME specific integer values of x and y.
(And typically one of x and y will be positive, the other negative.)

To answer your question- No, "claiming if d = gcd(a,b) can be divide a,b then
gcd(a,b) = ax +by " is not a good way to prove that same statement!

What theorems or properties of integers do you know that you can use?
 
What you have to prove is that there are integers x and y such that gcd(a,b) = ax + by. Well if d = gcd(a,b) then d | a and d | b, so we can say a = dm, b = dn. We then get for ANY x and y:

ax + by = dmx + dny = d(mx + ny), and d clearly divides this expression, so d divides ax + by. Since d | (ax + by) for any x and y, then choosing x and y so that (ax + by) is as small (but positive) as possible, you know that d divides it, so you have that d divides the smallest "linear combination" of a and b. What you want to end up proving is that d is the smallest linear combination of a and b, so you might want to proceed by showing that the smallest linear combination of a and b, whatever it may be, divides gcd(a,b). Have you done any group theory?
 
AKG said:
What you have to prove is that there are integers x and y such that gcd(a,b) = ax + by. Well if d = gcd(a,b) then d | a and d | b, so we can say a = dm, b = dn. We then get for ANY x and y:

ax + by = dmx + dny = d(mx + ny), and d clearly divides this expression, so d divides ax + by. Since d | (ax + by) for any x and y, then choosing x and y so that (ax + by) is as small (but positive) as possible, you know that d divides it, so you have that d divides the smallest "linear combination" of a and b. What you want to end up proving is that d is the smallest linear combination of a and b, so you might want to proceed by showing that the smallest linear combination of a and b, whatever it may be, divides gcd(a,b). Have you done any group theory?

Hi AKG,

No I haven't done any group theory yet! Please bear with me,
So basicly what You are saying is that if I need to show is that if one choose an 'x' and 'y' small enough and d can be divide 'a' and 'b'. Then this proofs that there the gcd(a,b) equals the linear combinations "ax+by" ?

/Bob
 
Hello Hall and thank You for your answer,

The only integer theorem I know, is that "Every integer n > 1 is either a prime or a product of primes". Is that what You are referring too ?

/Bob

HallsofIvy said:
A really good way to begin any problem is by stating it clearly!

You are asked to prove that GCD(a,b)= ax+ by for SOME specific integer values of x and y.
(And typically one of x and y will be positive, the other negative.)

To answer your question- No, "claiming if d = gcd(a,b) can be divide a,b then
gcd(a,b) = ax +by " is not a good way to prove that same statement!

What theorems or properties of integers do you know that you can use?
 
Thread 'Variable mass system : water sprayed into a moving container'
Starting with the mass considerations #m(t)# is mass of water #M_{c}# mass of container and #M(t)# mass of total system $$M(t) = M_{C} + m(t)$$ $$\Rightarrow \frac{dM(t)}{dt} = \frac{dm(t)}{dt}$$ $$P_i = Mv + u \, dm$$ $$P_f = (M + dm)(v + dv)$$ $$\Delta P = M \, dv + (v - u) \, dm$$ $$F = \frac{dP}{dt} = M \frac{dv}{dt} + (v - u) \frac{dm}{dt}$$ $$F = u \frac{dm}{dt} = \rho A u^2$$ from conservation of momentum , the cannon recoils with the same force which it applies. $$\quad \frac{dm}{dt}...
I was thinking using 2 purple mattress samples, and taping them together, I do want other ideas though, the main guidelines are; Must have a volume LESS than 1600 cubic centimeters, and CAN'T exceed 25 cm in ANY direction. Must be LESS than 1 kg. NO parachutes. NO glue or Tape can touch the egg. MUST be able to take egg out in less than 1 minute. Grade A large eggs will be used.
Back
Top