Solve the following equation for x. $$\frac{e^{x}+e^{-x}}{e^{x}-e^{-x}}=y$$
My solution ($u=e^x$): $$\frac{e^{x}+\frac{1}{e^{x}}}{e^{x}-\frac{1}{e^{x}}}=y\\ \frac{u+\frac{1}{u}}{u-\frac{1}{u}}.\frac{u}{u}=y\\ \frac{u^2+1}{u^2-1} = y\\ u^2+1=y(u^2-1)\\ u^2-yu^2=-y-1\\ u^2=\frac{y+1}{y-1}\\ u=\pm\sqrt{\frac{y+1}{y-1}}\\ u=e^x=\sqrt{\frac{y+1}{y-1}}\\ x=\ln(\frac{y+1}{y-1})^{\frac{1}{2}}\\ x=\frac{1}{2}(\ln(y+1)-\ln(y-1))$$
In my solution y must be greater than 1, but in the original equation above, y can be anything except zero. How did I lose the rest of the solutions?