Prove that if n divides a - b, then n divides a and b

  • Context: Undergrad 
  • Thread starter Thread starter quasar987
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around various mathematical proofs and concepts, particularly focusing on properties of integers, divisibility, and factorization. Participants explore problems related to proving statements about divisibility, linear combinations, and the uniqueness of prime factorization.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant proposes a proof strategy involving contradiction to show that if n divides a - b, then n also divides a and b with the same remainder.
  • Another participant suggests using the Euclidean algorithm to express a and b in terms of n and their respective remainders.
  • There is a discussion about the properties of the set of linear combinations of two integers and its relation to the greatest common divisor.
  • Participants explore the implications of the unique factorization theorem, particularly regarding the existence of prime factorization for integers.
  • Some participants express confusion about the definitions and implications of mathematical statements, particularly regarding prime factorization and divisibility.
  • There are multiple inquiries about proving the smallest common multiple and the uniqueness of prime factorization, with participants sharing their thoughts and approaches.
  • One participant questions the relationship between divisibility and prime factorization, leading to further exploration of definitions and properties.

Areas of Agreement / Disagreement

Participants express various viewpoints and approaches to the problems discussed, with no clear consensus reached on the proofs or methods proposed. Some participants agree on certain definitions, while others challenge or seek clarification on specific points.

Contextual Notes

There are limitations in the discussion regarding the assumptions made in proofs, the dependence on definitions of terms like greatest common divisor and linear combinations, and unresolved mathematical steps in the proposed arguments.

Who May Find This Useful

This discussion may be useful for students and enthusiasts of mathematics, particularly those interested in number theory, divisibility, and proofs related to integers and their properties.

quasar987
Science Advisor
Homework Helper
Gold Member
Messages
4,796
Reaction score
32
Hi people,

I would appreciate some help on this simple problem. I'm trying to prove that if n divides a - b, then n divides a and b with the same remainder. All numbers are integers of course. I got...

Hypothesis: [itex]a-b = nm[/itex] for some m. We also have, by the euclid's algorithm, that [itex]\exists ! m_a, r_a[/itex] such that [itex]a=nm_a + r_a[/itex] and [itex]\exists ! m_b, r_b[/itex] such that [itex]b=nm_b+ r_b[/itex]. Combining these 2 results gives the equation [itex]nm_a+r_a-nm_b-r_b=nm[/itex]. From there I don't know what do to. :confused:
 
Physics news on Phys.org
Try contradiction :

Let a = nm + r1 and b = nk + r2, where r1, r2 are in (0,n) ...
 
aaah! r1 - r2 can't be divided by n unless it equals 0 because it's in (-n,n).
 
There's another one that's giving me trouble.

Consider, [itex]a,b \in \mathbb{Z}[/itex] sucht that [itex]b\neq 0[/itex]. Let G be the set of all linear combinations of a and b, i.e., [itex]G=\{ma+nb \ | \ n,m\in \mathbb{Z}\}[/itex]. Then a,b are in G and G is a subgroup. Show that [itex]\exists \ m,n \in \mathbb{Z}[/itex] such that [itex]ma+nb = (a,b)[/itex] where (a,b) denotes the smallest positive element of G.
 
I think I'm misunderstanding this one ...

If all elements of G are of the form ma + nb, then so should be the least positive element.
 
Ultra-:blushing:.
 
I feel ashamed already but I've got to ask.

In the 'Unique factorisation theorem', stated as

"Suppose n is an integer which is not 0,1, or -1. Then n may be factored into the product of primes and, except for order, this factorization is unique.",

I can prove unicity but not the fact that the factorisation exists.
 
Another one I can't nail is

Consider the subgroup G of post #4 and its smallest element (a,b). I want to show that there exists no integer [itex]\lambda > (a,b)[/itex] such that [itex]a,b \in \lambda \mathbb{Z}[/itex].

What I got is: Suppose such a [itex]\lambda[/itex] exist. Then there exist [itex]m_{\lambda}, n_{\lambda} \in \mathbb{Z}[/itex] such that [itex]a = m_{\lambda}\lambda, \ b = n_{\lambda}\lambda[/itex]. This would mean, by definition of G, that there exists [itex]m,n,p_0 \in \mathbb{Z}[/itex] such that

[tex]mm_{\lambda}\lambda + nn_{\lambda}\lambda = p_0 (a,b) \Leftrightarrow \lambda = \frac{p_0}{mm_{\lambda}\lambda + nn_{\lambda}\lambda}(a,b)[/tex]

So if [itex]\frac{p_0}{mm_{\lambda}\lambda + nn_{\lambda}\lambda}[/itex] is an integer, it would make sense. So this path leads nowhere.
 
quasar987 said:
I feel ashamed already but I've got to ask.

In the 'Unique factorisation theorem', stated as

"Suppose n is an integer which is not 0,1, or -1. Then n may be factored into the product of primes and, except for order, this factorization is unique.",

