![]() |
Sum of squares in the addition of the square of the numbers i.e. we find the sum of squares by first finding the individual squares and then adding them to find the sum of the squares. We define the sum of squares in statistics as the variation of the data set. In algebra, we can find the sum of squares for two terms, three terms, or “n” number of terms, etc. We can find the sum of squares of two numbers using the algebraic identity,
We can also find the sum of squares of more than two terms using the concept of Algebra and Mathematical Induction. In this article, we will learn about the different sum of squares formulas, their examples, proofs, and others in detail. Table of Content What is Sum of Squares?Sum of squares is the method in statistics that helps evaluate the dispersion of the given data set. The sum of squares is found by taking individual squares of the terms and then adding them to find their sum. In algebra, algebraic identity (a+b)2 = a2 + b2 + 2ab gives the sum of squares of two numbers. The general formula to calculate the sum of natural numbers is: ![]() Sum of Square Formula Now let’s discuss all the formulas used to find the sum of squares in algebra and statistics. Sum of Squares FormulaSum of squares represents various things in various fields of Mathematics, in Statistics it represents the dispersion of the data set, which tells us how the data in a given set varies to the mean of the data set. The sum of the square formula in various fields of Mathematics is, In Statistics: Sum of Squares (of n values) = ∑ni=0 (xi – x̄)2 where x̄ is the mean of n-values. In Algebra: Sum of Squares = a2 + b2 = (a + b)2 – 2ab Sum of Squares of n Natural Numbers: 12 + 22 + 32 + … + n2 = [n(n+1)(2n+1)] / 6 We can easily find the sum of squares for two numbers, three numbers, and n numbers. Also, we can find the sum of squares of n natural numbers, etc. Sum of Squares for Two NumbersLet a and b be two real numbers, then the sum of squares for two numbers formula is,
This formula can be obtained using the algebraic identity of (a+b)2 We know that, (a + b)2 = a2 + 2ab + b2 Subtracting 2ab on both sides (a + b)2 − 2ab = a2 + 2ab + b2 − 2ab ⇒a2 + b2 = (a + b)2 − 2ab Thus, the required formula is obtained. Sum of Squares for Three NumbersLet a, b, and c be three real numbers, then the sum of squares for three numbers formula is,
This formula can be obtained using the algebraic identity of (a+b+c)2 We know that, (a + b + c)2 = a2 + b2 + c2 + 2ab + 2bc + 2ca Subtracting 2ab, 2bc, and 2ca on both sides, a2 + b2 + c2 = (a + b + c)2 − 2ab − 2bc − 2ca Thus, the required formula is obtained. Sum of Squares for “n” Natural NumbersNatural numbers are also known as positive integers and include all the counting numbers, starting from 1 to infinity. If 1, 2, 3, 4,… n are n consecutive natural numbers, then the sum of squares of “n” consecutive natural numbers is represented by 12 + 22 + 32 +… + n2 and symbolically represented as Σn2. Sum of Square of n Natural Numbers = Σn2 = 12 + 22 + 32 +… + n2 The required sum of squares for ‘n’ natural number formula is,
This formula is proved using Mathematical Induction Method. Sum of Squares of First “n” Even NumbersThe formula for the sum of squares of the first “n” even numbers, i.e., 22 + 42 + 62 +… + (2n)2 is given as follows: ∑(2n)2 = 22 + 42 + 62 +… + (2n)2
This formula can be obtained using, ∑(2n)2 = ∑4n2 = 4∑n2 As [Tex]\sum{n^2}= \frac{n(n+1)(2n+1)}{6} [/Tex] Thus, ∑(2n)2 = 2[n(n+1)(2n+1)]/3 Which is the required formula. Sum of Squares of First “n” Odd NumbersFormula for the sum of squares of the first “n” odd numbers, i.e., 12 + 32 + 52 +… + (2n – 1)2, can be derived using the formulas for the sum of the squares of the first “2n” natural numbers and the sum of squares of the first “n” even numbers. ∑(2n-1)2 = 12 + 32 + 52 + … + (2n – 1)2
This formula can be obtained using, ∑(2n –1)2 = [12 + 22 + 32 + … + (2n – 1)2 + (2n)2] – [22 + 42 + 62 + … + (2n)2] Now, applying the formula for sum of squares of “2n” natural numbers and “n” even natural numbers, ∑(2n–1)2 = 2n/6 (2n + 1)(4n + 1) – (2n/3) (n+1)(2n+1) ⇒ ∑(2n–1)2 = n/3 [(2n+1)(4n+1)] – 2n/3 [(n+1)(2n+1)] ⇒ ∑(2n–1)2 = n/3 (2n+1) [4n + 1 – 2n – 2] ⇒ ∑(2n–1)2 = [n(2n+1)(2n–1)]/3 Thus, the required formula is verified. Sum of Squares in StatisticsIn statistics, the value of the sum of squares tells the degree of dispersion in a dataset. It evaluates the variance of the data points from the mean and helps for a better understanding of the data. The large value of the sum of squares indicates that there is a high variation of the data points from the mean value, while the small value indicates that there is a low variation of the data from its mean. The formula used to calculate the sum of squares in Statistics is,
where,
Steps to Find Sum of SquaresFollow the steps given below to find the Total Sum of Squares in Statistics.
Sum of Squares ErrorSum of Square Error (SSE) is the difference between the observed value and the predicted value of the deviation of the data set. SSE is also called the SSR or sum of square residual. The formula to calculate the sum of square error is,
where,
Sum of Square Error can also be calculated using the formula,
Where,
Sum of Square TableSum of the square table is added below, Sum of Square Table Read More, Examples on Sum of Square FormulasExample 1: Find the sum of the given series: 12 + 22 + 32 +…+ 552. Solution:
Example 2: Find the value of (32 + 82), using the sum of squares formula. Solution:
Example 3: Find the sum of squares of the first 25 even natural numbers. Solution:
Example 4: A dataset has points 2, 4, 13, 10, 12, and 7. Find the sum of squares for the given data. Solution:
Example 5: Find the sum of the squares of 4, 9, and 11 using the sum of squares formula for three numbers. Solution:
Example 6: Find the sum of squares of the first 10 odd numbers. Solution:
FAQs on Sum of SquaresWhat is Sum of Squares Definition?
What is Sum of Squares Error?
What is Total Sum of Squares?
What is the Expansion of Sum of Squares Formula?
What are Sum of Squares Formula used in Algebra?
|
Reffered: https://www.geeksforgeeks.org
Mathematics |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 12 |