I am trying to prove the following statement.
if $\displaystyle \lim_{n\rightarrow\infty}\frac{f(n)}{g(n)}=0$, then $f(n)$ is $o(g(n))$
My solution
$o\left(g(n)\right)=\{f(n):\forall c>0, \exists n_0, \forall n>n_0, 0 \le f(n) \lt cg(n)\}$
$0 \le f(n) \lt cg(n)$ $\Leftrightarrow$ $0 \le \displaystyle\frac{f(n)}{g(n)} \lt c$ $\Leftrightarrow$ $\displaystyle \lim_{n\rightarrow\infty}0 \le \lim_{n\rightarrow\infty}\frac{f(n)}{g(n)} \le \lim_{n\rightarrow\infty}c$
$\displaystyle\Leftrightarrow$ $0 \le \displaystyle\lim_{n\rightarrow\infty}\frac{f(n)}{g(n)} \le c$
$\displaystyle\Leftrightarrow$ $0 \le \displaystyle\lim_{n\rightarrow\infty}\frac{f(n)}{g(n)} \le 0$ ($\because$ c is any positive constant number)
$\displaystyle\Leftrightarrow$ $\displaystyle\lim_{n\rightarrow\infty}\frac{f(n)}{g(n)} = 0$
$\therefore$ if $\displaystyle \lim_{n\rightarrow\infty}\frac{f(n)}{g(n)}=0$, then $f(n)$ is $o(g(n))$.
Is my solution right mathematically?
I was wondering if there exists any holes in my process.
(e.g. omitting any conditions)
Thank you for reading my question.