I can prove unicity but not the fact that the factorisation exists.

Sketch: suppose every integer up to (and including) k has a factorization into primes. If k + 1 is prime, we're done. If k + 1 is composite, we can write k + 1 = ab, where a, b < k + 1 <=> a, b <= k and a, b are integers. But a, b both have prime factorizations according to the induction hypothesis.

Regarding post #8, you wish to prove that no integer larger than (a, b) can divide both a and b, or equivalently, if a number divides both a and b, then it's smaller than (a, b). Write (a, b) = ma + nb. Suppose x divides both a and b. But then x divides ma + nb = (a, b), etc.
 
  • #10
Thanx a lot Muzza.
 
  • #11
I'm back. This time I'm struggling with trying to prove that given two integers a and b of respective prime factorisation [itex]a=\pm p_1^{s_1}...p_k^{s_k}[/itex] and [itex]b=\pm p_1^{t_1}...p_k^{t_k}[/itex] where [itex]0\leq s_i,t_i[/itex], the number [itex]c = p_1^{v_1}...p_k^{v_k}[/itex] where [itex]v_i = max\{s_i,t_i\}[/itex] is the least (positive) common multiple of a and b. I've shown that c is a multiple but despite many attemps, I can't prove that it's the smallest of them all.
 
  • #12
If d is a multiple of a and b, what can you say about it's prime factorization?
 
  • #13
That it is unique and that it "contains" the factorisation of a and that of b.
 
  • #14
What do you mean by "contains"? How much of it's prime factorization can you write down?
 
  • #15
Ok I get how to do the proof.

By "contains", I mean that the factorisation of d is that of a times some other primes and is also that of b times some other primes. How would you say that ?
 
  • #16
quasar987 said:
By "contains", I mean that the factorisation of d is that of a times some other primes and is also that of b times some other primes. How would you say that ?

I would have just said [tex]d=p_1^{s_1}...p_k^{s_k}N[/tex], for some integer N. Or probably [tex]d=p_1^{w_1}...p_k^{w_k}M[/tex] where [tex]w_i\geq s_i[/tex] and M is relatively prime to the p_i's (and similar for d 'containing' the factors of b), since this is more relevant here. I did know what you meant, I was just hoping to coax something more concrete from you :smile:
 
  • #17
"Suppose [itex]\sqrt{2} = m/n[/itex] where (m,n) = 1. Then 2n² = m² and if n > 1, n and m have a common prime factor."

How is that true?
 
  • #18
If [tex]2n^2=m^2[/tex] then 2 divides m, so 4 divides [tex]m^2[/tex], so...
 
  • #19
?! How do you read that 2 divides m from that line? I can only read that 2 divides m².
 
  • #20
because 2 is a prime
 
  • #21
So I heard. Can you be a little more precise please.
 
  • #22
? it's the (proper) definition of prime.

in any case, consider the prime decomp of m, the decomp of m^2 is the same but with all exponents doubled, right? so if any prime p divides m^2 p must divide m too.
 
  • #23
If a prime p divides a product ab then p divides a or p divides b (or both). How else did you prove that prime factorization was unique?
 
  • #24
Ok, I hadn't thought of it that way. So okay, 2 divides m and 4 divides m². So 2 divides n² so 2 divides n so 2 divides m and n ==> (m,n) [itex]\neq[/itex]1, a contradiction.
 
  • #25
quasar987 said:
There's another one that's giving me trouble.

Consider, [itex]a,b \in \mathbb{Z}[/itex] sucht that [itex]b\neq 0[/itex]. Let G be the set of all linear combinations of a and b, i.e., [itex]G=\{ma+nb \ | \ n,m\in \mathbb{Z}\}[/itex]. Then a,b are in G and G is a subgroup. Show that [itex]\exists \ m,n \in \mathbb{Z}[/itex] such that [itex]ma+nb = (a,b)[/itex] where (a,b) denotes the smallest positive element of G.
Don't you mean "(a,b) denotes the greatest common divisor of a and b"?
 
  • #26
It turns out that the smallest element of G is also the greatest common divisor of a and b. So the 2 ways of defining (a,b) are equivalent.
 
  • #27
I'm a new user and have limited computer skills, but I do have a question. How can I access the math symbols you guys are usings in your postings. Have to run now, but I'll check for answers when I get back. Thanks
 
  • #28
If you click on one of the graphics, it will display exactly what we typed to produce it.
 
  • #30
vantheman said:
I'm a new user and have limited computer skills, but I do have a question. How can I access the math symbols you guys are usings in your postings. Have to run now, but I'll check for answers when I get back. Thanks
Also, if you have a question that's completely unconnected to the discussion in a thread, do not post it in that thread. Start a new thread in the appropriate subforum/section.
 

Similar threads

Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 12 ·
Replies
12
Views
5K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K