The function $f$ is not injective on its maximum domain. There are restrictions in which it is injective. To find them multiply $f(x)=x+\frac 1 x$ by $x$ and use the quadratic formula to solve for $x$.
– Git GudAug 03 '14 at 00:40
Annoyance: downvotes on questions that get mooted by edits. If an edit moots a post, then point that out and the poster can delete it.
– ncmathsadistAug 03 '14 at 12:56