If you try to balance an object on the tip of your finger, there's one balance point where it stays level without tipping. We call that point the center of mass. It's an average of all the positions across the object. An ordinary average treats every point equally, but an object can have more mass in some parts than others. Where there's more mass, that position counts more toward the average.
We'll start with separate masses along a line, move to a continuous rod, and then find the center of mass of a region. Each time, finding the center of mass means finding the average position of the mass.
2
Masses on a line and a uniform rod
Where do masses on a line balance? Let's start with two equal masses of 1, one at 0 and one at 4. Because the masses are equal, they balance right in the middle, at the ordinary average of their positions.
20+4=2
Now suppose the mass at 4 is 3 instead. We can think of it as three masses of 1, all at 4, and average all four positions, counting 4 three times.
40+4+4+4=1+31⋅0+3⋅4=3
So instead of writing 4 three times, we multiply the position by its mass. The denominator is the total mass, which we call M, and we write the average position as xˉ, read "x bar".
xˉ=M(position)(mass)+(position)(mass)+⋯
xˉ=M(position)(mass)+⋯
What if a position is negative? And what if the mass isn't in separate pieces, but spread along a solid rod?
Find the balance point for masses on a line and for a uniform rod
Text solution
A negative position keeps its signFor a mass of 1 at −2 and a mass of 1 at 4, they balance halfway between, at 1. Dropping the minus sign would give 22+4=3 instead.
xˉ=21(−2)+1(4)=1
A uniform rod balances at its middleUniform means every piece of the rod with the same length has the same mass. For a rod from 0 to 2, each piece at 1−d has a matching piece at 1+d, and each pair balances at 1.
2(1−d)+(1+d)=1
A uniform rod from x=0 to x=2 balances at its midpoint, xˉ=1.
3
A rod with changing density
A uniform rod from 0 to 2 balances at 1, right in the middle. But when a rod is heavier in some places than in others, where does it balance?
We slice the rod into thin pieces of width dx. Density is mass per unit length, so the piece at x has mass density⋅dx, and because it's so thin, we can treat it as a point mass at x. Adding up all the pieces from a to b with integrals gives the total mass and the top of the fraction for xˉ.
mass of the piece at x=density⋅dx
Mxˉ=∫abdensitydx=M1∫abx⋅densitydx
Because the density changes with x, we can't pull it out of either integral.
Let's try it on a rod from x=0 to x=2 with density 1+x. The density is 1 at the left end and 3 at the right, so we expect the rod to balance a little to the right of the middle, at some xˉ>1.
Find the center of mass of a rod from x=0 to x=2 with density 1+x
Text solution
Total massEach piece has mass (1+x)dx.
M=∫02(1+x)dx=4
Position times massMultiply each piece's mass by its position x and add up.
∫02x(1+x)dx=∫02(x+x2)dx=314
Divide by the total mass67 is 161, a little to the right of the middle, as we expected.
xˉ=M1⋅314=41⋅314=67
4
Center of mass in two dimensions
A point in the plane has an x-coordinate and a y-coordinate, and we average each one on its own. For a mass of 1 at (0,0) and a mass of 3 at (4,2), we average the x-coordinates just as we did on a line, and the y-coordinates the same way to find yˉ, read "y bar".
xˉyˉ=40+4+4+4=3=40+2+2+2=23
Now let's find the center of mass of a region, starting with its average x-coordinate xˉ.
y=x2,0≤x≤2:xˉ=?
Let's assume the region has the same density everywhere. If we double the density, every piece has twice the mass, and the total mass doubles too, so the factor of 2 cancels and xˉ stays the same. That means we can use each piece's area in place of its mass.
A thin vertical rectangle at x has area f(x)dx, and every point on it has the same x-coordinate, x. So it acts like a mass of f(x)dx at position x. We multiply each rectangle's x-coordinate by its area, add them up with an integral, and divide by the total area A.
Axˉ=∫abf(x)dx=A1∫abxf(x)dx
Find xˉ for the region under y=x2 from x=0 to x=2
Text solution
Total area
A=∫02x2dx=38
Each x times its area
∫02x⋅x2dx=∫02x3dx=4
Divide by the area23 is right of 1, the middle, because y=x2 is increasing, so the rectangles on the right are taller and have more area.
xˉ=A1⋅4=83⋅4=23
We call the integral on top My, the moment about the y-axis. It's named for the y-axis because x is the distance from each thin rectangle to the y-axis.
Myxˉ=∫abxf(x)dx=AMy
5
Finding yˉ
We found xˉ=23 for the region under y=x2 from x=0 to x=2. Now let's find yˉ, the average y-coordinate.
y=x2,0≤x≤2:yˉ=?
Every point in the thin rectangle at x has the same x-coordinate, but its y-coordinates go from y=0 at the bottom up to y=f(x) at the top. So there's no single y-coordinate for the rectangle.
We only care about the average y, though. The rectangle is like a uniform rod standing up from y=0 to y=f(x), so it balances at its midpoint, 2f(x). That means we can treat its whole area f(x)dx as if it were at that height, and multiply by 2f(x) instead of by x.
The rectangle has area f(x)dx and balances at height 2f(x).
For x
2f(x)x⋅f(x)dx
For y
2f(x)⋅f(x)dx
Dividing by the total area A gives the formula for yˉ.
yˉ=A1∫ab2f(x)f(x)dx=2A1∫ab[f(x)]2dx
yˉ=A1∫ab2f(x)f(x)dx=2A1∫ab[f(x)]2dx
Find yˉ for the region under y=x2 from x=0 to x=2
Text solution
Middle height times areaEach rectangle's middle height is 2x2.
∫022x2⋅x2dx=21∫02x4dx=516
Divide by the areaThe area is still A=38.
yˉ=A1⋅516=83⋅516=56
Together with xˉ=23, that gives the center of mass of the region.
(xˉ,yˉ)=(23,56)
The integral on top is Mx, the moment about the x-axis. We call it Mx because the height 2f(x) is the distance from the x-axis.
Mxyˉ=∫ab2f(x)f(x)dx=AMx
Why does the moment about the y-axis give the x-coordinate?
6
Regions between two curves
Now let's find the center of mass for a region between two curves, with y=f(x) on top and y=g(x) underneath.
A thin rectangle at x goes from y=g(x) up to y=f(x), so its height is f(x)−g(x). Every point on it still has x-coordinate x, so finding xˉ works just as it did before.
Finding yˉ is where we have to be careful. The rectangle starts at y=g(x), not at the x-axis, so half its height, 2f(x)−g(x), only tells us how far the middle is above the bottom of the rectangle. A y-coordinate is measured from y=0, so we start at the bottom curve g(x) and add half the height.
g(x)+2f(x)−g(x)=2f(x)+g(x)
The middle y-coordinate is just the average of the two y-values, 2f(x)+g(x).
For example, take a rectangle from y=1 to y=5. Its height is 4, so half its height is 2. But its middle is at y=3, which is 1+2, or the average 21+5. Half the height alone leaves out the 1 unit between the x-axis and the bottom of the rectangle.
The rectangle's middle is at y=3, not y=2.
1+25−1=21+5=3
So to find yˉ, we multiply the area of each rectangle by its middle y-coordinate, 2f(x)+g(x), and divide by A.
If the bottom curve is the x-axis, then g(x)=0, and these formulas simplify right back to the one-curve formulas we found earlier. Let's use them on the region between y=x and y=x2.
Find the center of mass of the region between y=x and y=x2
Text solution
Where the curves meetBetween 0 and 1,x is greater than x2, so y=x is the top curve.
x=x2→x=0,x=1
Area, then xˉDividing by A=61 is multiplying by 6.
A=∫01(x−x2)dx=61
xˉ=6∫01x(x−x2)dx=21
yˉ from the middle heightThe middle is 2x+x2, and the difference of squares turns the product into x2−x4.
yˉ=6∫012x+x2(x−x2)dx
=3∫01(x2−x4)dx=52
The center of mass
(xˉ,yˉ)=(21,52)
Is half a rectangle’s height its middle y-coordinate?
7
Using symmetry to find xˉ or yˉ
Sometimes a region's symmetry gives one coordinate of its center of mass with no integral at all. Take the region under y=4−x2 above the x-axis, which runs from x=−2 to x=2.
The rectangle at x has height 4−x2, and the rectangle at −x has height 4−(−x)2=4−x2, so the two have the same area. But their x-coordinates have opposite signs, so their contributions to My cancel.
+x(4−x2)dx(−x)(4−x2)dx=0
Myxˉ=0=AMy=0
Every rectangle on the right pairs with an identical rectangle on the left, so My=0, and xˉ=0 with no integration at all.
Does the same thing happen for yˉ? At both x and −x, the rectangle's middle height is 24−x2, which is positive. So both rectangles add a positive amount to Mx. Nothing cancels, and finding yˉ still takes an integral.
The same pairing works whenever a region is symmetric across a vertical line x=c. Two rectangles at c−d and c+d have the same area, and their average x-coordinate is c, so xˉ=c.
region symmetric about x=c:xˉ=c
region symmetric about x=c:xˉ=c
A region can also be symmetric across the diagonal line y=x. Reflecting a point (a,b) across y=x gives (b,a). For the region between y=x2 and y=x, swapping x and y turns y=x2 into x=y2, which is y=x. So reflecting across y=x swaps the top and bottom curves, and the region reflects onto itself.
Every point (a,b) in the region matches with (b,a), so the average x-coordinate must equal the average y-coordinate, and xˉ=yˉ. So once we find xˉ by integrating, we get yˉ without integrating again.
Find the center of mass of the region under y=4−x2 on [−2,2], and of the region between y=x2 and y=x
x
y
y=4−x2
(xˉ,yˉ)=?
Text solution
Under y=4−x2: integrate only for yˉSymmetry gives xˉ=0.
A=∫−22(4−x2)dx=332
Mx=∫−2224−x2(4−x2)dx=15256
yˉ=AMx=323⋅15256=58
Between y=x2 and y=x: integrate only for xˉThe curves meet at x=0 and x=1, with y=x on top. Symmetry across y=x then gives yˉ=xˉ.
A=∫01(x−x2)dx=31
My=∫01x(x−x2)dx=203
xˉ=yˉ=3⋅203=209
The two centers of mass
(0,58)
(209,209)
Summary
Point masses
xˉ=M(mass)(x)+(mass)(x)+⋯
yˉ=M(mass)(y)+(mass)(y)+⋯
xˉ=M(mass)(x)+⋯
yˉ=M(mass)(y)+⋯
The center of mass is a weighted average of positions. Multiply each mass by its coordinate, add those products, and divide by the total mass M. For separate masses in the plane, xˉ uses only the x-coordinates, and yˉ uses only the y-coordinates. Negative coordinates keep their minus signs in the sum.
A rod with changing density
M=∫abdensitydx
xˉ=M1∫abx⋅densitydx
A thin piece of width dx at position x has mass density⋅dx. Because the density changes with x, it stays inside the integral for the total mass M and inside the integral for xˉ.
Moments and distance from an axis
xˉMy=AMy=∫abxf(x)dx
yˉMx=AMx=∫ab2f(x)f(x)dx
A thin rectangle at x has area f(x)dx.My is the moment about the y-axis, and Mx is the moment about the x-axis. My uses x because x is the distance from the y-axis, and dividing by total area gives xˉ.Mx uses the middle height 2f(x) because that's the distance from the rectangle's middle to the x-axis, and dividing by total area gives yˉ.
A thin rectangle between y=f(x) above and y=g(x) below has height f(x)−g(x), so its area is (f(x)−g(x))dx. Every point in it has x-coordinate x, and its middle height is the average 2f(x)+g(x). When density is constant, it cancels out of both averages, so we divide by the area A. If you need the total mass M, multiply the constant density by the area A.
When the bottom curve is the x-axis, set g(x)=0. The height of the rectangle is f(x), and its middle height is 2f(x).
Using symmetry
symmetric about x=c:xˉ=c
symmetric about y=x:xˉ=yˉ
If a region is symmetric across a vertical line x=c, equal rectangles on opposite sides balance at c, so xˉ=c. If a region is symmetric across the diagonal line y=x, swapping x and y leaves the region unchanged, so xˉ=yˉ. That means you do not have to compute an integral for both coordinates. If the region is symmetric across x=c, just set xˉ=c and integrate for yˉ. If it is symmetric across y=x, find xˉ by integrating, and yˉ has the same value.
8
Practice
Enter exact values as fractions or in terms of π and e.
1
Point masses of 2,3 and 5 are located at (−1,3),(2,0) and (4,1). Find My,Mx and the center of mass (xˉ,yˉ).
My is the moment about the y-axis. Which coordinate tells how far a point is from the y-axis, x or y?
If you got xˉ=514 Check the sign of the x-coordinate at (−1,3). The mass 2 is multiplied by −1, not 1.
If you got (1011,512) Check which moment gives which coordinate. The distance from the y-axis is x, so xˉ=MMy and yˉ=MMx.
Add the three masses to get the total mass M.
M=2+3+5=10
The distance from the y-axis is the x-coordinate, so multiply each mass by its x-coordinate, keeping −1 negative.
My=2(−1)+3(2)+5(4)=24
Multiply each mass by its distance from the x-axis, which is its y-coordinate.
Mx=2(3)+3(0)+5(1)=11
Divide each moment by the total mass to find xˉ and yˉ.