I'm trying to prove that $2^n = o(3^n)$ using the definition of little-o alone. I'm having trouble because I can't seem to find a way to describe $n$ as a function of $c$ where $c$ is positive. Here's an example:
\begin{align}2^n &< c 3^n \\ \frac{2^n}{c} &< 3^n\\ \log_3{\frac{2^n}{c}} &< n\\ n\log_3{2} - \log_3{c} &< n\\ - \log_3{c} &< n - n\log_3{2}\\ \frac{-\log_3{c}}{1-\log_3 2} &< n, \end{align} but LHS is negative. If I multiply $-1$ on both sides it wont help, as now $n$ is less than that term.
Am I doing something terribly wrong?
Case 1: $c\ge 1$.
As $2<3$, we have (e.g. inductively) $2^n < 3^n \le c 3^n$ for all $n\ge 1 =:n_0$.
Case 2: $0<c<1$.
Now we use your calculation to see that we can use
$$n\ge n_0 := \frac{-\log_3 c}{1-\log_3 2}. $$ Note that this quantity is positive. e.g. for $c= 1/3$, $\log_3 c = -1$ so $n_0 = \frac1{1-\log_32} > 0$, since $\log_32\approx 0.631$.