Help with sum of first n integers.

  • Thread starter Thread starter Phoresis
  • Start date Start date
  • Tags Tags
    Integers Sum
Click For Summary

Homework Help Overview

The discussion revolves around finding formulas for the sums of the first n even and odd integers, building on the known formula for the sum of the first n integers. The original poster expresses uncertainty about their derived formulas and seeks clarification on their correctness and derivation methods.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to derive formulas for Even(n) and Odd(n) through trial and error, questioning the validity of their results. Participants raise questions about the correctness of these formulas and suggest checking specific cases to validate them.

Discussion Status

Participants are actively engaging in clarifying the definitions of Even(n) and Odd(n), with some guidance provided on how to relate these sums to the known formula for all integers. There is a recognition of confusion, but also a progression towards understanding the relationships between the series.

Contextual Notes

There is a noted misunderstanding regarding the indexing of even integers, with discussions highlighting that Even(1) refers to the first even integer, which is 2. This has implications for the correctness of the original formulas proposed by the poster.

Phoresis
Messages
9
Reaction score
0
Ok, I haven't done maths for a few years now and I've been set the following question:

The sum of the first integers is given by:

Sum(n) = 1+2+3+4 ... +n = n(n+1)/2

Find similar formulae for

Even(n) = 2+4+6+8 ... +2n
Odd(n) = 1+3+5+7 ... +(2n-1)

Now the formulae I have come up with, by trial and error mind, are:

Even = n(n+2)/4
Odd = n(n)/4

Am I on the right lines here? And if so is there a mathematical way of coming up with these formuale that doesn't involve trial and error?

cheers
 
Physics news on Phys.org
Welcome to PF!
Question:
Have you checked at all whether your formulae are correct??
What is Even(1) ?
What does your formula tell you that Even(1) should be?
 
well my formula says even 1 should be 0.75 , but i don't understand how you can test with even 1 anyway when there aren't any even integers before 1
 
The FIRST even, positive integer is 2.
Hence, Even(1)=2.
You are to sum the n first even integers, so n itself can perfectly well be odd..
 
::thinking:: How is the nth element of the series of even numbers related to the nth element of the series of all integers? Then consider how is the nth element of the series of odd numbers related to the nth element of the even numbers?
 
Last edited by a moderator:
bah now I am really confused :frown:

ok i get what you're saying Even (1) refers to the first even integer. So my formula is incorrect as the answer I should expect to get is 2. now to think up a new formula :confused:
 
Phoresis said:
bah now I am really confused :frown:

ok i get what you're saying Even (1) refers to the first even integer. So my formula is incorrect as the answer I should expect to get is 2. now to think up a new formula :confused:
Let's take it easy.
The sum of the first n (even AND odd) integers S(n) is given by:
[tex]S(n)=\frac{n(n+1)}{2}[/tex]
We are to find a formula for the SUM of first n even integers, Even(n).
Written out, this is:
Even(n)=2+4+6++++2n (n TERMS in the sum!)
We may draw out a common factor of 2:
Even(n)=2(1+2+3+++n)=2S(n) agreed?
Hence, Even(n)=n(n+1)
Did you follow that?
(If not, please make SPECIFIC reference to the steps you have trouble with!)
 
Last edited:
yeah i follow it right up until the end where i just confuse myself.

ok the formula for calculating the addition of n integers is:

n(n+1)/2

so for all the integers up to and including 10, added together, using the formula the answer is 55 which is correct.

Now from what you were saying the formula for the Even number of n integers added together is n(n+1) but how is this so if, using 10 as an example again, the answer comes to 110
 
Last edited:
But: Even(n) is the sum of the n first even integers.
Up to and including "10" we have 5 even integers:2,4,6,8,10
The sum of these are 5*(5+1)=30.
 
  • #10
aaaah ok i feel so stupid now. right, it has clicked. thank you so much, pretty sure I will be able to figure out the formula for the odd numbers now. its always the blindingly obvious i slip up on :smile:
 
  • #11
You're welcome..
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
Replies
7
Views
4K
Replies
49
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 10 ·
Replies
10
Views
4K
Replies
26
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K