0

Prove if $(a,b) = 1$ implies $a|n$ and $b|n \implies ab|n$.

I'm pretty sure this has been asked before but I cannot find anything online.... I also have no idea how to solve it, I get stuck with al = bk for some l,k in the integers.

Bill Dubuque
  • 282,220
Adam Staples
  • 985
  • 13
  • 24

7 Answers7

6

If $\gcd(a,b) = 1$ then the Bezout identity gives some $x,y$ such that $ax+by = 1$. Hence $axn+byn = n$, and since $ab \mid axn$ and $ab \mid byn$ we have $ab \mid n$.

copper.hat
  • 178,207
  • 1
    This mainly shows that it is possible to invoke a Bezout identity in just about any question about relative primality, even in those cases where it is much easier to do without. – Marc van Leeuwen Feb 23 '14 at 07:58
  • I don't get your point. Bézout's identity is fairly elementary, it appears in the first few pages of my copy of Stark's "Introduction to number theory". – copper.hat Feb 23 '14 at 08:11
  • My point was not the the existence of a Bezout identity is hard to see, but that it seems not really needed in showing that if $\gcd(a,b)=1$, then $ab$ is the least common multiple of $ab$: if $ab/d$ is a common multiple of $a,b$, then $d$ is a common divisor of $a,b$. But I guess one needs to show at some point that least (in the sense of divisibility) common multiples exist in $\mathbf Z$, and that would involve invoking a Euclidean division too; so I should replace "much easier" by "a bit easier" in my previous comment. – Marc van Leeuwen Feb 23 '14 at 11:01
  • You can eliminate Bezout's Identity by using the GCD Distributive Law $,(an,bn) = (a,b)n,,$ see my answer. – Bill Dubuque Feb 23 '14 at 21:06
  • @BillDubuque: Yes, that is clear & more intuitive. – copper.hat Feb 24 '14 at 01:05
  • 1
    @copper.hat It depends on the background of the reader what will be clearer or more intuitive. The advantage of the gcd approach is that it works more generally, e.g. in domains that have gcds but not Bezout identities, e.g. non-PID UFDs such as $,\Bbb Z[x],$ and $,\Bbb Q[x,y].\ \ $ – Bill Dubuque Feb 24 '14 at 01:10
5

Modular arithmetic to the rescue!

If

$$ n \equiv 0 \bmod a $$ $$ n \equiv 0 \bmod b $$

then by the Chinese Remainder Theorem,

$$ n \equiv 0 \bmod \operatorname{lcm}(a,b) $$

  • I think this direction does not really need the CRT: the system is asking for a common multiple of $a,b$, and by definition $\operatorname{lcm}(a,b)$ is the smallest positive solution to that. And the solution set is clearly a set of congruence classes (in fact just one class) modulo this lcm. This is in particular true whether or not $a,b$ are coprime. – Marc van Leeuwen Feb 23 '14 at 11:07
  • This would yield a circular proof in many (most) textbook developments. – Bill Dubuque Feb 23 '14 at 19:11
  • @Bill: Deriving a subject from first principles is a very different topic than solving problems once you've learned the basics. –  Feb 23 '14 at 19:11
  • @Hurkyl Indeed. But if the OP is asking how to prove this then they probably do not already know a proof of CRT, whose proof uses this fact. I cannot think of any reasonable interpretation where this would not be circular proof. Can you? – Bill Dubuque Feb 23 '14 at 19:14
  • @Bill: I can't think of any reasonable interpretation where this is a circular proof. Either the premise -- the rules of modular arithmetic -- is accepted, or is not. –  Feb 23 '14 at 19:23
  • -1 This is circular in most elementary developments, and conceptually quite misleading. – Bill Dubuque Feb 23 '14 at 19:38
  • @Bill: It's not misleading, it's only coming at the problem from a direction you don't like. –  Feb 23 '14 at 19:47
  • Indeed, I "don't like" circular proofs since they are not valid mathematics. If you provide a rigorous elementary presentation where this "proof" is not circular then I will gladly retract the downvote. – Bill Dubuque Feb 23 '14 at 19:50
  • @Bill: Read my answer above, but this time without pretending it's prefixed with a proof $\text{OP} \implies CRT$. –  Feb 23 '14 at 19:54
  • I cannot make any sense of the prior comment. How do you propose to prove CRT (or the part of it that one needs here), without essentially proving the sought result? – Bill Dubuque Feb 23 '14 at 19:56
  • @Bill: I don't propose to prove CRT: I propose to use the CRT to solve a question. At the very least, this will be useful to people who have learned the CRT and need to solve the original question and find modular arithmetic more instinctive than the lattice of divisibility or applying Bezout's identity, as well as people who would benefit from seeing examples of how how modular arithmetic works as a tool for solving questions about divisibility. –  Feb 23 '14 at 20:04
  • 1
    So you propose to use CRT without first proving it? That's even worse than I surmised! – Bill Dubuque Feb 23 '14 at 20:07
  • 1
    @Bill: Yes, I do propose to use CRT without first proving it. I proved it long ago, and learned it long before that. It's far easier to solve a problem in number theory by using all of these fancy tools they teach us rather than starting from scratch at Peano's axioms every time. –  Feb 23 '14 at 20:08
