An average that respects where things are
An ordinary average treats every value equally. A physical balance cannot do that: mass farther from a pivot has a greater turning effect than the same mass close to the pivot. A continuous probability model has the same structure because values that occur more often should influence the expected value more strongly. In both settings, calculus builds a weighted average from many tiny contributions. The words moment, center of mass, and expected value describe different applications of one organizing idea.
Begin with discrete masses located at positions on a line. Their total mass is . The balance point is
The numerator is a moment: each position is multiplied by the mass located there. Its units are mass times length. Dividing by total mass leaves length, as a position should. This unit check also explains why by itself is not enough unless all masses are equal. A balance point is not merely the midpoint of occupied positions.
From point masses to a density function
For a thin rod on the interval , mass is distributed continuously. Let be its linear density, measured in . A short piece of length has mass
The total mass is therefore
and its moment about the origin is
The subscript reflects the fact that horizontal location creates a tendency to rotate about a vertical, or , axis. The center of mass is . The notation may look like a new collection of letters, but each factor has a job: gives a small mass, and multiplying by weights it by its distance from the reference point. The origin is a chosen reference, not a physical object that must be present in the drawing.
Suppose kilograms per meter on meters. Density increases to the right, so the center should lie to the right of the midpoint . The total mass is . The moment is , giving . The estimate matches the physical prediction: extra mass on the right shifts the balance point rightward.
Centroids describe uniform regions
When a flat lamina has uniform density, its center of mass is called its centroid. For a region between and on , where , a thin vertical strip has area . The total area is
Its horizontal moment contribution is , so
To find , use the strip’s own midpoint height, , before weighting it by its area. This produces
These formulas are compact summaries of a geometric argument, not arbitrary patterns. A common error is to use as a vertical coordinate. That expression is a height, while the strip’s actual vertical location is its midpoint. Draw one strip and mark its center before attempting the integral; the picture distinguishes location from size.
Probability uses normalized density
A continuous random variable has a probability density function . It is not itself a probability at one exact point; it is a density whose area over an interval gives probability. The normalization condition
plays the role of total mass. The expected value is the weighted average
This is mathematically the same structure as ar{x}=M_y/M, with total probability already normalized to . If puts more area near larger values, the expected value shifts right; it need not equal the most likely value. Its units are the same as the units of , because probability is dimensionless. This dimensional result is a useful way to remember what an expected value represents.
Retrieval check
A rod lies from to with density kilograms per meter. Before evaluating, predict whether its center of mass lies left or right of the midpoint and explain your reasoning. Then set up the mass and moment integrals with correct units, and divide only after both have been found. This closes Unit III: every lesson has used an integral to add a small contribution whose meaning was established first.