PYQ Vault

SSC CGL Tier II Maths · Algebraic Identities and Simplification

Squares, Cubes and Three Variables

Squares and cubes of a sum come from the sum and the product alone, a cube sum factors so that fractions cancel, and with three letters a sum of zero turns the cubes into three times the product.

Why this matters

22 questions in the Tier II bank, 17 EASY and 5 MODERATE. None needs the letters found: each is answered from a sum, a difference or a product through one identity.

Concept 1 of 4: Squares of a sum and a difference

The square of a sum and the square of a difference differ only in the sign of the middle term 2ab. Know any two of a + b, a − b, ab and the sum of squares, and the other two follow.

Definition

  • (a±b)2=a2±2ab+b2(a \pm b)^2 = a^2 \pm 2ab + b^2.
  • a2+b2=(a+b)2−2ab=(a−b)2+2aba^2 + b^2 = (a + b)^2 - 2ab = (a - b)^2 + 2ab.
  • (a+b)2+(a−b)2=2(a2+b2)(a + b)^2 + (a - b)^2 = 2(a^2 + b^2) and (a+b)2−(a−b)2=4ab(a + b)^2 - (a - b)^2 = 4ab.
  • (1−x)(1+x)=1−x2(1 - x)(1 + x) = 1 - x^2; multiplying by (1+x2)(1 + x^2), (1+x4)(1 + x^4), ... keeps doubling the power.
  • 1a+1b=a+bab\frac{1}{a} + \frac{1}{b} = \frac{a + b}{ab}.

Squares of a sum and a difference

(a±b)2=a2±2ab+b2,a2+b2=(a+b)2−2ab(a \pm b)^2 = a^2 \pm 2ab + b^2, \quad a^2 + b^2 = (a + b)^2 - 2ab

Diagram · the square of a sum, piece by piece

a² = 9ab = 12ab = 12b² = 16a = 3b = 4a = 3b = 4(a + b)² = 7² = 49 = 9 + 12 + 12 + 16Term by term: 9 + 16 = 25, both ab pieces losta² + b² = (a + b)² − 2ab = 49 − 24 = 25

A square of side a + b holds a², b² and two rectangles ab, so (a + b)² = a² + 2ab + b². Take away the two ab pieces and what is left is a² + b² = (a + b)² − 2ab. With a = 3 and b = 4 the square of the sum is 49, not 25. Drawn to scale.

Worked example

If a+b=11a + b = 11 and ab=24ab = 24, with a>ba > b, find a2+b2a^2 + b^2 and a−ba - b.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

SSC CGL Tier II · 2024 · Tier II (CGL 2024), 20 Jan 2025 · Q28Easy

Example 1 · Algebraic Identities and Simplification · Squares, Cubes and Three Variables

If x=4+6x = 4 + \sqrt{6} and y=4−6y = 4 - \sqrt{6} then the value of x2+y2x^2 + y^2 is:

Squaring term by term

(a+b)2(a + b)^2 is a2+2ab+b2a^2 + 2ab + b^2, never a2+b2a^2 + b^2. With a=3a = 3 and b=4b = 4, the square of the sum is 49, not 25.

Concept 2 of 4: Cubes from a sum and a product

The cube of a sum contains the two cubes plus a middle part, 3ab(a+b)3ab(a + b). So once you know a + b and ab, the sum of cubes takes one line, and a and b themselves never have to be found.

Definition

  • a3+b3=(a+b)3−3ab(a+b)a^3 + b^3 = (a + b)^3 - 3ab(a + b).
  • a3−b3=(a−b)3+3ab(a−b)a^3 - b^3 = (a - b)^3 + 3ab(a - b).
  • If a+b=1a + b = 1, then a3+b3+3ab=1a^3 + b^3 + 3ab = 1.
  • With a coefficient, rename first: 27x3+y3=(3x)3+y327x^3 + y^3 = (3x)^3 + y^3, so work with 3x+y3x + y and 3x⋅y3x \cdot y.

Sums and differences of cubes

a3+b3=(a+b)3−3ab(a+b),a3−b3=(a−b)3+3ab(a−b)a^3 + b^3 = (a + b)^3 - 3ab(a + b), \quad a^3 - b^3 = (a - b)^3 + 3ab(a - b)

Worked example

If a+b=7a + b = 7 and ab=12ab = 12, find a3+b3a^3 + b^3.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

SSC CGL Tier II · 2020 · Tier II (CGL 2020), 29 Jan 2022 · Q82Easy

Example 2 · Algebraic Identities and Simplification · Squares, Cubes and Three Variables

If a+b=8a + b = 8, ab=10ab = 10, then the value of a3+b3a^3 + b^3 is:

Leaving out the 3ab part

a3+b3a^3 + b^3 is not (a+b)3(a + b)^3. With a+b=7a + b = 7 and ab=12ab = 12 they differ by 3×12×7=2523 \times 12 \times 7 = 252.

Concept 3 of 4: Factoring a cube sum or difference

A sum of two cubes splits into the plain sum times a three-term bracket. When a fraction has the cubes on top and that bracket underneath, everything cancels to a + b.

