twisted_logic89
New member
- Joined
- Oct 20, 2008
- Messages
- 23
If a,b are whole numbers and p is a prime number, show that if p|ab, then p|a or p|b
is there a theorem i can use to do this?
is there a theorem i can use to do this?
What does it mean for one number to "divide" another number? :wink:twisted_logic89 said:If a,b are whole numbers and p is a prime number, show that if p|ab, then p|a or p|b
twisted_logic89 said:If a,b are whole numbers and p is a prime number, show that if p|ab, then p|a or p|b
is there a theorem i can use to do this?
twisted_logic89 said:p| a so we can say that a= jq
p| b so we can say that b=nq
a * b = jq & nq
you can factor out a q from that so you would have q (nj)
p=q(nj)
this shows that n and j are factors of p, therefore if p|ab then p|a and p|b
...?
o_O said:Or...
Assume \(\displaystyle p \not{\mid} \ a\) and \(\displaystyle p \mid ab\).
Since p does not divide a, it means that they are coprime, i.e. \(\displaystyle (p,a) = 1 \ \iff \ px + ay = 1\) for some \(\displaystyle x,y \in \mathbb{Z}\) (this might be the theorem you're talking about)
Multiply both sides by b: \(\displaystyle pbx + aby = b\)
Since \(\displaystyle p \mid (p)bx\) and \(\displaystyle p \mid (ab)y\) ... Can you conclude?