-1

How can I prove that all prime numbers have irrational square roots?

My work so far: suppose that a prime p = a*a then p is divisible by a. Contradiction. Did I begin correctly? How to continue?

Adam
  • 3,422
  • 1
  • 33
  • 50
  • 2
    The work so far is not correct. You need to suppose that $p=\left(\frac{a}{b}\right)^2$, where $a$ and $b$ are integers (with naturally $b\ne 0$). Probably you will also want to say that without loss of generality $a$ and $b$ have no common factor greater than $1$. – André Nicolas Dec 05 '13 at 18:04

4 Answers4

7

The standard proof for $p=2$ works for any prime number.

Igor Rivin
  • 25,994
  • 1
  • 19
  • 40
5

Note that this answer is included only so it is clear what Igor Rivin meant by standard proof:

$$\sqrt p = \frac a b$$ where $a$ and $b$ are co-prime (the fraction is reduced) and $p$ is prime. $$b^2 p = a^2$$ as $a^2$ must disible by $p$ means $a$ must be divisible by $p$ $$b^2 = p c^2$$ where $c=\frac p a$

This will result in the fact that $b$ must also be divisble by $p$ which is a contraction of the fact that $a$ and $b$ are co-prime.

Please try this with $p = 4$ and see where is breaks down.

kaine
  • 1,672
1

$p=a^2/b^2\implies a^2=pb^2$. The number of prime factors of $a^2$ is even whereas the numbers of prime factors of $ pb^2$ is odd.

Michael Hoppe
  • 18,103
  • 3
  • 32
  • 49
0

Your attempt only shows that the square root of a prime is not an integer.

mrf
  • 43,639