NCERT Books

Sum Of Squares Formula: Complete Guide with Solved Examples 2025

The Sum Of Squares Formula is a fundamental algebraic identity used to find the total of the squares of given numbers, and it appears across NCERT Class 8, 9, and 11 Mathematics. Whether you are computing the sum of squares of two binomials, the first n natural numbers, or a statistical dataset, this formula is indispensable. It is tested regularly in CBSE board exams and forms the backbone of several JEE Main and NEET quantitative problems. This article covers every variant of the formula, a complete formula sheet, three progressive solved examples, CBSE exam tips, common mistakes, and JEE/NEET applications.

Sum Of Squares Formula — Formula Chart for CBSE & JEE/NEET
Sum Of Squares Formula Complete Formula Reference | ncertbooks.net

Key Sum Of Squares Formulas at a Glance

Quick reference for the most important sum of squares expressions.

Essential Formulas:
  • Sum of squares of two numbers: \( a^2 + b^2 = (a+b)^2 – 2ab \)
  • Alternate form: \( a^2 + b^2 = (a-b)^2 + 2ab \)
  • Sum of squares of first n natural numbers: \( S = \dfrac{n(n+1)(2n+1)}{6} \)
  • Sum of squares of first n even numbers: \( S = \dfrac{2n(n+1)(2n+1)}{3} \)
  • Sum of squares of first n odd numbers: \( S = \dfrac{n(2n-1)(2n+1)}{3} \)
  • Statistical sum of squares: \( SS = \sum_{i=1}^{n}(x_i – \bar{x})^2 \)
  • Algebraic identity: \( (a^2 + b^2)(c^2 + d^2) = (ac+bd)^2 + (ad-bc)^2 \)

What is Sum Of Squares Formula?

The Sum Of Squares Formula refers to a collection of algebraic identities and number-theory results that let you compute the sum of squared terms without individually squaring and adding every value. In its most common algebraic form, it expresses \( a^2 + b^2 \) in terms of the sum and product of a and b. In number theory, it gives a closed-form expression for \( 1^2 + 2^2 + 3^2 + \cdots + n^2 \). In statistics, it measures the total dispersion of data points around the mean.

This concept is introduced in NCERT Class 8 Mathematics (Chapter 9 — Algebraic Expressions and Identities) and revisited in Class 11 Mathematics (Chapter 4 — Principle of Mathematical Induction and Sequences). It is also a core tool in Class 11 Statistics. Understanding all variants of the Sum Of Squares Formula builds a strong foundation for higher algebra, calculus, and data analysis.

The formula is derived using the well-known algebraic identity \( (a+b)^2 = a^2 + 2ab + b^2 \), rearranged to isolate \( a^2 + b^2 \). The natural-number version is proved rigorously using the Principle of Mathematical Induction, making it an excellent topic for CBSE board long-answer questions.

Sum Of Squares Formula — Expression and Variables

1. Sum of Squares of Two Numbers

\[ a^2 + b^2 = (a + b)^2 – 2ab \]

Equivalently:

\[ a^2 + b^2 = (a – b)^2 + 2ab \]

SymbolQuantityUnit / Type
\( a \)First real numberDimensionless (real number)
\( b \)Second real numberDimensionless (real number)
\( a^2 + b^2 \)Sum of their squaresDimensionless (real number)
\( (a+b) \)Sum of the two numbersDimensionless (real number)
\( ab \)Product of the two numbersDimensionless (real number)

2. Sum of Squares of First n Natural Numbers

\[ \sum_{k=1}^{n} k^2 = \frac{n(n+1)(2n+1)}{6} \]

SymbolQuantityUnit / Type
\( n \)Count of natural numbers (positive integer)Dimensionless
\( k \)Index variable (1 to n)Dimensionless
\( \sum k^2 \)Sum of squares of first n natural numbersDimensionless

Derivation of the Natural Number Formula

Step 1 — Base case: For \( n = 1 \), LHS \( = 1^2 = 1 \). RHS \( = \frac{1 \cdot 2 \cdot 3}{6} = 1 \). So the formula holds for \( n = 1 \).

