Venomily
- 14
- 0
1 = 1
1 - 2^2 = -(1+2)
1 - 2^2 + 3^2 = (1+2+3)
1^2 - 2^2 + 3^2 - 4^2 = -(1+2+3+4)
and so on.
I have to prove that this relationship is true for all natural numbers. This is what I did:
clearly it is true for 1, 2, 3 and 4.
assume true for n odd:
1^2 - 2^2 + 3^2 - 4^2 ... + n^2 = (1 + 2 + +3 + 4... + n)
tidying things up a bit and inducting (n+1) and (n+2) we can obtain this pattern:
(1^2 - 1) + (3^2 - 3)... + ((n-1)^2 - (n-1)) + ((n+1)^2 - (n+1)) = (2^2 + 2) + (4^2 + 4) +... + (n^2 + n) + ((n+2)^2 + (n+2))
The ((n+1)^2 - (n+1)) from the LHS cancels with the (n^2 + n) on the RHS if you play around with it, therefore the equality holds for every n+2 given any n >= 4. The same argument can be applied to the case in which n is even, QED.
1 - 2^2 = -(1+2)
1 - 2^2 + 3^2 = (1+2+3)
1^2 - 2^2 + 3^2 - 4^2 = -(1+2+3+4)
and so on.
I have to prove that this relationship is true for all natural numbers. This is what I did:
clearly it is true for 1, 2, 3 and 4.
assume true for n odd:
1^2 - 2^2 + 3^2 - 4^2 ... + n^2 = (1 + 2 + +3 + 4... + n)
tidying things up a bit and inducting (n+1) and (n+2) we can obtain this pattern:
(1^2 - 1) + (3^2 - 3)... + ((n-1)^2 - (n-1)) + ((n+1)^2 - (n+1)) = (2^2 + 2) + (4^2 + 4) +... + (n^2 + n) + ((n+2)^2 + (n+2))
The ((n+1)^2 - (n+1)) from the LHS cancels with the (n^2 + n) on the RHS if you play around with it, therefore the equality holds for every n+2 given any n >= 4. The same argument can be applied to the case in which n is even, QED.
Last edited: