PYQ Vault

SSC CGL Maths · Algebraic Identities and Simplification

Cubes of a Binomial

The cube of a sum or a difference, the sum and difference of two cubes, and the number fractions those factors cancel.

Why this matters

31 questions in the bank, and almost half of them are MODERATE. Three shapes repeat: two numbers given by a sum or difference and a product, an expanded cube to spot, and a fraction whose top is a sum or difference of cubes and whose bottom is the matching quadratic. The fractions look like heavy arithmetic and take five seconds once you see the pattern.

Concept 1 of 3: Cubes from a sum or difference and a product

(a+b)3(a + b)^3 holds a3+b3a^3 + b^3 plus extra terms that are all multiples of ab(a+b)ab(a + b). Take those away and the sum of cubes is left, with no need to find a and b.

Definition

  • (a+b)3=a3+b3+3ab(a+b)(a + b)^3 = a^3 + b^3 + 3ab(a + b), so a3+b3=(a+b)3−3ab(a+b)a^3 + b^3 = (a + b)^3 - 3ab(a + b).
  • (a−b)3=a3−b3−3ab(a−b)(a - b)^3 = a^3 - b^3 - 3ab(a - b), so a3−b3=(a−b)3+3ab(a−b)a^3 - b^3 = (a - b)^3 + 3ab(a - b).
  • Backwards: given a3+b3a^3 + b^3 and a+ba + b, the same line gives abab. Given a3+b3a^3 + b^3 and abab, try each option for a+ba + b in s3−3ab ss^3 - 3ab\,s.
  • If the question needs the other sign (a−ba - b from a+ba + b), go through the square first: (a−b)2=(a+b)2−4ab(a - b)^2 = (a + b)^2 - 4ab.
  • A coefficient rides along: for 3x+y3x + y and xyxy, take a=3xa = 3x, b=yb = y and ab=3xyab = 3xy.
  • Fast route: with natural numbers, find the pair. A difference of 2 and a product of 15 are 5 and 3; then cube them. Use the identity when no whole pair fits.

Cube identities for two terms

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

Worked example

If x+y=9x + y = 9 and xy=14xy = 14, find x3+y3x^3 + y^3.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

SSC CGL · 2025 · Tier I, 19 Sep 2025, Shift 2 · Q57Moderate

Example 1 · Algebraic Identities and Simplification · Cubes of a Binomial

If a3+b3=35a^3 + b^3=35 and ab=6ab = 6, find the value of a+ba + b.

The correction carries the sum

a3+b3=(a+b)3−3ab(a+b)a^3 + b^3 = (a + b)^3 - 3ab(a + b), not (a+b)3−3ab(a + b)^3 - 3ab. Leaving out the factor (a+b)(a + b) is the commonest wrong option.

The sign in the difference form

a3−b3=(a−b)3+3ab(a−b)a^3 - b^3 = (a - b)^3 + 3ab(a - b): plus, because (a−b)3(a - b)^3 already took 3ab(a−b)3ab(a - b) away. Writing minus gives a number that is too small.

Concept 2 of 3: Spotting an expanded cube

Four terms whose first and last are cubes, with middle coefficients that follow the 1, 3, 3, 1 pattern, are a cube in disguise. Spotting it turns a long substitution into one small number cubed.

Definition

  • (a+b)3=a3+3a2b+3ab2+b3(a + b)^3 = a^3 + 3a^2b + 3ab^2 + b^3 and (a−b)3=a3−3a2b+3ab2−b3(a - b)^3 = a^3 - 3a^2b + 3ab^2 - b^3.
  • The test: the first and last terms are a3a^3 and b3b^3. Then the middle terms must be exactly 3a2b3a^2b and 3ab23ab^2. For 8x3+36x2y+54xy2+27y38x^3 + 36x^2y + 54xy^2 + 27y^3: a=2xa = 2x, b=3yb = 3y, 3a2b=36x2y3a^2b = 36x^2y and 3ab2=54xy23ab^2 = 54xy^2, so it is (2x+3y)3(2x + 3y)^3.
  • Complete the cube: a3+3a2+3a+1=(a+1)3a^3 + 3a^2 + 3a + 1 = (a + 1)^3, so add or take away the missing constant on both sides.
  • A near-cube is not a cube. If a middle coefficient does not match, write the expression as a cube plus a leftover, or put the numbers in term by term. SSC prints near-cubes on purpose.

Expanded cubes

(a+b)3=a3+3a2b+3ab2+b3(a−b)3=a3−3a2b+3ab2−b3(a + b)^3 = a^3 + 3a^2b + 3ab^2 + b^3 \qquad (a - b)^3 = a^3 - 3a^2b + 3ab^2 - b^3

