# Show that $\frac{5}{n}+e^{-n}=O(\frac{1}{n})$

Show that $\frac{5}{n}+e^{-n}=O(\frac{1}{n})$

I know that $e^n>n, (n\geq 0)$, with which $e^{-n}<\frac{1}{n}$ and so $\frac{5}{n}+e^{-n}<\frac{5}{n}+\frac{1}{n}=6\frac{1}{n}$, then $\frac{5}{n}+e^{-n}=O(\frac{1}{n})$. Is this argument right? Thank you very much.

• It seems correct to me, since you have that $\frac{5}{n}+e^{-n}<C\frac{1}{n}$, for $n\geq n_0$, where $C=6$ and $n_0=0$. – Βασίλης Μάρκος Feb 22 '18 at 13:18

$$\frac{\frac5n+e^{-n}}{\frac1n}=\frac{5e^n+n}{e^n}\xrightarrow[n\to\infty]{}5$$
• @user482152 That there exists a contant $\;C\;$ s.t. $$\left|\frac5x+e^{-n}\right|\le C\left|\frac1n\right|$$which is the definition of big O in your case. – DonAntonio Feb 22 '18 at 13:32