Skip to content
← All questions

Why does repeating the subtraction operation lead to a much smaller equivalent gcd problem?

Repeating the subtraction operation reduces the magnitude of the numbers involved while preserving their common divisors. Since the numbers are positive integers, they cannot decrease indefinitely. Eventually, the process reaches a state where one number is zero or the numbers are equal, simplifying the problem to finding the gcd of smaller values or the base case.

Conditions

  • The initial numbers are positive integers.
  • The operation is subtracting the smaller from the larger.
  • The goal is to preserve the gcd while reducing the numbers.

Reasoning, step by step

  1. Start with two positive integers aa and bb (a<ba < b).
  2. Replace (a,b)(a,b) with (a,b−a)(a, b-a).
  3. Observe that b−a<bb-a < b, so the larger number decreases.
  4. Repeat the process.
  5. The numbers strictly decrease in magnitude.
  6. Eventually, the numbers become small enough that the gcd is obvious (e.g., one is zero or they are equal).
  7. The equivalence is maintained because the set of common divisors does not change.

Example

The script states: 'Subtracting the smaller positive integer from the larger preserves their common divisors. Repeating the operation leads to a much smaller equivalent gcd problem.'

Common misconceptions

  • Thinking that the gcd changes as the numbers get smaller.
  • Believing that the process might never end for certain pairs of integers.
  • Confusing the reduction in magnitude with a loss of information about the gcd.

Watch the explanation

Connected concepts

Explore next

Related questions

Understand why

↗
Find a method

↗
Find a method

↗
Know when to use it

↗

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.