Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top


$$ \begin{array}{rclll} n^3-(n-1)^3 &= &3n^2 &-3n &+1\\ (n-1)^3-(n-2)^3 &= &3(n-1)^2 &-3(n-1) &+1\\ (n-2)^3-(n-3)^3 &= &3(n-2)^2 &-3(n-2) &+1\\ \vdots &=& &\vdots & \\ 3^3-2^3 &= &3(3^2) &-3(3) &+1\\ 2^3-1^3 &= &3(2^2) &-3(2) &+1\\ 1^3-0^3 &= &3(1^2) &-3(1) &+1\\ \underline{\hphantom{(n-2)^3-(n-3)^3}} & &\underline{\hphantom{3(n-2)^2}} &\underline{\hphantom{-3(n-2)}} &\underline{\hphantom{+1}}\\ n^3-0^3 &= & 3f_2(n) &-3f_1(n) &+n \end{array} $$

Can somebody explain me how these results are disposed intuitively? I didn't understand why $$(n-1)^3 -(n-2)^3$$ became equals to $$3(n-1)^2 - 3(n-1) + 1$$

How do this transformation was done?


share|cite|improve this question
up vote 2 down vote accepted

$(x-1)^3=x^3-3x^2+3x-1$; now set $x=n-1$.

share|cite|improve this answer

Look at $n^3 - (n-1)^3 = 3n^2 - 3n + 1$. Now substitute.

share|cite|improve this answer

Notice that $$(n-2)^3=((n-1)-1)^3=(n-1)^3-3(n-1)^2+3(n-1)-1$$

Anyway, related to the image you posted (which I didn't notice at first sight), the result was really obtained by substitution from the first row ($n\to n-1$), as other people also observed.

share|cite|improve this answer

An idea: since


we get then


share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.