Step 2 — Inductive hypothesis: Assume the formula holds for \( n = m \), i.e., \( \sum_{k=1}^{m} k^2 = \frac{m(m+1)(2m+1)}{6} \).

Step 3 — Inductive step: Add \( (m+1)^2 \) to both sides.

\[ \sum_{k=1}^{m+1} k^2 = \frac{m(m+1)(2m+1)}{6} + (m+1)^2 \]

Factor out \( (m+1) \):

\[ = \frac{(m+1)[m(2m+1) + 6(m+1)]}{6} = \frac{(m+1)(2m^2+7m+6)}{6} = \frac{(m+1)(m+2)(2m+3)}{6} \]

This matches the formula with \( n = m+1 \). Hence proved by mathematical induction.

Complete Algebra Formula Sheet — Sum Of Squares

Formula NameExpressionVariablesNotesNCERT Chapter
Sum of squares (two numbers)\( a^2 + b^2 = (a+b)^2 – 2ab \)a, b = real numbersDerived from square of sum identityClass 8, Ch 9
Alternate form\( a^2 + b^2 = (a-b)^2 + 2ab \)a, b = real numbersDerived from square of difference identityClass 8, Ch 9
Sum of squares of first n naturals\( \dfrac{n(n+1)(2n+1)}{6} \)n = positive integerProved by mathematical inductionClass 11, Ch 4
Sum of squares of first n even numbers\( \dfrac{2n(n+1)(2n+1)}{3} \)n = count of even numbersEven numbers: 2, 4, 6, …, 2nClass 11, Ch 4
Sum of squares of first n odd numbers\( \dfrac{n(2n-1)(2n+1)}{3} \)n = count of odd numbersOdd numbers: 1, 3, 5, …, (2n-1)Class 11, Ch 4
Statistical Sum of Squares (SS)\( SS = \sum_{i=1}^{n}(x_i – \bar{x})^2 \)\( x_i \) = data points, \( \bar{x} \) = meanUsed in variance and standard deviationClass 11, Ch 15
Sum of squares of three numbers\( a^2+b^2+c^2 = (a+b+c)^2 – 2(ab+bc+ca) \)a, b, c = real numbersExtension of two-variable identityClass 9, Ch 2
Difference of squares\( a^2 – b^2 = (a+b)(a-b) \)a, b = real numbersRelated factorisation identityClass 8, Ch 9
Brahmagupta–Fibonacci identity\( (a^2+b^2)(c^2+d^2) = (ac+bd)^2+(ad-bc)^2 \)a, b, c, d = integersProduct of two sums of squaresJEE Advanced level
Sum of squares (complex form)\( a^2 + b^2 = (a+bi)(a-bi) \)i = imaginary unitFactorisation over complex numbersClass 11, Ch 5

Sum Of Squares Formula — Solved Examples

Example 1 (Class 9-10 Level) — Sum of Squares of Two Numbers

Problem: If \( a + b = 10 \) and \( ab = 21 \), find \( a^2 + b^2 \).

Given: \( a + b = 10 \), \( ab = 21 \)

Step 1: Write the Sum Of Squares Formula: \( a^2 + b^2 = (a+b)^2 – 2ab \)

Step 2: Substitute the known values: \( a^2 + b^2 = (10)^2 – 2(21) \)

Step 3: Simplify: \( a^2 + b^2 = 100 – 42 = 58 \)

Answer

\( a^2 + b^2 = 58 \)

Example 2 (Class 11-12 Level) — Sum of Squares of First n Natural Numbers

Problem: Find the sum \( 1^2 + 2^2 + 3^2 + \cdots + 15^2 \).

Given: \( n = 15 \)

Step 1: Apply the formula: \( S = \dfrac{n(n+1)(2n+1)}{6} \)

Step 2: Substitute \( n = 15 \): \( S = \dfrac{15 \times 16 \times 31}{6} \)

