Suppose there is no rational points on $x^2 + y^2 = c$ where $c $ is a constant. If we plug in $x=0$, then there is no rational solution for $y^2=c$. Thus, $y=\sqrt{c}$ is irrational and we show that $\sqrt{c}$ is irrational.
This is the proof I saw in $x^2 + y^2 - 3 = 0 \implies 3^{1/2}$ is irrational..
Do we need to consider the case when both $x$ and $y$ are irrational? If not, why? Is it possible for both not be rational but $\sqrt{c}$ is rational? Thanks.