MathLabs

Problem 1

Compute the sum S=∑i=0101xi31−3xi+3xi2S = \sum_{i=0}^{101} \frac{x_i^3}{1 - 3x_i + 3x_i^2} for xi=i101x_i = \frac{i}{101}.
Step 3 of 4: Reverse the summation order and add the two sums
In plain words

Just like Gauss's trick for summing an arithmetic progression, pairing the ii-th term from the start with the ii-th term from the end makes every pair collapse to 11.

2S=∑i=0101xi3x101−i3+xi3+∑i=0101x101−i3xi3+x101−i3=∑i=0101xi3+x101−i3x101−i3+xi32S = \sum_{i=0}^{101} \frac{x_i^3}{x_{101-i}^3 + x_i^3} + \sum_{i=0}^{101} \frac{x_{101-i}^3}{x_i^3 + x_{101-i}^3} = \sum_{i=0}^{101} \frac{x_i^3 + x_{101-i}^3}{x_{101-i}^3 + x_i^3}
Detailed analysis

Replacing the dummy index ii by 101−i101 - i in the sum S=∑i=0101xi3x101−i3+xi3S = \sum_{i=0}^{101} \frac{x_i^3}{x_{101-i}^3 + x_i^3} gives S=∑i=0101x101−i3xi3+x101−i3S = \sum_{i=0}^{101} \frac{x_{101-i}^3}{x_i^3 + x_{101-i}^3}. Adding these two expressions term by term combines the numerators over the common denominator x101−i3+xi3x_{101-i}^3 + x_i^3.