Sum the even numbers between 1000 and 2000 inclusive

In summary: And i will divide by 2 at the endIn summary, an arithmetic series is a sum of a specific number of terms in sequence, with a common difference between each term. To find the sum, the general formula is used, where the number of terms (n) is equal to the last term minus the first term, plus one. This formula can be adjusted for different starting points and common differences. However, it is important to check for limiting cases to ensure the formula is accurate.
  • #1
Pual Black
92
1
this is just an arithmetic series but with a small difference. i will show that below

The attempt at a solution
the general arithmetic formula
## S_N=\sum_{n=1}^\infty n##
for my problem
## S_N=\sum_{n=1000}^{2000} n ##
i have to rewrite it so i will just add the even numbers

## S_N=2\sum_{n=500}^{1000} n = 2\frac{n}{2}(first\,term+last\, term) =2 \frac{n}{2}(500+1000)##
now i have a problem
i think (n=number of terms) is 500 but if put this number i will get a wrong answer
if i put n=501 i will the right answer 751500

i have a similar problem
Sum the integers between 1 and 1000 inclusive
a=1
d=1
n=1000

## S_N=\sum_{n=1}^{1000} n =\frac{n}{2}(first\,term+last\, term)= \frac{1000}{2}(1+1000) =500500 ##

so why in problem one i have to put n=501 and in problem two i put n=1000
i think they are just the same but different values

i thought maybe n= last term - first term + 1
is that right?
sorry but i just started studying Infinite Series
 
Physics news on Phys.org
  • #2
Why use a formula? Just do the sum like this:
1000 + 2000 = 3000
1002 + 1998 = 3000
1004 + 1996 = 3000
...
 
  • Like
Likes Pual Black
  • #3
The number of terms from 500 to 1000 including both 500 and 1000 is actually 501. To make it easier to see, subtract 500 so we are counting the number of terms between 0 and 500 including both 0 and 500. Since you are starting at 0, and not 1, you actually have one extra term. In your second problem you start at 1 and go to 1000, so that works like you would expect and is just 1000 terms. If you started at 0 and went to 1000, you would have 1001 terms.
 
  • Like
Likes Pual Black
  • #4
Your method is OK but you have to be summing an even number of numbers. The number of even numbers between 1000 and 2000 inclusive is odd, so the method doesn't work. So instead sum over the range 1002 to 2000, and then add 1000 to the result.
 
  • #5
You are missing the point. You want to sum even numbers from 1000 to 2000. So sum all integers from 500 to 1000 and multiply by 2.
 
  • Like
Likes PietKuip
  • #6
Pual Black said:
I thought maybe n= last term - first term + 1
Is that right?
Yes, that's right if d=1. If you're not sure, it's useful to check limiting cases to see if it's right. Consider a series with only one term so that first=last. You can see why the +1 has to be there.
 
  • Like
Likes Pual Black
  • #7
andrewkirk said:
Your method is OK but you have to be summing an even number of numbers.
That's not true. The formula the OP is using works for both even and odd n.
 
  • Like
Likes Pual Black
  • #8
PietKuip said:
Why use a formula? Just do the sum like this:
1000 + 2000 = 3000
1002 + 1998 = 3000
1004 + 1996 = 3000
...
This way i will spend hours just tipping numbers. Or i use your idea and make a formula from it.

ArcanaNoir said:
The number of terms from 500 to 1000 including both 500 and 1000 is actually 501. To make it easier to see, subtract 500 so we are counting the number of terms between 0 and 500 including both 0 and 500. Since you are starting at 0, and not 1, you actually have one extra term. In your second problem you start at 1 and go to 1000, so that works like you would expect and is just 1000 terms. If you started at 0 and went to 1000, you would have 1001 terms.

Ok i will just make this in future
n= last term - first term + 1

Thank you all for your fast answers
 
  • Like
Likes ArcanaNoir
  • #9
vela said:
Yes, that's right if d=1. If you're not sure, it's useful to check limiting cases to see if it's right. Consider a series with only one term so that first=last. You can see why the +1 has to be there.

Yes if i make this
n= last term - first term +1= 1-1+1 =1
And actually the number of terms is just 1

And if d is not equal to 1
I will make the same strategy and divide by d at the end

For example

First term = 1
Last term 1000
d=2
So n = 500
 

Related to Sum the even numbers between 1000 and 2000 inclusive

What is the purpose of summing even numbers between 1000 and 2000 inclusive?

The purpose of summing even numbers between 1000 and 2000 inclusive is to find the total sum of all the even numbers within that range. This can be useful in various mathematical and scientific calculations.

How many even numbers are there between 1000 and 2000 inclusive?

There are 500 even numbers between 1000 and 2000 inclusive. This can be calculated by dividing the total range of 1000 numbers by 2, since every other number is even.

What is the formula for summing even numbers between 1000 and 2000 inclusive?

The formula for summing even numbers between 1000 and 2000 inclusive is (N/2)(a + l), where N is the number of even numbers (500), a is the first even number (1000), and l is the last even number (2000). This formula is derived from the formula for calculating the sum of an arithmetic series.

Can this sum be calculated using a loop or must it be done manually?

Yes, this sum can be calculated using a loop. This can be achieved by creating a loop that iterates through all the even numbers in the range and adds them together, or by using a built-in function for summing a range of numbers.

What is the result of summing even numbers between 1000 and 2000 inclusive?

The result of summing even numbers between 1000 and 2000 inclusive is 750,500. This can be calculated using the formula mentioned above or by manually adding all the even numbers within the range.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
10
Views
2K
  • Precalculus Mathematics Homework Help
Replies
5
Views
327
  • Precalculus Mathematics Homework Help
Replies
7
Views
977
  • Precalculus Mathematics Homework Help
Replies
7
Views
2K
  • Precalculus Mathematics Homework Help
Replies
14
Views
2K
  • Precalculus Mathematics Homework Help
Replies
3
Views
650
  • Precalculus Mathematics Homework Help
Replies
7
Views
2K
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
1
Views
1K
  • Precalculus Mathematics Homework Help
Replies
1
Views
900
Back
Top