Checking a proof of a basic property of prime numbers

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 2K views
Ghost Repeater
Messages
32
Reaction score
5

Homework Statement


Prove: If p is prime and m, n are positive integers such that p divides mn, then either p divides n or p divides m.

Is anyone willing to look through this proof and give me comments on the following: a) my reasoning within the strategy I chose (validity, any constraints or cases I might have missed), b) the strategy I chose (was it a good one, is there a better one, some other angle I might have taken), and c) my presentation (messiness, inelegance)?

Homework Equations

[/B]n/a

The Attempt at a Solution


Here's my proof.

If p divides mn, then there must be some positive integer q such that mn = pq. Then (mn)/q = p is prime. The factors of p are m/q and n. Since p is prime, one of these factors must be equal to 1. Therefore either

a) n = 1

or

b) m/q = 1.

If a) holds, then mn = m = pq and we see that p divides m.

If b) holds, then m = q, and so mn = qn = pq, which means p = n and so p divides n (with quotient of 1).

Therefore, if p divides mn, then either p divides m or p divides n, as desired.
 
Physics news on Phys.org
rcgldr said:
or p divides both m and n.

That's not nessecary in the proof. If p divides both m and n, p divides obviously m or n.
 
Ghost Repeater said:

Homework Statement


Prove: If p is prime and m, n are positive integers such that p divides mn, then either p divides n or p divides m.

Is anyone willing to look through this proof and give me comments on the following: a) my reasoning within the strategy I chose (validity, any constraints or cases I might have missed), b) the strategy I chose (was it a good one, is there a better one, some other angle I might have taken), and c) my presentation (messiness, inelegance)?

Homework Equations

[/B]n/a

The Attempt at a Solution


Here's my proof.

If p divides mn, then there must be some positive integer q such that mn = pq. Then (mn)/q = p is prime. The factors of p are m/q and n. Since p is prime, one of these factors must be equal to 1. Therefore either

a) n = 1

or

b) m/q = 1.

If a) holds, then mn = m = pq and we see that p divides m.

If b) holds, then m = q, and so mn = qn = pq, which means p = n and so p divides n (with quotient of 1).

Therefore, if p divides mn, then either p divides m or p divides n, as desired.
You can't conclude that ##m/q## and ##n## are integer factors of ##mn/q##.

##q## might divide neither ##m## nor ##n##.
 
Ghost Repeater said:

Homework Statement


Prove: If p is prime and m, n are positive integers such that p divides mn, then either p divides n or p divides m.

Is anyone willing to look through this proof and give me comments on the following: a) my reasoning within the strategy I chose (validity, any constraints or cases I might have missed), b) the strategy I chose (was it a good one, is there a better one, some other angle I might have taken), and c) my presentation (messiness, inelegance)?

Homework Equations

[/B]n/a

The Attempt at a Solution


Here's my proof.

If p divides mn, then there must be some positive integer q such that mn = pq. Then (mn)/q = p is prime. The factors of p are m/q and n. Since p is prime, one of these factors must be equal to 1. Therefore either

a) n = 1

or

b) m/q = 1.

If a) holds, then mn = m = pq and we see that p divides m.

If b) holds, then m = q, and so mn = qn = pq, which means p = n and so p divides n (with quotient of 1).

Therefore, if p divides mn, then either p divides m or p divides n, as desired.

What results do you have available already? What properties are you allowed to use?
 
Ray Vickson said:
What results do you have available already? What properties are you allowed to use?

The text I'm using has so far defined the greatest common divisor and gives the theorem (with proof) that two nonzero integers a and b have a unique positive greatest common divisor.

I'll try to use these to make the proof. Thanks!
 
PeroK said:
You can't conclude that ##m/q## and ##n## are integer factors of ##mn/q##.

##q## might divide neither ##m## nor ##n##.

I see! Thanks for the heads up!