lesson

Unit 3 - Accumulation in Geometry, Physics, and Models · AP

Moments, Centers, and Probability

Use weighted accumulation to find a center of mass, centroid, and continuous expected value.

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 m1,m2,…,mnm_1,m_2,\ldots,m_n located at positions x1,x2,…,xnx_1,x_2,\ldots,x_n on a line. Their total mass is M=∑miM=\sum m_i. The balance point is

xˉ=∑ximi∑mi.\bar{x}=\frac{\sum x_i m_i}{\sum m_i}.

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 sumxisum x_i by itself is not enough unless all masses are equal. A balance point is not merely the midpoint of occupied positions.

L6-V01 — A discrete balance. Draw a horizontal beam with a pivot and three labeled point masses at unequal distances. Add a small table connecting each mass to its signed moment ximix_i m_ixi​mi​. Use the established transparent exterior and light grey-blue, black-bordered panelPoint masses at different positions balance according to position times mass, not position alone.
L6-V01 — A discrete balance. Draw a horizontal beam with a pivot and three labeled point masses at unequal distances. Add a small table connecting each mass to its signed moment ximix_i m_ixi​mi​. Use the established transparent exterior and light grey-blue, black-bordered panel

From point masses to a density function

For a thin rod on the interval a≤x≤ba\le x\le b, mass is distributed continuously. Let λ(x)\lambda(x) be its linear density, measured in mathrmkg/mmathrm{kg}/\mathrm{m}. A short piece of length dxdx has mass

dm=λ(x) dx.dm=\lambda(x)\,dx.

The total mass is therefore

M=∫abλ(x) dx,M=\int_a^b\lambda(x)\,dx,

and its moment about the origin is

My=∫abxλ(x) dx.M_y=\int_a^b x\lambda(x)\,dx.

The subscript yy reflects the fact that horizontal location creates a tendency to rotate about a vertical, or yy, axis. The center of mass is xˉ=My/M\bar{x}=M_y/M. The notation may look like a new collection of letters, but each factor has a job: λ(x)dx\lambda(x)dx gives a small mass, and multiplying by xx 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 lambda(x)=2+xlambda(x)=2+x kilograms per meter on 0≤x≤20\le x\le2 meters. Density increases to the right, so the center should lie to the right of the midpoint x=1 mx=1\,\mathrm{m}. The total mass is M=∫02(2+x) dx=6 kgM=\int_0^2(2+x)\,dx=6\,\mathrm{kg}. The moment is My=∫02x(2+x) dx=203 kg⋅mM_y=\int_0^2x(2+x)\,dx=\frac{20}{3}\,\mathrm{kg}\cdot\mathrm{m}, giving xˉ=109 m\bar{x}=\frac{10}{9}\,\mathrm{m}. The estimate matches the physical prediction: extra mass on the right shifts the balance point rightward.

L6-V02 — Density and center. Show a rod whose shading darkens from left to right, a density graph λ(x)=2+x\lambda(x)=2+xλ(x)=2+x above it, and a marked balance point slightly right of the midpointA rod with greater density on the right has a center of mass to the right of its geometric midpoint.
L6-V02 — Density and center. Show a rod whose shading darkens from left to right, a density graph λ(x)=2+x\lambda(x)=2+xλ(x)=2+x above it, and a marked balance point slightly right of the midpoint

Centroids describe uniform regions

When a flat lamina has uniform density, its center of mass is called its centroid. For a region between y=f(x)y=f(x) and y=g(x)y=g(x) on a≤x≤ba\le x\le b, where f(x)≥g(x)f(x)\ge g(x), a thin vertical strip has area dA=[f(x)−g(x)]dxdA=[f(x)-g(x)]dx. The total area is

A=∫ab[f(x)−g(x)] dx.A=\int_a^b[f(x)-g(x)]\,dx.

Its horizontal moment contribution is x dAx\,dA, so

xˉ=1A∫abx[f(x)−g(x)] dx.\bar{x}=\frac{1}{A}\int_a^bx[f(x)-g(x)]\,dx.

To find yˉ\bar{y}, use the strip’s own midpoint height, 12[f(x)+g(x)]\frac12[f(x)+g(x)], before weighting it by its area. This produces

yˉ=12A∫ab[f(x)2−g(x)2]dx.\bar{y}=\frac{1}{2A}\int_a^b\left[f(x)^2-g(x)^2\right]dx.

These formulas are compact summaries of a geometric argument, not arbitrary patterns. A common error is to use f(x)−g(x)f(x)-g(x) 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.

L6-V03 — Centroid strip. Draw a shaded region between two curves and one vertical strip. Mark the strip’s height, its midpoint height, and a dot for the region’s centroidA strip’s area comes from top minus bottom, while its vertical location is the midpoint of the two heights.
L6-V03 — Centroid strip. Draw a shaded region between two curves and one vertical strip. Mark the strip’s height, its midpoint height, and a dot for the region’s centroid

Probability uses normalized density

A continuous random variable has a probability density function p(x)p(x). It is not itself a probability at one exact point; it is a density whose area over an interval gives probability. The normalization condition

∫abp(x) dx=1\int_a^bp(x)\,dx=1

plays the role of total mass. The expected value is the weighted average

E[X]=∫abxp(x) dx.E[X]=\int_a^b x p(x)\,dx.

This is mathematically the same structure as ar{x}=M_y/M, with total probability already normalized to 11. If p(x)p(x) 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 xx, because probability is dimensionless. This dimensional result is a useful way to remember what an expected value represents.

Retrieval check

A rod lies from x=−1 mx=-1\,\mathrm{m} to x=3 mx=3\,\mathrm{m} with density λ(x)=4−x\lambda(x)=4-x 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.

End-of-unit practice

Test your knowledge

Knowledge Map

Where this lesson fits

Prerequisites

Unit 3 - Accumulation in Geometry, Physics, and ModelsWork, Fluid Force, and Variable Density