1

Suppose $n \in \Bbb N$ has a square root that isn't whole, prove $\sqrt n$ is irrational. The exercise wants me to prove it in the following steps: Suppose $\sqrt n$ is rational, then there exists a minimal natural number $p$ such that $p \sqrt n$ is a natural number. Now, observe the number $q=p \sqrt n -p \lfloor \sqrt n \rfloor$.

I'm not really sure what I can infer from $q$, I tried squaring $q$ but I couldn't infer anything either.

1 Answers1

2

$q<p$, and $q\sqrt{n}\in \mathbb{N}$, but $p$ was the minimal, so you get a contradiction

sti9111
  • 1,559
  • You also need to point out that $q>0$ (otherwise, you have proved $\sqrt n$ is irrational for all $n$, even the ones that are squares), and you need to note that $q$ is a positive integer. – Gerry Myerson Mar 23 '23 at 21:38