TExcelTAD
Home › School Algebra, Identities & Quadratic Equations › Identity 4: Cube of a Sum

Identity 4: Cube of a Sum

After mastering squares in two dimensions, we now make the leap into three-dimensional space with the Cube of a Sum. This is the fourth remarkable algebraic identity.

Expanding (A+B)3(A + B)^3 on paper reveals the famous binomial coefficients 1,3,3,11, 3, 3, 1 found in Pascal's Triangle and corresponds to dissecting a physical 3D cube into eight distinct solid blocks.


1. Concepts & Paper Visuals

The Formula

For any two algebraic terms AA and BB:

(A+B)3=A3+3A2B+3AB2+B3(A + B)^3 = A^3 + 3A^2 B + 3AB^2 + B^3
              ( A + B )³  =  A³  +  3A²B  +  3AB²  +  B³
                             ▲       ▲       ▲        ▲
                             │       │       │        └────── Cube of second term (B³)
                             │       │       └─────────────── 3 × first × (second squared)
                             │       └─────────────────────── 3 × (first squared) × second
                             └─────────────────────────────── Cube of first term (A³)

The Exponent Symphony: Symmetry in Descending & Ascending Powers

Observe the mathematical pattern of each term on paper:

  • The powers of AA decrease: A3⟶A2⟶A1⟶A0A^3 \longrightarrow A^2 \longrightarrow A^1 \longrightarrow A^0 (11).
  • The powers of BB increase: B0B^0 (11) ⟶B1⟶B2⟶B3\longrightarrow B^1 \longrightarrow B^2 \longrightarrow B^3.
  • The sum of powers in every term is always 33:
    • A3  ⟹  3A^3 \implies 3
    • 3A2B1  ⟹  2+1=33A^2 B^1 \implies 2 + 1 = 3
    • 3A1B2  ⟹  1+2=33A^1 B^2 \implies 1 + 2 = 3
    • B3  ⟹  3B^3 \implies 3
  • The coefficients follow the pattern: 1,  3,  3,  11, \; 3, \; 3, \; 1.

Pascal's Triangle Connection

Where do the coefficients 1,3,3,11, 3, 3, 1 come from? They form row 33 of Pascal's Triangle:

  Row 0:                     1              ---> (A + B)⁰ = 1
  Row 1:                  1     1           ---> (A + B)¹ = 1A + 1B
  Row 2:               1     2     1        ---> (A + B)² = 1A² + 2AB + 1B²
  Row 3:            1     3     3     1     ---> (A + B)³ = 1A³ + 3A²B + 3AB² + 1B³

Each entry in the triangle is the sum of the two numbers directly above it (1+2=31 + 2 = 3).


Cauchy's Factored Form (The Symmetrical Form)

Factoring 3AB3AB out of the two middle terms gives an alternative, highly useful version:

(A+B)3=A3+B3+3AB(A+B)(A + B)^3 = A^3 + B^3 + 3AB(A + B)

This form is prized in math competitions because it directly relates the sum of cubes (A3+B3A^3 + B^3) to the simple sum (A+BA + B) and product (ABAB).


2. The Two Proofs

Proof 1: Algebraic Derivation on Paper

Write (A+B)3(A + B)^3 as the product of (A+B)2(A + B)^2 and (A+B)(A + B):

(A+B)3=(A+B)2(A+B)=(A2+2AB+B2)(A+B)\begin{aligned} (A + B)^3 &= (A + B)^2 (A + B) \\ &= (A^2 + 2AB + B^2)(A + B) \end{aligned}

Now distribute each term of the first polynomial across (A+B)(A + B):

=A(A2+2AB+B2)+B(A2+2AB+B2)=(A3+2A2B+AB2)+(A2B+2AB2+B3)\begin{aligned} &= A(A^2 + 2AB + B^2) + B(A^2 + 2AB + B^2) \\ &= (A^3 + 2A^2 B + AB^2) + (A^2 B + 2AB^2 + B^3) \end{aligned}

Combine like terms:

  • A2BA^2 B terms: 2A2B+A2B=3A2B2A^2 B + A^2 B = 3A^2 B
  • AB2AB^2 terms: AB2+2AB2=3AB2AB^2 + 2AB^2 = 3AB^2
