Math 2.0

Number theory Proof

Proof of the irrationality of the square root of a prime

Builds on Irrational numberSquare rootFraction in lowest termsEuclid's lemmaPrime numberGreatest common divisorDivisibility

Proof

We argue by contradiction, as in the proof for 2\sqrt{2}. Let pp be a prime number. Since p>0p > 0, the square root p\sqrt{p} is a real number with (p)2=p(\sqrt{p})^2 = p.

  1. Suppose that p\sqrt{p} is not irrational, that is, p\sqrt{p} is rational.
  2. By the existence of a fraction in lowest terms, p=a/b\sqrt{p} = a / b with integers aa and bb, b>0b > 0 and gcd⁡(a,b)=1\gcd(a, b) = 1.
  3. Squaring gives a2/b2=pa^2 / b^2 = p. Multiplying by b2b^2 gives a2=pb2a^2 = p b^2.
  4. So pp divides a⋅aa \cdot a. By Euclid's lemma, pp divides aa. Write a=pca = p c with cc an integer.
  5. Then p2c2=pb2p^2 c^2 = p b^2. Since p≠0p \neq 0, dividing by pp gives b2=pc2b^2 = p c^2.
  6. So pp divides b⋅bb \cdot b, and Euclid's lemma gives p∣bp \mid b.
  7. Thus pp is a common divisor of aa and bb. By the definition of the greatest common divisor, gcd⁡(a,b)≥p≥2\gcd(a, b) \ge p \ge 2.
  8. This contradicts gcd⁡(a,b)=1\gcd(a, b) = 1. So p\sqrt{p} is irrational.

Idea

If p=a/b\sqrt{p} = a / b in lowest terms, then a2=pb2a^2 = p b^2. Because pp is prime, pp must divide aa, and then pp must divide bb as well. This contradicts the choice of lowest terms.

Reading path

To understand this page from the ground up, read these 65 pages in order. The foundations come first. The path takes the proofs Proof of Bézout's identity, Proof of the generalized Euclid's lemma, Proof of the commutativity of addition by induction, Proof of Euclid's lemma, Proof that the reals form an ordered field, with the Cauchy sequence construction, Proof of strong induction from ordinary induction, Proof of the existence of square roots of nonnegative reals, Proof of the existence and uniqueness of a fraction in lowest terms, Proof of the well-ordering principle from strong induction, Proof of the division algorithm.

  1. Construction of the reals from Cauchy sequences concept
  2. Definition by recursion concept
  3. Divisibility definition
  4. Element definition
  5. Integers object
  6. Mathematical induction concept
  7. Natural numbers object
  8. Ordered field definition
  9. Peano axioms concept
  10. Proposition concept
  11. Rational numbers object
  12. Real numbers object
  13. Set bounded above definition
  14. Greatest common divisor definition
  15. Prime number definition
  16. Set definition
  17. Ring of integers statement
  18. Successor function definition
  19. Implication definition
  20. Predicate definition
  21. Irrational number definition
  22. The reals form a field statement
  23. Supremum definition
  24. Coprime integers definition
  25. Ordered pair definition
  26. Addition of natural numbers definition
  27. The successor function is injective statement
  28. Universal quantifier definition
  29. Zero is not a successor statement
  30. The rationals form a field statement
  31. Completeness axiom statement
  32. Cartesian product definition
  33. Subset definition
  34. Proof of the commutativity of addition by induction proof
  35. Order on the natural numbers definition
  36. The rationals form an ordered field statement
  37. Binary relation definition
  38. Order on the reals definition
  39. Commutativity of addition statement
  40. Proof of strong induction from ordinary induction proof
  41. Antisymmetric relation definition
  42. Reflexive relation definition
  43. Transitive relation definition
  44. Strong induction statement
  45. Preorder definition
  46. Proof of the well-ordering principle from strong induction proof
  47. Partial order definition
  48. Well-ordering principle statement
  49. Total order definition
  50. Proof of the division algorithm proof
  51. Division algorithm statement
  52. Proof that the reals form an ordered field, with the Cauchy sequence construction proof
  53. Proof of Bézout's identity proof
  54. The reals form an ordered field statement
  55. Bézout's identity statement
  56. Proof of the existence of square roots of nonnegative reals proof
  57. Proof of the generalized Euclid's lemma proof
  58. Existence of square roots of nonnegative reals statement
  59. Generalized Euclid's lemma statement
  60. Square root definition
  61. Proof of Euclid's lemma proof
  62. Proof of the existence and uniqueness of a fraction in lowest terms proof
  63. Euclid's lemma statement
  64. Fraction in lowest terms statement
  65. Proof of the irrationality of the square root of a prime proof

Where this leads

1 page builds on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Square_root_of_2, Proof by infinite descent
About this page
Tag3T86NQ3NQY
URIm2://3T86NQ3NQY
Kindproof
WritingW0 stub
MSC11J72
ProvesIrrationality of the square root of a prime
UsesIrrational number, Square root, Fraction in lowest terms, Euclid's lemma, Prime number, Greatest common divisor, Divisibility
MethodsProof by contradiction
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.