18
$\begingroup$

I know it might be too easy for you guys here. I'm practicing some problems in the textbook, but this one really drove me crazy.
From $\gcd( a, b ) = 1$, I have $ax + by = 1$, where should I go from here? The extra $ac$ is so annoying. Any hint?

Thanks,
Chan

6 Answers 6

21

Setup: Let $d_1 = \gcd(c,b)$ and $d_2 = \gcd(ac,b)$.

So we have $cx_1 + by_1 = d_1$, $acx_2 + by_2 = d_2$, and $ax + by = 1$.

Step 1: Multiply $ax+by = 1$ by $d_1$ (using $d_1 := cx_1 + by_1$) and rearrange to show that $d_2|d_1$.

$$\begin{aligned} d_1 (ax+by &= 1)\\ \implies ax(cx_1 + by_1) + bd_1y &= d_1 \\ \implies a c (x x_1) + b(a x y_1 + d_1 y) &= d_1 \end{aligned}$$

Since we know that $d_2 = \gcd(ac,b)$ divides any integer linear combination of $ac$ and $b$, we have $d_2 | d_1$.

Step 2: By a similar argument, multiply $ax+by = 1$ by $d_2$ (using $d_2 := acx_2 + by_2$) and rearrange to show that $d_1|d_2$.

$$\begin{aligned} d_2 (ax+by &= 1) \\ \implies ax(acx_2 + by_2) + bd_2y &= d_2 \\ \implies c (a^2 x x_2) + b(a x y_2 + d_2 y) &= d_2 \end{aligned}$$

Since we know that $d_1 = \gcd(c,b)$ divides any integer linear combination of $c$ and $b$, we have $d_1 | d_2$.

