An arithmetico-geometric series has the form: sum = a + (a+d)r + (a+2d) + ...
Infinite AGP (|r| < 1): S = + ^2
Finite AGP (n terms): Step 1: Write S = a + (a+d)r + (a+2d) + ... + [a+(n-1)d]r^(n-1) Step 2: Multiply by r: rS = ar + (a+d) + ... + [a+(n-1)d] Step 3: Subtract: S(1-r) = a + d(r+...+r^(n-1)) - [a+(n-1)d] Step 4: Sum the GP: S(1-r) = a + dr(1-r^(n-1))/(1-r) - [a+(n-1)d] Step 5: Solve for S.
Common examples:
- sum k* = ^2 (for |x|<1)
- sum * = x^3
- 1+2x+3... = ^2