Moments And Center Of Mass In Calculus

#Calculus
TL;DR
Moments measure how much a mass, or a spread-out region, tends to turn about an axis: the moment of a point mass about an axis is its mass times its distance from that axis. For a flat region under a curve $f(x)$ on $[a,b]$ with constant density, the moment about the $y$-axis is $M_y=\int_a^b x,f(x),dx$, the moment about the $x$-axis is $M_x=\int_a^b \tfrac{1}{2}[f(x)]^2,dx$, the mass is $m=\int_a^b f(x),dx$, and the center of mass sits at $\bar{x}=M_y/m$, $\bar{y}=M_x/m$.
BT
Bhanzu TeamLast updated on September 23, 202611 min read

What Are Moments In Calculus?

A moment measures the turning effect of a mass about an axis, and it is defined as mass multiplied by distance from that axis. A single point mass $m$ sitting at a distance $d$ from an axis has a moment of $m,d$ about that axis. The larger the mass, or the farther it sits, the greater its tendency to rotate the system.

When mass is spread across a flat region (a thin plate, called a lamina) rather than concentrated at one point, a single multiplication is not enough. You slice the region into thin strips, take the moment of each strip, and add them with an integral. That is where calculus enters: moments turn a sum of "mass times distance" over infinitely many strips into a definite integral.

For a region under a curve $y=f(x)$ on $[a,b]$ with constant density $\rho$, the three quantities you need are:

$$m=\rho\int_a^b f(x),dx, \qquad M_y=\rho\int_a^b x,f(x),dx, \qquad M_x=\rho\int_a^b \tfrac{1}{2},[f(x)]^2,dx$$

The center of mass is the single point where the whole region would balance, and its coordinates are $\bar{x}=M_y/m$ and $\bar{y}=M_x/m$. When the density $\rho$ is constant it cancels in these ratios, so the balance point depends only on the shape. That density-free balance point of a shape is called its centroid.

How Do You Find The Moment Of A Point Mass?

Start with masses lined up on a number line (a one-dimensional problem). The moment of each mass about the origin is its value times its signed position, and the center of mass is the total moment divided by the total mass.

$$\bar{x}=\frac{\sum m_i x_i}{\sum m_i}$$

Example 1: Balance three masses on a rod.

Place $2$ kg at $x=1$, $3$ kg at $x=4$, and $5$ kg at $x=6$ on a light rod. Find the balance point.

First the total moment about the origin:

$$\sum m_i x_i = (2)(1)+(3)(4)+(5)(6)=2+12+30=44$$

Then the total mass:

$$\sum m_i = 2+3+5 = 10$$

$$\bar{x}=\frac{44}{10}=4.4$$

Final answer: the rod balances at $x=4.4$.

Notice the shape of that formula: it is a weighted average of the positions, each position weighted by its mass. A heavy mass pulls the balance point toward itself; a distant mass pulls harder than a near one of equal size. This is exactly the see-saw from the hook written as arithmetic.

How Do You Find The Moments Of A Lamina?

Now let the mass be a flat region under $y=f(x)$ from $x=a$ to $x=b$, with constant density $\rho$. Cut it into vertical strips of width $dx$. A strip at position $x$ has height $f(x)$, so its area is $f(x),dx$ and its mass is $\rho f(x),dx$.

Each strip contributes a moment, and adding the contributions gives an integral:

  • Mass: every strip has mass $\rho f(x),dx$, so $m=\rho\int_a^b f(x),dx$. Geometrically this is density times the area under the curve.

  • Moment about the $y$-axis: a strip sits a distance $x$ from the $y$-axis, so its moment is $x\cdot \rho f(x),dx$, giving $M_y=\rho\int_a^b x,f(x),dx$.

  • Moment about the $x$-axis: a strip's own center sits at height $f(x)/2$, and its moment about the $x$-axis works out to $\tfrac{1}{2}[f(x)]^2,\rho,dx$, giving $M_x=\rho\int_a^b \tfrac{1}{2},[f(x)]^2,dx$.

The geometric reading matters as much as the integral itself. $M_y$ weights each strip by how far right it sits, so it measures the region's left-right imbalance. $M_x$ weights each strip by its height, so it measures the up-down imbalance. Dividing each by the total mass recenters those imbalances into a single balance point.