=A3+3A2B+3AB2+B3= A^3 + 3A^2 B + 3AB^2 + B^3

Proof 2: 3D Geometric Block Dissection

Imagine a physical wooden cube with side length (A+B)(A + B). Its total volume is (A+B)3(A + B)^3.

Slice the cube by cutting along planes positioned at distance AA from each face:

                  +--------------------+-------+
                 /                    /|      /|
                /                    / |     / |
               /        A³          /  | B  /  |
              +--------------------+   |   +   |
              |                    |   |   |   |
              |                    |   +---|---+
              |    A × A × A       |  /    |  /
            A |                    | / A²B | /
              |                    |/      |/
              +--------------------+-------+
              |      A × A × B     | A×B×B |
            B |                    |       |
              +--------------------+-------+
                        A              B

When you pull the cube apart, exactly 88 solid blocks appear:

  1. 11 large cube of dimensions A×A×AA \times A \times A, with volume A3A^3.
  2. 33 flat rectangular slabs of dimensions A×A×BA \times A \times B, with volume A2BA^2 B each   ⟹  \implies total volume 3A2B3A^2 B.
  3. 33 tall slender pillars of dimensions A×B×BA \times B \times B, with volume AB2AB^2 each   ⟹  \implies total volume 3AB23AB^2.
  4. 11 small corner cube of dimensions B×B×BB \times B \times B, with volume B3B^3.

Adding the volumes of all eight pieces:

Total 3D Volume=A3+3A2B+3AB2+B3\text{Total 3D Volume} = A^3 + 3A^2 B + 3AB^2 + B^3

3. Fast Mental Math on Paper

Using Identity 4, you can compute cubes of two-digit numbers ending in 11 or 22 with ease:

Example: Calculate 11311^3

Set A=10A = 10 and B=1B = 1:

113=(10+1)3=103+3(102)(1)+3(10)(12)+13=1000+3(100)+3(10)+1=1000+300+30+1=1331\begin{aligned} 11^3 = (10 + 1)^3 &= 10^3 + 3(10^2)(1) + 3(10)(1^2) + 1^3 \\ &= 1000 + 3(100) + 3(10) + 1 \\ &= 1000 + 300 + 30 + 1 \\ &= 1331 \end{aligned}

Notice the digits: 1,3,3,11, 3, 3, 1!


4. Step-by-Step Notebook Examples

Example 1: Basic Binomial Cube

Problem: Expand (x+4)3(x + 4)^3 on paper.

Step-by-step Solution:

  1. Identify terms:

    A=x,B=4A = x, \quad B = 4
  2. Write the formula slots:

    (A+B)3=(A)3+3(A)2(B)+3(A)(B)2+(B)3(A + B)^3 = (A)^3 + 3(A)^2(B) + 3(A)(B)^2 + (B)^3
  3. Substitute xx and 44:

    (x+4)3=(x)3+3(x)2(4)+3(x)(4)2+(4)3(x + 4)^3 = (x)^3 + 3(x)^2(4) + 3(x)(4)^2 + (4)^3
  4. Calculate each of the four terms:

    • Term 1: x3x^3
    • Term 2: 3×4×x2=12x23 \times 4 \times x^2 = 12x^2
    • Term 3: 3×16×x=48x3 \times 16 \times x = 48x (since 42=164^2 = 16)
    • Term 4: 43=4×4×4=644^3 = 4 \times 4 \times 4 = 64
  5. Assemble:

    x3+12x2+48x+64x^3 + 12x^2 + 48x + 64

Final Answer:

x3+12x2+48x+64x^3 + 12x^2 + 48x + 64

Example 2: Binomial with Coefficients

Problem: Expand (2x+3y)3(2x + 3y)^3 on paper.