4

The proof comes out of intuition as follows:

Since $a \mid n$, Let $q$ the quotient.

$b \mid n$ $ \implies b \mid q$. Since $a$ doesn't remove any of the factors of $b$ from $n$ as there are no common factors between $a$ and $b$.

$ \implies ab \mid n$

nitish712
  • 463
  • It seems that you have implicitly invoked the fundamental theorem of arithmetic (existence and uniqueness of prime factorizations) or some equivalent (e.g. Euclid's Lemma). As an illustrious mathematician (Gauss) once remarked on such topics, one should not resort to handwaving when simple rigorous proofs are available. See here for one way to make this intuition rigorous. – Bill Dubuque Feb 23 '14 at 20:30
  • I thought existence and uniqueness of prime factorizations was quite intuitive. :) – nitish712 Feb 24 '14 at 02:53
  • 1
    Why do you think it is "intuitive"? – Bill Dubuque Feb 24 '14 at 03:05
3

As I've been commenting that this is simpler than some other answers suggest, let me be fair and say what minimum knowledge I think is required for this conclusion. I'll assume (though the question does not say so) $a,b$ are supposed to be nonzero; anyway either being $0$ would force $n=0$, a trivial case.

You must (as is often the case when reasoning about integers) at some point use the possibility of integer division: for integer $k,l$ with $l>0$ there exist integer $q,r$ with $k=ql+r$ and $0\leq r<l$. Here it can be used to show that the smallest positive common multiple $m$ of $a,b$ (which certainly exists because $|ab|$ is a positive common multiple) divides any other common multiple $c$ of $a,b$: writing $c=qm+r$ with $0\leq r<m$ one easily sees that $r=c-qm$ is a common multiple of $a,b$, so $r=0$ by minimality of$~m$.

Now things are easy. If the least common multiple$~m$ of $a,b$ were smaller than $|ab|$, then by the above it would divide $|ab|$, and $|ab|/m>1$ would be a common divisor of $a,b$, contradicting the hypothesis $\gcd(a,b)=1$. So $m=|ab|$, and as we saw it divides any common divisor of $a,b$, such as$~n$.

3

Notice $\ a,b\mid n\,\Rightarrow\ ab\mid an,bn \,\Rightarrow\, ab\mid (an,bn)=(a,b)n = n\ $ by the GCD Distributive Law.

Remark $\, $ This generalizes to $\ ab = \gcd(a,b) {\rm lcm}(a,b)\ $ if $\ {\rm lcm}(a,b)\,$ exists (true in any domain).

Bill Dubuque
  • 282,220
2

Note that if something is divisible by both $a$ and $b$, it must also be divisible by the least common multiple of $a$ and $b$. Hence, we have that $lcm(a,b)\ |\ n$.

You're already given that $gcd(a,b) = 1$, what can you conclude from that about $lcm(a,b)$?

Dennis Meng
  • 1,397
1

If $\ \color{#0a0}{(a,b)=1}\,$ then $\ a,b\mid n\,\Rightarrow\, \color{#0a0}a\mid \color{#0a0}b\,(n/b)\,\overset{\color{#c00}{\rm(E)}}\Rightarrow\, a\mid n/b\,\overset{\times\ b}\Rightarrow\,ab\mid n\ $ by $\,\color{#c00}{\rm(E)} =$ Euclid's Lemma.

Bill Dubuque
  • 282,220