What Is A Worked Example Of Center Of Mass?

Take the region under $y=x^2$ from $x=0$ to $x=2$, with constant density (set $\rho=1$, so the answer is the centroid). Find its center of mass.

Example 2: Center of mass of the region under $y=x^2$ on $[0,2]$.

Total mass:

$$m=\int_0^2 x^2,dx=\left[\frac{x^3}{3}\right]_0^2=\frac{8}{3}$$

Moment about the $y$-axis:

$$M_y=\int_0^2 x\cdot x^2,dx=\int_0^2 x^3,dx=\left[\frac{x^4}{4}\right]_0^2=\frac{16}{4}=4$$

Moment about the $x$-axis:

$$M_x=\int_0^2 \tfrac{1}{2},(x^2)^2,dx=\frac{1}{2}\int_0^2 x^4,dx=\frac{1}{2}\left[\frac{x^5}{5}\right]_0^2=\frac{1}{2}\cdot\frac{32}{5}=\frac{16}{5}$$

Now divide to get the coordinates:

$$\bar{x}=\frac{M_y}{m}=\frac{4}{8/3}=\frac{3}{2}=1.5, \qquad \bar{y}=\frac{M_x}{m}=\frac{16/5}{8/3}=\frac{48}{40}=\frac{6}{5}=1.2$$

Final answer: the center of mass is $\left(\tfrac{3}{2},,\tfrac{6}{5}\right)=(1.5,,1.2)$.

The check that each integral is right: differentiating $\tfrac{x^3}{3}$ returns $x^2$, differentiating $\tfrac{x^4}{4}$ returns $x^3$, and differentiating $\tfrac{x^5}{5}$ returns $x^4$, so every antiderivative matches its integrand. The balance point $(1.5,,1.2)$ also sits inside the region and toward the right, which fits a shape that grows taller as $x$ increases.

Example 3: A triangular region, verified against the centroid.

Take the region under $y=x$ on $[0,3]$, a right triangle with corners $(0,0)$, $(3,0)$, and $(3,3)$, at constant density.

$$m=\int_0^3 x,dx=\frac{9}{2}, \qquad M_y=\int_0^3 x^2,dx=9, \qquad M_x=\frac{1}{2}\int_0^3 x^2,dx=\frac{9}{2}$$

$$\bar{x}=\frac{9}{9/2}=2, \qquad \bar{y}=\frac{9/2}{9/2}=1$$

Final answer: the center of mass is $(2,1)$. This matches the known rule that a triangle's centroid is the average of its three vertices: $\left(\tfrac{0+3+3}{3},\tfrac{0+0+3}{3}\right)=(2,1)$, an independent confirmation that the integral method is correct.

What Are The Moment And Center Of Mass Formulas?

Table: The core moment and center-of-mass formulas for point masses and for a lamina under a curve.

Quantity

Point masses

Lamina under $y=f(x)$ on $[a,b]$, density $\rho$

Total mass

$m=\sum m_i$

$m=\rho\int_a^b f(x),dx$

Moment about $y$-axis

$M_y=\sum m_i x_i$

$M_y=\rho\int_a^b x,f(x),dx$

Moment about $x$-axis

$M_x=\sum m_i y_i$

$M_x=\rho\int_a^b \tfrac{1}{2}[f(x)]^2,dx$

Center of mass $\bar{x}$

$\dfrac{\sum m_i x_i}{\sum m_i}$

$\dfrac{M_y}{m}$

Center of mass $\bar{y}$

$\dfrac{\sum m_i y_i}{\sum m_i}$

$\dfrac{M_x}{m}$

Two features are worth fixing in memory. The $x$-coordinate of the balance point comes from $M_y$ (the moment about the $y$-axis), not $M_x$; the labels cross over. And the $x$-axis moment carries a factor of $\tfrac{1}{2}$ and squares the height, while the $y$-axis moment does not. Both are where marks are lost, and both appear in the mistakes section below.

Why Does The Center Of Mass Formula Work?

