Sum of two cubes explained

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

Factorization

Every sum of cubes may be factored according to the identity a^3 + b^3 = (a + b)(a^2 - ab + b^2) in elementary algebra.

Binomial numbers generalize this factorization to higher odd powers.

"SOAP" method

The mnemonic "SOAP", standing for "Same, Opposite, Always Positive", is sometimes used to memorize the correct placement of the addition and subtraction symbols while factorizing cubes. When applying this method to the factorization, "Same" represents the first term with the same sign as the original expression, "Opposite" represents the second term with the opposite sign as the original expression, and "Always Positive" represents the third term and is always positive.

original
sign
Same Opposite Always
Positive

a3

+

b3   =   (a

+

b)(a2

-

ab

+

b2)

a3

-

b3   =   (a

-

b)(a2

+

ab

+

b2)

Proof

Starting with the expression,

a2-ab+b2

and multiplying by a + b (a+b)(a^2-ab+b^2) = a(a^2-ab+b^2) + b(a^2-ab+b^2). distributing a and b over

a2-ab+b2

, a^3 - a^2 b + ab^2 + a^2b - ab^2 + b^3 and canceling the like terms, a^3 + b^3 .

Similarly for the difference of cubes,\begin (a-b)(a^2+ab+b^2) & = a(a^2+ab+b^2) - b(a^2+ab+b^2) \\& = a^3 + a^2 b + ab^2 \; - a^2b - ab^2 - b^3 \\& = a^3 - b^3.\end

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) = 1, is Ta(2) = 1729,[1] 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

Further reading

Notes and References

  1. Web site: A001235 - OEIS . 2023-01-04 . oeis.org.