ExamSaathi learning library · Government exams · SSC CGL quantitative foundations; published syllabus labelled 2024 · Quantitative aptitude

The identity a^3 + b^3 + c^3 - 3abc and the case a + b + c = 0

Prove a^3 + b^3 + c^3 - 3abc = (a + b + c) x (a^2 + b^2 + c^2 - ab - bc - ca), use the shortcut a^3 + b^3 + c^3 = 3abc when a + b + c = 0, and find a sum of three cubes from a + b + c, ab + bc + ca and abc.

Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.

You will learn to

Before you start

Here a, b and c stand for any three real numbers, negatives and fractions included. The two-letter square and cube identities belong to the algebraic identities lesson and are not repeated. Two facts are used. First, (a + b + c)^2 = a^2 + b^2 + c^2 + 2ab + 2bc + 2ca, so a^2 + b^2 + c^2 = (a + b + c)^2 - 2 x (ab + bc + ca). Second, when a product is zero, at least one of its factors is zero. The term 3abc means 3 x a x b x c, and ab + bc + ca is the total of the three products of two letters at a time. The sign x stands only for multiplication and ^ marks a power. Always carry a minus sign along with its number: in 13^3 + 7^3 - 20^3 the third number is -20, because (-20)^3 = -8,000.

The identity and a proof by multiplying out

The identity reads a^3 + b^3 + c^3 - 3abc = (a + b + c) x (a^2 + b^2 + c^2 - ab - bc - ca). To prove it, multiply each of a, b and c into all six terms of the second bracket, which gives eighteen terms. The mixed terms cancel in pairs: a x b^2 = ab^2 from the first row meets b x (-ab) = -ab^2 from the second, and the same happens to a^2b, a^2c, ac^2, b^2c and bc^2. Twelve terms disappear, leaving a^3 + b^3 + c^3 and three copies of -abc. With c = 0 the identity shrinks to the two-letter sum-of-cubes factorisation, a handy check on the signs. A numerical test: for 1, 2 and 3 the left side is 1 + 8 + 27 - 18 = 18 and the right side is 6 x (14 - 11) = 18. Watch the signs: minus 3abc on the left, and minus ab, bc and ca inside the second bracket.

Two other forms of the second bracket

Doubling the second bracket gives 2a^2 + 2b^2 + 2c^2 - 2ab - 2bc - 2ca, which is exactly (a - b)^2 + (b - c)^2 + (c - a)^2. So the bracket equals one half of the sum of the squares of the three differences. Two things follow. For real numbers the bracket is never negative, and it is zero only when a = b = c. And for numbers close together it is quick to find: for 51, 52 and 54 the gaps are 1, 2 and 3, the bracket is (1 + 4 + 9)/2 = 7, and the whole expression is (51 + 52 + 54) x 7 = 1,099. The bracket also equals (a + b + c)^2 - 3 x (ab + bc + ca). Writing s = a + b + c and q = ab + bc + ca, the identity becomes a^3 + b^3 + c^3 = 3abc + s x (s^2 - 3q), so the sum of the cubes follows from s, q and abc without finding a, b or c.

The special case a + b + c = 0

If a + b + c = 0, the first bracket is zero, so a^3 + b^3 + c^3 = 3abc and a sum of three cubes collapses into one product. For 17^3 - 32^3 + 15^3, take a = 17, b = -32 and c = 15; they add to 0, so the value is 3 x 17 x (-32) x 15 = -24,480. Look for three numbers, signs included, that add to zero, such as 0.4, -0.9 and 0.5. Differences always do: (p - q) + (q - r) + (r - p) = 0, so (p - q)^3 + (q - r)^3 + (r - p)^3 = 3 x (p - q) x (q - r) x (r - p). The rule also runs backwards. If a^3 + b^3 + c^3 = 3abc for real numbers, one bracket must be zero, so either a + b + c = 0 or a = b = c. And when a + b + c = 0 with none of a, b, c zero, dividing a^3 + b^3 + c^3 = 3abc by abc gives a^2/bc + b^2/ca + c^2/ab = 3.

