Find the interval in which $f(x) = x + \frac{1}{x}$ is always increasing, $x \neq 0$.
The derivative of $f(x) = x + \frac{1}{x}$ is $f'(x) = 1 - \frac{1}{x^2}$. For the function to be increasing, $f'(x)>0$, which means $1 - \frac{1}{x^2}>0$. This simplifies to $\frac{1}{x^2}<1$, or $x^2>1$. Therefore, the function is increasing when $|x|>1$, meaning $x>1$ or $x<-1$. The function increases on the intervals \( (-\infty, -1) \cup (1, \infty) \).
If $e^y (x+1) = 1$, then find the value of $$ \frac{d^2 y}{dx^2} - \left(\frac{dy}{dx}\right)^2. $$