BrainDen.com - Brain Teasers
• 0

## Question

Find a simple closed form expression for

the alternating series of squares,

n2-(n-1)2+(n-2)2-(n-3)2+...+42-32+22-12.

## Recommended Posts

• 0

Find a simple closed form expression for

the alternating series of squares,

n2-(n-1)2+(n-2)2-(n-3)2+...+42-32+22-12.

It should be equal to

n2/2 + n/2

##### Share on other sites
• 0

It should be equal to

n2/2 + n/2

think you forgot the alternater {(n2+n)/2}(-1)n

##### Share on other sites
• 0

1. The question implies that n is even. Had n benn odd, the last term "1" would have been "+1" instead of "-1"

2. Since n is even, it is possible to pair all the terms like

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

3. This is = [2n - 1] + [2n - 5] + ... +[2n - (2n - 3)] i.e. n/2 terms

4. = 2n * n/2 - [1 + 5 + 9 + ... extending to n/2 terms

5. = n^2 - n(n - 1)/2

6. = n(n + 1)/2

##### Share on other sites
• 0

P.S. bushindo, perfectly right.

##### Share on other sites
• 0

DOH! caught me sp - nice one. and thanks for calling me out Mukul Verma. should have known better (not to get the answer but to have doubted bushindo).

##### Share on other sites
• 0

the difference b/w n^2 and (n-1)^2 is 2n-1, so the expr. =

(2n-1)+(2n-5)+........+3 which is an AP, so

sum = n/2(n+1)

Edited by dark_magician_92

## Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.