• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Mathematical proof

pinion9

Banned
This is for a class, so please don't do all the work for me. I just need a good starting point, and was also wondering if/how this could be done by induction. Essentially the problem pertains to Euclid's algoritm. I need to prove that gcd(m,n) = gcd(m, m mod n)

Again, not highly technical, but it has been a while since I had to prove anything. Please give me a good starting point.

Thanks.
 
One way you might start:

let y = (m,n) = (m, m mod n) => m < n => y | m and y | n and y maximum that does so
assume y = (m,n) != (m, m mod n) =>
y !| m or y!| m mod n or y not maximum that does so
prove y | m and y | m mod n and y is the maximum that does so since m <= m mod n
 
I think a proof by contradiction might be simpler. That is, given m and n, assume that gcd(m, m mod n) < gcd(m, n) then show the contradiction. Similarly, assume that gcd(m, m mod n) > gcd(m, n) and do the same.

 
Originally posted by: arcas
I think a proof by contradiction might be simpler. That is, given m and n, assume that gcd(m, m mod n) < gcd(m, n) then show the contradiction. Similarly, assume that gcd(m, m mod n) > gcd(m, n) and do the same.

yeah, but if he has to do it by induction, the fact that a proof by contradiction is simpler to state doesnt help.
 
Originally posted by: pinion9
This is for a class, so please don't do all the work for me. I just need a good starting point, and was also wondering if/how this could be done by induction. Essentially the problem pertains to Euclid's algoritm. I need to prove that gcd(m,n) = gcd(m, m mod n)

Again, not highly technical, but it has been a while since I had to prove anything. Please give me a good starting point.

Thanks.
Are you sure that you stated that right? Shouldn't it be gcd(m,n) = gcd(n, m mod n) where m>n?

Just a simple contradiction:
gcd(8,3) = 1
gcd(8,8%3) = gcd(8,2) = 2
2 != 1

whereas:
gcd(8,3) = 1
gcd(3,8%3) = gcd(3,2) = 1
1 = 1

Using the correct equation should count as a good starting point. 😉
 
Back
Top