Showing that the sum of cubes of an arithmetic progression is divisible by the sum of its terms

Aion

Full Member
Joined
May 8, 2018
Messages
253
Find the sum of the cubes of the terms of an arithmetic progression and show that it is exactly divisible by the sum of the terms.

Attempt

Consider the arithmetic progression
[math]a + kd,\quad k = 0,1,\dots,n-1[/math]
The sum of the terms is
[math]S = \sum_{k=0}^{n-1}(a+kd) = \frac{n}{2}\big(2a+(n-1)d\big)[/math]
We consider the sum of cubes
[math]T = \sum_{k=0}^{n-1}(a+kd)^3[/math]
Expanding,
[math]T = \sum_{k=0}^{n-1}\left(a^3 + 3a^2kd + 3ad^2k^2 + d^3k^3\right)[/math]
so
[math]T = na^3 + 3a^2d\sum_{k=0}^{n-1}k + 3ad^2\sum_{k=0}^{n-1}k^2 + d^3\sum_{k=0}^{n-1}k^3[/math]
Using standard formulas,
[math]\sum_{k=0}^{n-1} k = \frac{n(n-1)}{2},\quad \sum_{k=0}^{n-1} k^2 = \frac{n(n-1)(2n-1)}{6},\quad \sum_{k=0}^{n-1} k^3 = \left(\frac{n(n-1)}{2}\right)^2[/math],

we obtain
[math]T = na^3 + \frac{3}{2}a^2d\,n(n-1) + \frac{1}{2}ad^2\,n(n-1)(2n-1) + \frac{d^3}{4}n^2(n-1)^2[/math]
Factoring out n/4,
[math]T =\frac{n}{4}\Big(4a^3+ 6a^2d(n-1)+ 2ad^2(n-1)(2n-1)+ d^3n(n-1)^2\Big)[/math]
At this stage, I tried to factor out the known sum
[math]S = \frac{n}{2}\big(2a+(n-1)d\big)[/math]but a direct algebraic factorisation from the fully expanded form was not apparent. I also tried introducing the substitution [imath]x = (n-1)d[/imath] to rewrite the numerator in the form [imath](2a+x)(\text{quadratic in} \, a,x)[/imath], but this did not lead to a clean factorisation since the substitution mixes powers of [imath]d[/imath] in a way that obscures the structure.

I am also aware of an alternative approach based on symmetry of arithmetic progressions, which I include below as it provides a more conceptual explanation of why the factorisation works.

Alternative approach (symmetry).

Let
[math]x_k = a + kd[/math]
Write this in centred form using
[math]m = \frac{2a + (n-1)d}{2},\quad u_k = k - \frac{n-1}{2}[/math]so that
[math]x_k = m + du_k[/math]
Then
[math]\sum x_k^3 = \sum (m + du_k)^3 = nm^3 + 3m^2d\sum u_k + 3md^2\sum u_k^2 + d^3\sum u_k^3[/math]
Since the sequence [imath]u_k[/imath] is symmetric about [imath]0[/imath],
[math]\sum u_k = 0,\quad \sum u_k^3 = 0[/math]
so this reduces to
[math]\sum x_k^3 = nm^3 + 3md^2\sum u_k^2[/math]
Using
[math]\sum_{k=0}^{n-1}\left(k-\frac{n-1}{2}\right)^2 = \frac{n(n^2-1)}{12}[/math]
we get
[math]\sum x_k^3 = nm\left(m^2 + d^2\frac{n^2-1}{4}\right)[/math]
Since [imath]S = nm[/imath], it follows that
[math]\sum x_k^3 = S\left(m^2 + d^2\frac{n^2-1}{4}\right)[/math]
which shows that the sum of cubes is divisible by the sum of terms.
 
Find the sum of the cubes of the terms of an arithmetic progression and show that it is exactly divisible by the sum of the terms.

Your topic problem (and demonstration of the attempt of the answer) belong under the forum "Intermediate/Advanced Algebra."
 
Your topic problem (and demonstration of the attempt of the answer) belong under the forum "Intermediate/Advanced Algebra."
Thank you for letting me know. I wasn’t entirely sure which forum category was most appropriate for the problem.
 
This approach resolves the earlier difficulty I had with directly factoring the expanded expression. In particular, instead of trying to manipulate the full polynomial form of [imath]T[/imath], the key idea is to exploit the fact that the expression contains a known linear factor

[math]S = \frac{n}{2}\bigl(2a+(n-1)d\bigr)[/math]
This shifts the problem away from brute-force algebra and toward understanding what remains after factoring out [imath]S[/imath]. Once this is done, the remaining factor can be determined systematically.

