2

How can I prove this statement:

$\forall a,b,u,v \in \mathbb{Z} - \big\{{0\big\}}\hspace{0.7em}ua+vb=1 \rightarrow \gcd(a,b)=1$

I don't even really know how to start off.

Probably with Euclid's Extended GCD Algorithm?

Thanks in advance.

Lars
  • 61

3 Answers3

3

Any common divisor of $a$ and $b$ is a divisor of $ua+vb$.

Bernard
  • 175,478
1

There is a theorem that states that the gcd of two numbers is the minimal (natural) linear combination of them. I.e., $$\gcd\left(m,n\right)=\min\left\{am+bn\in\mathbb{N}\middle|a,b\in\mathbb{Z}\right\}$$

Another way is to prove it by definition: show that if $d|a$ and $d|b$, then $d=\pm 1$.

Guy
  • 2,414
1

Since $\gcd(a,b)\mid ua$ and $\gcd(a,b)\mid vb$, we get $\gcd(a,b)\mid ua+vb=1$.

user236182
  • 13,324