Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 4.3.10 ($\sum_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}.$)

Exercise 4.3.10 ($\sum_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}.$)

By use of the algebraic identity ( x + 1 ) 3 x 3 = 3 x 2 + 3 x + 1 establish that ( n + 1 ) 3 1 3 = x = 1 n ( x + 1 ) 3 x 3 = x = 1 n ( 3 x 2 + 3 x + 1 ) , and so derive the result x = 1 n x 2 = n ( n + 1 ) ( 2 n + 1 ) 6 .

Answers

Proof. With some “copy and paste” from Problem 9, we obtain

i = 1 n [ ( i + 1 ) 3 i 3 ] = i = 1 n ( i + 1 ) 3 i = 1 n i 3 = j = 2 n + 1 j 3 j = 1 n j 3 ( j = i + 1  in the first sum ) = ( ( n + 1 ) 3 + j = 2 n j 3 ) ( 1 + j = 1 n j 3 ) = ( n + 1 ) 3 1 .

Since ( i + 1 ) 3 i 3 = 3 i 2 + 3 i + 1 for all i , we obtain

i = 1 n ( 3 i 2 + 3 i + 1 ) = ( n + 1 ) 3 1 . (1)

We define S ( n ) = i = 1 n i 2 for all positive integer n . By (1), and the result of Problem 9,

( n + 1 ) 3 1 = i = 1 n ( 3 i 2 + 3 i + 1 ) = 3 i = 1 n i 2 + 3 i = 1 n i + i = 1 n 1 = 3 S ( n ) + 3 n ( n + 1 ) 2 + n .

Therefore

3 [ S ( n ) + n ( n + 1 ) 2 ] = ( n + 1 ) 3 ( n + 1 ) = n ( n + 1 ) ( n + 2 ) ,

thus

S ( n ) = n ( n + 1 ) ( n + 2 ) 3 n ( n + 1 ) 2 = n ( n + 1 ) ( 2 n + 1 ) 6 .

For all positive integer n ,

i = 1 n i 2 = n ( n + 1 ) ( 2 n + 1 ) 6 .

User profile picture
2025-01-27 09:56
Comments