Sum Of Squares Of N Natural Numbers - Formula, Even And Odd ...

Sum of Squares of n Natural Numbers

The sum of squares of n natural numbers can be calculated using the formula [n(n+1)(2n+1)] / 6. Let n be a natural number. We evaluate the sum of the squares in statistics to find the variation in the data. There are different techniques to find the sum of squares of given numbers.

In this article, we will discuss the formula to calculate the sum of squares of n natural numbers and prove it using the principle of mathematical induction. We will also discuss the formula to find the sum of squares of even and odd natural numbers and the sum of squares in geometry. We will also solve a few examples for a better understanding of the concept.

1. What is Sum of Squares of n Natural Numbers?
2. Sum of Squares of n Natural Numbers Formula
3. Sum of Squares of Two and Three numbers
4. Sum of Squares of Natural Numbers Proof
5. Sum of Squares of Even Natural Numbers
6. Sum of Squares of Odd Natural Numbers
7. Sum of Squares in Geometry
8. FAQs on Sum of Squares

What is Sum of Squares of n Natural Numbers?

Let us first recall the meaning of natural numbers. The natural numbers are the counting numbers from 1 to infinity. If we consider n consecutive natural numbers, then finding the sum of the squares of these numbers is represented as Σi = 1 n i2. We can find the sum of squares of the first n natural numbers using the formula, SUM = 12 + 22 + 32 + ... + n2 = [n(n+1)(2n+1)] / 6. We can prove this formula using the principle of mathematical induction.

sum of squares of n natural numbers is n times n plus 1 times 2 n plus 1 all over 6.

☛ Also Check: Sum of Squares

Let's go through the formulas of finding the sum of squares of even and odd natural numbers in the next section.

Sum of Squares of n Natural Numbers Formula

Here are the formulas for finding the sum of squares of n natural numbers, the sum of squares of first n even numbers, and the sum of squares of first n odd numbers:

Sum of squares of first n natural numbers [n(n+1)(2n+1)] / 6
Sum of squares of first n even numbers [2n(n + 1)(2n + 1)] / 3
Sum of squares of first n odd numbers [n(2n+1)(2n-1)] / 3

Sum of Squares of Two and Three Natural Numbers

For small numbers, we can directly find the squares and add them, but for larger numbers, we need to know the identity to use to ease our calculations. Let a and b be the 2 numbers. Their squares are a2 and b2. The sum of their squares is a2 + b2. We could obtain a formula using the known algebraic identity (a+b)2 = a2 + b2 + 2ab. From this we conclude that a2 + b2 = (a + b)2 - 2ab.

Let a, b, c be the 3 numbers for which we are supposed to find the sum of squares. The sum of their squares is a2 + b2 + c2. Using the known algebraic identity (a + b + c)2 = a2 + b2 + c2 + 2ab + 2bc + 2ca, we can evaluate that a2 + b2 + c2 = (a + b + c)2 - 2ab -2bc -2ca.

Sum of Squares of Natural Numbers Proof

Let us learn to evaluate the sum of squares for larger sums. We can readily use the formula available to find the sum, however, it is essential to learn the derivation of the sum of squares of n natural numbers formula: Σn2 = [n(n+1)(2n+1)] / 6. It is easy to apply the formula when the value of n is known. Let us prove this formula using the principle of mathematical induction.

Let P(n): 12 + 22 + 32 + ... + n2 = [n(n+1)(2n+1)] / 6

Consider P(1). LHS = 12 = 1, RHS = [1(1+1)(2(1)+1)] / 6 = (1 × 2 × 3) / 6 = 6/6 = 1. So, LHS = RHS. Therefore, P(1) is true.

Assume P(k) is true, i.e., 12 + 22 + 32 + ... + k2 = [k(k+1)(2k+1)] / 6 holds true. ---- (1)

Now we will prove that P(k+1) is true, that is, we need to prove that 12 + 22 + 32 + ... + (k+1)2 = [(k+1)(k+2)(2k+3)] / 6 is true.

Consider LHS = 12 + 22 + 32 + ... + (k+1)2

= 12 + 22 + 32 + ... + k2 + (k+1)2

= [k(k+1)(2k+1)] / 6 + (k+1)2 --- [Using (1)]

= (k+1)/6 × [k(2k+1) + 6(k+1)]

= (k+1)/6 × [2k2 + k + 6k + 6]

= (k+1)/6 × (2k2 + 7k + 6)

= (k+1)/6 × (2k2 + 4k + 3k + 6)

= (k+1)/6 × [2k(k + 2) + 3(k + 2)]

= = (k+1)/6 × (2k+3)(k + 2)

= [(k+1)(k+2)(2k+3)] / 6

= RHS

So, P(k+1) is true.

Thus, we can say that P(n) is true for all natural numbers n. So, we have 12 + 22 + 32 + ... + n2 = [n(n+1)(2n+1)] / 6. Hence, we have derived the formula for the sum of squares of n natural numbers.