Worked example

Find 8x3−36x2+54x−278x^3 - 36x^2 + 54x - 27 when x=4x = 4.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

SSC CGL · 2024 · Tier I, 17 Sep 2024, Shift 2 · Q69Easy

Example 2 · Algebraic Identities and Simplification · Cubes of a Binomial

If a3+3a2+3a=7a^3 + 3a^2 + 3a = 7, then the value of a2+2aa^2 + 2a is:

Cubing a near-cube

27x3+54x2y+36xy2+8y327x^3 + 54x^2y + 36xy^2 + 8y^3 is (3x+2y)3(3x + 2y)^3, but change one middle coefficient and it is not. Check both middle coefficients before you cube; otherwise substitute term by term.

Concept 3 of 3: Sum and difference of cubes as factors

a3+b3a^3 + b^3 always splits into a+ba + b times a quadratic. When a fraction puts that quadratic underneath, it cancels and only a+ba + b is left.

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. Turned over, they give 1a+b\frac{1}{a + b} and 1a−b\frac{1}{a - b}.
  • Pair by the signs: a plus between the cubes goes with a minus abab in the quadratic; a minus between the cubes goes with a plus abab.
  • The middle product may be printed as one number: 0.24 is 0.6×0.40.6 \times 0.4, and 0.16 is 0.420.4^2.
  • The same pair on top and bottom. Check that the numbers in the quadratic are the ones that are cubed before you cancel.
  • A product such as (2x+2x)(4x2−4+4x2)\left(\frac{2}{x} + 2x\right)\left(\frac{4}{x^2} - 4 + 4x^2\right) is a sum of cubes: a=2xa = \frac{2}{x}, b=2xb = 2x, ab=4ab = 4, so it equals 8x3+8x3\frac{8}{x^3} + 8x^3.

Sum and difference of cubes

a3+b3=(a+b)(a2−ab+b2)a3−b3=(a−b)(a2+ab+b2)a^3 + b^3 = (a + b)(a^2 - ab + b^2) \qquad a^3 - b^3 = (a - b)(a^2 + ab + b^2)

Worked example

Simplify (0.9)3+(0.6)3(0.9)2−0.54+(0.6)2\frac{(0.9)^3 + (0.6)^3}{(0.9)^2 - 0.54 + (0.6)^2}.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

SSC CGL · 2024 · Tier I, 11 Sep 2024, Shift 2 · Q66Easy

Example 3 · Algebraic Identities and Simplification · Cubes of a Binomial

Simplify (4.2)3−(1.2)3(4.2)2+5.04+(1.2)2\frac{(4.2)^3 - (1.2)^3}{(4.2)^2 + 5.04 + (1.2)^2}

Pairing the wrong quadratic

a3+b3a^3 + b^3 cancels with a2−ab+b2a^2 - ab + b^2, not with a2+ab+b2a^2 + ab + b^2. With the wrong pair nothing cancels and the value is not a+ba + b.

Different numbers on top and below

The shortcut needs the same pair in both places. If the top cubes 0.2 and 0.3 but the bottom is built from 0.5 and 0.3, nothing cancels: work the arithmetic instead.

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 (3)

  • Cubes from a sum or difference and a product

    Cube identities for two terms

    (a+b)3=a3+b3+3ab(a+b)(a−b)3=a3−b3−3ab(a−b)a3+b3=(a+b)3−3ab(a+b)a3−b3=(a−b)3+3ab(a−b)(a + b)^3 = a^3 + b^3 + 3ab(a + b) \qquad (a - b)^3 = a^3 - b^3 - 3ab(a - b) \qquad a^3 + b^3 = (a + b)^3 - 3ab(a + b) \qquad a^3 - b^3 = (a - b)^3 + 3ab(a - b)
  • Spotting an expanded cube

    Expanded cubes

    (a+b)3=a3+3a2b+3ab2+b3(a−b)3=a3−3a2b+3ab2−b3(a + b)^3 = a^3 + 3a^2b + 3ab^2 + b^3 \qquad (a - b)^3 = a^3 - 3a^2b + 3ab^2 - b^3
  • Sum and difference of cubes as factors

    Sum and difference of cubes

    a3+b3=(a+b)(a2−ab+b2)a3−b3=(a−b)(a2+ab+b2)a^3 + b^3 = (a + b)(a^2 - ab + b^2) \qquad a^3 - b^3 = (a - b)(a^2 + ab + b^2)

Watch out for (5)

Test yourself on Algebraic Identities and Simplification

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