grief said:
Just to clarify, the method I'm proposing is NOT treating the sum as an integral. Rather, it's to integrate the expression to yield an easier expression which you can evaluate. Then you would need to take the derivative of that to get back the desired result.
I'll show you a different method as well, which doesn't use Calculus.
Let S represent the sum S=a+2a^2+...+na^n. Multiplying by a, we get aS=a^2+2a^3+...na^(n+1). Subtracting the latter equation from the former, we get (1-a)S=a+a^2+a^3+...+a^n-na^(n+1). The right side consists of a summation you already know how to evaluate (a+a^2+...+a^n) plus an extra term. Now it's just a matter of algebra to find S.
Brilliant!
Lesse,
S = a + 2a^2 + 3a^3 + \ldots + na^n
aS = a^2 + 2a^3 = 3a^4 + \ldots + na^{n+1}
Subtracting, I get:
S(1 - a) = a + a^2 + a^3 + a^4 + \ldots + a^n + na^{n + 1}
S(1 - a) = \frac{a^{n+1} - 1}{a - 1} - 1 + na^{n + 1}
S = \frac{a^{n+1} - 1}{(a - 1)(1 - a)} - \frac{1}{1 - a} + \frac{na^{n + 1}}{1 - a}
S = \frac{a^{n+1} - 1 - (a - 1) + na^{n+1}(a - 1)}{(a - 1)(1 - a)}
S = \frac{a^{n+1} - a + na^{n+1}(a - 1)}{(a - 1)(1 - a)}
I guess I can't get any neater than that.
EDIT: Whoops. Did it incorrectly.
S(1 - a) = \frac{a^{n+1} - 1}{a - 1} - 1 - na^{n + 1}
S = \frac{a^{n+1} - 1}{(a - 1)(1 - a)} - \frac{1}{1 - a} - \frac{na^{n + 1}}{1 - a}
S = \frac{a^{n+1} - 1 - (a - 1) - na^{n+1}(a - 1)}{(a - 1)(1 - a)}
S = \frac{a^{n+1} - a - na^{n+1}(a - 1)}{(a - 1)(1 - a)}
S = \frac{a^{n+1} - a - na^{n+1}(a - 1)}{(a - 1)(1 - a)}
The other way you mentioned:
Erm...
\sum^n_{i=1}\int(i + 1)a^i di = \sum^n_{i=1}a^{i+1} = \frac{a^{n+1} - 1}{a - 1} - 1 - a + a^{n+1}
Then I'm suppose to take the derivative of that right?
But how is (i + 1)a^i related to ia^i?
... every term gets multiplied by +, how is that difference accounted for?
Thank you for your patience.