Sums of powers of natural numbers (free preview) | StemPy Lab
Free previewCourse: Standard
Sums of powers of natural numbers
The sum of the first n natural numbers is 2n(n+1), of their squares 6n(n+1)(2n+1), and of their cubes [2n(n+1)]2. To add a series whose kth term is a polynomial in k, expand the term, split the sum, and use these three formulas.
This is the first lesson of Summing Series: Advanced Techniques, free for everyone to read.
Beyond arithmetic progressions
You can already add the terms of an arithmetic or a geometric progression. Many series in JEE are neither. Look at 12+22+32+… or 1×3+2×5+3×7+…. The gaps between their terms keep changing, and so does the ratio.
Three formulas unlock most of these series. In sigma notation, ∑k=1nk2 means 12+22+⋯+n2.
The sum of the first n numbers
Write the sum forwards and backwards, one under the other:
S=1+2+⋯+n,S=n+(n−1)+⋯+1.
Each column adds up to n+1, and there are n columns. So 2S=n(n+1):
k=1∑nk=2n(n+1).
The sum of the squares
The trick here is a sum that collapses. Start from an identity that is true for every k:
(k+1)3−k3=3k2+3k+1.
Write it for k=1,2,…,n and add all the lines.
The left side.(23−13)+(33−23)+⋯+((n+1)3−n3). Every middle cube appears once with a plus and once with a minus. Only (n+1)3−1 is left.
The right side.3∑k2+3∑k+n.
Solve for the squares.3∑k2=(n+1)3−1−23n(n+1)−n. Factorise and simplify.
k=1∑nk2=6n(n+1)(2n+1).
Example 1.12+22+⋯+102=610×11×21=385.
The sum of the cubes
The same trick with (k+1)4−k4 gives the cubes. The answer is a surprise. It is the square of the first formula:
k=1∑nk3=[2n(n+1)]2.
The picture shows why for n=4. A square of side 1+2+3+4=10 is cut into L-shaped bands. The bands have areas 1,8,27 and 64, which are the first four cubes.
A square of side 10 on a grid of unit squares, cut into four nested pieces from the bottom-left corner. A 1 by 1 square is labelled 1 cubed. The L-shaped band around it, up to side 3, has area 8 and is labelled 2 cubed = 8. The next band, up to side 6, has area 27. The outer band, up to side 10, has area 64. The title says 1 cubed + 2 cubed + 3 cubed + 4 cubed = (1 + 2 + 3 + 4) squared = 10 squared = 100.
Example 2.13+23+⋯+103=552=3025.
Notice that ∑k3=(∑k)2, but ∑k2 is not (∑k)2. Do not mix them up.
Series with a polynomial kth term
Most JEE series of this kind need four steps.
Find the kth term. Write Tk as a polynomial in k. Check it against the first two terms.
Split the sum.∑(ak2+bk+c)=a∑k2+b∑k+cn.
Use the formulas. Put in the three sums.
Check. Put n=1 and n=2 into your answer.
Example 3. Find 1×3+2×5+3×7+… to n terms.
The kth term. The first factors are 1,2,3,… and the second are 3,5,7,…. So Tk=k(2k+1)=2k2+k.
Split and sum.2×6n(n+1)(2n+1)+2n(n+1)=6n(n+1)(4n+5).
Check.n=1 gives 61×2×9=3, and n=2 gives 62×3×13=13=3+10.
Example 4 (a sum that does not start at 1). Find 63+73+⋯+153. Take the cubes up to 15, then remove the cubes up to 5:
1202−152=14400−225=14175.
Practise with new numbers
Try it in Python
The program adds the powers one at a time and prints each formula beside the sum.
Common mistakes
Squaring the wrong sum.∑k3=(∑k)2, but ∑k2 is a different formula.
A wrong kth term. Always test Tk against the first two terms of the series.
A constant term.∑k=1nc=cn, not c.
A sum that does not start at 1. Take the sum up to the last term, then subtract the part you do not want.
Remember these
∑k=2n(n+1), ∑k2=6n(n+1)(2n+1) and ∑k3=[2n(n+1)]2.
Expand the kth term, split the sum, then use the three formulas.
Check every answer with n=1 and n=2.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Find 12+22+⋯+202.
Find 13+23+⋯+83.
Write ∑k=1n(3k−1)2 as a polynomial in n.
Show that 13+23+⋯+n3 is always a perfect square.
Liked this lesson? There is more
Summing Series: Advanced Techniques is a Standard course. It adds 2 more lessons, practice and tests on top of the free chapter.
11Problems2Python Labs1Question Set1Mock Test
Arithmetico-geometric series: An arithmetico-geometric series multiplies an AP by a GP: its terms are [a+(k−1)d]rk−1
. To add
n
terms, write
S
and
rS
one under the other, shifted by one place, and subtract: a geometric series is left in the middle. For
∣r∣<1
the sum to infinity is
1−ra+(1−r)2dr
.
Telescoping and the method of differences: A telescoping sum has terms of the form f(k)−f(k+1), so everything cancels except f(1)−f(n+1). Partial fractions turn terms like k(k+1)1 into such differences. When the gaps between the terms of a series form an AP or a GP, find the nth term from the gaps first. A harmonic progression has reciprocals in AP.