OrgPad logo

What is 1ᵏ+2ᵏ+⋯+nᵏ?

Created by Pavel Klavík

Sums involving integers and their powers were studied for thousands of years. This OrgPage explores the general pattern: a sum of a polynomial of degree d from 1 to n is another polynomial of degree d+1 evaluated at n. An elegant proof hidden within Pascal's triangle is revealed.

What is 1ᵏ+2ᵏ+⋯+nᵏ?

Sum of polynomials is a polynomial

 

Pavel v obleku kruhová v2

Pavel Klavík, PhD

founder and CTO
of OrgPad

1+2+3+4+⋯+n

arithmetic series

1+3+5+7+9+⋯+(2n-1)

sum of odd numbers

1²+2²+3²+4²+⋯+n²

sum of squares

1³+2³+3³+4³+⋯+n³

sum of cubes

Pascal triangle

1

1

1

1

2

1

1

3

3

1

1

4

6

4

1

1

5

10

image

10

5

1

1

6

15

20

15

6

1

Picture proof

Picture proof

sum of odd numbers picture proof

Pyramidal numbers

square pyramidal number with padding

Place numbers into a triangle

sum of squares picture proof 1

Rotated 120 degrees

sum of squares picture proof 3

Rotated -120 degrees

sum of squares picture proof 2

Adding all together

sum of squares picture proof 4

Picture proof

nicomachus theorem 3D with padding

Summing multiplication table by columns

Summing multiplication table by L shapes

What is the pattern?

General statement

general sum of polynomials

Computing coefficients of Q

System of linear equations

system of linear equations

Gauss-Jordan elimination

1) Only needed for some polynomials P

one polynomial per degree

2) Prove it for these polynomials P

Linearity for adding

sums are linear

Linearity for multiplying

sums are linear 2

Combining sum of odd numbers

1+1+1+⋯+1=n

sum of ones

All degree 3 polynomials done

Sums of powers (Faulhaber's formula)

image

Standard proof using generating functions

standard proof using generating functions v2 1

standard proof using generating functions v2 2

Any degree 4 polynomial helps

Implies 1⁴+2⁴+3⁴+⋯+n⁴

combining together

Number of paths

All 10 paths

all paths

Addition of paths

number of paths is additive

Extended paths with a right step

all paths ending left

Extended paths with a left step

all paths ending right

k=0

n=0

k=1

n=1

k=2

n=2

k=3

n=3

k=4

n=4

k=5

n=5

k=6

n=6

n choose k

  image

Computing directly

General formula

Patterns within Pascal triangle

Vertical symmetry

Sum of a row

Sum of odd/even indexes in a row

Sum of squares of a row

Fibonacci numbers

Highlighting all odd numbers

Serpinski triangle

serpinski triangle screenshot

What about the hockey stick?

Hockey stick identity

Hockey stick identity for d=4

Deriving formula for 1⁴+2⁴+3⁴+⋯+n⁴

Previously known sums

lower degree polynomials

OrgPad

799px-OrgPad Logo.svg

orgpad.com

20% off

POLYNOMIALS