The formula is a balance condition dressed as arithmetic. Here is the reasoning without the symbols.

  • A moment is a turning tendency. Mass far from the axis turns the system more than the same mass near the axis, which is why distance multiplies mass rather than adding to it. This is the same rule that lets a child balance a heavier adult on a see-saw by sitting farther out.

  • The balance point makes the net moment zero. The center of mass is the position where the moments on one side exactly cancel the moments on the other. Solving "left moment equals right moment" for that position gives total moment divided by total mass.

  • Integration handles a spread-out region. A continuous plate has mass at every point, so the sum $\sum m_i x_i$ becomes the integral $\int x,dм$. The derivative and the integral are inverse operations, and here the integral is doing the accumulating: it stacks up the moment of every thin strip into one number.

Because density cancels in the ratio $M_y/m$ when it is constant, the balance point of a uniform plate is a purely geometric fact about the shape. That is why the center of mass of a uniform region is the same as its centroid, the point an engineer would hang it from to keep it level.

Who Discovered Moments And Center Of Mass?

The idea is older than calculus by nearly two thousand years. It began with levers and balance, long before anyone wrote an integral sign.

Two named figures anchor the history:

  • Archimedes of Syracuse (c. 287–212 BCE, Greek Sicily) grounded moments in the law of the lever and used balance arguments to find centers of gravity of parabolic segments and other shapes.

  • Pappus of Alexandria (c. 290–350 CE, Roman Egypt) proved the centroid theorems that connect an object's center of mass to the volume and surface area swept when the shape is rotated, a result still called Pappus's theorem.

Where Are Moments Used In The Real World?

The balance point that moments locate is a safety-critical number across engineering and science.

  • Aerospace and vehicles: an aircraft's center of gravity must stay inside a narrow range, or it becomes unstable; loading crews compute moments of fuel, cargo, and passengers before every flight.

  • Structural and civil engineering: the bending moment along a beam decides how much load a bridge or floor can carry before it fails.

  • Naval architecture: a ship stays upright because its center of mass sits below the point where buoyancy acts, a moment balance that governs whether it rights itself or capsizes.

  • Robotics and animation: a walking robot or a rigged character stays on its feet only while its center of mass stays over its base of support.

  • Manufacturing and sport: balancing a spinning wheel, a turbine blade, or a golf club all come down to placing mass so the moments about the spin axis cancel.

One idea, mass times distance summed over a shape, quietly decides whether planes fly level, bridges hold, and ships stay upright.

How Do Moments Connect To Statistics?

The same word appears in probability, and it is the same idea. The $n$th moment of a random variable $X$ is the expected value $E[X^n]$, the average of $X^n$ over the distribution. The first moment $E[X]$ is the mean, which is exactly a balance point: it is the center of mass of the probability spread, with probability playing the role of mass, while the second moment about the mean is the variance. A probability distribution and a physical plate are weighed by the same arithmetic of mass and distance.

What Are The Most Common Mistakes With Moments?

These four errors account for most lost marks on center-of-mass problems, matching the reader questions surfaced on math help forums and university lecture notes (the $M_x$ versus $M_y$ reversal is the single most reported).

Swapping $M_x$ and $M_y$.

Where it slips in:

A student writes the moment about the $x$-axis using $x$ (or the moment about the $y$-axis using $y$), reading the subscript as the variable to integrate.

Don't do this:

Do not match the axis in the subscript to the same-letter variable. The naming is the reverse of that instinct.

The correct way:

The moment about the $y$-axis measures horizontal distance, so it uses $x$: $M_y=\rho\int_a^b x,f(x),dx$. The moment about the $x$-axis measures height, so it uses the $y$-values: $M_x=\rho\int_a^b \tfrac{1}{2}[f(x)]^2,dx$.

Mapping the balance point to the wrong moment.

Where it slips in:

A student computes $\bar{x}=M_x/m$, pairing the $x$-coordinate with the $x$-axis moment.

Don't do this:

Do not pair $\bar{x}$ with $M_x$. The labels cross over.

The correct way:

The horizontal coordinate comes from the moment about the $y$-axis: $\bar{x}=M_y/m$. The vertical coordinate comes from the moment about the $x$-axis: $\bar{y}=M_x/m$.

Dropping the one-half or the square in $M_x$.

Where it slips in:

A student writes $M_x=\rho\int_a^b f(x),dx$, copying the mass integral and forgetting that the $x$-axis moment squares the height and halves it.

Don't do this:

Do not reuse the mass integrand for $M_x$. The height enters as $\tfrac{1}{2}[f(x)]^2$, not as $f(x)$.

