0

$$\sum_{i=0}^{\\(log_2 n)-1} \frac{3^i}{2^i}$$

I have been working on solving a recurrence, and finally simplified to this step. However, I am lost as to where to proceed now. I know the sum of powers of 2, but I don't know what to do since it's in the denominator.

2 Answers2

2

Hint $$\sum_{i=0}^{N}r^i=\frac{1-r^{N+1}}{1-r}$$ when $r\ne 1$

DINEDINE
  • 6,081
0

$$\sum_{i=0}^{\log_2 n} \frac{3^i}{2^i}=\sum_{i=0}^{\log_2 n} \left(\frac{3}{2}\right)^i.$$

Now use the formula for the sum of a geometric series.

J. W. Tanner
  • 60,406