How to prove that when $m$ is not a full power of any natural number, then $m^{(1/2) }$ is irrational
I have tried this but got nothing;
$\sqrt{m}=\frac{p}{q}$ were $p,q$ are natural and $\gcd(p,q)=1$;
How to prove that when $m$ is not a full power of any natural number, then $m^{(1/2) }$ is irrational
I have tried this but got nothing;
$\sqrt{m}=\frac{p}{q}$ were $p,q$ are natural and $\gcd(p,q)=1$;
From $\sqrt m=\frac ab$ with $\gcd(a,b)=1$, we find $a^2=mb^2$. Let $p$ be a prime dividing $b$. Then $p\mid mb^2=a^2$, hence also $p\mid a$. This contradicts $\gcd(a,b)=1$. Hence no such prime exists. We conclude $q=1$.