Step 3: Compute the numerator: \( 15 \times 16 = 240 \); then \( 240 \times 31 = 7440 \)

Step 4: Divide by 6: \( S = \dfrac{7440}{6} = 1240 \)

Answer

\( 1^2 + 2^2 + \cdots + 15^2 = 1240 \)

Example 3 (JEE/NEET Level) — Combined Application

Problem: If \( a – b = 4 \) and \( a^2 + b^2 = 40 \), find the value of \( ab \) and hence determine \( (a+b) \). Also verify using the sum of squares identity.

Given: \( a – b = 4 \), \( a^2 + b^2 = 40 \)

Step 1: Use the identity \( a^2 + b^2 = (a-b)^2 + 2ab \):

\( 40 = (4)^2 + 2ab \Rightarrow 40 = 16 + 2ab \Rightarrow 2ab = 24 \Rightarrow ab = 12 \)

Step 2: Find \( (a+b) \) using \( a^2 + b^2 = (a+b)^2 – 2ab \):

\( 40 = (a+b)^2 – 2(12) \Rightarrow (a+b)^2 = 40 + 24 = 64 \Rightarrow a+b = 8 \) (taking positive root)

Step 3: Verify — \( (a+b)^2 – 2ab = 64 – 24 = 40 = a^2 + b^2 \). Confirmed.

Step 4: Solve for individual values: \( a + b = 8 \) and \( a – b = 4 \) give \( a = 6, b = 2 \). Check: \( 36 + 4 = 40 \). Correct.

Answer

\( ab = 12 \), \( a + b = 8 \), and the individual values are \( a = 6, b = 2 \).

CBSE Exam Tips 2025-26

Scoring Strategies for CBSE 2025-26
  • Memorise all three main forms: Keep \( (a+b)^2 – 2ab \), \( (a-b)^2 + 2ab \), and \( \frac{n(n+1)(2n+1)}{6} \) on your revision sheet. CBSE frequently asks you to switch between forms.
  • Show each substitution step: In board exams, marks are awarded for method. Write the formula first, then substitute, then simplify. Never skip the formula-writing step.
  • Practice the induction proof: The proof of \( \sum k^2 = \frac{n(n+1)(2n+1)}{6} \) by mathematical induction is a 5-mark question in Class 11. We recommend practising it at least three times before the exam.
  • Link to statistics: In Chapter 15 (Class 11), variance uses the sum of squares concept. Understanding the algebraic basis helps you derive the variance formula quickly under exam pressure.
  • Use the even/odd variants smartly: If a problem asks for the sum of squares of even numbers up to 20, use \( \frac{2n(n+1)(2n+1)}{3} \) with \( n = 10 \) directly. This saves significant time in 2025-26 board exams.
  • Check factorisation questions: The difference of squares identity \( a^2 – b^2 = (a+b)(a-b) \) is closely related. Confusing it with the sum of squares is a common error. Keep them clearly labelled in your notes.

Common Mistakes to Avoid

  • Mistake 1 — Confusing sum with square of sum: Many students write \( a^2 + b^2 = (a+b)^2 \). This is wrong. The correct identity is \( a^2 + b^2 = (a+b)^2 – 2ab \). Always subtract \( 2ab \).
  • Mistake 2 — Wrong formula for even/odd numbers: Students apply \( \frac{n(n+1)(2n+1)}{6} \) directly to even numbers like 2, 4, 6, …, 2n. Use the dedicated even-number formula \( \frac{2n(n+1)(2n+1)}{3} \) instead.
  • Mistake 3 — Arithmetic errors in the induction step: When factoring \( m(2m+1) + 6(m+1) \), students often expand incorrectly. Write out every expansion step carefully to avoid sign errors.
  • Mistake 4 — Ignoring the negative root: When solving \( (a+b)^2 = k \), students forget the negative root \( a+b = -\sqrt{k} \). Always consider both roots unless the context restricts to positive values.
  • Mistake 5 — Misidentifying n in the series formula: If asked for \( 3^2 + 4^2 + \cdots + 10^2 \), do not apply the formula with \( n = 10 \) directly. Compute \( S_{10} – S_2 \) using the formula twice and subtract.