Common mistakes

Writing +3abc on the left, or + ab + bc + ca inside the second bracket; all four of those signs are minus. Dropping the 3 and using abc alone. Losing a sign when spotting a zero sum: in 17^3 - 32^3 + 15^3 the middle number is -32, so 3abc is negative. Using the zero-sum shortcut when the numbers do not add to zero; add them first. Halving the wrong thing: only the sum of the squared differences is halved. Treating a^2 + b^2 + c^2 as (a + b + c)^2 and forgetting to subtract 2 x (ab + bc + ca). Stopping at a^3 + b^3 + c^3 - 3abc when the question wants the cubes alone, or the other way round. Concluding that a + b + c must be 0 from a^3 + b^3 + c^3 = 3abc, when a = b = c is the other possibility.

A routine for three-cube questions

1. Rewrite every term as a cube with its sign inside: -20^3 is (-20)^3. 2. Add the three numbers. If the total is 0, the sum of the cubes is 3abc. 3. If the numbers are close together, find the bracket as half the sum of the squared gaps and multiply it by a + b + c; add 3abc back only if the cubes alone are wanted. 4. If only a + b + c, ab + bc + ca and abc are given, use a^3 + b^3 + c^3 = 3abc + s x (s^2 - 3q). 5. For a fraction with the identity on top and the second bracket below, the answer is simply a + b + c. 6. Test the result on small numbers such as 1, 2 and 3.

Worked examples

  1. Find the value of 13^3 + 7^3 - 20^3 without working out any cube.

    1. Write the three numbers with their signs: a = 13, b = 7 and c = -20.
    2. a + b + c = 13 + 7 - 20 = 0, so a^3 + b^3 + c^3 = 3abc.
    3. 3abc = 3 x 13 x 7 x (-20) = 273 x (-20) = -5,460.
    4. Check by cubing: 2,197 + 343 - 8,000 = -5,460.

    Answer: 13^3 + 7^3 - 20^3 = -5,460.

  2. If a + b + c = 9, ab + bc + ca = 23 and abc = 15, find a^3 + b^3 + c^3.

    1. a^2 + b^2 + c^2 = (a + b + c)^2 - 2 x (ab + bc + ca) = 81 - 46 = 35.
    2. Second bracket = a^2 + b^2 + c^2 - (ab + bc + ca) = 35 - 23 = 12.
    3. a^3 + b^3 + c^3 - 3abc = 9 x 12 = 108, so a^3 + b^3 + c^3 = 108 + 3 x 15 = 153.
    4. Check: the numbers 1, 3 and 5 have sum 9, pair products 3 + 15 + 5 = 23 and product 15, and 1 + 27 + 125 = 153.

    Answer: a^3 + b^3 + c^3 = 153.

  3. Find the value of 47^3 + 49^3 + 50^3 - 3 x 47 x 49 x 50.

    1. This is a^3 + b^3 + c^3 - 3abc with a = 47, b = 49 and c = 50, so it equals (a + b + c) x (second bracket).
    2. a + b + c = 47 + 49 + 50 = 146.
    3. The differences a - b = -2, b - c = -1 and c - a = 3 have squares 4, 1 and 9, so the bracket is (4 + 1 + 9)/2 = 7.
    4. Value = 146 x 7 = 1,022.

    Answer: The value is 1,022.

Practice checks

  1. The value of 30^3 - 18^3 - 12^3 is:
  2. a, b and c are real numbers, not all equal, and a^3 + b^3 + c^3 = 3abc. If a = 4 and b = -9, then c is:
  3. If a + b + c = 10, ab + bc + ca = 31 and abc = 30, then a^3 + b^3 + c^3 equals:
  4. The value of 48^3 + 50^3 + 52^3 - 3 x 48 x 50 x 52 is:
  5. Find the value of (23^3 + 17^3 + 10^3 - 3 x 23 x 17 x 10) / (23^2 + 17^2 + 10^2 - 23 x 17 - 17 x 10 - 10 x 23).

Sources checked