PYQ Vault

CDS Mathematics · Algebraic Identities and Simplification

Squares and Cubes of a Binomial

Knowing a + b and ab fixes every symmetric expression in a and b, and the standard factor forms turn long arithmetic into a single subtraction.

Why this matters

Twelve PYQs. The core move is to write a² + b² or a³ + b³ through a + b and ab instead of finding a and b. The other two moves are spotting an expanded cube and using the factor forms of a² − b² and a³ ± b³ on awkward numbers.

Concept 1 of 3: Everything from a + b and ab

Any expression that does not change when aa and bb swap can be rebuilt from their sum and product. So when a question gives a+ba + b and abab, never solve for aa and bb: expand a power of the sum and remove what you do not want.

Definition

  • a2+b2=(a+b)2−2aba^2 + b^2 = (a + b)^2 - 2ab
  • 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)
  • (a−b)2=(a+b)2−4ab(a - b)^2 = (a + b)^2 - 4ab, and 1a+1b=a+bab\dfrac1a + \dfrac1b = \dfrac{a + b}{ab}.

When square roots appear, as in aa+bba\sqrt a + b\sqrt b, put p=ap = \sqrt a and q=bq = \sqrt b so the expression becomes p3+q3p^3 + q^3.

Cube of a sum

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

Worked example

If a+b=7a + b = 7 and ab=10ab = 10, find a2+b2a^2 + b^2 and a3+b3a^3 + b^3.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

CDS · 2017 · CDS (I) 2017 — Elementary Mathematics · Q33Easy

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

If a+b=5a + b = 5 and ab=6ab = 6, then what is the value of a3+b3a^3 + b^3 ?

The correction term is 3ab(a + b)

(a+b)3(a + b)^3 is a3+b3+3ab(a+b)a^3 + b^3 + 3ab(a + b), not a3+b3+3aba^3 + b^3 + 3ab. Forgetting the factor (a+b)(a + b) gives a wrong answer that is often printed as an option.

Concept 2 of 3: Spotting an expanded cube

Four terms with coefficients in the pattern 1,3,3,11, 3, 3, 1 (after taking out the cubes) are a cube that has been expanded. Collapse it back and the given value does the rest.

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.
  • Test: are the first and last terms perfect cubes a3a^3 and b3b^3? Is the second term 3a2b3a^2b? If so, the four terms are (a±b)3(a \pm b)^3.
  • The same test works with fractions: 1t3−6t2+12t−8=(1t−2)3\dfrac{1}{t^3} - \dfrac{6}{t^2} + \dfrac{12}{t} - 8 = \left(\dfrac1t - 2\right)^3.

Cube of a difference

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

Worked example

If x−2y=3x - 2y = 3, find x3−6x2y+12xy2−8y3+5x^3 - 6x^2y + 12xy^2 - 8y^3 + 5.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

CDS · 2021 · CDS (II) 2021 — Elementary Mathematics · Q40Moderate

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

If 2x−3y−7=02x-3y-7=0, then what is the value of 8x3−36x2y+54xy2−27y3−3408x^3-36x^2y+54xy^2-27y^3-340 ?

Check the middle coefficients

27x3+54x2y+36xy2+8y327x^3 + 54x^2y + 36xy^2 + 8y^3 is (3x+2y)3(3x + 2y)^3 because 3(3x)2(2y)=54x2y3(3x)^2(2y) = 54x^2y. If a middle term does not match, the four terms are not a cube and the shortcut fails.

Concept 3 of 3: Difference of squares, sum and difference of cubes

The factor forms turn a hard-looking numerical fraction into one subtraction. When the denominator is a2±ab+b2a^2 \pm ab + b^2, look for a3±b3a^3 \pm b^3 on top.

Definition

  • a2−b2=(a−b)(a+b)a^2 - b^2 = (a - b)(a + b)
  • 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)
  • (p+q)2+(p−q)2=2(p2+q2)(p + q)^2 + (p - q)^2 = 2(p^2 + q^2) and (p+q)2−(p−q)2=4pq(p + q)^2 - (p - q)^2 = 4pq
  • x4−1=(x−1)(x+1)(x2+1)x^4 - 1 = (x - 1)(x + 1)(x^2 + 1).

Sum and difference of cubes

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

Worked example

Evaluate 7.33+2.737.32−7.3×2.7+2.72\dfrac{7.3^3 + 2.7^3}{7.3^2 - 7.3\times 2.7 + 2.7^2}.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

CDS · 2022 · CDS (I) 2022 — Elementary Mathematics · Q6Moderate

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

What is the value of the following? (5.4)3−0.064(5.4)2+2.16+0.16\frac{(5.4)^3 - 0.064}{(5.4)^2 + 2.16 + 0.16}

The signs pair up opposite

a3+b3a^3 + b^3 goes with a2−ab+b2a^2 - ab + b^2, and a3−b3a^3 - b^3 with a2+ab+b2a^2 + ab + b^2. Read the sign of the middle term in the denominator first; it tells you which cube to look for on top.

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)

Watch out for (3)

Test yourself on Algebraic Identities and Simplification

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