Let's start with an easy and well-known summation.
Find a general formula for 1+2+3+⋯+n.
Let's start by assuming that the above summation can be expressed as a polynomial function f(n) of the form
f(n)=A0+A1n+A2n2+A3n3+⋯.
Let's equate this function to our original summation:
1+2+3+⋯+n=A0+A1n+A2n2+A3n3+⋯.(1)
Now we want to simplify this equation. There's no easy way to simplify this because the left-hand side is not a proper expression. We first need to express the left-hand side as a proper expression.
The easiest way to do this is to compare the above expression to the summation 1+2+3+⋯+n+(n+1).
We know that
1+2+3+⋯+n+(n+1)1+2+3+⋯+n+(n+1)=f(n+1)=A0+A1(n+1)+A2(n+1)2+A3(n+1)3+⋯.(2)
Then taking (2)−(1) gives
n+1=A1+(2n+1)A2+(3n2+3n+1)A3+⋯.
Since this expression works for all positive integers n, we can compare the degrees of the left-hand side and right-hand side. But before we do that, it's worth noting that the highest degree on the left-hand side is 1. For this equation to satisfy all values of n, the degree of the right-hand side must also be 1. Hence we can eliminate all variables on the right except for A1+(2n+1)A2 because all other values are 0. Then the new equation is
n+1=A1+(2n+1)A2,
which gives
n+12A2⇒A1=A1+(2n+1)A2=2A2n+(A1+A2)=1, A1+A2=1=A2=21.
Substituting A1=A2=21 into (1) gives
1+2+3+⋯+n=A0+A1n+A2n2+A3n3+⋯=A0+21n+21n2+0⋅n3+⋯=A0+21n+21n2.
Now we just need to find the value of A0, which is easy. Since the above expression is true for all values of n, we can just try substituting a specific value of n into the equation and then find the value of A0. For simplicity, let's try n=2 (but you can also try any other positive integer n):
1+23A0=A0+21×2+21×22=A0+1+2=0.
Therefore, we have now completely simplified the equation. Expressing it in proper form, we have
\[\begin{align}
1+2+3+\cdots +n
& = \frac { 1 }{ 2 } n+\frac { 1 }{ 2 } { n }^{ 2 } \\
& = \frac { { n }^{ 2 }+n }{ 2 } \\
& = \frac { n\left( n+1 \right) }{ 2 }. \ _\square
\end{align}\]
Let's try a slightly harder version of this problem. Before seeing the solution, try figuring out the answer on your own!
Find a general formula for 12+22+32+⋯+n2.
As in the previous problem, we have
12+22+⋯+n212+22+⋯+n2+(n+1)2=A0+A1n+A2n2+A3n3+A4n4+⋯=A0+A1(n+1)+A2(n+1)2+A3(n+1)3+A4(n+1)4+⋯.
On subtracting the equations,
(n+1)2=A1+A2(2n+1)+A3(3n2+3n+1)+A4(4n3+6n2+4n+1)+⋯.
The variables on right-hand side with a degree greater than 2 can be discarded:
(n+1)2n2+2n+1=A1+A2(2n+1)+A3(3n2+3n+1)=A1+A2(2n+1)+A3(3n2+3n+1).
On expressing in proper form,
n2+2n+1=3A3n2+(2A2+3A3)n+(A1+A2+A3).
On comparing the degrees,
n2=3A3n22n=(2A2+3A3)n⇒2=2A2+3A31=A1+A2+A3⇒A3=31⇒A2=21⇒A1=61.
On substituting this into the original equation,
12+22+⋯+n2=A0+A1n+A2n2+A3n3+A4n4+⋯=A0+61n+21n2+31n3+A4n4+⋯=A0+61n+21n2+31n3,
since variables with degree greater than 3 can be removed.
Now, since all values of n work, we can substitute a value of n to find the value of A0. For n=1,
12=A0+61×1+21×12+31×13=A0+61+21+31⇒A0=0.
Hence,
\[\begin{align}
{ 1 }^{ 2 }+{ 2 }^{ 2 }+{ 3 }^{ 2 }+\cdots +{ n }^{ 2 }
& = \frac { 1 }{ 6 } n+\frac { 1 }{ 2 } { n }^{ 2 }+\frac { 1 }{ 3 } { n }^{ 3 } \\
& = \frac { 2{ n }^{ 3 }+3{ n }^{ 2 }+n }{ 6 } \\
& = \frac { n\left( n+1 \right) \left( 2n+1 \right) }{ 6 }.\ _\square
\end{align}\]
Can you now find a general formula for the sum of cubes or fourth powers?
Find a general formual for 1⋅2+2⋅3+3⋅4+⋯+n(n+1).
We have
1⋅2+2⋅3+⋯+n(n+1)=1⋅2+2⋅3+⋯+n(n+1)+(n+1)(n+2)=A0+A1n+A2n2+⋯A0+A1(n+1)+A2(n+1)2+⋯.
By subtracting, we have
(n+1)(n+2)=A1+A2(2n+1)+A3(3n2+3n+1)+A4(4n3+6n2+4n+1)+⋯.
By comparing corresponding coefficients, we get
3A3=1,3A3+2A2=3,A1+A2+A3=2,
which gives
A3=31,A2=1,A1=32.
Our sum then becomes
1⋅2+2⋅3+⋯+n(n+1)=A0+32n+n2+31n3.
To find A0, substitute n=1, then the series reduces to its first term:
2=A0+2⇒A0=0.
On simplifying and factorizing,
1⋅2+2⋅3+3⋅4+⋯+n(n+1)=31n(n+1)(n+2). □