(a + b)³ = a³ + 3a²b + 3ab² + b³

a = longer b = shorter (a+b) = full side
 
🎉

📐 Derivation of (a+b)³

The big cube of side (a+b) is cut into 8 pieces.
Adding all volumes:
(a+b)³ = a³ + a²b + a²b + a²b + ab² + ab² + ab² + b³

👆 Click any step to expand it