I do not understand how to do this? I have tried to prove it by contradiction and I proved, assuming $\sqrt{n+1}+\sqrt{n-1} = \frac{a}{b}$, that $2n + \sqrt{n^2 - 1}$ divides $a$ and $b$ and so it is not rational but that does not prove it (both $a$ and $b$ are co-primes and $b$ is not equal to $0$)
there are proofs on the internet but I do not understand why they did what they did in the very first step: taking the reciprocal