(1+2+3+.......+(n-1))^2 + n^3 = (1+2+3+.......+n)^2 Is this correct?

Hello
I have seen somewhere that this is true,  can somebody help me in proving this?
Sham
mohet01Asked:
Who is Participating?
 
GwynforWebConnect With a Mentor Commented:

(1+2+3+.......+(n-1))^2 + n^3

= (n(n-1)/2)^2 + n^3  

= (n^4 -2n^3 +n^2)/4 + n^3  

= (n^4 +2n^3 +n^2)/4

=n^2*(n+1)^2/4

= (n(n+1)/2)^2

= (1+2+3+.......+n)^2


yes it is true
0
 
shadow77Connect With a Mentor Commented:
Let k = 1+2+3 +...+(n-1).  Then, k = (n-1)*(1 + n-1)/2 [# of terms times average value].
And k = (n^2 - n)/2.

Left hand side (lhs) = k^2 +n^3.
lhs = ((n^2 - n)/2)^2 + n^3.
lhs = (n^4 - 2n^3 + n^2)/4 + n^3.
lhs = (n^4 - 2n^3 + n^2 + 4n^3)/4.
lhs = (n^4 + 2n^3 + n^2)/4.

Right hand side (rhs) = (k + n)^2
rhs = ((n^2 - n)/2 + n)^2.
rhs = ((n^2 - n + 2n)/2)^2.
rhs = ((n^2 + n)/2)^2.
rhs = (n^4 + 2n^3 + n^2)/4.

Thus, lhs = rhs.
0
 
mohet01Author Commented:
Perfect
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.