Help proving gcf(a,b) = gcf(a-b,2b-a)?

  • Thread starter Null_Pointer
  • Start date
In summary: The correct formula is gcd(m,n) = gcd(m+kn,n), where k is any integer.In summary, when trying to prove a problem involving the greatest common factor (gcf), it is important to remember that if the gcf divides both numbers a and b, it will also divide any sum or difference of a and b. This can be applied to the gcf of (a-b, 2b-a) by using the formula gcf(m,n) = gcf(m+kn, n), where k is any integer. Additionally, it is important to note that any number that divides both a and b must also divide the gcf of (a,b). This applies to the question of 2b, which
  • #1
Null_Pointer
4
0
how should i think when trying to prove this problem ?
 
Physics news on Phys.org
  • #2
Null_Pointer said:
how should i think when trying to prove this problem ?
1. If gcf divides both a and b, isn't it true that it also divides any sum or differenceof a and b? How does that apply to the gcf of (a-b,2b-a)?
 
Last edited:
  • #3
let s=gcf(a,b), so s|a , s|b, (n|a and n|b implies n|s)
let t=gcf(a-b,2b-a), so t|a-b , t|2b-a, (n|a-b and n|2b-a implies n|t)
we have t|(a-b)+(2b-a)=b and t|(a-b)-b=a
so t|s
we have s|(a)-(b)=a-b and s|2(b)-(a)=2b-a
so s|t
so s=t
 
  • #4
alphachapmtl said:
let s=gcf(a,b), so s|a , s|b, (n|a and n|b implies n|s)
let t=gcf(a-b,2b-a), so t|a-b , t|2b-a, (n|a-b and n|2b-a implies n|t)
we have t|(a-b)+(2b-a)=b and t|(a-b)-b=a
so t|s
we have s|(a)-(b)=a-b and s|2(b)-(a)=2b-a
so s|t
so s=t

i just have one question, is 'n' in this case the remainder from the euclidean formula ?
 
Last edited:
  • #5
Null_Pointer said:
i just have one question, is 'n' in this case the remainder from the euclidean formula ?
No n can be any divisor, not just the euclidean remainder. Simply put if any number divides both a and b, it also must divide the gcf of (a,b).
 
  • #6
However, we have that question of 2b, which could affect the outcome.
 
  • #7
robert Ihnot said:
However, we have that question of 2b, which could affect the outcome.
I think the third line of Null Pointer's post handled that question nicely.
 
  • #8
Use that gcd(m,n)=gcd(m+kn,n) twice, one on each side.

There is a slight typo in the third line mentioned above, it may be the cause of the confusion.
 
Last edited:

FAQ: Help proving gcf(a,b) = gcf(a-b,2b-a)?

What is GCF?

GCF stands for Greatest Common Factor, which is the largest number that can evenly divide two or more numbers.

How do you find the GCF of two numbers?

The GCF can be found by listing out all the factors of the two numbers and finding the largest one that they have in common.

What is the significance of the equation gcf(a,b) = gcf(a-b,2b-a)?

This equation shows that the GCF of two numbers is equal to the GCF of their difference and the difference between twice the second number and the first number. This can be used to simplify and solve certain mathematical problems.

Can this equation be applied to any two numbers?

Yes, this equation is applicable to any two numbers as long as they have a common factor.

How can this equation be proven?

This equation can be proven using the Euclidean algorithm, which is a method for finding the GCF of two numbers. By applying the steps of the algorithm, it can be shown that the GCF of the two numbers is equal to the GCF of their difference and the difference between twice the second number and the first number.

Similar threads

Replies
1
Views
876
Replies
17
Views
2K
Replies
2
Views
13K
Replies
1
Views
2K
Replies
1
Views
850
Replies
3
Views
2K
Replies
2
Views
1K
Back
Top