JEE/NEET Application of Sum Of Squares Formula

In our experience, JEE aspirants encounter the Sum Of Squares Formula in at least two to three questions per paper, spanning algebra, sequences and series, and coordinate geometry. Here are the key application patterns.

Pattern 1 — Sequences and Series (JEE Main)

JEE Main frequently asks for the sum \( \sum_{k=1}^{n} k^2 \) embedded inside a larger series. For example, you may need to evaluate \( \sum_{k=1}^{n} k(k+1) = \sum k^2 + \sum k \). Splitting and applying the sum of squares formula alongside \( \sum k = \frac{n(n+1)}{2} \) gives the answer in seconds.

Pattern 2 — Algebraic Manipulation (JEE Advanced)

JEE Advanced problems often give conditions like \( a + b + c = p \) and \( ab + bc + ca = q \), then ask for \( a^2 + b^2 + c^2 \). The three-variable sum of squares formula \( a^2 + b^2 + c^2 = (a+b+c)^2 – 2(ab+bc+ca) = p^2 – 2q \) solves this instantly. Our experts suggest practising at least 15 such problems before JEE Advanced.

Pattern 3 — Statistics and NEET Quantitative Aptitude

NEET and allied health entrance exams include basic statistics. The statistical sum of squares \( SS = \sum (x_i – \bar{x})^2 \) is used to compute variance as \( \sigma^2 = \frac{SS}{n} \). Expanding \( SS \) algebraically gives \( SS = \sum x_i^2 – n\bar{x}^2 \), a form that is faster to compute with raw data. This algebraic shortcut is directly derived from the Sum Of Squares Formula and saves critical time in exam conditions.

For further reading on related algebraic identities, visit the official NCERT resources at ncert.nic.in.

FAQs on Sum Of Squares Formula

The Sum Of Squares Formula in algebra expresses \( a^2 + b^2 \) in terms of the sum and product of two numbers: \( a^2 + b^2 = (a+b)^2 – 2ab \). It is derived by rearranging the square of sum identity. This formula is introduced in NCERT Class 8 Chapter 9 and is used extensively in algebraic simplification, factorisation, and problem-solving at all levels.

Use the formula \( S = \frac{n(n+1)(2n+1)}{6} \). Substitute the value of \( n \) directly. For example, for \( n = 10 \): \( S = \frac{10 \times 11 \times 21}{6} = \frac{2310}{6} = 385 \). This formula is proved using the Principle of Mathematical Induction and is covered in NCERT Class 11 Chapter 4.

The sum of squares is \( a^2 + b^2 \), which adds the squares of individual numbers. The square of sum is \( (a+b)^2 = a^2 + 2ab + b^2 \), which squares the total. The two are related by \( a^2 + b^2 = (a+b)^2 – 2ab \). Confusing these two expressions is the most common error students make in algebra.

The Sum Of Squares Formula is critical for JEE because it appears in sequences and series, algebraic identities, and coordinate geometry problems. JEE Advanced tests the three-variable form \( a^2+b^2+c^2 = (a+b+c)^2 – 2(ab+bc+ca) \) and the natural-number summation formula in combined series problems. Mastering these variants can save 2-3 minutes per question in the exam.

In statistics, the sum of squares \( SS = \sum (x_i – \bar{x})^2 \) measures the total variation of data points around the mean. It is used to calculate variance (\( \sigma^2 = SS/n \)) and standard deviation. An algebraically equivalent form is \( SS = \sum x_i^2 – n\bar{x}^2 \), which is faster for computation. This is covered in NCERT Class 11 Chapter 15 — Statistics.

Explore more related algebra topics on ncertbooks.net. Study the Right Angle Formula to see how sum of squares connects to the Pythagorean theorem. Review the Magnitude of a Vector Formula, which uses the sum of squares of components. Also check the Product Rule Formula for related algebraic differentiation identities. For the complete collection, visit our Algebra Formulas hub.