Can a Natural Number Indivisible by 3 Have a Square Divisible by 3?

  • Thread starter Thread starter zoxee
  • Start date Start date
  • Tags Tags
    Proofs
AI Thread Summary
A natural number q that is not divisible by 3 will also have a square q^2 that is not divisible by 3, as shown through specific cases where q equals 3k + 1 or 3k + 2. The discussion further deduces that if a rational number x satisfies x^2 = 3, it leads to a contradiction regarding the coprimality of p and q when expressed in lowest terms. The proof demonstrates that if q^2 is divisible by 3, then q must also be divisible by 3, illustrating the contrapositive relationship between the two statements. The formatting suggestion emphasizes clarity in presenting the logical flow of the proof. Overall, the proof is confirmed as valid and effectively illustrates the mathematical principles involved.
zoxee
Messages
37
Reaction score
0
Let q be a natural number, show that if q is not divisible by 3, then neither is q^2

proof:

if q is not divisible by 3 then q = 3k + 2 for some integer k
q^2 = 4 + 3(3k^2 + 4k) = 4 + 3m for some integer m, hence q is not divisible by 3

another case, if q = 3k + 1 for some integer k, then q^2 = 1 + 3(3k^2+2k) = 1 + 3n for some integer n, hence q^2 is not divisible by 3

second part:

Assuming the statement that was to be proved above, deduce that there is no rational number x satisfying x^2 = 3

proof:

assume there is some ration number x satisfying x^2 = 3

we can then express x = p/q where p,q are coprime

x^2 = p^2/q^2 = 3
hence p^2 = 3q^2 hence p = 3m for some integer m, i.e. p is divisible by 3 ***(we proved this in the first part)***

therefore 9m^2 = 3q^2 => q^2 = 3m^2 hence q = 3n for some integer n, hence q is also divisible by 3

this is a condradiction as we assumed p and q were coprime, but have shown they have a factor of 3, hence there does not exist a rational number x such that x^2 = 3

ok, is this proof OK? the part I have labelled *** ("***(we proved this in the first part)***") is it true that we proved this in the first part, as we proved that if a natural number is not divisible by 3, then neither is it's square, but in this proof, I am saying if it's square is divisible by 3, then the number is divisible by 3 - is this the same thing (I think it is)
 
Physics news on Phys.org
The proof looks fine... as a formatting thing instead of adding at the end of a line (we proved this in the first part), I would put at the start of the line "by part one,". For example

"hence p^2 = 3q^2 hence p = 3m for some integer m" becomes
"hence p^2 = 3q^2, so by part one p=3m for some integer m"
 
thanks, so proving that q is not divisible by 3 then neither is q^2 is the same thing as proving if q^2 = 3m (i.e. divisible by 3) then so is q?
 
Yes, that's called the contrapositive and is often useful. If you have two statements , A and B, then proving if A then B is the same as proving if not B, then not A.

In your case you have A is "q is not divisible by 3", and B is "q2 is not divisible by 3". You proved if A, then B, so you get for free if not B, then not A.

not B is (after cancelling a double negative)"q2 is divisible by 3" and not A is "q is divisible by 3"
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top