Statics › Section G · Centroids and centers of gravity › Topic G.1
Weighted averages
Centres of gravity, centres of mass and centroids are all averages of position in which some parts count for more than others. This topic builds the one tool behind all of them: the weighted average.
Not every value counts equally
Suppose a beam carries a heavy machine near one end and a light toolbox near the other. If you wanted one point that represents where the load sits, you would not choose the midpoint between the two items: the machine matters more, so the point should sit near it. The same instinct appears in a grade point average, where a four-credit course counts for more than a one-credit lab. A weighted average turns that instinct into a formula, and the whole of this section on centroids and centres of gravity rests on it.
The arithmetic mean
The ordinary average of \(n\) values \(a_1, a_2, \ldots, a_n\) adds them and divides by how many there are:
This is the arithmetic mean. The bar over the symbol marks a mean value, a convention used for every average in this section, including the centroid coordinates \(\bar{x}\) and \(\bar{y}\). In the arithmetic mean every value has the same influence: change any one of them by 6 and the mean of three values moves by exactly 2, whichever value it was.
The weighted average formula
When values deserve different influence, each value \(a_i\) is given a weighting factor \(w_i\), multiplied by it, and the total is divided by the sum of the weights:
Sums without limits are understood to run over every item. The numerator collects each value scaled by its importance; the denominator rescales so that the result is a value of the same kind as the \(a_i\). If every weight is the same number \(w\), it factors out of both sums and cancels, and the formula falls back to the arithmetic mean.
Worked example: a grade point average
A student earns an A (4 points) in a 3-credit statics course, a B (3 points) in a 4-credit calculus course, an A (4 points) in a 1-credit lab and a C (2 points) in a 3-credit physics course. 1. The values are the grade points and the weights are the credits. 2. Numerator: \(4(3) + 3(4) + 4(1) + 2(3) = 34\). 3. Denominator: \(3 + 4 + 1 + 3 = 11\) credits. 4. GPA \(= 34/11 = 3.09\). 5. Check: the plain mean of the four grades is 3.25, higher, because the large physics course pulls the weighted result down and the A in the small lab barely lifts it.
What the weights do
Three properties are worth knowing. First, only the relative sizes of the weights matter: writing them as percentages, as decimals or as raw counts gives the same answer, because any common factor cancels between numerator and denominator. Second, when every weight is positive the weighted average always lies between the smallest and the largest value. Third, it sits closer to the values with the larger weights. These give quick checks on any answer. A later topic in this section uses negative weights for holes in a shape, and then the second property no longer holds.
Worked example: average speed of a trip
A delivery van travels for 2.0 h at 90 km/h on a motorway, then for 0.5 h at 30 km/h in town. What is its average speed? 1. Average speed is total distance divided by total time, which is a weighted average of the speeds with time as the weight. 2.
3. \(\bar{v} = 78\) km/h. 4. Check: 195 km in 2.5 h is 78 km/h. The plain mean of 60 km/h is wrong because the van spent four times as long at the higher speed, and weighting by distance instead of time gives a wrong 85 km/h.
Worked example: blending aggregate
A site has 3.0 t of gravel at 2.0% moisture and wants a blend at 3.5% by adding wetter gravel at 6.0%. How much must be added? 1. Let the unknown mass be \(m\) tonnes; moisture is averaged with mass as the weight. 2.
3. Multiply out: \(10.5 + 3.5m = 6.0 + 6.0m\), so \(2.5m = 4.5\) and \(m = 1.8\) t. 4. Check: \(\frac{6.0 + 10.8}{4.8} = 3.5\%\). The target sits nearer 2.0% than 6.0%, so less of the wet gravel than of the dry is needed, as found.
Averaging groups of items
A weighted average can be built in stages. If one group of 20 test pieces has a mean strength of 72 MPa and another group of 30 has a mean of 82 MPa, the mean of all 50 pieces is the average of the two group means weighted by group size: \(\frac{20(72) + 30(82)}{50} = 78\) MPa, not the 77 MPa you get by averaging the two means. Each group behaves like a single item whose value is its own mean and whose weight is its total. This is exactly how the composite-parts method treats each simple piece of a complicated shape.
Weighted averages in statics
In this section the value being averaged is a position, and the choice of weight decides which centre you find. Weighting by weight gives the centre of gravity, by mass the centre of mass, and by area or volume the centroid. For example, loads of 200 N at 0.5 m, 300 N at 1.5 m and 500 N at 3.0 m along a beam average to
which lies nearest the heaviest load. The next topic shows why a single 1000 N force at that point is statically equivalent to the three loads.
Common mistakes to avoid
First, dividing by the number of items instead of the sum of the weights: the GPA above is 34/11, not 34/4. Second, pairing a value with the wrong weight, which is easy when data come in two separate lists; write each value next to its own weight. Third, choosing the wrong weight, such as distance instead of time for an average speed. Fourth, averaging group means without weighting them by group size. Fifth, forgetting that the unknown also appears in the denominator when solving for a missing weight.
Key takeaways
The arithmetic mean gives every value equal influence. A weighted average gives value \(a_i\) the influence \(w_i\), and equal weights reduce it to the plain mean. Only the relative sizes of the weights matter. With positive weights the result lies between the smallest and largest values, closer to the heavily weighted ones. Groups can be combined by weighting each group mean by its total. In statics the averaged value is a position, weighted by weight, mass, area or volume.
Flashcards
Flashcard
ā = (a₁ + a₂ + … + aₙ) / n
Test your understanding
Question 1 of 5
A student takes a 4-credit course with 3 grade points, a 2-credit course with 4 grade points and a 3-credit course with 2 grade points. What is the GPA?
Question 2 of 5
A truck drives for 1 h at 60 km/h and then for 3 h at 100 km/h. What is its average speed for the whole trip?
Question 3 of 5
Every weighting factor in a weighted average is multiplied by 10. What happens to the result?
Question 4 of 5
A yard holds 4 t of sand at 1% moisture. How many tonnes of sand at 5% moisture must be added to give a blend at 2%?
Question 5 of 5
Crew A has 6 workers averaging 40 hours a week and crew B has 2 workers averaging 50 hours. What is the average for all 8 workers?
