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.
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.
☛ 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 Squares of n Natural Numbers Examples
-
Example 1: Find the sum of the squares of 19 and 22 directly using the formula. Verify your answers.
Solution:
192 + 222 = 361 + 484 = 845
Using the formula a2 + b2 = (a +b)2 - 2ab, we get 192 + 222 = (19 + 22)2 - 2 × 19 × 22
= 412 - 836
= 1681- 836 = 845
Answer: Thus verified. -
Example 2: What are the 3 consecutive natural numbers if the sum of their squares is 77?
Solution:
Let n be a number. We are required to find n, n+1 and n+2.
Given that n2 + (n+1)2 +(n+2)2 = 77
n2 + n2 + 2n + 1+ n2 + 4n + 4 = 77
3n2 + 6n + 5 = 77
3n2 + 6n = 72
Dividing by 3 we get, n2 + 2n - 24 = 0
Solving the quadratic equation, we get (n+6)(n-4) = 0
Since n cannot be negative, we have n = 4. Thus the required numbers are 4, 5 and 6.
Answer: The required numbers are 4, 5, and 6. -
Example 3: Find the sum of the squares of the first 30 odd numbers.
Solution:
We know by a formula that the sum of the squares of n odd numbers = [n(2n+1) (2n-1)]/3
Here n = 30. Substituting we get,
30(61)(59)/ 3 = 35990
Answer: The sum of the squares of the first 30 odd numbers is 35990. -
Example 4: Find the sum of squares of the first 20 natural numbers.
Solution:
The sum of squares of first n natural numbers formula is Σ n2 = 12 + 22 + 32 + ... + n2 = [n(n+1)(2n+1)] / 6.
Here n = 20. So, we have
Σ 202 = [n(n+1)(2n+1)] / 6 = [20(20+1)(40+1)] / 6 = [20(21)(41)] / 6 = 2870
Answer: The sum of squares of first 20 natural numbers is 2870.
Practice Questions on Sum of Squares of n Natural Numbers
FAQs on Sum of Squares of n Natural Numbers
What is the Sum of Squares of n Natural Numbers?
We can calculate the sum of squares of n natural numbers using the formula, Σ n2 = 12 + 22 + 32 + ... + n2 = [n(n+1)(2n+1)] / 6. This can be verified by the principle of mathematical induction.
What is the Sum of Square Numbers in Algebra?
The sum of square numbers is given as a2+ b2+ c2 +..... up to infinity. For the sum of squares of 2 numbers and 3 numbers in algebra, we use the known algebraic identities; Some of the formulas are:
- a2 + b2 = (a + b)2 - 2ab
- a2 + b2 + c2 = (a + b + c)2 - 2ab -2bc -2ca
How do you Calculate the Sum of Squares of Natural Numbers?
- The sum of the squares of n natural numbers is calculated using the formula [n(n+1)(2n+1)]/6.
- The sum of the squares of n odd natural numbers is calculated using the formula [n(2n+1)(2n-1)] / 3.
- The sum of the squares of n even natural numbers is calculated using the formula [2n(n + 1)(2n + 1)] / 3.
What is the Sum of Squares of 100 Natural numbers from 1 to 100?
To calculate the sum of the squares of the numbers from 1 to 100, we apply the sum of squares of first n natural numbers formula, i.e., 12 + 22 + 32 + 42 + 52 + 62+ ....n2 = [n(n+1)(2n+1)]/6, so, 12 + 22 + 32 + 42 + 52 + 62+ .....1002 = [100(101)(201)]/6 = 338,350.
What is the Sum of Squares of Even Natural Numbers?
The sum of squares of even natural numbers is given by Σ(2n)2 = [2n(n + 1)(2n + 1)] / 3.
What is the Sum of Squares in Geometry?
We have the sum of squares in a right triangle given by Base2 + Perpendicular2 = Hypotenuse2. This follows by Pythagoras theorem.
What is the Sum of Squares of Odd Natural Numbers?
The sum of squares of odd natural numbers is given by Σ(2n-1)2 = [n(2n+1)(2n-1)] / 3.
visual curriculum