ghnlrug wrote:
ScottTargetTestPrepOne question:
since this is an evenly spaced set, we can say that (first+last)/2=median=mean, hence: s+s+4=2a or s+2=a
but we cannot do that operation with real numbers, right?
so in other words if we use the bookend method we cannot get the total sum of the integers:
Lets assume we have set A: {40,41,42,43,44,45,46,47,48,49,50}
Then (40+50)/2=45 but the sum of the set is not 45*2, yet the sum of the set form this question is (s+s+4)*2, so when can we deduce the sum of the set with the bookend method?
You can use the bookend method to find the sum of the elements for any set, but you need to get your numbers right.
The sum of the set from the question is not (s + s + 4)*2; let's just add the elements: s + s + 1 + s + 2 + s + 3 + s + 4 = 5s + 10. It's true that the average a is equal to (s + s + 4)/2; but multiplying this average (which also equals a) by 2 will only give you the sum of the elements that you averaged, namely s and s + 4. Since a is also the average of the set {s, s + 1, s + 2, s + 3, s + 4}; if you multiply a by the number of elements in this set (which is 5), you will get 5a and this is really the sum of the elements in this set. We just found that the sum of the elements is 5s + 10 above and we have 5s + 10 = 5(s + 2) = 5a.
For the other set you provided, i.e. {40, 41, ..., 50}, the average is indeed (40 + 50)/2 = 45; but if you multiply this average by 2, you will obtain the sum of the elements you averaged, namely 40 + 50 = 90. Since there are 11 elements in your set, if you multiply the average by 11, you will get the sum of the elements in the whole set. If you add all the elements 40 + 41 + ... + 50, you'll see that the sum you obtain will equal 11*45.
So, the answer to your question is, you can use the sum = average * quantity formula for any set; just make sure you are multiplying with the correct "quantity".