Amid one exercise I was solving, I came across the following finite sum:
$$ \sum_{n=0}^{N} n\left(\frac{3}{2}\right)^n.$$
This sum was evaluated in one of my classes, but I don't understand/agree with the resolution provided. For context, I present the resolution presented in class:
$$ \sum_{n=0}^N n\left(\frac{3}{2}\right)^n = \sum_{n=0}^N n\left(\frac{3}{2}\right)^n = \frac{3}{2} \sum_{n=0}^N n\left(\frac{3}{2}\right)^{n-1} \color{red}{= \frac{3}{2} \sum_{n=0}^N \left( \left( \frac{3}{2} \right)^n \right)'} = \frac{3}{2} \left( \sum_{n=0}^N \left(\frac{3}{2}\right)^n \right) ' = \frac{3}{2} \left( \frac{1.5^{N+1} - 1}{1.5-1} \right)'.$$
In the step I colored in red, it seems like we took the derivative of $(1.5)^n$ with respect to $1.5$, which I don't know if is possible. In the case that such computation makes sense, then everything that follows is clear, but I don't think derivatives with respect to a constant make sense.
Thus, I am looking for an alternative way of evaluating this sum.
Thanks for any help in advance.