I just guess that the following statement is true:
$\sqrt{d}\in{\mathbb Z}_+$ or $\sqrt{d}\in {\mathbb R}\setminus{\mathbb Q}$ for positive integer $d$?
But I don't see a way to deal with it. I think the point is to discuss $dn^2=m^2$ where $n$ and $m$ are positive integers. If I can conclude that $n|m$ then the proof will be done. Help?