I am trying to prove a hyperbolic trigonometric identity and I ran into the following expression:
$$\frac{\left (\sqrt{x^2+1}+x \right )^2+1}{2\left ( \sqrt{x^2+1} + x \right )} \quad.$$
This expression is supposed to be equivalent to
$$\sqrt{x^2+1} \quad.$$
I tried to algebraically manipulate the original expression to get the required expression and got to:
$$\frac{\left (\sqrt{x^2+1}+x \right )^2+1}{2\left ( \sqrt{x^2+1} + x \right )} = x+\frac{1}{\sqrt{x^2+1} + x} \quad.$$
but I don't know how I can show that
$$x+\frac{1}{\sqrt{x^2+1} + x} = \sqrt{x^2+1}\quad .$$