I'm trying to prove that the following expression is irrational: $$ \sqrt{x^2+1}$$
$$ \sqrt{x^2+1}=\frac a b \\ x^2+1=\left(\frac a b\right)^2=\frac {a^2} {b^2 } \\ x^2=\frac {a^2} {b^2 } -1 \\ x=\sqrt{\frac {a^2} {b^2 } -1}=\sqrt{\frac{a^2-b^2}{b^2} } \\ \frac {\sqrt{a^2-b^2}} {\sqrt{b^2 }} \\ x=\frac {\sqrt{a^2-b^2} }b $$
Here is where I get stuck. I know that to prove that it is irrational I must prove that $$\sqrt {a^2-b^2} $$ is not a rational expression.
Any help would be appreciated.
What about $$a=5,b=4,c=3$$ I think the assumption that this is irrational is wrong, or maybe just needs more context