Conclusion: Finally, because we have $d_1 | d_2$, $d_2 | d_1$, and $d_1$ and $d_2$ are non-negative (since they are the gcd of two integers), we conclude that $d_1 = d_2$. Thus, $gcd(ac,b)=gcd(c,b)$.

  • 0
    @Sivaram: Thanks for a very simple, and step by step proof ;)2011-02-07
  • 0
    @Sivaram: nitpick: "So we have $d_1|d_2$ and $d_2|d_1$" *and both nonnegative,* "and hence $d_1=d_2$."2011-02-07
  • 0
    @Chan: This comment is more of a general comment. The above proof demonstrates the power of Euclidean algorithm. So many nice things happen in integers and some other rings because of the Euclidean algorithm (In fact these rings are termed Euclidean rings). http://en.wikipedia.org/wiki/Euclidean_domain2011-02-07
  • 0
    @Arturo: Edit done.2011-02-07
  • 0
    @Siv: Simplified it's $\rm\ (b,c)\ |\ b,ac\ \Rightarrow\ (b,a)\ |\ (b,ac)\:.\:$ Conversely $\rm\ (b,ac)\ |\ b,\: c=c(ax+by)\ \Rightarrow\ (b,ac)\ |\ (b,c)\:.\ $ **QED** $\ $ Here $\rm\ (b,ac)\ |\ (ac)\:x + (b)\:cy\ $ since $\rm\ (b,ac)\ |\ b,\: ac\ $ so it divides said sum. This uses a Bezout- form of the gcd distributive law. Generalizing yields $\rm\ (b,ac)\ |\ ac,bc\ \Rightarrow\ (b,ac)\ |\ (ac,bc) = (a,b)c\ $ $\rm [= c\ if\ (a,b) = 1]\:.\:$ This proof works in *any* gcd domain since it doesn't employ Bezout's law, i.e. $\rm\ gcd(a,b)\ $ is a linear combination of $\rm\:a,b\:$. See my post.2011-02-19
  • 0
    @Bill: I am not too familiar with gcd domains nor have I thought about it, I would appreciate if you could point me to some reference for my better understanding.2011-02-19
  • 0
    @Siv: GCD domains are simply domains where any two elements (not both $0$) have a gcd. I'm not aware of any good textbook presentations, but you can find many of their basic properties via the link in my answer to my gcd posts here. For an advanced survey see the Anderson paper [referenced here.](http://bit.ly/gYKpfR) One of the great advantages of presenting proofs in this form is that often the same proof works for gcds *and* ideals, e.g. see the [Freshman's Dream](http://bit.ly/gK1vGT). This intimate relationship between gcds and ideals becomes clearer when one studies *divisor theory*.2011-02-19
17

My attempt at a Bill Dubuquesque argument: \begin{align*} r|ac,\;b &\Longleftrightarrow r|ac,\;bc,\;b\\ &\Longleftrightarrow r|\gcd(ac,bc),\;b\\ &\Longleftrightarrow r|\gcd(a,b)c,\;b &\quad&\mbox{(since $\gcd(ac,bc)=\gcd(a,b)c$)}\\ &\Longleftrightarrow r|c,\;b \end{align*}

  • 0
    By trivial, you mean is it a theorem or defintion? Sorry I'm not a fast thinker :(, rather very slow. So could you slow down a little bit.2011-02-07
  • 0
    @Chan: I changed it, but: if something divides $b$ and $c$, then it divides $b$ and any multiple of $c$, in particular $b$ and $ac$. So the *greatest* common divisor of $b$ and $c$ must divide the greatest common divisor of $b$ and $ac$. Remember that anything that divides $x$ and $y$ must divide $\gcd(x,y)$.2011-02-07
  • 0
    Thanks again. It will take me sometimes to understand it completely.2011-02-07
  • 0
    @ArturoMagidin but this does not guarantee that they have the same gcd; it only says that they have a common factor. Am I missing something?2017-02-20
  • 0
    @GRrocks: It proves that the set of common divisors of $ac$ and $b$ is the same as the set of common divisors of $c$ and $b$. Since the GCD is the largest element of the set of common divisors, it also shows that they have the same gcd. And, no, it does not show they have a common factor (because, by itself, it does not prove that the set of common factors is nonempty in either case; just that the two sets are equal).2017-02-20
  • 0
    @ArturoMagidin that clears it up..thanks2017-02-21
17

This follows easily from basic laws of GCD arithmetic. First I will present the proof using the standard notation $\rm\: (a,b)\:$ for $\rm\: gcd(a,b),\: $ immediately followed by a proof employing a more suggestive arithmetical notation, namely denoting $\rm\:\gcd(a,b)\:$ by $\rm\ a \dot+ b\:.\:$ Because the arithmetic of GCDs shares many of the same basic laws of the arithmetic of integers, the proof becomes more intuitive using a notation that highlights this common arithmetical structure.

The proof below employs only said basic GCD laws, namely the $ $ associative law, $ $ and the commutative law, combined with the fundamental distributive law $\rm\, (ac,bc)\ =\ (a,b)\:c\, $ and the GCD-specific law $\rm\: \color{#C00}{(c,1) = 1}.\: $

$$\begin{eqnarray} &\rm (ac,\:b)\! &=&\rm\: (ac,b\:\color{#C00}{(c,1)})\!\! &=&\rm\: (ac,\:bc,\:b)\!\! &=&\rm\ ((a,b)\:c,b)\! &[\!\!\rm&=&\rm\: (c,\:b)\ &\rm if\ \ \ (a,b)\!\! &=&\rm 1\:] \\[0.2em] &\rm ac \dot+ b &=&\rm\ ac \dot+ b\:\color{#C00}{(c \dot+ 1)}\!\! &=&\rm\,\ ac\dot+bc\dot+b\!\! &=&\rm\ (a\dot+b)\:c \dot+ b\ &[\!\! &=&\rm\ \: c \dot+ b\ \:\ &\rm if\rm\quad a\dot+b\!\! &=&\rm 1\:] \end{eqnarray}$$

Notice how the suggestive notation in the second proof invites us to exploit our well-honed arithmetical intuition regarding the associative, commutative and distributive laws of integer arithmetic during analogous GCD arithmetic proofs. $ $ For a less trivial example see a similar proof of the Freshman's Dream $\rm\ (A,B)^n\, =\ (A^n,B^n)\ $ for GCDs and cancellable ideals.

The motivation behind this powerful abstract axiomatic approach becomes much clearer should you go on to study ideal theory and/or divisor theory (and you should, for there lies much beauty).

For further discussion and generalizations see this post and see my menagerie of posts on GCDs.

6

Not sure if I can prove it algebraically but can try to explain logically. There is no common denominator between a and b (this is what gcd(a,b) = 1 means).

When you multiply a * c you introduce c's prime factors to the new number "ac".

So, if any new common factors (between ac and b) are introduced, we know that they came solely from c. We know this because prior to multiplying by c there were no common denominators. So, the only commonality that could originate here is from c and b.

5

(a,c)=1, so there are integers x,y such that ax+cy=1. (b,c)=1, so there are integers z,w such that bz+cw=1.

multiplying the two equations we get, axbz+axcw+cybz+cycw=1

simplifying our answer we have, ab(xz)+c(axw+yzb+ycw)=1.

it follows that (ab,c)=1.

3

We could prove the contrapositive: $\gcd(ac,b) \neq \gcd(c,b) \Longrightarrow \gcd(a,b) \neq 1$. Let $d = \gcd(ac,b)$ and $d' = \gcd(c,b)$. Now $d' < d$. So $d$ does not divide $c$ and $b$ and $d$ divides $ac$ and $b$. So $\gcd(a,b) \neq 1$.

  • 0
    Why do you think that implies $gcd(a,b)\ne 1$?2011-02-19