We have already shown that
[math]T=na^3+\frac{3}{2}a^2d\,n(n-1)+\frac{1}{2}ad^2\,n(n-1)(2n-1)+\frac{d^3}{4}n^2(n-1)^2[/math]
Since
[math]S=\frac{n}{2}\bigl(2a+(n-1)d\bigr)[/math]is expected to be a factor of [imath]T[/imath], we write
[math]T=S\cdot Q(a,d)[/math]where [imath]Q(a,d)[/imath] must be homogeneous of degree [imath]2[/imath] in [imath]a[/imath] and [imath]d[/imath]

Thus we assume
[math]Q(a,d)=\alpha a^2+\beta ad+\gamma d^2[/math]where [imath]\alpha,\beta,\gamma[/imath] may depend on [imath]n[/imath]

Substituting [imath]S[/imath], we obtain
[math]T = \frac{n}{2}\bigl(2a+(n-1)d\bigr) \bigl(\alpha a^2+\beta ad+\gamma d^2\bigr)[/math]
Expanding symbolically
[math]\begin{aligned} T &= \frac{n}{2}\Bigl[2a(\alpha a^2+\beta ad+\gamma d^2)+(n-1)d(\alpha a^2+\beta ad+\gamma d^2)\Bigr] \\[1ex] &= \frac{n}{2}\Bigl[2\alpha a^3+2\beta a^2d+2\gamma ad^2+(n-1)\alpha a^2d+(n-1)\beta ad^2+(n-1)\gamma d^3\Bigr] \\[1ex] &= \frac{n}{2}\Bigl[2\alpha a^3+\bigl(2\beta+(n-1)\alpha\bigr)a^2d+\bigl(2\gamma+(n-1)\beta\bigr)ad^2+(n-1)\gamma d^3\Bigr] \end{aligned}[/math]
Now compare coefficients with the known expansion of [imath]T[/imath].

For the [imath]a^3[/imath]-term:
[math]\frac{n}{2}(2\alpha)=n[/math]hence
[math]\alpha=1[/math]
For the [imath]a^2d[/imath]-term:
[math]\frac{n}{2}\bigl(2\beta+(n-1)\bigr) = \frac{3}{2}n(n-1)[/math]
Cancelling [imath]n/2[/imath]
[math]2\beta+(n-1)=3(n-1)[/math]so
[math]\beta=n-1[/math]
For the [imath]ad^2[/imath]-term:
[math]\frac{n}{2}\bigl(2\gamma+(n-1)^2\bigr) = \frac{1}{2}n(n-1)(2n-1)[/math]
Cancelling [imath]n/2[/imath]
[math]2\gamma+(n-1)^2=(n-1)(2n-1)[/math]
Therefore
[math]2\gamma = (n-1)\bigl((2n-1)-(n-1)\bigr) =n(n-1)[/math]and hence
[math]\gamma=\frac{n(n-1)}{2}[/math]
Thus
[math]Q(a,d) = a^2+(n-1)ad+\frac{n(n-1)}{2}d^2[/math]
Substituting back
[math]T=\frac{n}{2}\bigl(2a+(n-1)d\bigr) \left(a^2+(n-1)ad+\frac{n(n-1)}{2}d^2\right)[/math]
 
Why you did not use the direct evidence?

[math]\frac{T}{S} = \frac{\sum_{k=0}^{n-1}(a + kd)^3}{\sum_{k=0}^{n-1}(a + kd)}[/math]
[math]= \sum_{k=0}^{n-1}\frac{(a + kd)^3}{(a + kd)}[/math]
[math]= \sum_{k=0}^{n-1}(a + kd)^2[/math]
 
Why you did not use the direct evidence?

[math]\frac{T}{S} = \frac{\sum_{k=0}^{n-1}(a + kd)^3}{\sum_{k=0}^{n-1}(a + kd)}[/math]
[math]= \sum_{k=0}^{n-1}\frac{(a + kd)^3}{(a + kd)}[/math]
[math]= \sum_{k=0}^{n-1}(a + kd)^2[/math]
The step
[math]\frac{\sum_{k=0}^{n-1}(a+kd)^3}{\sum_{k=0}^{n-1}(a+kd)} = \sum_{k=0}^{n-1}(a+kd)^2[/math]is not valid in general. One cannot “cancel” terms inside sums in this way, since
[math]\frac{\sum a_k}{\sum b_k} \neq \sum \frac{a_k}{b_k}.[/math]
A simple counterexample is [imath]a=1[/imath], [imath]d=1[/imath], [imath]n=2[/imath]. Then
[math]\frac{1^3+2^3}{1+2}=\frac{9}{3}=3[/math]whereas
[math]1^2+2^2=5[/math]
Hence the proposed simplification does not hold.
 
Last edited:
Top