Let $a,b,c -$ a non-zero integers. It is known that the equation $ax^2+by^2+cz^2=0$ it has a non-zero integer solution. Prove that the equation $ax^2+by^2+cz^2=1$ has solution in rational numbers.
My work so far:
Let $a>0,b>0,c<0$ and $z<0$.
Let $(x,y,z) -$ solution of $ax^2+by^2+cz^2=0$. Then:
If $c=-n^2$ that $$ax^2+by^2+cz^2=0 \Leftrightarrow$$ $$ax^2+by^2-n^2z^2=0 \Leftrightarrow$$ $$25ax^2+25by^2-25n^2z^2=0 \Leftrightarrow$$ $$a(5x)^2+b(5y)^2-16n^2z^2=9n^2z^2 \Leftrightarrow$$ $$a\left(\frac{5x}{3nz}\right)^2+b\left(\frac{5y}{3nz}\right)^2+c \left(\frac{4}{3n}\right)^2=1$$
Hence, $\left(\frac{5x}{3nz};\frac{5y}{3nz};\frac{4}{3n}\right)$ solution of $ax^2+by^2+cz^2=0$.
Let $c\not=-n^2$.
I need help here...