Definition

  • a3+b3=(a+b)(a2−ab+b2)a^3 + b^3 = (a + b)(a^2 - ab + b^2) and a3−b3=(a−b)(a2+ab+b2)a^3 - b^3 = (a - b)(a^2 + ab + b^2).
  • So a3+b3a2−ab+b2=a+b\frac{a^3 + b^3}{a^2 - ab + b^2} = a + b and a3−b3a2+ab+b2=a−b\frac{a^3 - b^3}{a^2 + ab + b^2} = a - b.
  • To match coefficients, write each cube as something cubed first: 8x3=(2x)38x^3 = (2x)^3.
  • In decimals, a bottom line like 2.532−2.53×2.47+2.4722.53^2 - 2.53 \times 2.47 + 2.47^2 is the bracket in disguise.

Factoring cubes

a3±b3=(a±b)(a2∓ab+b2)a^3 \pm b^3 = (a \pm b)(a^2 \mp ab + b^2)

Worked example

Find 3.53+1.533.52−3.5×1.5+1.52\dfrac{3.5^3 + 1.5^3}{3.5^2 - 3.5 \times 1.5 + 1.5^2}.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

SSC CGL Tier II · 2022 · Tier II (CGL 2022), 7 Mar 2023 · Q30Easy

Example 3 · Algebraic Identities and Simplification · Squares, Cubes and Three Variables

The value of 0.7×0.7×0.7+0.3×0.3×0.30.7×0.7−0.7×0.3+0.3×0.3\frac{0.7 \times 0.7 \times 0.7 + 0.3 \times 0.3 \times 0.3}{0.7 \times 0.7 - 0.7 \times 0.3 + 0.3 \times 0.3} is ______.

Giving both brackets the same sign

In a3+b3=(a+b)(a2−ab+b2)a^3 + b^3 = (a + b)(a^2 - ab + b^2) the middle term of the bracket is MINUS ab. For a difference of cubes it is plus ab.

Concept 4 of 4: Three variables and the cube identity

With three letters the key fact is that a3+b3+c3−3abca^3 + b^3 + c^3 - 3abc factors through a+b+ca + b + c. It makes questions where the three letters add to zero collapse: then the sum of cubes is three times the product.

Definition

  • (a+b+c)2=a2+b2+c2+2(ab+bc+ca)(a + b + c)^2 = a^2 + b^2 + c^2 + 2(ab + bc + ca).
  • a3+b3+c3−3abc=(a+b+c)[(a+b+c)2−3(ab+bc+ca)]a^3 + b^3 + c^3 - 3abc = (a + b + c)\left[(a + b + c)^2 - 3(ab + bc + ca)\right].
  • Another form, quick when the numbers are close: 12(a+b+c)[(a−b)2+(b−c)2+(c−a)2]\frac{1}{2}(a + b + c)\left[(a - b)^2 + (b - c)^2 + (c - a)^2\right].
  • If a+b+c=0a + b + c = 0, then a3+b3+c3=3abca^3 + b^3 + c^3 = 3abc.
  • (x+y+z)(xy+yz+zx)−xyz=(x+y)(y+z)(z+x)(x + y + z)(xy + yz + zx) - xyz = (x + y)(y + z)(z + x).

The cube identity

a3+b3+c3−3abc=(a+b+c)(a2+b2+c2−ab−bc−ca)a^3 + b^3 + c^3 - 3abc = (a + b + c)(a^2 + b^2 + c^2 - ab - bc - ca)

Worked example

If a+b+c=9a + b + c = 9 and ab+bc+ca=26ab + bc + ca = 26, find a2+b2+c2a^2 + b^2 + c^2 and a3+b3+c3−3abca^3 + b^3 + c^3 - 3abc.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

SSC CGL Tier II · 2019 · Tier II (CGL 2019), 15 Nov 2020 · Q31Easy

Example 4 · Algebraic Identities and Simplification · Squares, Cubes and Three Variables

If a+b+c=6a + b + c = 6, a3+b3+c3−3abc=342a^3 + b^3 + c^3 - 3abc = 342, then what is the value of ab+bc+caab + bc + ca?

Using the zero-sum shortcut when the sum is not zero

a3+b3+c3=3abca^3 + b^3 + c^3 = 3abc holds only when a+b+c=0a + b + c = 0. Otherwise use the full identity with the bracket.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (4)

  • Squares of a sum and a difference

    Squares of a sum and a difference

    (a±b)2=a2±2ab+b2,a2+b2=(a+b)2−2ab(a \pm b)^2 = a^2 \pm 2ab + b^2, \quad a^2 + b^2 = (a + b)^2 - 2ab
  • Cubes from a sum and a product

    Sums and differences of cubes

    a3+b3=(a+b)3−3ab(a+b),a3−b3=(a−b)3+3ab(a−b)a^3 + b^3 = (a + b)^3 - 3ab(a + b), \quad a^3 - b^3 = (a - b)^3 + 3ab(a - b)
  • Factoring a cube sum or difference

    Factoring cubes

    a3±b3=(a±b)(a2∓ab+b2)a^3 \pm b^3 = (a \pm b)(a^2 \mp ab + b^2)
  • Three variables and the cube identity

    The cube identity

    a3+b3+c3−3abc=(a+b+c)(a2+b2+c2−ab−bc−ca)a^3 + b^3 + c^3 - 3abc = (a + b + c)(a^2 + b^2 + c^2 - ab - bc - ca)

Watch out for (4)

Test yourself on Algebraic Identities and Simplification

15 past SSC CGL Tier II questions from this chapter, timed at 14 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.