Step-by-step Solution:

  1. Identify terms:

    A=2x,B=3yA = 2x, \quad B = 3y
  2. Substitute into formula with parentheses:

    (2x+3y)3=(2x)3+3(2x)2(3y)+3(2x)(3y)2+(3y)3(2x + 3y)^3 = (2x)^3 + 3(2x)^2(3y) + 3(2x)(3y)^2 + (3y)^3
  3. Evaluate each power and product separately:

    • First term: (2x)3=23⋅x3=8x3(2x)^3 = 2^3 \cdot x^3 = 8x^3
    • Second term:
      3⋅(2x)2⋅(3y)=3⋅(4x2)⋅(3y)=(3×4×3)x2y=36x2y3 \cdot (2x)^2 \cdot (3y) = 3 \cdot (4x^2) \cdot (3y) = (3 \times 4 \times 3)x^2 y = 36x^2 y
    • Third term:
      3⋅(2x)⋅(3y)2=3⋅(2x)⋅(9y2)=(3×2×9)xy2=54xy23 \cdot (2x) \cdot (3y)^2 = 3 \cdot (2x) \cdot (9y^2) = (3 \times 2 \times 9)x y^2 = 54xy^2
    • Fourth term: (3y)3=33⋅y3=27y3(3y)^3 = 3^3 \cdot y^3 = 27y^3
  4. Assemble the polynomial:

    8x3+36x2y+54xy2+27y38x^3 + 36x^2 y + 54xy^2 + 27y^3

Final Answer:

8x3+36x2y+54xy2+27y38x^3 + 36x^2 y + 54xy^2 + 27y^3

Example 3: Higher Power Terms

Problem: Expand (x2+5)3(x^2 + 5)^3 on paper.

Step-by-step Solution:

  1. Identify terms:

    A=x2,B=5A = x^2, \quad B = 5
  2. Substitute:

    (x2+5)3=(x2)3+3(x2)2(5)+3(x2)(5)2+(5)3(x^2 + 5)^3 = (x^2)^3 + 3(x^2)^2(5) + 3(x^2)(5)^2 + (5)^3
  3. Simplify using exponent rules:

    • (x2)3=x2×3=x6(x^2)^3 = x^{2 \times 3} = x^6
    • 3⋅(x4)⋅5=15x43 \cdot (x^4) \cdot 5 = 15x^4
    • 3⋅(x2)⋅25=75x23 \cdot (x^2) \cdot 25 = 75x^2
    • 53=1255^3 = 125
  4. Assemble:

    x6+15x4+75x2+125x^6 + 15x^4 + 75x^2 + 125

Final Answer:

x6+15x4+75x2+125x^6 + 15x^4 + 75x^2 + 125

Example 4: Symmetric Problem Using Cauchy's Form

Problem: If x+y=6x + y = 6 and x⋅y=8x \cdot y = 8, calculate the value of x3+y3x^3 + y^3 without solving for xx and yy.

Step-by-step Solution:

  1. Write Cauchy's factored form:

    (x+y)3=x3+y3+3xy(x+y)(x + y)^3 = x^3 + y^3 + 3xy(x + y)
  2. Isolate the sum of cubes x3+y3x^3 + y^3 on paper:

    x3+y3=(x+y)3−3xy(x+y)x^3 + y^3 = (x + y)^3 - 3xy(x + y)
  3. Substitute the given values x+y=6x + y = 6 and xy=8xy = 8:

    x3+y3=(6)3−3(8)(6)=216−3(48)=216−144=72\begin{aligned} x^3 + y^3 &= (6)^3 - 3(8)(6) \\ &= 216 - 3(48) \\ &= 216 - 144 \\ &= 72 \end{aligned}

Final Answer:

x3+y3=72x^3 + y^3 = 72

5. Common Mistakes & Paper Traps

Trap 1: The "Freshman's Dream" in 3D

FATAL ERROR: (A+B)3=A3+B3(Incorrect)\text{FATAL ERROR: } (A + B)^3 = A^3 + B^3 \quad \text{(Incorrect)}

Omitting the two middle terms throws away 66 out of the 88 volumetric blocks of the cube! Always remember 3A2B+3AB23A^2 B + 3AB^2.

Trap 2: Neglecting Parentheses When Squaring or Cubing Coefficients

When expanding (3x)3(3x)^3:

  • Writing 3x33x^3 is a critical blunder.
  • The coefficient must also be cubed: 33=273^3 = 27, so (3x)3=27x3(3x)^3 = 27x^3. Similarly, in 3A2B3A^2 B with A=2xA = 2x:
