Math 409/409G History of Mathematics Sums of Squares and Cubes.

20
Math 409/409G History of Mathematics Sums of Squares and Cubes

Transcript of Math 409/409G History of Mathematics Sums of Squares and Cubes.

Page 1: Math 409/409G History of Mathematics Sums of Squares and Cubes.

Math 409/409GHistory of Mathematics

Sums of Squares and Cubes

Page 2: Math 409/409G History of Mathematics Sums of Squares and Cubes.

In the lesson on figurative numbers you saw how the triangular and square numbers were used to find formulas for sums of counting numbers, even counting numbers, and odd counting numbers.

( 1)1 2 3

2

n nn

2 4 6 2 ( 1)n n n

21 3 5 (2 1)n n

Page 3: Math 409/409G History of Mathematics Sums of Squares and Cubes.

In this lesson we will use what we have learned about the triangular and square numbers to derive formulas for the sums of squares and cubes.

One of these derivations will be geometric and the other will be algebraic.

2 2 2 21 2 3 ?n

3 3 3 31 2 3 ?n

Page 4: Math 409/409G History of Mathematics Sums of Squares and Cubes.

But first, lets review a bit.

The triangular numbers are generated by the iterative relation .

4t 5 4 5t t

1n nt t n

1

2

3

4

5

6

7

8

1

3

6

10

15

21

28

36

t

t

t

t

t

t

t

t

Page 5: Math 409/409G History of Mathematics Sums of Squares and Cubes.

In the lesson on the sum of triangular numbers we derived the formula for the sum of the first n triangular numbers.

The square numbers are 2.ns n

1 2

( 1)( 2)

6n

n n nt t t

Page 6: Math 409/409G History of Mathematics Sums of Squares and Cubes.

To find a formula for the sum of the squares of the first n counting numbers, let’s first consider the sum

Use a diagram of the first four square numbers to represent this sum.

2 2 2 21 2 3 ?n

2 2 2 21 2 3 4 .

Page 7: Math 409/409G History of Mathematics Sums of Squares and Cubes.

Add enough dots to form a rectangular array.

Do you see any pattern in the dots we added?

Page 8: Math 409/409G History of Mathematics Sums of Squares and Cubes.

The added dots can be counted using the triangular numbers.

1

2

3

4

5

6

7

8

1

3

6

10

15

21

28

36

t

t

t

t

t

t

t

t

Page 9: Math 409/409G History of Mathematics Sums of Squares and Cubes.

The number of dots in this array is

This number is also the product of the (horizontal) length and (vertical) width of the array.

2 2 2 21 2 32 .1 3 4 t t t

Page 10: Math 409/409G History of Mathematics Sums of Squares and Cubes.

Clearly the length is 10 and the width is 4. But we want to generalize our formula for

to

We need to express that 10 in terms of 4.

2 2 2 21 2 3 4 2 2 2 21 2 3 .n

Page 11: Math 409/409G History of Mathematics Sums of Squares and Cubes.

But 10 is the forth triangular number.

So let’s add another row of dots at the top.

1

2

3

4

5

6

7

8

1

3

6

10

15

21

28

36

t

t

t

t

t

t

t

t

Page 12: Math 409/409G History of Mathematics Sums of Squares and Cubes.

The number of dots in the array is now

And the length of the array is t4 and its width is 4 + 1.

1 2 3 42 2 2 21 2 3 4 .t t t t

Page 13: Math 409/409G History of Mathematics Sums of Squares and Cubes.

This gives

And generalizing this gives us

2 2 2 24 1 2 3 4(4 1) (1 2 3 4 ) ( )t t t t t

2 2 21 2( 1) (1 2 ) ( )n nn t n t t t

Page 14: Math 409/409G History of Mathematics Sums of Squares and Cubes.

We know that

and

Plugging these into our last equation gives

2 2 21 2

2 2 2

( 1) (1 2 ) ( )

( 1) ( 1)( 2)( 1) (1 2 )

2 6

n nn t n t t t

n n n n nn n

( 1)

2n

n nt

1 2

( 1)( 2)

6n

n n nt t t

Page 15: Math 409/409G History of Mathematics Sums of Squares and Cubes.

And then solving for

gives us the formula we were looking for.

2 2 2

2 2

2 2

2

2

( 1) ( 1)( 2)( 1) (1 2 )

2 6

( 1)(1 2 ) 3( 1) (

( 1)(2 1)1

2

26

)6

n

n

n n n nn n

n nn n

n

n

nn

2 2 2 21 2 3 n

Page 16: Math 409/409G History of Mathematics Sums of Squares and Cubes.

Do you see a pattern in the successive values of

3

3 3

3 3 3

3 3 3 3

3 3 3 3 3

1

1 2

1 2 3

1 2 3 4

1

9

36

100

21 2 3 4 5 25

3 3 3 31 2 3 ?n

3 3 3 31 2 3 ?n

Page 17: Math 409/409G History of Mathematics Sums of Squares and Cubes.

Each sum is a perfect square.

Do you see a pattern in the numbers that are squared?

3 2

3 3 2

3 3 3 2

3 3 3 3 2

3 3 3 3 3 2

1 1

1 2 9

1 2 3 36

1

1

3

6

10

1

2 3 4 100

1 2 3 4 5 2 525

Page 18: Math 409/409G History of Mathematics Sums of Squares and Cubes.

They are the triangular numbers. 1

2

3

4

5

6

7

8

1

3

6

10

15

21

28

36

t

t

t

t

t

t

t

t

3 2 21

3 3 2 22

3 3 3 2 23

3 3 3 3 2 24

3 3 3 3 3 2 25

1 1

1 2 3

1 2 3 6

1 2 3 4 10

1 2 3 4 5 15

t

t

t

t

t

Page 19: Math 409/409G History of Mathematics Sums of Squares and Cubes.

So in general,

And since , we now have a

formula for the sum of the cubes of the first n counting numbers. Namely,

3 3 3 3 21 2 3 .nn t

( 1)

2n

n nt

23 3 3 3 ( 1)1 2 3

2

n nn

Page 20: Math 409/409G History of Mathematics Sums of Squares and Cubes.

This ends the lesson on

Sums of Squares and Cubes