MathorynMathematical Formula Database

Algebra

Cube of a Sum

The cube of a sum identity expands (a+b)3(a+b)^3; its coefficients 1,3,3,11,3,3,1 come from the fourth row of Pascal's triangle. It is a special case of the binomial theorem.

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

Variables

aa
first term
bb
second term

Example

Compute 11311^3.

  1. 11=10+111=10+1.
  2. (10+1)3=1000+3⋅100⋅1+3⋅10⋅1+1(10+1)^3=1000+3\cdot100\cdot1+3\cdot10\cdot1+1.

Answer: 113=133111^3=1331.

Related formulas