Jorge B.

asked • 07/07/15

Why, if I divide individual values of X by Y to obtain Z, the average of all Z are not the same as dividing the total of X by the total of Y?

X    Y   Z
8    5   1.6
10  4   2.5
6    2   3.0
 
Why the ∑ of "X" divided by the ∑ of "Y" is not the same as the Average of "Z"

1 Expert Answer

By:

Jorge B.

Thank you very much Stephanie for taking time out of your busy schedule to answer my question. I still have some doubts because what I was trying to do was trying to get the price per pound of castings, now, I called the weight of casting for an specific customer "X" and the price for that amount of pounds I called "Y" therefore I was assuming that if I add all the individual prices per pound and average them, which I called "Z" it should be the same as per adding all weights for all customers and divide them by the summatory of all prices to obtain the price per pound, which I think should be the same. as the average of all individual price per pound. Thanks again
Report

07/08/15

Stephanie M.

tutor
I'll try to explain it another way:
 
 
 
If you divide each X by its corresponding Y, you've actually found the number of pounds of that weight of casting you can get per dollar. That's because when you divide X by Y, you're calculating x pounds / y dollars, which will give you x/y pounds per dollar.
 
To find the price per pound, you'll want to divide Y by X: y dollars / x pounds will give you y/x dollars per pound.
 
If you find y/x = z for each weight of casting, you'll have three price-per-pound values. Taking the average of those numbers will give you the average price per pound.
 
 
 
Now, let's consider the other method. (I'll switch your X's and Y's since that's what I did with the previous method.) If you add up all the X's, you'll have found the total weight of castings bought. If you add up all the Y's, you'll have found the total price paid for the castings. Dividing ∑Y by ∑X will give you ∑Y/∑X dollars per pound if all the castings weighed the same and cost the same price. That is, in this situation, you've bought 8+10+6 = 24 pounds of castings and you've paid a total of 5+4+2 = $11. So, if you bought 24 pounds all in one go and paid the same amount for each pound, you'd have the price per pound.
 
But, that's not what our customers did. They paid a different price per pound based on the number of pounds they bought. That means you ought to use Method 1, which takes into account the fact that there may have been more pounds bought at, say, $2 per pound than $4 per pound, but that you want to view the $2 castings as importantly as you view the $4 castings, no matter how many were bought at each price. By using Method 2, you put unnecessary importance on a customer who buys more pounds, so you come up with a less accurate answer.
 
 
 
Imagine, for example, that a customer buys 100 pounds for $100, and another customer buys 4 pounds for $20. That means one customer bought castings for $100/100 pounds = $1 per pound, and the other customer bought castings for $20/4 pounds = $5 per pound. That's an average of ($1+$5)/2 = $6/2 = $3 per pound. This method tells you that, of the two customers, they paid an average of $3 per pound for their two groups of castings. The method doesn't give extra importance to the first customer for buying more pounds of castings. It gives the customers equal importance and therefore tells you that, no matter how many pounds of castings you buy, you can expect to pay around $3 per pound.
 
If you use the other method, however, you give the first customer much more importance because he bought so many more pounds. You'll find that a total of 100+4 = 104 pounds of castings were bought for a total of $100+$20 = $120. That's a price of $120/104 = $1.15 per pound. The price is much closer to the price per pound that the first customer paid, since he bought more castings. Using this method, you'd expect to pay around $1.15 per pound for any number of pounds of castings you bought, and you would be supremely disappointed if you bought something like 2 pounds or 10 pounds or 20 pounds and wound up paying closer to $5 per pound.
 
In other words, if you're interested in the average price per pound, you'll want to treat each customer separately and give them equal importance. You don't want to weight a customer more if they bought more pounds, since that's not at all what you're interested in. I hope this helps clarify!
Report

07/09/15

Jorge B.

Excellent explanation Stephanie, I do really appreciate the help. thanks for your time, I will for sure take you as the only resource in the future for a paid consult.
 
Thank you very much 
Report

07/10/15

Stephanie M.

tutor
You're welcome! Happy to help. =)
Report

07/10/15

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.