Alternate Proof:

n3 - (n-1)3 = (n- n+1)(n2 +n(n-1)+ (n-1)2)

n3 - (n-1)3 = 1(n2 +n2-n+ n2 + 1 - 2n)

= 3n2 - 3n + 1

n3 - (n-1)3 = 3n2- 3n + 1 ----------> (1)

(n-1)3 - (n-2)3 = 3 (n-1)2 - 3(n-1) +1----------> (2)

(n-2)3 - (n-3)3 = 3 (n-2)2 - 3(n-2) +1----------> (3)

...................

23 - 13 = 3 (2)2 - 3(2) +1

13- 03 = 3 (1)2 - 3(1) +1---------->(last step)

(1) + (2) + (3) +............+ (the last step) ⇒ By adding all the above steps, we get, n3 - 03 = 3 Σ n2 - 3Σ n + n

n3 = 3 Σ n2 - [3n(n+1)/2]+ n [ since Σ n = n(n+1)/2 (sum of n natural numbers)]

3 Σ n2 = n3 + [3n(n+1)/2] - n

3 Σ n2 = n[n2 + 3(n+1)/2 - 1] --- (Taking n as common from RHS)

Σ n2 = (n/3)( n2 + (3n+3)/2 -1)

= (n/6) (2n2+ 3n + 1)

Factorizing the quadratic expression,

Σ n2 = 12 + 22 + 32 + ... + n2 = [n(n+1)(2n+1)] / 6

Sum of Squares of Even Natural Numbers

The even numbers are denoted by 2n, where n is the natural number. The summation of the squares of first n even numbers is given as 22 + 42+ 62+ 82 + 102 + 122 + ........(2n)2. We are required to identify n and apply it in the known formula [2n(n + 1)(2n + 1)] / 3. Let us derive the formula from the already learned formulas. When n takes the value from 1 to ∞, we evaluate Σ(2n)2 as, Σ(22 . n2) as follows.

Σ(2n)2 = 22.12 + 22.22 + 22.32 + 22.42 +…+ 22.n2

Σ(2n)2 = 22(12 + 22 + 32 + 42 … + n2)

Σ(2n)2 = 4 [n(n+1)(2n+1)] / 6 (Formula for sum of squares of n natural numbers)

Thus Σ(2n)2 = [2n(n + 1)(2n + 1)] / 3

Sum of Squares of Odd Natural Numbers

The odd numbers are denoted by (2n-1), where n is the natural number. The sum of the squares of the first n odd natural numbers is given by 12 + 32 + 52 + … + (2n – 1)2. Identify n and apply in the known formula [n(2n+1)(2n-1)] / 3. Let us get the proof as follows:

Σ(2n-1)2 = 12 + 22 + 32 + … + (2n – 1)2 + (2n)2 – [2 2 + 42 + 62 + … + (2n)2]

Σ(2n-1)2 = (the sum of all the consecutive integers from 1 to 2n) - (the sum of the squares of the even numbers)

Σ(2n-1)2 = [12 + 22 + 32 + … + (2n – 1)2 + (2n)2 ] – [22+ 42 + 62+ … + (2n)2]

On applying the formula for the addition of squares of 2n natural numbers and of n even natural numbers, we get;

Σ(2n-1)2 = [2n(2n+1)(4n+1)] / 6 - [2n(n + 1)(2n + 1)] / 3

= [n(2n+1)(4n+1)] / 3 - [2n(n + 1)(2n + 1)] / 3

Taking out the common terms, we get;

Σ(2n-1)2 = (n/3) (2n+1) [4n+1 - 2(n+1)]

= (n/3) (2n+1) (4n+1-2n-2)

= [n(2n+1)(2n-1)] / 3

Σ(2n-1)2 = [n(2n+1)(2n-1)] / 3

Sum of Squares in Geometry

As we know, in a right-angled triangle, the sum of the squares of the perpendicular and the base is equal to the square of the hypotenuse. This result is known as the Pythagoras theorem. So, we have the sum of squares in geometry given by,

Base2 + Perpendicular2 = Hypotenuse2

Important Notes on Sum of Squares of n Natural Numbers

  • The sum of squares of first n natural numbers is, Σ n2 = 12 + 22 + 32 + ... + n2 = [n(n+1)(2n+1)] / 6
  • The sum of squares of even and odd natural numbers is given by,
    • Σ(2n-1)2 = [n(2n+1)(2n-1)] / 3
    • Σ(2n)2 = [2n(n + 1)(2n + 1)] / 3
  • We can derive the formula for the sum of squares of n natural numbers using the principle of mathematical induction.

☛Related Articles:

  • Sum of Arithmetic Sequence
  • Sum of a GP
  • Perfect Squares Formula
  • Sum of Squares Calculator

Tag » How To Find Sum Of Squares