Sum of two cubes

Visual proof of the formulas for the sum and difference of two cubes

In mathematics, the sum of two cubes is a cubed number added to another cubed number.

Factorization

Every sum of two cubes may be factored according to the identity a3+b3=(a+b)(a2−ab+b2) in elementary algebra.

Binomial numbers generalize this factorization to higher odd powers.

Proof

Starting with the expression, a2−ab+b2 and multiplying by a + b (a+b)(a2−ab+b2)=a(a2−ab+b2)+b(a2−ab+b2). distributing a and b over a2−ab+b2, a3−a2b+ab2+a2b−ab2+b3 and canceling the like terms, a3+b3.

Similarly for the difference of two cubes, (a−b)(a2+ab+b2)=a(a2+ab+b2)−b(a2+ab+b2)=a3+a2b+ab2−a2b−ab2−b3=a3−b3.

"SOAP" mnemonic

The mnemonic "SOAP", short for "Same, Opposite, Always Positive", helps recall of the signs:

original
sign
SameOppositeAlways
Positive
a3 + b3    =    (a + b)(a2 − ab + b2)
a3 − b3    =    (a − b)(a2 + ab + b2)

Fermat's Last Theorem

Fermat's Last Theorem in the case of exponent 3 states that the sum of two non-zero integer cubes does not result in a non-zero integer cube. The first recorded proof of the exponent 3 case was given by Euler.

Taxicab and Cabtaxi numbers

A Taxicab number is the smallest positive number that can be expressed as a sum of two positive integer cubes in n distinct ways. The smallest taxicab number after Ta(1) = 2, is Ta(2) = 1729 (the Ramanujan number), expressed as

13+123 or 93+103

Ta(3), the smallest taxicab number expressed in 3 different ways, is 87,539,319, expressed as

4363+1673, 4233+2283 or 4143+2553

A Cabtaxi number is the smallest positive number that can be expressed as a sum of two integer cubes in n ways, allowing the cubes to be negative or zero as well as positive. The smallest cabtaxi number after Cabtaxi(1) = 0, is Cabtaxi(2) = 91, expressed as:

33+43 or 63−53

Cabtaxi(3), the smallest Cabtaxi number expressed in 3 different ways, is 4104, expressed as

163+23, 153+93 or −123+183

See also