3(2x)2(5)=3(4x2)(5)=60x2,NOT 30x2!3(2x)^2(5) = 3(4x^2)(5) = 60x^2, \quad \text{NOT } 30x^2!

Trap 3: Mixing Up the Powers in Middle Terms

  • The second term has AA squared: 3A2B3A^2 B.
  • The third term has BB squared: 3AB23AB^2. Do not write 3AB3AB for both!

6. Pencil & Paper Practice

Expand each expression on paper using Identity 4.

  1. Basic: Expand (y+2)3(y + 2)^3.
  2. With Coefficients: Expand (3a+2b)3(3a + 2b)^3.
  3. Mental Calculation: Compute 21321^3 using (20+1)3(20 + 1)^3 on paper.
Click to view step-by-step solutions

Solution to Practice 1

(y+2)3=y3+3(y2)(2)+3(y)(22)+23=y3+6y2+12y+8\begin{aligned} (y + 2)^3 &= y^3 + 3(y^2)(2) + 3(y)(2^2) + 2^3 \\ &= y^3 + 6y^2 + 12y + 8 \end{aligned}

Final Answer: y3+6y2+12y+8y^3 + 6y^2 + 12y + 8

Solution to Practice 2

(3a+2b)3=(3a)3+3(3a)2(2b)+3(3a)(2b)2+(2b)3=27a3+3(9a2)(2b)+3(3a)(4b2)+8b3=27a3+54a2b+36ab2+8b3\begin{aligned} (3a + 2b)^3 &= (3a)^3 + 3(3a)^2(2b) + 3(3a)(2b)^2 + (2b)^3 \\ &= 27a^3 + 3(9a^2)(2b) + 3(3a)(4b^2) + 8b^3 \\ &= 27a^3 + 54a^2 b + 36ab^2 + 8b^3 \end{aligned}

Final Answer: 27a3+54a2b+36ab2+8b327a^3 + 54a^2 b + 36ab^2 + 8b^3

Solution to Practice 3

213=(20+1)3=203+3(202)(1)+3(20)(12)+13=8000+3(400)+3(20)+1=8000+1200+60+1=9261\begin{aligned} 21^3 = (20 + 1)^3 &= 20^3 + 3(20^2)(1) + 3(20)(1^2) + 1^3 \\ &= 8000 + 3(400) + 3(20) + 1 \\ &= 8000 + 1200 + 60 + 1 \\ &= 9261 \end{aligned}

Final Answer: 92619261


7. Summary

  • Identity 4 Formula: (A+B)3=A3+3A2B+3AB2+B3(A + B)^3 = A^3 + 3A^2 B + 3AB^2 + B^3.
  • Cauchy's Factored Form: (A+B)3=A3+B3+3AB(A+B)(A + B)^3 = A^3 + B^3 + 3AB(A + B).
  • The coefficients 1,3,3,11, 3, 3, 1 come from row 33 of Pascal's Triangle.
  • Geometrically, the cube (A+B)3(A + B)^3 decomposes into 88 solid pieces: 11 cube A3A^3, 33 slabs A2BA^2 B, 33 pillars AB2AB^2, and 11 cube B3B^3.
  • Next, discover how alternating signs affect the 3D cube in Identity 5: Cube of a Difference.

Test yourself

What is the expanded form of (x+3)3(x + 3)^3?

  1. x3+27x^3 + 27
  2. x3+9x2+27x+27x^3 + 9x^2 + 27x + 27
  3. x3+6x2+9x+27x^3 + 6x^2 + 9x + 27
  4. x3+3x2+9x+27x^3 + 3x^2 + 9x + 27

What is the coefficient of the x2yx^2 y term in the expansion of (2x+y)3(2x + y)^3?

  1. 66
  2. 1212
  3. 33
  4. 88

If a+b=4a + b = 4 and ab=3ab = 3, what is the numerical value of a3+b3a^3 + b^3 using Cauchy's form (a+b)3=a3+b3+3ab(a+b)(a + b)^3 = a^3 + b^3 + 3ab(a + b)?

  1. 2828
  2. 3636
  3. 5252
  4. 6464