The correct way:

Use $M_x=\rho\int_a^b \tfrac{1}{2}[f(x)]^2,dx$. The $\tfrac{1}{2}$ and the square come from each strip's own center sitting at height $f(x)/2$.

Forgetting the density or the sign of the distance.

Where it slips in:

A student leaves out $\rho$, or uses a distance as always positive when a mass sits to the left of or below an axis.

Don't do this:

Do not drop $\rho$ from the moments and mass at the same time only by luck, and do not treat every position as positive.

The correct way:

Carry $\rho$ through every integral; it cancels only in the final ratio when density is constant. Use signed positions, so a mass to the left of the $y$-axis contributes a negative moment.

Practice Problems On Moments

Work each one, then check against the verified answer.

  1. Point masses: $4$ kg at $x=2$ and $6$ kg at $x=7$ on a rod. Find the balance point.
    (Answer: $\bar{x}=\frac{4(2)+6(7)}{10}=\frac{50}{10}=5$.)

  2. Find the mass of the region under $y=x^2$ on $[0,3]$ with $\rho=1$.
    (Answer: $\int_0^3 x^2,dx=9$.)

  3. Find $M_y$ for the region under $y=x$ on $[0,2]$ with $\rho=1$.
    (Answer: $\int_0^2 x^2,dx=\frac{8}{3}$.)

  4. Find the center of mass of the region under $y=\sqrt{x}$ on $[0,4]$ with $\rho=1$.
    (Answer: $\left(\frac{12}{5},\frac{3}{4}\right)=(2.4,,0.75)$.)

  5. By symmetry, find $\bar{x}$ for the region under $y=4-x^2$ on $[-2,2]$.
    (Answer: the region is symmetric about the $y$-axis, so $\bar{x}=0$.)

  6. A $5$ kg mass sits $3$ m from a pivot. Find its moment about the pivot.
    (Answer: $(5)(3)=15$ kg·m.)

Where Should You Go Next After Moments?

Moments sit at the meeting point of integration and geometry, and a few natural doors open from here.

  1. Integration. The definite integral is the engine behind every moment; strengthen it and the center-of-mass formulas become routine.

  2. Centroid of a triangle. See the constant-density balance point in pure geometry, the same point the integral method reproduces.

  3. Integration of uv. Moment integrals of products like $x,f(x)$ often need integration by parts, the next technique to master.

If your child is building these foundations, a live Bhanzu trainer teaches moments and center of mass starting from the balance point they can feel before the integral they have to compute, inside the Bhanzu math classes.

Book a Free Demo

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What are moments in calculus?
A moment is mass multiplied by distance from an axis, a measure of how strongly a mass tends to turn the system about that axis. For a spread-out region, calculus adds the moment of every thin strip with an integral.
What is the formula for the center of mass of a region?
For a region under $y=f(x)$ on $[a,b]$ with constant density, $\bar{x}=M_y/m$ and $\bar{y}=M_x/m$, where $M_y=\rho\int_a^b x,f(x),dx$, $M_x=\rho\int_a^b \tfrac{1}{2}[f(x)]^2,dx$, and $m=\rho\int_a^b f(x),dx$.
What is the difference between $M_x$ and $M_y$?
$M_y$ is the moment about the $y$-axis and measures horizontal position, so it integrates $x,f(x)$. $M_x$ is the moment about the $x$-axis and measures height, so it integrates $\tfrac{1}{2}[f(x)]^2$. The subscript names the axis, not the variable inside the integral.
Why is $\bar{x}=M_y/m$ and not $M_x/m$?
The horizontal coordinate of the balance point is set by how mass is spread left to right, which is precisely what the moment about the $y$-axis measures. So the $x$-coordinate uses $M_y$, and by the same logic the $y$-coordinate uses $M_x$.
What is the difference between center of mass and centroid?
The center of mass accounts for density; the centroid is a purely geometric balance point of a shape. When density is constant it cancels in the ratios, so the center of mass and the centroid are the same point.
How do moments relate to the mean in statistics?
The first moment of a probability distribution, $E[X]$, is the mean, and it is the center of mass of the distribution with probability acting as mass. Higher moments such as $E[X^2]$ describe spread, mirroring the moment of inertia in physics.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →